2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
[glibc.git] / ChangeLog
bloba2a1fe0f8d3b3e972dbb525c995eb7781bb3542a
1 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
3         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
4         Unconditionally set __fpcr to avoid uninialized warning.
5         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
7 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
10         is corrupt.
12         * malloc/arena.c (arena_get2): Drop unused argument.
13         (arena_lock): Adjust.
14         (arena_get_retry): Likewise.
16 2015-08-24  Andreas Schwab  <schwab@suse.de>
18         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
19         Don't define.
20         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21         (__ASSUME_IPC64): Don't undef.
22         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
23         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
26         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
27         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
28         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
29         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
30         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
31         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
33         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
34         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
35         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
36         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
37         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
38         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
39         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
40         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
41         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
42         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
44 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
46         * manual/Makefile (install): Only build manual when perl is available.
48 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
50         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
51         '#undef memcpy' by '#undef memchr'.
53 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
55         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
56         memchr not point to the internal __GI_memchr implementation.
58 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
60         * timezone/Makefile (CFLAGS-zdump.c): Remove
61         -Wno-strict-prototypes.
62         (CFLAGS-zic.c): Likewise.
63         (CFLAGS-ialloc.c): Likewise.
64         (CFLAGS-scheck.c): Likewise.
66         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
67         -Wno-error=undef.
69 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
71         * i386/i686/multiarch/strcasestr-c.c: Removed.
72         * x86_64/multiarch/strcasestr.c: Likewise.
73         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
74         Remove strcasestr.
76 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
78         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
80         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
81         variables for high and low parts before possibly modifying them.
83 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
85         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
86         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
87         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
88         of "multiarch/init-arch.h".
89         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
90         * sysdeps/x86/init-arch.h: This.
92 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
94         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
95         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
97 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
99         [BZ #17787]
100         * manual/macros.texi: Add twoexp macro.
101         * manual/filesys.texi: Fix exponents.
102         * manual/llio.texi: Likewise.
103         * manual/stdio.texi: Likewise.
105 2015-08-20  Florian Weimer  <fweimer@redhat.com>
107         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
108         incorrect use.
110 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
112         [BZ #18370]
113         * math/s_csqrt.c (__csqrt): Force underflow exception for results
114         whose real or imaginary part has small absolute value.
115         * math/s_csqrtf.c (__csqrtf): Likewise.
116         * math/s_csqrtl.c (__csqrtl): Likewise.
117         * math/auto-libm-test-in: Add more tests of csqrt.
118         * math/auto-libm-test-out: Regenerated.
119         * sysdeps/i386/fpu/libm-test-ulps: Update.
121 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
123         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
124         __ppc_set_ppr_very_low): New functions.
125         * manual/platform.texi: Add documentation about
126         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
128 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
130         * string/stpncpy.c (stpncpy): Improve performance using
131         __strnlen/memcpy/memset.
133 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
135         [BZ #18796]
136         * scripts/test-installation.pl: Don't add -lmvec to build options if
137         libmvec wasn't built.
139 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
141         [BZ #14341]
142         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
143         case when there is a gap between DT_REL and DT_JMPREL sections.
144         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
145         (LDFLAGS-tst-split-dynreloc): New.
146         (tst-split-dynreloc-ENV): Likewise.
147         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
148         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
150 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
152         [BZ #18822]
153         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
154         attribute_hidden.
155         (__xstat64_conv): Likewise.
156         (__xstat32_conv): Likewise.
158 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
160         [BZ #18822]
161         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
162         Don't load %ebx when calling __setcontext.  Call __setcontext
163         with HIDDEN_JUMPTARGET.
164         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
165         libc_hidden_def.
167 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
169         * sysdeps/i386/i686/Makefile
170         [$(subdir) == string] (sysdep_routines): Moved to ...
171         * sysdeps/i386/Makefile: Here.
172         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
173         * sysdeps/i386/cacheinfo.c: Here.
174         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
175         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
176         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
177         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
179 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
181         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
182         __i586__ is defined.
183         (HAS_I686): Defined to 1 if __i686__ is defined.
185 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
187         * elf/Makefile [$(have-z-execstack) = yes]
188         (CPPFLAGS-tst-execstack.c): New variable.
190         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
191         conditional to [defined UTMPX || _HAVE_UT_TYPE].
192         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
193         UTMPX || _HAVE_UT_TV].
194         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
195         UTMPX || _HAVE_UT_TV - 0].
197 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
199         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
200         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
201         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
203 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
205         * sysdeps/powerpc/dl-procinfo.c:
206         (_dl_powerpc_cap_flags): Added missing strings for some
207         hwcap features.
208         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
210 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
212         Port the 0x7efe...feff pattern to GCC 6.
213         See Steve Ellcey's bug report in:
214         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
215         * string/memrchr.c (MEMRCHR):
216         * string/rawmemchr.c (RAWMEMCHR):
217         * string/strchr.c (strchr):
218         * string/strchrnul.c (STRCHRNUL):
219         Rewrite code to avoid issues with signed shift overflow.
221 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
223         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
224         whether cpuid is available only if HAS_CPUID is 0.
225         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
226         (HAS_I586): Likewise.
227         (HAS_I686): Likewise.
229 2015-08-18  Zack Weinberg  <zackw@panix.com>
231         * misc/Versions (libc): Add GLIBC_2.23.
233 2015-08-18  Alan Modra  <amodra@gmail.com>
235         [BZ #18421]
236         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
237         .Lp__global.
238         (_start): Load %dp via .Lp__global.
239         [!SHARED]: Use .section .rodata.
241 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
243         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
244         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
246 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
248         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
249         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
251 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
253         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
254         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
256 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
258         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
259         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
261 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
263         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
264         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
266 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
268         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
269         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
271 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
273         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
275 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
277         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
278         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
279         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
280         (__ASSUME_LWS_CAS): Delete.
282 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
284         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
285         * sysdeps/hppa/configure: Regenerated.
286         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
287         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
288         * sysdeps/hppa/nptl/tls.h: Likewise.
290 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
292         [BZ #18823]
293         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
294         for scaling up small arguments.
295         * math/s_csqrtf.c (__csqrtf): Likewise.
296         * math/s_csqrtl.c (__csqrtl): Likewise.
297         * math/auto-libm-test-in: Add more tests of csqrt.
298         * math/auto-libm-test-out: Regenerated.
300 2015-08-17  Andreas Schwab  <schwab@suse.de>
302         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
303         version set GLIBC_2.19.
305 2015-08-16  Zack Weinberg  <zackw@panix.com>
307         [BZ #18681]
308         * misc/regexp.h: This interface is no longer supported.
309         Remove all contents, leaving only an #error directive.
310         * misc/regexp.c (loc1, loc2, locs, step, advance):
311         Demote to compatibility symbols.
313 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
315         [BZ #18084]
316         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
317         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
318         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
319         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
320         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
321         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
322         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
323         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
324         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
326 2015-08-15  Zack Weinberg  <zackw@panix.com>
328         [BZ #18795]
329         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
330         buffer length is known to be too large, not if it's known to be
331         small enough.
332         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
333         overflow at runtime, involving a length parameter, twice: once
334         with a compile-time constant length parameter, once without.
336 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
338         [BZ #18824]
339         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
340         scaling x * y up instead of down.
341         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
342         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
343         * math/auto-libm-test-in: Add more tests of fma.
344         * math/auto-libm-test-out: Regenerated.
346 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
348         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
350 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
352         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
353         unnecessary movq.
354         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
355         Likewise.
357 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
359         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
360         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
361         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
362         and tgamma.
363         * math/auto-libm-test-out: Regenerated.
364         * sysdeps/i386/fpu/libm-test-ulps: Update.
365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
367         [BZ #16520]
368         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
369         (__tanh): Force underflow exception for arguments with small
370         absolute value.
371         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
372         (__tanhf): Force underflow exception for arguments with small
373         absolute value.
374         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
375         (__tanhl): Force underflow exception for arguments with small
376         absolute value.
377         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
378         (__tanhl): Force underflow exception for arguments with small
379         absolute value.
380         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
381         (__tanhl): Force underflow exception for arguments with small
382         absolute value.
383         * math/auto-libm-test-in: Add more tests of tanh.
384         * math/auto-libm-test-out: Regenerated.
385         * sysdeps/i386/fpu/libm-test-ulps: Update.
387 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
389         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
390         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
392 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
394         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
395         <cpuid.h>.
397 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
399         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
400         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
402 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
404         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
405         Remove $(objpfx)init-arch.o.
406         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
407         init-arch.
408         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
409         (INIT_ARCH_EXT): Defined as empty.
410         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
411         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
412         __init_cpu_features call.  Replace HAS_XXX with
413         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
414         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
415         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
416         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
417         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
418         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
419         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
420         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
421         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
422         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
423         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
424         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
425         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
426         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
427         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
428         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
429         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
430         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
431         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
432         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
433         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
434         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
435         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
436         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
437         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
438         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
439         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
440         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
441         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
442         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
443         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
444         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
445         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
446         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
447         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
448         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
450 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
452         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
453         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
454         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
455         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
456         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
457         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
458         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
459         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
460         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
461         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
462         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
463         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
464         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
465         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
466         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
467         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
468         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
469         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
470         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
471         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
472         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
473         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
474         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
475         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
476         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
477         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
478         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
479         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
480         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
481         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
482         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
483         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
484         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
485         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
486         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
487         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
488         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
489         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
490         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
491         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
492         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
493         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
494         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
496 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
498         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
499         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
500         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
501         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
502         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
503         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
504         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
505         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
506         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
507         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
508         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
509         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
510         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
511         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
512         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
513         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
514         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
515         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
516         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
517         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
518         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
519         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
520         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
521         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
522         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
523         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
524         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
525         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
526         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
527         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
528         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
529         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
530         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
531         * sysdeps/x86_64/multiarch/memset.S: Likewise.
532         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
533         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
534         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
535         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
536         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
537         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
538         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
539         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
540         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
542 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
544         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
545         (dl_platform_init): Call init_cpu_features.
546         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
547         * sysdeps/i386/i686/cacheinfo.c
548         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
549         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
550         * sysdeps/i386/i686/multiarch/Versions: Removed.
551         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
552         Removed.
553         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
554         * sysdeps/unix/sysv/linux/x86/Makefile
555         (libpthread-sysdep_routines): Remove init-arch.
556         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
557         <sysdeps/x86_64/dl-procinfo.c> instead of
558         sysdeps/generic/dl-procinfo.c>.
559         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
560         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
561         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
562         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
563         [$(subdir) == elf] (tests-static): Add
564         tst-get-cpu-features-static.
565         * sysdeps/x86/Versions: New file.
566         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
567         * sysdeps/x86/cpu-features.c: Likewise.
568         * sysdeps/x86/cpu-features.h: Likewise.
569         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
570         * sysdeps/x86/libc-start.c: Likewise.
571         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
572         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
573         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
574         * sysdeps/x86_64/dl-procinfo.c: Likewise.
575         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
576         Assume USE_MULTIARCH is defined and don't check it.
577         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
578         (is_amd): Likewise.
579         (max_cpuid): Likewise.
580         (intel_check_word): Likewise.
581         (__cache_sysconf): Don't call __init_cpu_features.
582         (__x86_preferred_memory_instruction): Removed.
583         (init_cacheinfo): Don't call __init_cpu_features. Replace
584         __cpu_features with GLRO(dl_x86_cpu_features).
585         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
586         (dl_platform_init): Call init_cpu_features.
587         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
588         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
589         * sysdeps/x86_64/multiarch/Versions: Removed.
590         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
591         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
592         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
593         Removed.
594         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
596 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
598         [BZ #18820]
599         * libio/Makefile (test-fmemopen-mem): New test.
600         * libio/test-fmemopen.c (do_bz18820): New test.
601         * libio/fmemopen.c (__fmemopen): Fix memory leak.
602         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
604 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
606         [BZ #16734]
607         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
608         (FREE_BUF): Delete.
609         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
610         * libio/genops.c (_IO_setb): Use malloc and free directly.
611         (_IO_default_doallocate, _IO_default_finish): Likewise.
612         ( _IO_unbuffer_all): Likewise.
613         ( libc_freeres_fn): Likewise.
614         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
615         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
616         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
617         (_IO_wdefault_doallocate): Likewise.
619 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
621         [BZ #18086]
622         * sysdeps/posix/nice.c (nice): Restore old errno.
623         * posix/tst-nice.c (do_test): Add test for BZ #18086.
625 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
627         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
629 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
631         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
632         __bcopy and add a weak_alias to bcopy.
633         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
634         for static build.
636         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
637         cleanup macro usage.
638         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
639         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
640         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
641         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
642         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
643         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
644         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
645         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
646         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
647         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
648         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
649         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
650         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
651         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
652         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
653         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
654         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
655         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
656         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
658         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
659         libc_hidden_def.
660         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
662         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
663         (sysdep_routines): Add strstr-ppc64.
664         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
666 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
668         [BZ #18778]
669         * elf/Makefile (tests): Add Add tst-nodelete2.
670         (modules-names): Add tst-nodelete2mod.
671         (tst-nodelete2mod.so-no-z-defs): New.
672         ($(objpfx)tst-nodelete2): Likewise.
673         ($(objpfx)tst-nodelete2.out): Likewise.
674         (LDFLAGS-tst-nodelete2): Likewise.
675         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
676         out of loop through all loaded libraries.
677         * elf/tst-nodelete2.c: New file.
678         * elf/tst-nodelete2mod.c: Likewise.
680 2015-08-11  Andreas Schwab  <schwab@suse.de>
682         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
683         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
684         (__openat64_nocancel): Likewise.
686 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
688         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
689         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
690         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
691         * math/auto-libm-test-out: Regenerated.
692         * sysdeps/i386/fpu/libm-test-ulps: Update.
693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
695 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
697         [BZ #18790]
698         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
699         threshold for returning +/- 1.
700         * math/auto-libm-test-in: Add more tests of tanh.
701         * math/auto-libm-test-out: Regenerated.
702         * sysdeps/i386/fpu/libm-test-ulps: Update.
704 2015-08-10  Andreas Schwab  <schwab@suse.de>
706         [BZ #18781]
707         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
708         MORE_OFLAGS to oflag.
709         * io/test-lfs.c (do_test): Test openat64.
711 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
713         [BZ #18789]
714         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
715         smaller threshold for returning the argument.
716         * math/auto-libm-test-in: Add more tests of sinh.
717         * math/auto-libm-test-out: Regenerated.
718         * sysdeps/i386/fpu/libm-test-ulps: Update.
720 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
722         [BZ #18674]
723         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
724         break.
726 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
728         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
729         (generated): Don't add $(addprefix z.,$(tzfiles)).
731 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
733         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
734         * scripts/sysd-rules.awk: Likewise.
736 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
738         * iconvdata/tst-tables.sh: Change echo -n to printf.
739         * nss/db-Makefile: Likewise.
740         * posix/tst-getconf.sh: Likewise.
741         * stdio-common/tst-unbputc.sh: Likewise.
743 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
745         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
746         MADV_*_PAGES defines behind this feature check.
748 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
750         [BZ #18480]
751         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
752         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
753         Define.
754         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
755         LOAD_REGS_5, LOAD_REGS_6): Update.
756         (INTERNAL_SYSCALL): Update using new LOAD defines.
757         (INTERNAL_SYSCALL_NCS): Likewise.
758         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
760 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
762         [BZ #16734]
763         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
765 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
767         [BZ #17905]
768         * catgets/Makefile (tst-catgets-mem): New test.
769         * catgets/catgets.c (catopen): Don't use unbounded alloca.
770         * catgets/open_catalog.c (__open_catalog): Likewise.
771         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
773 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
775         [BZ #18787]
776         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
777         clobber registers.
778         (atomic_compare_and_exchange_val_acq): Use register asms to assign
779         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
780         Cast return to __typeof (oldval).
782 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
784         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
785         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
786         and delete sys/syscall.h include.
788 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
790         [BZ #16517]
791         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
792         (tan): Force underflow exception for arguments with small absolute
793         value.
794         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
795         (__kernel_tanf): Force underflow exception for arguments with
796         small absolute value.
797         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
798         (__kernel_tanl): Force underflow exception for arguments with
799         small absolute value.
800         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
801         (__kernel_tanl): Force underflow exception for arguments with
802         small absolute value.
803         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
804         (__kernel_tanl): Force underflow exception for arguments with
805         small absolute value.
806         * math/auto-libm-test-in: Add more tests of tan.
807         * math/auto-libm-test-out: Regenerated.
809 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
811         Fix sysdeps/i386/fpu/s_scalbn.S build
813         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
815 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
817         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
819 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
821         Fix gcrt0.o compilation
823         When static-start-installed-name is different from
824         start-installed-name, we must not use the shared objects.
826         * csu/Makefile
827         (extra-objs): Add gmon-start.o when building shared library and
828         $(static-start-installed-name) is different from
829         $(start-installed-name).
830         $(objpfx)g$(static-start-installed-name): When building shared
831         library and $(static-start-installed-name) is different from
832         $(static-start-installed-name), revert to non-shared rule,
833         i.e. using $(objpfx)% and gmon-start.o.
835 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
837         [BZ #16519]
838         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
839         (__ieee754_sinh): Force underflow exception for arguments with
840         small absolute value.
841         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
842         (__ieee754_sinhf): Force underflow exception for arguments with
843         small absolute value.
844         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
845         (__ieee754_sinhl): Force underflow exception for arguments with
846         small absolute value.
847         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
848         (__ieee754_sinhl): Force underflow exception for arguments with
849         small absolute value.
850         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
851         (__ieee754_sinhl): Force underflow exception for arguments with
852         small absolute value.
853         * math/auto-libm-test-in: Add more tests of sinh.
854         * math/auto-libm-test-out: Regenerated.
855         * sysdeps/i386/fpu/libm-test-ulps: Update.
857 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
859         * libio/oldfileops.c: Include unistd.h.
861 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
863         * stdlib/isomac.c: Include ctype.h.
865 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
867         * dirent/tst-seekdir.c (main): Converted to ...
868         (do_test): ... this.
869         (TEST_FUNCTION): New macro.
870         Include test-skeleton.c.
871         * elf/tst-dlmodcount.c (main): Converted to ...
872         (do_test): ... this.
873         (TEST_FUNCTION): New macro.
874         Include test-skeleton.c.
875         * elf/tst-order-main.c (main): Converted to ...
876         (do_test): ... this.
877         (TEST_FUNCTION): New macro.
878         Include test-skeleton.c.
879         * elf/tst-pie2.c (main): Converted to ...
880         (do_test): ... this.
881         (TEST_FUNCTION): New macro.
882         Include test-skeleton.c.
883         * inet/tst-ether_aton.c (main): Converted to ...
884         (do_test): ... this.
885         (TEST_FUNCTION): New macro.
886         Include test-skeleton.c.
887         * misc/tst-mntent.c (main): Converted to ...
888         (do_test): ... this.
889         (TEST_FUNCTION): New macro.
890         Include test-skeleton.c.
891         * misc/tst-tsearch.c (main): Converted to ...
892         (do_test): ... this.
893         (TEST_FUNCTION): New macro.
894         Include test-skeleton.c.
895         * posix/tst-regexloc.c (main): Converted to ...
896         (do_test): ... this.
897         (TEST_FUNCTION): New macro.
898         Include test-skeleton.c.
899         * resolv/tst-aton.c (main): Converted to ...
900         (do_test): ... this.
901         (TEST_FUNCTION): New macro.
902         Include test-skeleton.c.
903         * stdio-common/test-fwrite.c (main): Converted to ...
904         (do_test): ... this.
905         (TEST_FUNCTION): New macro.
906         Include test-skeleton.c.
907         * stdio-common/tst-ferror.c (main): Converted to ...
908         (do_test): ... this.
909         (TEST_FUNCTION): New macro.
910         Include test-skeleton.c.
911         * stdio-common/tst-printf.c (main): Converted to ...
912         (do_test): ... this.
913         (TEST_FUNCTION): New macro.
914         Include test-skeleton.c.
915         * stdio-common/tst-printfsz.c (main): Converted to ...
916         (do_test): ... this.
917         (TEST_FUNCTION): New macro.
918         Include test-skeleton.c.
919         * stdlib/tst-strtod.c (main): Converted to ...
920         (do_test): ... this.
921         (TEST_FUNCTION): New macro.
922         Include test-skeleton.c.
923         * string/tst-strlen.c (main): Converted to ...
924         (do_test): ... this.
925         (TEST_FUNCTION): New macro.
926         Include test-skeleton.c.
927         * string/tst-svc.c (main): Converted to ...
928         (do_test): ... this.
929         (TEST_FUNCTION): New macro.
930         Include test-skeleton.c.
931         * time/tst-strptime.c (main): Converted to ...
932         (do_test): ... this.
933         (TEST_FUNCTION): New macro.
934         Include test-skeleton.c.
935         * timezone/tst-timezone.c (main): Converted to ...
936         (do_test): ... this.
937         (TEST_FUNCTION): New macro.
938         Include test-skeleton.c.
940 2015-08-05  Zack Weinberg  <zackw@panix.com>
942         * misc/regexp.h: Update comments.
944 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
946         [BZ #18635]
947         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
948         before return label.
950 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
952         [BZ #18661]
953         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
954         when calling __errno_location.
955         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
956         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
958 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
960         [BZ #18661]
961         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
962         (__lll_timedwait_tid): Align stack to 16 bytes when calling
963         __gettimeofday.
965 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
967         [BZ #18661]
968         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
969         (__start_context): Don't use pop to restore %rdi so that stack
970         is aligned to 16 bytes when calling __setcontext.
972 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
974         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
975         only for libc.
976         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
978 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
980         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
981         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
982         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
984 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
986         * string/memccpy.c (memccpy):
987         Improve performance by using memchr/memcpy/__mempcpy.
989 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
991         * string/strncpy.c (strncpy):
992         Improve performance by using __strnlen/memcpy.
994 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
996         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
997         Optimize to avoid an unnecessary FPCR read.
999 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1001         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1002         Optimize to reduce FPCR/FPSR accesses.
1004 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1006         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1007         dead->data[category] != NULL.
1009 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1011         [BZ #18647]
1012         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1013         and |x| close to 1, use absolute value of x when computing log.
1014         * math/auto-libm-test-in: Add more tests of pow.
1015         * math/auto-libm-test-out: Regenerated.
1017 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1019         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1020         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1021         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1023 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1025         [BZ #18525]
1026         * locales/km_KH: Remove timezone definition.
1027         * locales/lo_LA: Likewise.
1028         * locales/my_MM: Likewise.
1029         * locales/nan_TW@latin: Likewise.
1030         * locales/th_TH: Likewise.
1031         * locales/uk_UA: Likewise.
1033 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1035         [BZ #18265]
1036         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1037         (wcsncat): Likewise.
1038         (wcscmp): Likewise.
1039         (wcsncmp): Likewise.
1041 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1043         * test-skeleton.c (usage): New function.
1044         (main): Call usage when opt is '?'.
1046 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1048         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1049         before first use.
1051 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1053         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1054         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1055         in there too.
1057 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1059         * version.h (RELEASE): Set to "development".
1060         (VERSION): Set to "2.22.90"
1062         * version.h (RELEASE): Set to "stable".
1063         (VERSION): Set to "2.22"
1064         * include/features.h (__GLIBC_MINOR__): Set to 22.
1066 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1068         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1069         Restructure macro to avoid "value computed is not used" warning.
1070         (atomic_compare_and_exchange_val_acq): Likewise.
1072 2015-08-04  Andreas Schwab  <schwab@suse.de>
1074         [BZ #18635]
1075         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1076         ret.
1077         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1079 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1081         * po/pl.po: Updated translation.
1082         * po/uk.po: Likewise.
1083         * po/fi.po: Likewise.
1084         * po/ko.po: Likewise.
1085         * po/ru.po: Likewise.
1086         * po/vi.po: Likewise.
1088 2015-07-31  Zack Weinberg  <zackw@panix.com>
1090         [BZ #18681]
1091         * regexp.h: Add unconditional #warning stating that this header
1092         will be removed soon.  Revise banner comment to match.
1093         (compile): Consistently use ERROR instead of RETURN to report
1094         errors (partial fix for bz#18681).
1095         * regexp.c: Don't include regexp.h. Remove some unnecessary
1096         declarations.
1098 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1100         * po/libc.pot: Regenerated.
1102 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1104         [BZ #18740]
1105         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1106         float-vlen4-arch-ext-cflags): Removed.
1107         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1108         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1110 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1112         [BZ #14113]
1113         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1114         aligned to __aligned__.
1115         (pthread_cond_t, pthread_rwlock_t): Likewise.
1117 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1119         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1121 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1123         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1124         (struct sigaction): Change sa_flags from a long to an int, and add
1125         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1127 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1129         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1130         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1131         sysdeps/generic/sysdep.h include.
1132         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1133         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1134         sysdeps/hppa/sysdep.h.
1135         (ENTRY, PSEUDO): Undefine before defining.
1137 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1139         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1140         from scratch to use INTERNAL_SYSCALL.
1142 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1144         [BZ #18078]
1145         * scripts/check-localplt.awk: Support alternate relocations.
1146         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1147         sections.
1148         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1149         malloc entries with + REL R_386_GLOB_DAT.
1150         * sysdeps/x86_64/localplt.data: New file.
1152 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1154         [BZ #18731]
1155         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1156         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1157         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1159 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1161         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1163 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1165         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1166         directly in terms of __sync_fetch_and_add and delete (int) cast.
1168 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1170         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1171         the -D_ASM_IA64_CURRENT_H flag.
1173 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1175         [BZ #18641]
1176         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1178 2015-07-27  Andreas Schwab  <schwab@suse.de>
1180         * conform/conformtest.pl (checknamespace): Filter out string
1181         literals while tokenizing.
1183 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1185         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1186         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1187         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1189 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1191         * nptl/tst-join7mod.c: Add #include <string.h>.
1193 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1195         * sysdeps/nios2/libm-test-ulps: Update.
1197 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1199         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1200         Fix order of arguments to the rt_sigprocmask syscall.
1201         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1202         Likewise.
1204 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1206         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1208 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1210         [BZ #18457]
1211         * nptl/Makefile (tests): New test case tst-join7.
1212         (modules-names): New test case module tst-join7mod.
1213         * nptl/tst-join7.c: New file.
1214         * nptl/tst-join7mod.c: New file.
1215         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1216         all translation units in libc.so, libpthread.so and rtld.
1218 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1222 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1224         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1225         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1226         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1227         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1228         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1229         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1230         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1231         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1232         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1233         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1234         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1235         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1236         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1237         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1238         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1239         implementation.
1241 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1243         [BZ #17711]
1244         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1245         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1246         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1247         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1248         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1249         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1251 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1253         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1254         instead of just saying load lock in the comments.
1256 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1258         * sysdeps/unix/Subdirs: Moved ...
1259         * sysdeps/posix/Subdirs: ... here.
1260         * login/pty.h (struct termios, struct winsize): Add forward decls.
1261         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1262         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1263         * sysdeps/arm/nacl/libc.abilist: Updated.
1264         * sysdeps/nacl/libutil.abilist: New file.
1266         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1267         (SIGWINCH): New macro.
1269         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1270         * sysdeps/arm/nacl/libc.abilist: Add it.
1272 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1274         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1276 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1278         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1279         Swap __glibc_reserved0 and sa_flags order.
1281 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1283         [BZ #18657]
1284         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1285         are pending TLS destructor calls.
1286         * include/link.h (struct link_map): Add concurrency note for
1287         L_TLS_DTOR_COUNT.
1288         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1289         Don't touch the link map flag.  Atomically increment
1290         l_tls_dtor_count.
1291         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1292         Avoid taking the load lock and don't touch the link map flag.
1293         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1294         * stdlib/Makefile (tests): Use it.
1295         * stdlib/tst-tls-atexit.c (do_test): dlopen
1296         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1297         to allow tst-tls-atexit-nodelete test case to use it.
1299 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1301         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1302         to bits/types.h.
1303         (msgqnum_t): New typedef.
1304         (msglen_t): Likewise.
1305         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1306         and msg_qbytes type to msglen_t.
1308 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1310         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1311         pad0 to __glibc_reserved0.
1312         (struct stat64): Likewise.
1314 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1316         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1317         Change sa_flags from a long to an int and add __glibc_reserved0 before
1318         it for padding.
1320 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1322         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1323         anonymous by deleting "siginfo" name.
1325 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1327         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1328         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1329         rather than __nacl_irt_filename.
1330         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1332         * NEWS: New item for arm-nacl port.
1333         * sysdeps/arm/nacl/libc.abilist: New file.
1334         * sysdeps/nacl/ld.abilist: New file.
1335         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1336         * sysdeps/nacl/libanl.abilist: New file.
1337         * sysdeps/nacl/libcrypt.abilist: New file.
1338         * sysdeps/nacl/libdl.abilist: New file.
1339         * sysdeps/nacl/libm.abilist: New file.
1340         * sysdeps/nacl/libpthread.abilist: New file.
1341         * sysdeps/nacl/libresolv.abilist: New file.
1342         * sysdeps/nacl/librt.abilist: New file.
1344 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1346         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1347         __startcontext to initialize the new context.
1348         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1349         up CFI directive to forbid further backtracing.
1351 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1353         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1354         reference.
1355         * charmaps/ANSI_X3.4-1968: Likewise.
1356         * charmaps/BS_4730: Likewise.
1357         * charmaps/BS_VIEWDATA: Likewise.
1358         * charmaps/CP1250: Likewise.
1359         * charmaps/CP1251: Likewise.
1360         * charmaps/CP1252: Likewise.
1361         * charmaps/CP1253: Likewise.
1362         * charmaps/CP1254: Likewise.
1363         * charmaps/CP1255: Likewise.
1364         * charmaps/CP1256: Likewise.
1365         * charmaps/CSN_369103: Likewise.
1366         * charmaps/EBCDIC-DK-NO: Likewise.
1367         * charmaps/GB_1988-80: Likewise.
1368         * charmaps/GREEK-CCITT: Likewise.
1369         * charmaps/GREEK7: Likewise.
1370         * charmaps/INIS-8: Likewise.
1371         * charmaps/ISIRI-3342: Likewise.
1372         * charmaps/ISO_2033-1983: Likewise.
1373         * charmaps/ISO_5427-EXT: Likewise.
1374         * locales/POSIX: Likewise.
1375         * locales/ar_SA: Likewise.
1376         * locales/be_BY: Likewise.
1377         * locales/be_BY@latin: Likewise.
1378         * locales/ca_ES: Likewise.
1379         * locales/cs_CZ: Likewise.
1380         * locales/da_DK: Likewise.
1381         * locales/de_BE: Likewise.
1382         * locales/de_CH: Likewise.
1383         * locales/de_LU: Likewise.
1384         * locales/en_AU: Likewise.
1385         * locales/en_BW: Likewise.
1386         * locales/en_CA: Likewise.
1387         * locales/en_DK: Likewise.
1388         * locales/en_GB: Likewise.
1389         * locales/en_IE: Likewise.
1390         * locales/en_NZ: Likewise.
1391         * locales/en_ZA: Likewise.
1392         * locales/en_ZW: Likewise.
1393         * locales/es_AR: Likewise.
1394         * locales/es_BO: Likewise.
1395         * locales/es_CL: Likewise.
1396         * locales/es_CO: Likewise.
1397         * locales/es_DO: Likewise.
1398         * locales/es_EC: Likewise.
1399         * locales/es_ES: Likewise.
1400         * locales/es_HN: Likewise.
1401         * locales/es_MX: Likewise.
1402         * locales/es_PA: Likewise.
1403         * locales/es_PE: Likewise.
1404         * locales/es_PY: Likewise.
1405         * locales/es_SV: Likewise.
1406         * locales/es_US: Likewise.
1407         * locales/es_UY: Likewise.
1408         * locales/es_VE: Likewise.
1409         * locales/et_EE: Likewise.
1410         * locales/fa_IR: Likewise.
1411         * locales/fo_FO: Likewise.
1412         * locales/fr_CA: Likewise.
1413         * locales/fr_CH: Likewise.
1414         * locales/gv_GB: Likewise.
1415         * locales/he_IL: Likewise.
1416         * locales/hr_HR: Likewise.
1417         * locales/id_ID: Likewise.
1418         * locales/is_IS: Likewise.
1419         * locales/it_CH: Likewise.
1420         * locales/iw_IL: Likewise.
1421         * locales/kl_GL: Likewise.
1422         * locales/ko_KR: Likewise.
1423         * locales/kw_GB: Likewise.
1424         * locales/lg_UG: Likewise.
1425         * locales/lt_LT: Likewise.
1426         * locales/lv_LV: Likewise.
1427         * locales/mi_NZ: Likewise.
1428         * locales/nhn_MX: Likewise.
1429         * locales/nl_BE: Likewise.
1430         * locales/pl_PL: Likewise.
1431         * locales/sk_SK: Likewise.
1432         * locales/sl_SI: Likewise.
1433         * locales/sv_FI: Likewise.
1434         * locales/tl_PH: Likewise.
1435         * locales/tr_TR: Likewise.
1436         * locales/vi_VN: Likewise.
1438 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1440         [BZ #17475]
1441         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1442         of tu_IN and bh_IN.
1444 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
1446         [BZ #18694]
1447         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1448         bits/wordsize.h.
1449         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1451 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1453         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1454         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1455         (spawn_thread): New function.
1456         (load): Rename to reg_dtor_and_close.  Move dlopen to...
1457         (do_test): ... here.  Use IS_LOADED to test for its
1458         availability.
1460 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
1462         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1464 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
1466         [BZ #18696]
1467         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1468         si_addr_bnd.
1469         (si_lower): New.
1470         (si_upper): Likewise.
1472 2015-07-16  David S. Miller  <davem@davemloft.net>
1474         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1476 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1478         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1479         buffer.
1480         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1481         fail output information.
1483 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1486         and strstr-ppc64..
1487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1488         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1489         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1490         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1491         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1493 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1495         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1496         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1497         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1498         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1500 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1502         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1503         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1504         rtld_hidden_proto.
1505         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1507 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1509         * tst-nodelete-opened.c (do_test): Add comment to clarify how
1510         the test can fail.
1512         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1514         [BZ #18676]
1515         * elf/tst-nodelete-opened.c: New test case.
1516         * elf/tst-nodelete-opened-lib.c: New test case module.
1517         * elf/Makefile (tests, modules-names): Use them.
1518         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1519         early.
1521 2015-07-15  David S. Miller  <davem@davemloft.net>
1523         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1524         futex-intenal.h
1525         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1526         * sysdeps/sparc/sparc64/Makefile: Likewise.
1527         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1528         Remove space from macro define.
1529         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1531 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
1533         [BZ #17475]
1534         * locale/iso-639.def: Update Bhili and Tulu language codes as
1535         per iso639-3.
1537 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
1539         * elf/tst-leaks1.c (main): Converted to ...
1540         (do_test): ... this.
1541         (TEST_FUNCTION): New macro.
1542         Include test-skeleton.c.
1543         * localedata/tst-langinfo.c (main): Converted to ...
1544         (do_test): ... this.
1545         (TEST_FUNCTION): New macro.
1546         Include test-skeleton.c.
1547         * math/test-fpucw.c (main): Converted to ...
1548         (do_test): ... this.
1549         (TEST_FUNCTION): New macro.
1550         Include test-skeleton.c.
1551         * math/test-tgmath.c (main): Converted to ...
1552         (do_test): ... this.
1553         (TEST_FUNCTION): New macro.
1554         Include test-skeleton.c.
1555         * math/test-tgmath2.c (main): Converted to ...
1556         (do_test): ... this.
1557         (TEST_FUNCTION): New macro.
1558         Include test-skeleton.c.
1559         * setjmp/tst-setjmp.c (main): Converted to ...
1560         (do_test): ... this.
1561         (TEST_FUNCTION): New macro.
1562         Include test-skeleton.c.
1563         * stdio-common/tst-sscanf.c (main): Converted to ...
1564         (do_test): ... this.
1565         (TEST_FUNCTION): New macro.
1566         Include test-skeleton.c.
1567         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1568         (do_test): ... this.
1569         (TEST_FUNCTION): New macro.
1570         Include test-skeleton.c.
1572         * elf/tst-audit9.c (main): Converted to ...
1573         (do_test): ... this.
1574         (TEST_FUNCTION): New macro.
1575         Include test-skeleton.c.
1577 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
1579         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1581 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1583         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1584         New variable.
1586 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1588         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1590 2015-07-14  Roland McGrath  <roland@hack.frob.com>
1592         * sysdeps/generic/dl-fileid.h: New file.
1593         * sysdeps/posix/dl-fileid.h: New file.
1594         * sysdeps/nacl/dl-fileid.h: New file.
1595         * include/link.h: Include <dl-fileid.h>.
1596         (struct link_map): Replace l_dev and l_ino with l_file_id.
1597         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1598         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
1599         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
1601 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1603         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
1605 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1607         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
1608         Add iff $CXX is set.
1609         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
1610         Likewise.
1611         (tst-nodelete-zmodiff): Likewise.
1612         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
1614 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1616         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
1618 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1620         * sysdeps/aarch64/fpu/math_private.h
1621         (define math_opt_barrier): Add AArch64 version.
1622         (math_force_eval): Likewise.
1624 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1626         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
1628 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1630         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
1631         %ld with %jd and cast to intmax_t.
1632         (do_test_length_zero): Likewise.
1634 2015-07-10  Roland McGrath  <roland@hack.frob.com>
1636         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
1638 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
1640         * sysdeps/tile/libm-test-ulps: Regenerated.
1642         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
1643         Comment out the whole function, not just its body.
1645 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1647         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
1648         locks.
1650         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
1652 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1654         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
1655         (sem_assume_only_signals_cause_futex_EINTR): Remove.
1657 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1659         * sysdeps/nptl/futex-internal.h: New file.
1660         * sysdeps/nacl/futex-internal.h: New file.
1661         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
1662         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
1663         error checking.
1664         (setxid_unmark_thread): Likewise.
1665         (__nptl_setxid): Likewise.
1666         (__wait_lookup_done): Likewise.
1667         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1668         * nptl/nptl-init.c (sighandler_setxid): Likewise.
1669         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1670         * nptl/pthread_once.c (clear_once_control): Likewise.
1671         (__pthread_once_slow): Likewise.
1672         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1673         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1674         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1675         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1676         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1677         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1678         Likewise.
1679         (__pthread_rwlock_rdlock): Likewise.
1680         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1681         Likewise.
1682         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1683         Likewise.
1684         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1685         Likewise.
1686         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1687         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1688         Likewise.
1689         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1690         __ASSUME_PRIVATE_FUTEX check.
1691         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1692         Check that shared futexes are supported.
1693         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1694         wrappers with error checking.
1695         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1696         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1697         * nptl/pthread_barrierattr_setpshared.c
1698         (pthread_barrierattr_setpshared): Check that shared futexes are
1699         supported.
1700         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1701         Likewise.
1702         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1703         Likewise.
1704         * nptl/sem_init.c (futex_private_if_supported): Remove.
1705         (__new_sem_init): Adapt and check that shared futexes are supported.
1706         * nptl/sem_open.c (sem_open): Likewise.
1707         * nptl/sem_post.c (futex_wake): Remove.
1708         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1709         (do_futex_wait): Use futex wrappers with error checking.
1710         * nptl/sem_wait.c: Include lowlevellock.h.
1711         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1712         Use futex_supports_pshared.
1713         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1714         Use futex wrappers with error checking.
1715         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1716         Likewise.
1717         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1718         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1719         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1720         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1721         (futex_wake): Likewise.
1722         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1723         (do_futex_wait): Use futex wrappers with error checking.
1724         (__new_sem_wait_slow): Update EINTR handling.
1725         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1727 2015-07-09  Martin Sebor  <msebor@redhat.com>
1729         [BZ #18435]
1730         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1731         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1732         * nptl/Makefile (test-xfail-tst-once5): Define.
1734 2015-07-09  Roland McGrath  <roland@hack.frob.com>
1736         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1737         * elf/dl-minimal.c: For readability, reorder some definitions and
1738         introduce more page breaks.  Include <stdio.h>.
1739         (__libc_fatal): New function.
1741         * include/unistd.h: Add rtld_hidden_proto for _exit.
1742         * posix/_exit.c: Add rtld_hidden_def.
1743         * sysdeps/mach/hurd/_exit.c: Likewise.
1744         * sysdeps/nacl/_exit.c: Likewise.
1745         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1746         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1748 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1750         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1751         bndmov encoding with zero displacement.
1753 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1754             H.J. Lu  <hongjiu.lu@intel.com>
1756         [BZ #18134]
1757         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1758         * sysdeps/i386/configure: Regenerated.
1759         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1760         (_dl_runtime_profile): Save and restore Intel MPX return bound
1761         registers when calling _dl_call_pltexit.  Add
1762         PRESERVE_BND_REGS_PREFIX before return.
1763         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1764         (LRV_BND1_OFFSET): Likewise.
1765         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1766         lrv_bnd1.
1767         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1768         typo in bndmov encoding.
1769         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1770         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
1771         branch instructions to preserve bounds.
1773 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1776         [GLIBC_2.22]: Add fmemopen.
1778 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1780         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1781         returns an error, also try to use host port from __mach_host_self for
1782         the __vm_wire call.
1783         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1785 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1787         [BZ #18400]
1788         [BZ #18648]
1789         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1790         Fix pr_uid and pr_gid members.
1791         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1792         definition to elf_greg_t.
1794 2015-07-08  Roland McGrath  <roland@hack.frob.com>
1796         [BZ #18383]
1797         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1798         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1799         * sysdeps/arm/configure: Regenerated.
1800         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1801         (test-xfail-tst-tlsalign-static): Variable removed.
1803         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1804         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1805         rather than explicit 'ln -s'.
1807         * resolv/rpc/netdb.h: New file.
1808         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1810 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1812         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1813         length buffers.
1814         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1815         test-skeleton.c.
1817         [BZ #6544]
1818         [BZ #11216]
1819         [BZ #12836]
1820         [BZ #13151]
1821         [BZ #13152]
1822         [BZ #14292]
1823         * include/stdio.h (fmemopen): Remove hidden prototype.
1824         (__fmemopen): Add new hidden prototype.
1825         * libio/Makefile: Add oldfmemopen object.
1826         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1827         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1828         compliance.
1829         * libio/oldfmemopen.c: New file: old fmemopen implementation for
1830         symbol compatibility.
1831         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1832         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1833         fmemopen.
1834         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1835         on append and read mode.
1836         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1837         fmemopen.
1838         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1839         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1840         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1841         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1842         Likewise.
1843         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1844         [GLIBC_2.22]: Likewise.
1845         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1846         Likewise.
1847         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1848         Likewise.
1849         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1850         [GLIBC_2.22]: Likewise.
1851         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1852         [GLIBC_2.22]: Likewise.
1853         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1854         [GLIBC_2.22]: Likewise.
1855         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1856         [GLIBC_2.22]: Likewise.
1857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1858         [GLIBC_2.22]: Likewise.
1859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1860         [GLIBC_2.22]: Likewise.
1861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1862         [GLIBC_2.22]: Likewise.
1863         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1864         Likewise.
1865         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1866         Likewise.
1867         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1868         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1869         [GLIBC_2.22]: Likewise.
1870         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1871         [GLIBC_2.22]: Likewise.
1872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1873         [GLIBC_2.22]: Likewise.
1874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1875         [GLIBC_2.22]: Likewise.
1876         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1877         Likewise.
1878         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1879         Likewise.
1880         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1881         Likewise.
1882         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1883         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1885 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1887         [BZ #18643]
1888         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1889         IPV6_PATHMTU, and IPV6_DONTFRAG.
1891 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
1893         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1894         and _IO_UNBUFFERED.
1895         * libio/oldfileops.c: Likewise.
1896         * libio/wfileops.c: Likewise.
1898 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1900         * nscd/selinux.c: Delete selinux/flask.h include.
1902 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1904         [BZ #18641]
1905         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1906         (putpwent): Likewise.
1907         (getpwnam): Likewise.
1908         (getpwent_r): Likewise.
1909         (getpwuid_r): Likewise.
1910         (getpwnam_r): Likewise.
1911         (fgetpwent_r): Likewise.
1913 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1915         [BZ #18557]
1916         * inet/rcmd.c (__validuser2_sa): Check user first to
1917         short-circuit host check.
1919 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
1920             Mikhail Ilin  <m.ilin@samsung.com>
1922         [BZ #17833]
1923         * elf/Makefile (tests): Add tst-nodelete.
1924         (modules-names): Add tst-nodelete-uniquemod.
1925         (tst-nodelete-uniquemod.so-no-z-defs): New.
1926         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1927         (tst-nodelete-zmod.so-no-z-defs): Likewise.
1928         ($(objpfx)tst-nodelete): Likewise.
1929         ($(objpfx)tst-nodelete.out): Likewise.
1930         (LDFLAGS-tst-nodelete): Likewise.
1931         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1932         * elf/dl-close.c (_dl_close_worker): Add a parameter to
1933         implement forced object deletion.
1934         (_dl_close): Pass false to _dl_close_worker.
1935         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1936         * elf/tst-nodelete.cc: New file.
1937         * elf/tst-nodeletelib.cc: Likewise.
1938         * elf/tst-znodeletelib.cc: Likewise.
1939         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1941 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1943         [BZ #18508]
1944         * stdlib/Makefile ($(objpfx)tst-makecontext3):
1945         Depend on $(libdl).
1946         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1947         is not called infinitely times.
1948         (backtrace_helper): New function.
1949         (trace_arg): New struct.
1950         (st1): Enlarge stack size.
1951         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1952         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1953         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1954         Likewise.
1956 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1958         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1960 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1962         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1963         Include sys/types.h instead of bits/types.h.
1964         Remove inclusion of bits/wordsize.h.
1966 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1968         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1969         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1970         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1971         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1972         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1973         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1975 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1977         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1978         link-defines.sym.
1979         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
1980         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
1981         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
1982         and LR_SIZE.
1983         * sysdeps/i386/link-defines.sym: New file.
1985 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1987         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
1988         (modules-names): Add tst-auditmod3a tst-auditmod3b.
1989         ($(objpfx)tst-audit3): New rule.
1990         ($(objpfx)tst-audit3.out): Likewise.
1991         * sysdeps/i386/tst-audit3.c: New file.
1992         * sysdeps/i386/tst-audit3.h: Likewise.
1993         * sysdeps/i386/tst-auditmod3a.c: Likewise.
1994         * sysdeps/i386/tst-auditmod3b.c: Likewise.
1996 2015-07-07  Torvald Riegel  <triegel@redhat.com>
1998         [BZ #18633]
1999         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2000         pointer in C code.
2001         (__strcat_c): Likewise.
2002         (__strcat_g): Likewise.
2004 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2006         [BZ #18592]
2007         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2009 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2011         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2012         New function.  (__ieee754_sqrtf): New function.
2013         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2014         New function.
2015         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2016         New function.
2018 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2020         * sysdeps/ieee754/support.c: Remove unused file.
2022 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2024         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2025         registers instead of d ones so the layout is kernel abi compatible.
2026         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2027         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2028         Likewise.
2030 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2032         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2034 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2036         [BZ #18619]
2037         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2038         and return argument in case of subnormal argument.
2040 2015-07-01  Martin Sebor  <msebor@redhat.com>
2042         [BZ #18435]
2043         * nptl/Makefile: Add tst-once5.cc.
2044         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2045         Remove macro redefinitions.
2046         * nptl/tst-once5.cc: New test.
2048 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2050         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2052         * sysdeps/arm/libm-test-ulps: Regenerated.
2054         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2055         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2057 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2059         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2060         lll_lock_wait_private and lll_futex_wake probes.
2062         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2063         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2064         Likewise.
2065         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2066         atomic_spin_nop.
2067         * sysdeps/x86_64/bits/atomic.h: Likewise.
2068         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2069         to atomic_spin_nop and move ...
2070         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2071         ... here and ...
2072         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2073         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2074         atomic_spin_nop instead of BUSY_WAIT_NOP.
2075         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2076         Likewise.
2077         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2078         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2079         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2080         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2081         instead of atomic_delay.
2083 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2085         [BZ #18613]
2086         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2087         X_ADJ not X when adjusting exponent.
2088         (__ieee754_gamma_r): Do intermediate computations in
2089         round-to-nearest then adjust overflowing and underflowing results
2090         as needed.
2091         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2092         of X_ADJ not X when adjusting exponent.
2093         (__ieee754_gammaf_r): Do intermediate computations in
2094         round-to-nearest then adjust overflowing and underflowing results
2095         as needed.
2096         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2097         log of X_ADJ not X when adjusting exponent.
2098         (__ieee754_gammal_r): Do intermediate computations in
2099         round-to-nearest then adjust overflowing and underflowing results
2100         as needed.  Use 1.0L not 1.0f as numerator of division.
2101         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2102         log of X_ADJ not X when adjusting exponent.
2103         (__ieee754_gammal_r): Do intermediate computations in
2104         round-to-nearest then adjust overflowing and underflowing results
2105         as needed.  Use 1.0L not 1.0f as numerator of division.
2106         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2107         of X_ADJ not X when adjusting exponent.
2108         (__ieee754_gammal_r): Do intermediate computations in
2109         round-to-nearest then adjust overflowing and underflowing results
2110         as needed.  Use 1.0L not 1.0f as numerator of division.
2111         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2112         to auto-libm-test-in.
2113         (tgamma_test): Use ALL_RM_TEST.
2114         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2115         tests of tgamma with spurious-overflow.
2116         * math/auto-libm-test-out: Regenerated.
2117         * math/gen-libm-have-vector-test.sh: Do not check for START.
2118         * sysdeps/i386/fpu/libm-test-ulps: Update.
2119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2121         [BZ #18612]
2122         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2123         arguments, just return 0.5 times the argument, with underflow
2124         forced as needed.
2125         * math/auto-libm-test-in: Add more tests of j1.
2126         * math/auto-libm-test-out: Regenerated.
2128         [BZ #16559]
2129         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2130         (__ieee754_j1): Force underflow exception for small results.
2131         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2132         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2133         (__ieee754_j1f): Force underflow exception for small results.
2134         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2135         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2136         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2137         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2138         (__ieee754_j1l): Force underflow exception for small results.
2139         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2140         * math/auto-libm-test-in: Add more tests of j1 and jn.
2141         * math/auto-libm-test-out: Regenerated.
2143         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2144         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2145         (PF_MPLS): Likewise.
2146         (AF_IB): Likewise.
2147         (AF_MPLS): Likewise.
2148         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2149         value and macro.
2150         (MS_RMT_MASK): Include MS_LAZYTIME.
2152 2015-06-26  Mel Gorman  <mgorman@suse.de>
2154         [BZ #18502]
2155         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2156         already minimal.
2158 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2160         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2161         (DT_MIPS_NUM): Update.
2162         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2163         DT_MIPS_RLD_MAP_REL.
2165 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2167         [BZ #16559]
2168         [BZ #18602]
2169         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2170         round-to-nearest internally then recompute results that
2171         underflowed to zero in the original rounding mode.
2172         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2173         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2174         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2175         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2176         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2177         * sysdeps/i386/fpu/libm-test-ulps: Update.
2178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2180 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2182         * NEWS: Fixed description of link with vector math library.
2184 2015-06-25  Andreas Schwab  <schwab@suse.de>
2186         [BZ #18549]
2187         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2188         * libio/test-fmemopen.c (do_test): Add test for it.
2190 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2192         [BZ #17841]
2193         * Makeconfig (no-pie-ldflag): New.
2194         (+link): Set to $(+link-pie) if default to PIE.
2195         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2196         * config.make.in (build-pie-default): New.
2197         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2198         is default.  AC_SUBST.
2199         * configure: Regenerated.
2200         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2202 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2204         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2205         to 'unsigned int'.
2207         * resolv/gai_misc.h (struct waitlist): Change type of field
2208         counterp to 'volatile unsigned int *'.
2209         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2210         FUTEXADDR and OLDVAL.
2211         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2212         Give local variable TOTAL type 'volatile unsigned int'.
2213         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2214         * resolv/gai_suspend.c (gai_suspend):
2215         Give local variable CNTR type 'unsigned int'.
2217         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2218         counterp to 'volatile unsigned int *'.
2219         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2220         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2221         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2222         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2223         Give local variable TOTAL type 'volatile unsigned int'.
2224         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2226 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2228         [BZ #18383]
2229         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2230         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2231         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2232         comment for i386/x86-64.
2233         (test-xfail-tst-tlsalign-extern-static): Removed.
2235 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2237         * math/test-double.h: New file.
2238         * math/test-float.h: Likewise.
2239         * math/test-ldouble.h: Likewise.
2240         * math/test-math-inline.h: Likewise.
2241         * math/test-math-no-inline.h: Likewise.
2242         * math/test-math-scalar.h: Likewise.
2243         * math/test-math-vector.h: Likewise.
2244         * math/test-vec-loop.h: Remove file.  Contents moved into
2245         test-math-vector.h.
2246         * math/libm-test.inc (MATHCONST): Do not document macro.
2247         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2248         and test-math-scalar.h.
2249         (FUNC): Remove macro.
2250         (FUNC_TEST): Likewise.
2251         (FLOAT): Likewise.
2252         (MATHCONST): Likewise.
2253         (PRINTF_EXPR): Likewise.
2254         (PRINTF_XEXPR): Likewise.
2255         (PRINTF_NEXPR): Likewise.
2256         (TEST_DOUBLE): Likewise.
2257         (TEST_MATHVEC): Likewise.
2258         (__NO_MATH_INLINES): Likewise.
2259         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2260         and test-math-scalar.h.
2261         (FUNC): Remove macro.
2262         (FUNC_TEST): Likewise.
2263         (FLOAT): Likewise.
2264         (MATHCONST): Likewise.
2265         (PRINTF_EXPR): Likewise.
2266         (PRINTF_XEXPR): Likewise.
2267         (PRINTF_NEXPR): Likewise.
2268         (TEST_FLOAT): Likewise.
2269         (TEST_MATHVEC): Likewise.
2270         (__NO_MATH_INLINES): Likewise.
2271         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2272         and test-math-scalar.h.
2273         (FUNC): Remove macro.
2274         (FUNC_TEST): Likewise.
2275         (FLOAT): Likewise.
2276         (MATHCONST): Likewise.
2277         (PRINTF_EXPR): Likewise.
2278         (PRINTF_XEXPR): Likewise.
2279         (PRINTF_NEXPR): Likewise.
2280         (TEST_DOUBLE): Likewise.
2281         (TEST_MATHVEC): Likewise.
2282         (TEST_INLINE): Likewise.
2283         (__NO_MATH_INLINES): Likewise.
2284         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2285         test-math-scalar.h.
2286         (FUNC): Remove macro.
2287         (FUNC_TEST): Likewise.
2288         (FLOAT): Likewise.
2289         (MATHCONST): Likewise.
2290         (PRINTF_EXPR): Likewise.
2291         (PRINTF_XEXPR): Likewise.
2292         (PRINTF_NEXPR): Likewise.
2293         (TEST_FLOAT): Likewise.
2294         (TEST_MATHVEC): Likewise.
2295         (TEST_INLINE): Likewise.
2296         (__NO_MATH_INLINES): Likewise.
2297         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2298         and test-math-scalar.h.
2299         (FUNC): Remove macro.
2300         (FUNC_TEST): Likewise.
2301         (FLOAT): Likewise.
2302         (MATHCONST): Likewise.
2303         (PRINTF_EXPR): Likewise.
2304         (PRINTF_XEXPR): Likewise.
2305         (PRINTF_NEXPR): Likewise.
2306         (TEST_LDOUBLE): Likewise.
2307         (TEST_MATHVEC): Likewise.
2308         (TEST_INLINE): Likewise.
2309         (__NO_MATH_INLINES): Likewise.
2310         * math/test-ldouble.c: Include test-ldouble.h,
2311         test-math-no-inline.h and test-math-scalar.h.
2312         (FUNC): Remove macro.
2313         (FUNC_TEST): Likewise.
2314         (FLOAT): Likewise.
2315         (MATHCONST): Likewise.
2316         (PRINTF_EXPR): Likewise.
2317         (PRINTF_XEXPR): Likewise.
2318         (PRINTF_NEXPR): Likewise.
2319         (TEST_LDOUBLE): Likewise.
2320         (TEST_MATHVEC): Likewise.
2321         (__NO_MATH_INLINES): Likewise.
2322         * math/test-double-vlen2.h: Include test-double.h,
2323         test-math-no-inline.h and test-math-vector.h.
2324         (FLOAT): Remove macro.
2325         (FUNC): Likewise.
2326         (MATHCONST): Likewise.
2327         (PRINTF_EXPR): Likewise.
2328         (PRINTF_XEXPR): Likewise.
2329         (PRINTF_NEXPR): Likewise.
2330         (TEST_DOUBLE): Likewise.
2331         (TEST_MATHVEC): Likewise.
2332         (__NO_MATH_INLINES): Likewise.
2333         (CNCT): Likewise.
2334         (CONCAT): Likewise.
2335         (WRAPPER_NAME): Likewise.
2336         (WRAPPER_DECL): Likewise.
2337         (WRAPPER_DECL_ff): Likewise.
2338         (WRAPPER_DECL_fFF): Likewise.
2339         (VECTOR_WRAPPER): Likewise.
2340         (VECTOR_WRAPPER_ff): Likewise.
2341         (VECTOR_WRAPPER_fFF): Likewise.
2342         (VEC_LEN): New macro.
2343         * math/test-double-vlen4.h: Include test-double.h,
2344         test-math-no-inline.h and test-math-vector.h.
2345         (FLOAT): Remove macro.
2346         (FUNC): Likewise.
2347         (MATHCONST): Likewise.
2348         (PRINTF_EXPR): Likewise.
2349         (PRINTF_XEXPR): Likewise.
2350         (PRINTF_NEXPR): Likewise.
2351         (TEST_DOUBLE): Likewise.
2352         (TEST_MATHVEC): Likewise.
2353         (__NO_MATH_INLINES): Likewise.
2354         (CNCT): Likewise.
2355         (CONCAT): Likewise.
2356         (WRAPPER_NAME): Likewise.
2357         (WRAPPER_DECL): Likewise.
2358         (WRAPPER_DECL_ff): Likewise.
2359         (WRAPPER_DECL_fFF): Likewise.
2360         (VECTOR_WRAPPER): Likewise.
2361         (VECTOR_WRAPPER_ff): Likewise.
2362         (VECTOR_WRAPPER_fFF): Likewise.
2363         (VEC_LEN): New macro.
2364         * math/test-double-vlen8.h: Include test-double.h,
2365         test-math-no-inline.h and test-math-vector.h.
2366         (FLOAT): Remove macro.
2367         (FUNC): Likewise.
2368         (MATHCONST): Likewise.
2369         (PRINTF_EXPR): Likewise.
2370         (PRINTF_XEXPR): Likewise.
2371         (PRINTF_NEXPR): Likewise.
2372         (TEST_DOUBLE): Likewise.
2373         (TEST_MATHVEC): Likewise.
2374         (__NO_MATH_INLINES): Likewise.
2375         (CNCT): Likewise.
2376         (CONCAT): Likewise.
2377         (WRAPPER_NAME): Likewise.
2378         (WRAPPER_DECL): Likewise.
2379         (WRAPPER_DECL_ff): Likewise.
2380         (WRAPPER_DECL_fFF): Likewise.
2381         (VECTOR_WRAPPER): Likewise.
2382         (VECTOR_WRAPPER_ff): Likewise.
2383         (VECTOR_WRAPPER_fFF): Likewise.
2384         (VEC_LEN): New macro.
2385         * math/test-float-vlen4.h: Include test-float.h,
2386         test-math-no-inline.h and test-math-vector.h.
2387         (FLOAT): Remove macro.
2388         (FUNC): Likewise.
2389         (MATHCONST): Likewise.
2390         (PRINTF_EXPR): Likewise.
2391         (PRINTF_XEXPR): Likewise.
2392         (PRINTF_NEXPR): Likewise.
2393         (TEST_FLOAT): Likewise.
2394         (TEST_MATHVEC): Likewise.
2395         (__NO_MATH_INLINES): Likewise.
2396         (CNCT): Likewise.
2397         (CONCAT): Likewise.
2398         (WRAPPER_NAME): Likewise.
2399         (WRAPPER_DECL): Likewise.
2400         (WRAPPER_DECL_ff): Likewise.
2401         (WRAPPER_DECL_fFF): Likewise.
2402         (VECTOR_WRAPPER): Likewise.
2403         (VECTOR_WRAPPER_ff): Likewise.
2404         (VECTOR_WRAPPER_fFF): Likewise.
2405         (VEC_LEN): New macro.
2406         * math/test-float-vlen8.h: Include test-float.h,
2407         test-math-no-inline.h and test-math-vector.h.
2408         (FLOAT): Remove macro.
2409         (FUNC): Likewise.
2410         (MATHCONST): Likewise.
2411         (PRINTF_EXPR): Likewise.
2412         (PRINTF_XEXPR): Likewise.
2413         (PRINTF_NEXPR): Likewise.
2414         (TEST_FLOAT): Likewise.
2415         (TEST_MATHVEC): Likewise.
2416         (__NO_MATH_INLINES): Likewise.
2417         (CNCT): Likewise.
2418         (CONCAT): Likewise.
2419         (WRAPPER_NAME): Likewise.
2420         (WRAPPER_DECL): Likewise.
2421         (WRAPPER_DECL_ff): Likewise.
2422         (WRAPPER_DECL_fFF): Likewise.
2423         (VECTOR_WRAPPER): Likewise.
2424         (VECTOR_WRAPPER_ff): Likewise.
2425         (VECTOR_WRAPPER_fFF): Likewise.
2426         (VEC_LEN): New macro.
2427         * math/test-float-vlen16.h: Include test-float.h,
2428         test-math-no-inline.h and test-math-vector.h.
2429         (FLOAT): Remove macro.
2430         (FUNC): Likewise.
2431         (MATHCONST): Likewise.
2432         (PRINTF_EXPR): Likewise.
2433         (PRINTF_XEXPR): Likewise.
2434         (PRINTF_NEXPR): Likewise.
2435         (TEST_FLOAT): Likewise.
2436         (TEST_MATHVEC): Likewise.
2437         (__NO_MATH_INLINES): Likewise.
2438         (CNCT): Likewise.
2439         (CONCAT): Likewise.
2440         (WRAPPER_NAME): Likewise.
2441         (WRAPPER_DECL): Likewise.
2442         (WRAPPER_DECL_ff): Likewise.
2443         (WRAPPER_DECL_fFF): Likewise.
2444         (VECTOR_WRAPPER): Likewise.
2445         (VECTOR_WRAPPER_ff): Likewise.
2446         (VECTOR_WRAPPER_fFF): Likewise.
2447         (VEC_LEN): New macro.
2448         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2449         test-vec-loop.h.
2450         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2451         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2452         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2453         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2454         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2455         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2456         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2458 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2460         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2461         (__getlogin_r): ... this.
2463 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2465         [BZ #18594]
2466         * math/s_ccosh.c (__ccosh): Compare with least normal value
2467         instead of comparing class with FP_SUBNORMAL.
2468         * math/s_ccoshf.c (__ccoshf): Likewise.
2469         * math/s_ccoshl.c (__ccoshl): Likewise.
2470         * math/s_cexp.c (__cexp): Likewise.
2471         * math/s_cexpf.c (__cexpf): Likewise.
2472         * math/s_cexpl.c (__cexpl): Likewise.
2473         * math/s_csin.c (__csin): Likewise.
2474         * math/s_csinf.c (__csinf): Likewise.
2475         * math/s_csinh.c (__csinh): Likewise.
2476         * math/s_csinhf.c (__csinhf): Likewise.
2477         * math/s_csinhl.c (__csinhl): Likewise.
2478         * math/s_csinl.c (__csinl): Likewise.
2479         * math/s_ctan.c (__ctan): Likewise.
2480         * math/s_ctanf.c (__ctanf): Likewise.
2481         * math/s_ctanh.c (__ctanh): Likewise.
2482         * math/s_ctanhf.c (__ctanhf): Likewise.
2483         * math/s_ctanhl.c (__ctanhl): Likewise.
2484         * math/s_ctanl.c (__ctanl): Likewise.
2485         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2486         csin, csinh, ctan and ctanh.
2487         * math/auto-libm-test-out: Regenerated.
2488         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2489         * sysdeps/i386/fpu/libm-test-ulps: Update.
2490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2492 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2494         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2495         return value is wrong, print the expected value too.
2497 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2499         [BZ #18585]
2500         * elf/readlib.c (is_gdb_python_file): New.
2501         (process_file): Don't issue errors on filenames with -gdb.py
2502         suffix.
2504 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2506         * math/auto-libm-test-in: Add more tests of csin and csinh.
2507         * math/auto-libm-test-out: Regenerated.
2508         * math/libm-test.inc (csin_test_data): Remove tests moved to
2509         auto-libm-test-in.
2510         (csinh_test_data): Likewise.
2512         [BZ #18593]
2513         * math/s_csin.c (__csin): Negate before rather than after possibly
2514         overflowing multiplication.
2515         * math/s_csinf.c (__csinf): Likewise.
2516         * math/s_csinh.c (__csinh): Likewise.
2517         * math/s_csinhf.c (__csinhf): Likewise.
2518         * math/s_csinhl.c (__csinhl): Likewise.
2519         * math/s_csinl.c (__csinl): Likewise.
2520         * math/auto-libm-test-in: Add some tests of csin and csinh.
2521         * math/auto-libm-test-out: Regenerated.
2522         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2523         (csinh_test_data): Likewise.
2524         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2526         [BZ #18586]
2527         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2528         underflow exception for small results.
2530 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2532         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2533         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2534         variable and included header.
2535         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2536         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2537         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2538         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2539         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2540         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2541         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2542         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2543         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2544         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2545         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2546         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2547         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2548         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2549         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2550         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2552 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2554         [BZ #16526]
2555         [BZ #16538]
2556         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2557         (__sin): Force underflow exception for arguments with small
2558         absolute value.
2559         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2560         (__kernel_sinf): Force underflow exception for arguments with
2561         small absolute value.
2562         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2563         (__kernel_sincosl): Force underflow exception for arguments with
2564         small absolute value.
2565         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2566         (__kernel_sinl): Force underflow exception for arguments with
2567         small absolute value.
2568         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2569         (__kernel_sincosl): Force underflow exception for arguments with
2570         small absolute value.
2571         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2572         (__kernel_sinl): Force underflow exception for arguments with
2573         small absolute value.
2574         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2575         (__kernel_sinl): Force underflow exception for arguments with
2576         small absolute value.
2577         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2578         (__kernel_sinf): Force underflow exception for arguments with
2579         small absolute value.
2580         * math/auto-libm-test-in: Add more tests of sin and sincos.
2581         * math/auto-libm-test-out: Regenerated.
2583         [BZ #18245]
2584         [BZ #18583]
2585         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2586         (__kernel_standard_l): Use feholdexcept and fesetenv around
2587         conversion to double instead of special-casing overflow and
2588         underflow.
2589         * math/libm-test.inc (fmod_test_data): Add more tests.
2590         (remainder_test_data): Likewise.
2591         (sqrt_test_data): Likewise.
2593 2015-06-23  Torvald Riegel  <triegel@redhat.com>
2595         [BZ #17403]
2596         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2597         atomic_read_barrier, atomic_write_barrier): Define.
2598         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2599         atomic_read_barrier, atomic_write_barrier): Define.
2601 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2603         * math/Makefile [$(PERL) != no]
2604         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
2605         dependency on libm-test.stmp below the inclusion of Rules.
2607 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
2609         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2610         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
2611         and included header.
2612         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
2613         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
2614         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
2615         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
2616         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
2617         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
2618         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2619         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2620         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
2621         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
2622         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
2623         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
2624         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
2625         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
2626         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
2627         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
2628         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
2629         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
2630         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
2632 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2634         [BZ #18371]
2635         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
2636         intermediate but not final result might underflow.
2637         * math/s_csqrtf.c (__csqrtf): Likewise.
2638         * math/s_csqrtl.c (__csqrtl): Likewise.
2639         * math/auto-libm-test-in: Add more tests of csqrt.
2640         * math/auto-libm-test-out: Regenerated.
2641         * sysdeps/i386/fpu/libm-test-ulps: Update.
2643         [BZ #18219]
2644         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
2645         threshold on absolute value of exponent for which scaling is used.
2646         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2647         * math/auto-libm-test-in: Add more tests of exp2.
2648         * math/auto-libm-test-out: Regenerated.
2650 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
2652         [BZ #17977]
2653         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
2654         when initializing interface list, based on the bug analysis
2655         and the patch proposed by Eric Newton.
2656         * resolv/tst-res_hconf_reorder.c: New test.
2657         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
2658         tst-res_hconf_reorder.
2659         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
2660         and $(shared-thread-library).
2661         (tst-res_hconf_reorder-ENV): New variable.
2663         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2664         in comment.
2666 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
2668         [BZ #16353]
2669         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2670         (__expm1): Force underflow exception for arguments with small
2671         absolute value.
2672         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2673         (__expm1f): Force underflow exception for arguments with small
2674         absolute value.
2675         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2676         (__expm1): Force underflow exception for arguments with small
2677         absolute value.
2678         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2679         (__expm1f): Force underflow exception for arguments with small
2680         absolute value.
2681         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2682         Check for small arguments before calling __expm1.
2683         * math/auto-libm-test-in: Do not mark underflow exceptions as
2684         possibly missing for bug 16353.
2685         * math/auto-libm-test-out: Regenerated.
2687 2015-06-22  Andreas Schwab  <schwab@suse.de>
2689         [BZ #18513]
2690         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2691         PTR queries.
2693 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
2695         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2697         * string/strcoll_l.c: Remove unused struct element idxnow.
2699 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
2701         [BZ #18569]
2702         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2703         underflow and return argument in case of subnormal argument.
2704         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2705         Likewise.
2706         * math/auto-libm-test-in: Add more tests of expm1.
2707         * math/auto-libm-test-out: Regenerated.
2709         [BZ #16361]
2710         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2711         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2712         tiny results.
2713         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2714         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2715         tiny results.
2716         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
2717         mark underflow exceptions as possibly missing for bug 16361.
2718         * math/auto-libm-test-out: Regenerated.
2720 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
2722         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2723         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2724         Remove variable.
2725         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2726         (test-xfail-XOPEN2K8/utmpx.h/conform).
2728         * conform/conformtest.pl ($xerrors): New variable.
2729         (note_error): New function.
2730         (compiletest): New argument $xfail.  Use not_error.
2731         (runtest): Likewise.
2732         (top level): Handle xfail- lines.  Update calls to compiletest and
2733         runtest.  Handle xfail- and optional- in headers listed with
2734         allow-header.
2735         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2736         (O_EXEC): Likewise.
2737         (O_SEARCH): Likewise.
2738         * conform/data/stropts.h-data (ioctl): Likewise.
2739         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2740         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2741         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2742         (msghdr.msg_controllen): Likewise.
2743         (cmsghdr.cmsg_len): Likewise.
2744         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2745         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2746         variable.
2747         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2748         (test-xfail-XPG4/stropts.h/conform): Likewise.
2749         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2750         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2751         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2752         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2753         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2754         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2755         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2756         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2757         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2758         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2759         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2760         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2761         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2762         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2763         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2764         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2765         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2766         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2767         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2769 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2771         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2772         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2773         definitions for proper unfolding of __MATHDECL_VEC.
2775 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2777         * benchtests/bench-strcoll.c:
2778         Include string.h.
2779         (main): Remove unused variable res.
2781 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2783         * timezone/Makefile (%/UTC %/Universal):
2784         Generate test-result files for UTC and Universal.
2786 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2788         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2790 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
2792         [BZ #16350]
2793         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2794         for arguments with small absolute value.
2795         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2796         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2797         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2798         (__asinh): Force underflow exception for arguments with small
2799         absolute value.
2800         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2801         (__asinhf): Force underflow exception for arguments with small
2802         absolute value.
2803         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2804         (__asinhl): Force underflow exception for arguments with small
2805         absolute value.
2806         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2807         (__asinhl): Force underflow exception for arguments with small
2808         absolute value.
2809         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2810         (__asinhl): Force underflow exception for arguments with small
2811         absolute value.
2812         * math/auto-libm-test-in: Do not mark underflow exceptions as
2813         possibly missing for bug 16350.
2814         * math/auto-libm-test-out: Regenerated.
2816         * include/bits/ipc.h: Remove file.
2817         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2818         variable.
2819         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2820         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2821         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2822         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2823         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2824         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2825         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2826         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2827         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2829         * math/auto-libm-test-in: Remove spurious underflow allowance for
2830         tests of cexp.
2831         * math/auto-libm-test-out: Regenerated.
2833         [BZ #18558]
2834         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2835         unconditional definition.
2836         (MCAST_BLOCK_SOURCE): Likewise.
2837         (MCAST_UNBLOCK_SOURCE): Likewise.
2838         (MCAST_LEAVE_GROUP): Likewise.
2839         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2840         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2841         (MCAST_MSFILTER): Likewise.
2842         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2843         Remove variable.
2844         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2845         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2846         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2847         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2848         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2850 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
2852         * NEWS: Mention addition of x86_64 vector sincosf.
2853         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2854         * math/test-float-vlen4.h: Likewise.
2855         * math/test-float-vlen8.h: Likewise.
2856         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2857         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2858         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2859         * sysdeps/x86_64/fpu/Versions: New versions added.
2860         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2861         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2862         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2863         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2864         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2865         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2866         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2867         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2868         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2869         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2870         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2871         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2872         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2873         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2874         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2875         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2876         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2877         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2878         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2879         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2880         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2881         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2882         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2883         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2885         * NEWS: Mention addition of x86_64 vector sincos.
2886         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2887         * math/math.h (__MATHDECL_VEC): New macro.
2888         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2889         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2890         declaration under condition.
2891         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2892         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2893         TEST_VEC_LOOP change.
2894         * math/test-double-vlen4.h: Likewise.
2895         * math/test-double-vlen8.h: Likewise.
2896         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2897         * math/test-float-vlen4.h: Likewise.
2898         * math/test-float-vlen8.h: Likewise.
2899         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2900         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2901         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2902         * sysdeps/x86_64/fpu/Versions: New versions added.
2903         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2904         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2905         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2906         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2907         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2908         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2909         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2910         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2911         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2912         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2913         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2914         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2915         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2916         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2917         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2918         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2919         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2920         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2921         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2922         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2923         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2924         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2925         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2926         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2928         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2929         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2930         redirections for powf.
2931         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2932         * sysdeps/x86_64/fpu/Versions: New versions added.
2933         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2934         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2935         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2936         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2937         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2938         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2939         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2940         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2941         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2942         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2943         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2944         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2945         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2946         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2947         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2948         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2949         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2950         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2951         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2952         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2953         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2954         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2955         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2956         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2957         * math/test-float-vlen16.h: Fixed 2 argument macro.
2958         * math/test-float-vlen4.h: Likewise.
2959         * math/test-float-vlen8.h: Likewise.
2960         * NEWS: Mention addition of x86_64 vector powf.
2962 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
2964         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2965         and redefine.
2966         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2967         and redefine.
2968         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2969         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2970         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2972         [BZ #18553]
2973         * resource/getpriority.c (getpriority): Rename to __getpriority
2974         and define as weak alias of __getpriority.
2975         * resource/setpriority.c (setpriority): Rename to __setpriority
2976         and define as weak alias of __setpriority.
2977         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2978         __getpriority and define as weak alias of __getpriority.
2979         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
2980         __setpriority and define as weak alias of __setpriority.
2981         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
2982         strong name.
2983         (setpriority): Use __setpriority as strong name.
2984         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
2985         __getpriority and define as weak alias of __getpriority.
2986         * include/sys/resource.h (__getpriority): Declare.  Use
2987         libc_hidden_proto.
2988         (__setpriority): Likewise.
2989         (getpriority): Don't use libc_hidden_proto.
2990         (setpriority): Likewise.
2991         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
2992         getpriority.  Call __setpriority instead of setpriority.
2993         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
2994         Remove variable.
2996         [BZ #18547]
2997         * misc/getttyent.c (getttynam): Rename to __getttynam and define
2998         as weak alias of __getttynam.  Use prototype function definition.
2999         Call __setttyent, __getttyent and __endttyent instead of
3000         setttyent, getttyent and endttyent.
3001         (getttyent): Rename to __getttyent and define as weak alias of
3002         __getttyent.  Call __setttyent instead of setttyent.  Call
3003         __fgets_unlocked instead of fgets_unlocked.
3004         (setttyent): Rename to __setttyent and define as weak alias of
3005         __setttyent.
3006         (endttyent): Rename to __endttyent and define as weak alias of
3007         __endttyent.
3008         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3009         (__setttyent): Likewise.
3010         (__endttyent): Likewise.
3011         (getttyent): Don't use libc_hidden_proto.
3012         (setttyent): Likewise.
3013         (endttyent): Likewise.
3014         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3015         __endttyent instead of setttyent, getttyent and endttyent.
3016         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3017         Remove variable.
3019         [BZ #18546]
3020         * socket/recv.c (__recv): Use libc_hidden_def.
3021         * socket/socket.c (__socket): Likewise.
3022         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3023         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3024         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3025         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3026         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3027         libc_hidden_def.
3028         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3029         libc_hidden_weak.
3030         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3031         Use libc_hidden_proto.
3032         (__recv): Likewise.
3033         * socket/Versions (libc): Export __recv and __socket at version
3034         GLIBC_PRIVATE.
3035         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3036         instead of recv.
3037         (init_mq_netlink): Call __socket instead of socket.
3038         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3039         Remove variable.
3041         [BZ #18545]
3042         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3043         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3044         hidden_weak.
3045         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3046         define as alias of __mq_timedsend.  Use hidden_weak.
3047         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3048         __mq_timedsend as strong name.
3049         (mq_timedreceive): Use __mq_timedreceive as strong name.
3050         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3051         (__mq_timedreceive): Likewise.
3052         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3053         __mq_timedreceive instead of mq_timedreceive.
3054         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3055         instead of mq_timedsend.
3056         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3057         Remove variable.
3059         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3060         hidden_def and hidden_weak instead of libc_hidden_def and
3061         libc_hidden_weak.
3062         (top level): Refer to hidden_def in comment.
3063         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3064         macro.  Use it instead of libc_hidden_def.
3065         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3066         specify __GI_* name explicitly.
3067         (mq_timedreceive): Likewise.
3068         (mq_setattr): Likewise.
3070         [BZ #18544]
3071         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3072         __pthread_barrier_init and define as weak alias of
3073         __pthread_barrier_init.
3074         * sysdeps/sparc/nptl/pthread_barrier_init.c
3075         (pthread_barrier_init): Likewise.
3076         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3077         __pthread_barrier_wait and define as weak alias of
3078         __pthread_barrier_wait.
3079         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3080         (pthread_barrier_wait): Likewise.
3081         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3082         (pthread_barrier_wait): Likewise.
3083         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3084         (pthread_barrier_wait): Likewise.
3085         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3086         (pthread_barrier_wait): Likewise.
3087         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3088         __pthread_barrier_wait at version GLIBC_PRIVATE.
3089         * include/pthread.h (__pthread_barrier_init): Declare.
3090         (__pthread_barrier_wait): Likewise.
3091         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3092         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3093         (helper_thread): Likewise.
3094         (init_mq_netlink): Call __pthread_barrier_init instead of
3095         pthread_barrier_init.
3097         [BZ #18542]
3098         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3099         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3100         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3101         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3102         vswscanf.
3103         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3104         Remove variable.
3106         [BZ #18540]
3107         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3108         strong alias of _IO_fflush.  Use libc_hidden_def.
3109         * libio/iofflush_u.c (fflush_unlocked): Rename to
3110         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3111         Use libc_hidden_weak.
3112         * include/stdio.h (__fflush_unlocked): Declare.  Use
3113         libc_hidden_proto.
3114         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3115         fflush_unlocked.
3116         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3117         Remove variable.
3119         [BZ #18539]
3120         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3121         define as weak alias of __addseverity.
3122         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3123         Remove variable.
3124         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3125         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3126         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3128         [BZ #18536]
3129         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3130         (__tfind): Likewise.
3131         (__tdelete): Likewise.
3132         (__twalk): Likewise.
3133         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3134         __twalk to GLIBC_PRIVATE.
3135         * include/search.h (__tsearch): Use libc_hidden_proto.
3136         (__tfind): Likewise.
3137         (__tdelete): Likewise.
3138         (__twalk): Likewise.
3139         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3140         Call __tdelete instead of tdelete.
3141         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3142         tfind.  Call __tsearch instead of tsearch.
3143         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3144         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3145         Remove variable.
3146         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3148         [BZ #18534]
3149         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3150         (dprintf): Define as a weak alias of __dprintf, not a strong
3151         alias.
3152         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3153         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3154         dprintf.
3155         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3156         Remove variable.
3157         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3158         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3160         [BZ #18533]
3161         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3162         not a strong alias.
3163         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3164         Remove variable.
3166         [BZ #18532]
3167         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3168         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3169         (in6addr_loopback): Rename to __in6addr_loopback and define as
3170         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3171         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3172         libc_hidden_proto.
3173         (__in6addr_any): Likewise.
3174         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3175         in6addr_any.
3176         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3177         variable.
3178         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3180 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3182         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3183         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3184         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3185         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3186         redirections for pow.
3187         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3188         * sysdeps/x86_64/fpu/Versions: New versions added.
3189         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3190         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3191         build of SSE, AVX2 and AVX512 IFUNC versions.
3192         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3193         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3194         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3195         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3196         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3197         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3198         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3199         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3200         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3201         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3202         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3203         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3204         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3205         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3206         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3207         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3208         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3209         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3210         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3211         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3212         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3213         * NEWS: Mention addition of x86_64 vector pow.
3215         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3216         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3217         redirections for expf.
3218         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3219         * sysdeps/x86_64/fpu/Versions: New versions added.
3220         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3221         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3222         build of SSE, AVX2 and AVX512 IFUNC versions.
3223         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3224         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3225         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3226         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3227         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3228         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3229         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3230         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3231         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3232         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3233         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3234         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3235         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3236         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3237         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3238         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3239         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3240         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3241         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3242         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3243         * NEWS: Mention addition of x86_64 vector expf.
3245         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3246         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3247         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3248         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3249         redirections for exp.
3250         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3251         * sysdeps/x86_64/fpu/Versions: New versions added.
3252         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3253         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3254         build of SSE, AVX2 and AVX512 IFUNC versions.
3255         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3256         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3257         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3258         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3259         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3260         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3261         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3262         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3263         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3264         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3265         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3266         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3267         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3268         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3269         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3270         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3271         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3272         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3273         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3274         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3275         * NEWS: Mention addition of x86_64 vector exp.
3277         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3278         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3279         redirections for logf.
3280         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3281         * sysdeps/x86_64/fpu/Versions: New versions added.
3282         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3283         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3284         build of SSE, AVX2 and AVX512 IFUNC versions.
3285         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3286         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3287         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3288         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3289         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3290         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3291         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3292         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3293         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3294         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3295         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3296         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3297         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3298         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3299         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3300         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3301         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3302         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3303         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3304         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3305         * NEWS: Mention addition of x86_64 vector logf.
3307         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3308         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3309         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3310         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3311         redirections for log.
3312         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3313         * sysdeps/x86_64/fpu/Versions: New versions added.
3314         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3315         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3316         build of SSE, AVX2 and AVX512 IFUNC versions.
3317         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3318         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3319         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3320         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3321         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3322         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3323         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3324         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3325         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3326         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3327         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3328         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3329         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3330         test.
3331         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3332         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3333         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3334         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3335         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3336         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3337         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3338         * NEWS: Mention addition of x86_64 vector log.
3340 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3342         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3343         cfi_adjust_cfa_offset argument.
3344         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3345         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3347         [BZ #18034]
3348         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3349         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3350         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3351         ordering using ldar.
3352         (_dl_tlsdesc_dynamic): Likewise.
3353         (_dl_tlsdesc_return_lazy): Likewise.
3354         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3355         relaxed atomics instead of volatile and synchronize with release store.
3356         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3357         volatile.
3358         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3360 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3362         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3363         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3364         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3365         * sysdeps/x86_64/fpu/Versions: New versions added.
3366         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3367         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3368         build of SSE, AVX2 and AVX512 IFUNC versions.
3369         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3370         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3371         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3372         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3373         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3374         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3375         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3376         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3377         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3378         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3379         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3380         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3381         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3382         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3383         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3384         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3385         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3386         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3387         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3388         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3389         * NEWS: Mention addition of x86_64 vector sinf.
3391 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3393         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3394         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3395         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3396         Remove variable.
3397         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3398         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3400 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3402         [BZ #18530]
3403         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3404         strong alias of _IO_fputs.  Use libc_hidden_def.
3405         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3406         and define as weak alias of __fputs_unlocked.  Use
3407         libc_hidden_weak.
3408         * include/stdio.h (__fputs_unlocked): Declare.  Use
3409         libc_hidden_proto.
3410         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3411         fputs_unlocked.
3413         [BZ #18529]
3414         * resolv/netdb.h [__USE_POSIX]: Change condition to
3415         [__USE_XOPEN2K].
3416         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3417         not expect.
3418         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3419         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3420         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3421         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3422         [XPG4 || UNIX98] (AI_ALL): Likewise.
3423         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3424         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3425         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3426         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3427         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3428         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3429         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3430         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3431         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3432         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3433         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3434         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3435         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3436         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3437         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3438         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3439         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3440         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3441         [XPG4 || UNIX98] (gai_strerror): Likewise.
3442         [XPG4 || UNIX98] (getaddrinfo): Likewise.
3443         [XPG4 || UNIX98] (getnameinfo): Likewise.
3445         [BZ #18528]
3446         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3447         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3448         __USE_XOPEN2K8].
3449         (getgrent): Likewise.
3450         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3451         expect.
3452         [XPG3 || POSIX2008] (endgrent): Likewise.
3453         [XPG3] (setgrent): Likewise.
3454         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3455         variable.
3456         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3458         [BZ #18527]
3459         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3460         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
3461         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3462         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3463         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3464         * include/unistd.h (__getlogin_r): Declare.  Use
3465         libc_hidden_proto.
3466         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3467         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3468         variable.
3469         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3470         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3471         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3473 2015-06-12  Martin Sebor  <msebor@redhat.com>
3475         [BZ #18512]
3476         * Makerules (check-install-supported): New target.
3477         (install): Add check-install-supported as a dependency.
3478         * manual/install.texi (Installing the C Library): Document
3479         that overriding prefix and exec_prefix is not supported.
3480         Mention DESTDIR.
3481         * INSTALL: Regenerate from the above.
3483 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3485         [BZ #18519]
3486         * posix/Versions (libc): Export __libc_pread at version
3487         GLIBC_PRIVATE.
3488         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3489         instead of pread.
3490         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3491         variable.
3493         [BZ #18522]
3494         * misc/efgcvt_r.c
3495         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3496         (cvt_symbol): Use weak_alias instead of strong_alias.
3497         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3498         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3499         Remove variable.
3500         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3501         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3503         [BZ #18520]
3504         * inet/herrno.c (h_errno): Rename to __h_errno.
3505         (__libc_h_errno): Define as alias of __h_errno not h_errno.
3506         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3507         to __h_errno instead of h_errno.
3508         * nptl/herrno.c (h_errno): Rename to __h_errno.
3509         (__h_errno_location): Refer to __h_errno not h_errno.
3510         * resolv/Versions (h_errno): Rename to __h_errno.
3511         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3512         Remove variable.
3513         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3515 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
3517         * configure.ac: More strict check for AVX512 assembler support.
3518         * configure: Regenerated.
3520         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3521         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3522         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3523         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3524         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3525         * sysdeps/x86_64/fpu/Versions: New versions added.
3526         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3527         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3528         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3529         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3530         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3531         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3532         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3533         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3534         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3535         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3536         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3537         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3538         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3539         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3540         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3541         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3542         test.
3543         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3544         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3545         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3546         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3547         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3548         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3549         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3550         * NEWS: Mention addition of x86_64 vector sin.
3552 2015-06-11  Florian Weimer  <fweimer@redhat.com>
3554         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3555         comment.
3557 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3559         [BZ #18479]
3560         * nptl/pt-interp.c: New file.
3561         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3562         Add pt-interp.
3563         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3564         $(common-objpfx)runtime-linker.h.
3566 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
3568         * Makeconfig (+interp): Remove unused variable.
3569         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3570         only.  Depend on $(common-objpfx)runtime-linker.h instead of
3571         $(elf-objpfx)runtime-linker.h.
3572         ($(elf-objpfx)runtime-linker.h): Rename to
3573         $(common-objpfx)runtime-linker.h and move ...
3574         * Makerules [$(build-shared) = yes]: ... here.
3575         * elf/interp.c: Include <runtime-linker.h> instead of
3576         <elf/runtime-linker.h>.
3578 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3580         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3581         (__gettimeofday_syscall): Remove vsyscall fallback.
3582         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3583         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3584         Add syscall fallback function.
3585         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3586         if vDSO is not present.
3587         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3588         fallback function.
3589         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3590         present.
3591         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3592         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3594 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
3596         [BZ #18497]
3597         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3598         of wcscmp.
3599         (wcscmp): Define as weak alias of WCSCMP.
3600         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3601         wcscoll.
3602         (USE_HIDDEN_DEF): Define.
3603         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
3604         __wcscoll.  Don't use libc_hidden_weak.
3605         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
3606         wcscmp.
3607         * sysdeps/i386/i686/multiarch/wcscmp-c.c
3608         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
3609         __GI_wcscmp.
3610         (weak_alias): Undefine and redefine.
3611         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
3612         __wcscmp and define as weak alias of __wcscmp.
3613         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
3614         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
3615         (__wcscoll): Likewise.
3616         (wcscmp): Don't use libc_hidden_proto.
3617         (wcscoll): Likewise.
3618         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
3619         wcscoll.
3620         * posix/regexec.c (check_node_accept_bytes): Likewise.
3621         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
3622         variable.
3623         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3624         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3626         [BZ #18507]
3627         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
3628         __fstatvfs and define as weak alias of __fstatvfs.  Use
3629         libc_hidden_weak.
3630         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
3631         and define as weak alias of __statvfs.  Use libc_hidden_weak.
3632         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
3633         Define as alias of __fstatvfs, not fstatvfs.
3634         (fstatvfs64): Likewise.
3635         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
3636         Define as alias of __statvfs, not statvfs.
3637         (statvfs64): Likewise.
3638         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
3639         Remove variable.
3641 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3644         (HAVE_GETCPU_VSYSCALL): Define.
3645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3646         (HAVE_GETCPU_VSYSCALL): Likewise.
3647         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
3648         * sysdeps/unix/sysv/linux/sched_getcpu.c
3649         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
3650         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
3651         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
3652         prototype.
3653         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3654         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
3655         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
3656         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
3657         Define.
3658         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
3659         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3660         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
3661         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3663 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
3665         * sysdeps/x86_64/fpu/Makefile: New file.
3666         * sysdeps/x86_64/fpu/Versions: New file.
3667         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3668         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3669         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3670         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3671         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3672         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3673         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3674         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3675         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3676         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3677         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3678         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3679         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
3680         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3681         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3682         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3683         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3684         * sysdeps/x86_64/configure.ac: Options for libmvec build.
3685         * sysdeps/x86_64/configure: Regenerated.
3686         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3687         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3688         * manual/install.texi (Configuring and compiling): Document
3689         --disable-mathvec.
3690         * INSTALL: Regenerated.
3691         * NEWS: Mention addition of libmvec and x86_64 vector cos.
3693         * math/Makefile: Added rules for vector tests.
3694         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3695         declaration under condition.
3696         * math/test-double-vlen2.h: New file.
3697         * math/test-double-vlen4.h: New file.
3698         * math/test-double-vlen8.h: New file.
3699         * math/test-vec-loop.h: Added initialization macro.
3700         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3701         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3702         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3703         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3704         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3705         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3706         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3707         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3708         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3709         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3710         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3712         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3713         * sysdeps/x86_64/fpu/Versions: New versions added.
3714         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3715         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3716         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3717         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3718         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3719         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3720         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3721         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3722         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3723         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3724         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3725         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3726         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3727         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3728         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3729         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3730         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3731         * NEWS: Mention addition of x86_64 vector cosf.
3733         * math/Makefile: Added CFLAGS for new tests.
3734         * math/test-float-vlen16.h: New file.
3735         * math/test-float-vlen4.h: New file.
3736         * math/test-float-vlen8.h: New file.
3737         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3738         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3739         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3740         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3741         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3742         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3743         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3744         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3745         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3746         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3747         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3749 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3751         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3752         * locale/programs/ld-ctype.c: Likewise.
3754 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3756         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3757         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3758         bit_ZMM16_31_state): New macro.
3759         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3760         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3762 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
3764         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3766 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
3768         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3770 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
3772         [BZ #18498]
3773         * libio/memstream.c (open_memstream): Rename to __open_memstream
3774         and define as weak alias of __open_memstream.
3775         * include/stdio.h (__open_memstream): Declare.  Use
3776         libc_hidden_proto.
3777         (open_memstream): Don't use libc_hidden_proto.
3778         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3779         open_memstream.
3780         * posix/getopt.c (_getopt_internal_r): Likewise.
3781         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3782         variable.
3783         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3784         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3785         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3787         [BZ #18496]
3788         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3789         instead of wcrtomb.
3791         [BZ #18483]
3792         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3793         [__USE_XOPEN2K8].  Remove redundant #endif.
3794         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3795         Remove redundant #if.
3796         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3797         Remove variable.
3798         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3799         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3801         [BZ #18495]
3802         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3803         (__iswlower): Likewise.
3804         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
3805         (__iswlower): Likewise.
3806         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3807         instead of towlower.
3808         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3809         instead of iswlower.  Call __towupper instead of towupper.
3810         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3811         instead of iswalnum.
3813 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3815         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3816         errors to stderr.
3818 2015-06-05  Florian Weimer  <fweimer@redhat.com>
3820         [BZ #15661]
3821         [BZ #17322]
3822         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3823         Check for overflow properly.  Check for O_APPEND.  Ignore large
3824         file system block sizes.  Add comments about problems.
3825         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3826         * manual/filesys.texi (Storage Allocation): New node.
3828 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3830         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3831         cancellable syscalls.
3832         (SYS_ify): Add guard to no redefine it.
3833         (INLINE_SYSCALL): Likewise.
3834         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3835         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3836         SYSCALL_CANCEL instead.
3837         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3838         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3839         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3840         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3841         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3842         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3843         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3844         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3845         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3846         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3847         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3848         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3849         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3850         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3851         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3852         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3853         Likewise.
3854         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3855         (__libc_pread64): Likewise.
3856         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3857         (__libc_preadv): Likewise.
3858         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3859         (__libc_readv64): Likewise.
3860         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3861         (__libc_pwrite): Likewise.
3862         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3863         (__libc_pwrite64): Likewise.
3864         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3865         (__libc_pwritev): Likewise.
3866         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3867         (__libc_pwritev64): Likewise.
3868         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3869         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3870         (sync_file_range): Likewise.
3871         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3872         Likewise.
3873         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3874         Likewise.
3875         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3876         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3877         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3878         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3879         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3880         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3881         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3882         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3884         Likewise.
3885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3886         (__libc_read64): Likewise.
3887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3888         Likewise.
3889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3890         Likewise.
3891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3892         Likewise.
3893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3894         Likewise.
3895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3896         (__libc_pread64): Likewise.
3897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3898         Likewise.
3899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3900         (__libc_pwrite64): Likewise.
3901         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3902         (sync_file_range): Likewise.
3903         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3904         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3905         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3906         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3907         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3908         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3909         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3910         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3911         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3912         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3913         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3914         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3915         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3916         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3917         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3918         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3919         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3920         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3921         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3922         Likewise.
3923         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3924         Likewise.
3925         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3926         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3927         Likewise.
3928         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3929         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3930         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3931         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3932         Likewise.
3933         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3934         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3935         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3936         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3937         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3939 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
3941         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3942         Include dl-vdso.
3943         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3944         Use VDSO routines for gettimeofday, clock_gettime if
3945         available.
3946         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3947         Declare VDSO symbols.
3948         * sysdeps/unix/sysv/linux/arm/sysdep.h:
3949         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3950         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3951         * sysdeps/unix/sysv/linux/arm/Versions: Add
3952         __vdso_clock_gettime.
3954 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3956         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3957         be an inline implementation regardless of library is built within.
3958         (open_not_cancel_2): Likewise.
3959         (__read_nocancel): Likewise.
3960         (__write_nocancel): Likewise.
3961         (openat_not_cancel): Likewise.
3962         (openat_not_cancel_3): Likewise.
3963         (openat64_not_cancel): Likewise.
3964         (openat64_not_cancel_3): Likewise.
3965         (__close_nocancel): Likewise.
3966         (pause_not_cancel): Likewise.
3967         (nanosleep_not_cancel): Likewise.
3968         (sigsuspend_not_cancel): Likewise.
3970 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3972         [BZ #14958]
3973         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3974         wake-up.
3975         (__pthread_rwlock_rdlock_slow): Likewise.
3976         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3977         Likewise.
3978         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3979         Likewise.
3980         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
3981         * nptl/tst-rwlock16.c: New file.
3982         * nptl/Makefile (tests): Add new test.
3984 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3986         [BZ #18324]
3987         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
3988         missing wake-up of readers.
3989         * nptl/tst-rwlock15.c: New file.
3990         * nptl/Makefile (tests): Add new test.
3992 2015-06-03  Roland McGrath  <roland@hack.frob.com>
3994         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
3995         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
3996         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
3997         and __nacl_supply_interface_rtld.
3998         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
3999         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4000         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4001         Add __nacl_supply_interface_rtld.
4002         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4004 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4006         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4007         isfinite.
4008         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4009         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4011 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4013         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4014         __signbit* with standard C99 macros.
4015         * math/e_exp10l.c: Likewise.
4016         * math/e_exp2l.c: Likewise.
4017         * math/e_scalb.c: Likewise.
4018         * math/e_scalbf.c: Likewise.
4019         * math/e_scalbl.c: Likewise.
4020         * math/s_ldexp.c: Likewise.
4021         * math/s_ldexpf.c: Likewise.
4022         * math/s_ldexpl.c: Likewise.
4023         * math/w_atan2.c: Likewise.
4024         * math/w_atan2f.c: Likewise.
4025         * math/w_atan2l.c: Likewise.
4026         * math/w_cosh.c: Likewise.
4027         * math/w_coshf.c: Likewise.
4028         * math/w_coshl.c: Likewise.
4029         * math/w_exp10.c: Likewise.
4030         * math/w_exp10f.c: Likewise.
4031         * math/w_exp10l.c: Likewise.
4032         * math/w_exp2.c: Likewise.
4033         * math/w_exp2f.c: Likewise.
4034         * math/w_exp2l.c: Likewise.
4035         * math/w_fmod.c: Likewise.
4036         * math/w_fmodf.c: Likewise.
4037         * math/w_fmodl.c: Likewise.
4038         * math/w_hypot.c: Likewise.
4039         * math/w_hypotf.c: Likewise.
4040         * math/w_hypotl.c: Likewise.
4041         * math/w_jnl.c: Likewise.
4042         * math/w_lgamma.c: Likewise.
4043         * math/w_lgamma_r.c: Likewise.
4044         * math/w_lgammaf.c: Likewise.
4045         * math/w_lgammaf_r.c: Likewise.
4046         * math/w_lgammal.c: Likewise.
4047         * math/w_lgammal_r.c: Likewise.
4048         * math/w_pow.c: Likewise.
4049         * math/w_powf.c: Likewise.
4050         * math/w_powl.c: Likewise.
4051         * math/w_remainder.c: Likewise.
4052         * math/w_remainderf.c: Likewise.
4053         * math/w_remainderl.c: Likewise.
4054         * math/w_scalb.c: Likewise.
4055         * math/w_scalbf.c: Likewise.
4056         * math/w_scalbl.c: Likewise.
4057         * math/w_scalbln.c: Likewise.
4058         * math/w_scalblnf.c: Likewise.
4059         * math/w_scalblnl.c: Likewise.
4060         * math/w_sinh.c: Likewise.
4061         * math/w_sinhf.c: Likewise.
4062         * math/w_sinhl.c: Likewise.
4063         * math/w_tgamma.c: Likewise.
4064         * math/w_tgammaf.c: Likewise.
4065         * math/w_tgammal.c: Likewise.
4066         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4067         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4068         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4069         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4070         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4071         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4072         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4073         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4074         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4075         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4076         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4077         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4078         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4079         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4080         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4081         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4082         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4083         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4084         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4085         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4086         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4087         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4088         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4089         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4090         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4091         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4092         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4093         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4094         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4095         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4096         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4097         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4098         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4099         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4100         * stdio-common/printf_fp.c: Likewise.
4101         * stdio-common/printf_fphex.c: Likewise.
4102         * stdio-common/printf_size.c: Likewise.
4104 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4106         [BZ #18470]
4107         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4108         strnlen.
4109         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4110         Remove variable.
4111         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4112         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4113         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4114         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4115         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4116         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4117         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4118         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4119         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4120         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4122         [BZ #18468]
4123         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4124         weak alias of __wmemchr.  Use libc_hidden_weak.
4125         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4126         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4127         instead of wmemchr.
4129 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4131         [BZ #18383]
4132         * elf/tst-tlsalign-extern.c: New file.
4133         * elf/tst-tlsalign-extern-static.c: New file.
4134         * elf/tst-tlsalign-vars.c: New file.
4135         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4136         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4137         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4138         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4139         (test-xfail-tst-tlsalign-extern-static): New variable.
4141 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4143         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4144         Use variable name _sc_err instead of err.
4145         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4146         instead of ret.
4147         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4148         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4149         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4150         (INLINE_SYSCALL): Likewise.
4152         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4153         * include/string.h (__strnlen): Use libc_hidden_proto.
4154         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4155         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4156         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4157         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4158         (libc_hidden_def): Undefine and redefine.
4159         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4160         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4161         __GI_strnlen.
4162         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4163         libc_hidden_def.
4164         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4166         [BZ #18469]
4167         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4168         weak alias of __towlower.  Use libc_hidden_weak.
4169         (towupper): Rename to __towupper and define as weak alias of
4170         __towupper.  Use libc_hidden_weak.
4171         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4172         (__towupper): Likewise.
4173         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4174         __towlower instead of towlower.
4176 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4178         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4179         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4181 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4183         * sysdeps/aarch64/libm-test-ulps: Update.
4185 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4187         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4188         Define.
4189         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4190         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4191         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4192         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4193         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4194         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4195         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4197 2015-06-01  Martin Sebor  <msebor@redhat.com>
4199         [BZ #18116]
4200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4201         (__setcontext): Use extended four-operand version of mtsf whenever
4202         possible.
4203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4204         (__novec_swapcontext): Likewise.
4206 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4208         * benchtests/scripts/compare_bench.py: New file.
4209         * benchtests/scripts/import_bench.py (mean): New function.
4210         (split_list): Likewise.
4211         (do_for_all_timings): Likewise.
4212         (compress_timings): Likewise.
4214         * benchtests/scripts/import_bench.py: New file.
4215         * benchtests/scripts/validate_benchout.py: Import import_bench
4216         instead of jsonschema.
4217         (validate_bench): Remove function.
4218         (main): Use import_bench.
4220 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4222         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4223         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4225 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4229 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4231         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4232         set THREAD_SELF->tid to a magic value and futex-wake it.
4233         Pass its address to the thread_exit system call.
4234         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4235         bit is clear.
4236         * sysdeps/nacl/lowlevellock.h: New file.
4237         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4239         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4240         Add TIMEOUT to current time, don't subtract it.
4242 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4244         [BZ #2981]
4245         [BZ #18422]
4246         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4247         ($(objpfx)tst-audit2.out): Also depend on
4248         $(objpfx)tst-auditmod9b.so.
4249         * elf/tst-audit2.c: Include <dlfcn.h>.
4250         (calloc_called): New.
4251         (calloc): Allow to be called more than once.
4252         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4254 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4256         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4257         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4259 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4261         * stdlib/monetary.h: Fix comment.
4263 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4265         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4266         Avoid using variables in #defines that might cause shadowing.
4267         (INTERNAL_VSYSCALL_CALL): Likewise.
4269 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4271         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4273         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4274         * nptl/lll_timedlock_wait.c: ... to this new file.
4275         * nptl/Makefile (libpthread-routines): Add it.
4276         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4277         * nptl/lll_timedwait_tid.c: ... to this new file.
4278         * nptl/Makefile (libpthread-routines): Add it.
4279         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4280         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4281         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4282         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4283         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4284         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4285         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4286         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4287         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4288         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4290 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4292         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4293         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4294         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4295         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4296         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4297         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4298         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4299         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4300         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4301         * sysdeps/unix/sysv/linux/tile/sysdep.h
4302         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4303         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4304         using vDSO syscall macro.
4306 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4308         [BZ #17293]
4309         * uk_UA: Fix sorting order for Ukrainian locale
4311 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4313         * stdlib/monetary.h: Fix comment.
4315 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4317         [BZ #18234]
4318         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4319         st_mtim and st_ctim members.
4320         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4321         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4322         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4323         (struct stat64): Likewise.
4324         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4325         (struct stat64): Likewise.
4326         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4327         (struct stat64): Likewise.
4329 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4331         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4332         Define and include sysdep-vdso.h.
4333         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4334         Likewise.
4335         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4336         Likewise.
4337         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4338         Define with VDSO_SYMBOL and use PTR_MANGLE.
4339         (__vdso_clock_gettime): Likewise.
4340         (__vdso_clock_getres): Likewise.
4341         (_libc_vdso_platform_setup): Likewise.
4342         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4343         Likewise.
4344         (_libc_vdso_platform_setup): Likewise.
4345         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4346         Likewise.
4347         (__vdso_clock_gettime): Likewise.
4348         (__vdso_clock_getres): Likewise.
4349         (__vdso_get_tbfreq): Likewise.
4350         (__vdso_getcpu): Likewise.
4351         (__vdso_time): Likewise.
4352         (__vdso_sigtramp_rt64): Likewise.
4353         (__vdso_signtramp32): Likewise.
4354         (__vdso_sigtramp_rt32): Likewise.
4355         (_libc_vdso_platform_setup): Likewise.
4356         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4357         Likewise.
4358         (__vdso_clock_gettime): Likewise.
4359         (__vdso_clock_getres): Likewise.
4360         (_libc_vdso_platform_setup): Likewise.
4361         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4362         Likewise.
4363         (__vdso_clock_gettime): Likewise.
4364         (_libc_vdso_platform_setup): Likewise.
4365         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4366         Likewise.
4367         (__vdso_getcpu): Likewise.
4368         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4369         Use VDSO_SYMBOL macro to define.
4370         (__vdso_clock_gettime): Likewise.
4371         (__vdso_clock_getres): Likewise.
4372         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4373         Likewise.
4374         (__vdso_clock_gettime): Likewise.
4375         (__vdso_clock_getres): Likewise.
4376         (__vdso_get_tbfreq): Likewise.
4377         (__vdso_getcpu): Likewise.
4378         (__vdso_time): Likewise.
4379         (__vdso_sigtramp_rt64): Likewise.
4380         (__vdso_signtramp32): Likewise.
4381         (__vdso_sigtramp_rt32): Likewise.
4382         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4383         Likewise.
4384         (__vdso_clock_gettime): Likewise.
4385         (__vdso_clock_getres): Likewise.
4386         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4387         Likewise.
4388         (__vdso_clock_gettime): Likewise.
4389         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4390         Likewise.
4391         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4392         macro.
4393         (INTERNAL_VSYSCALL): Likewise.
4394         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4395         Remove macro.
4396         (INTERNAL_VSYSCALL): Likewise.
4397         (INTERNAL_VSYSCALL_NCS): Likewise.
4398         (INTERNAL_VSYSCALL_CALL): New macro.
4399         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4400         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4401         Likewise.
4402         (INTERNAL_VSYSCALL): Likewise.
4403         (INTERNAL_VSYSCALL_NCS): Likewise.
4404         (INTERNAL_VSYSCALL_CALL): New macro.
4405         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4407         (INLINE_VSYSCALL): Remove macro.
4408         (INTERNAL_VSYSCALL): Remove macro.
4409         (INTERNAL_VSYSCALL_NCS): Remove macro.
4410         (INTERNAL_VSYSCALL_CALL): New macro.
4411         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4412         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4413         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4414         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4415         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4417         (INLINE_VSYSCALL): Remove macro.
4418         (INTERNAL_VSYSCALL): Likewise.
4419         (INTERNAL_VSYSCALL_NCS): Likewise.
4420         (INTERNAL_VSYSCALL_CALL): New macro.
4421         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4422         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4423         PTR_DEMANGLE on vDSO pointer.
4424         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4425         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4426         macro.
4427         (INTERNAL_SYSCALL): Likewise.
4428         (INTERNAL_VSYSCALL_NCS): Remove macro.
4429         (INTERNAL_VSYSCALL_CALL): New macro.
4430         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4431         Remove macro.
4432         (INTERNAL_VSYSCALL): Likewise.
4433         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4434         sysdep-vdso.h instead of libc-vdso.h.
4435         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4436         definition.
4437         (INLINE_VSYSCALL): Likewise.
4438         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4439         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4440         definition.
4441         (INLINE_VSYSCALL): Likewise.
4442         (INTERNAL_VSYSCALL): Likewise.
4443         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4444         * sysdeps/unix/sysv/linux/timespec_get.c
4445         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4446         (timespec_get): Use ANSI prototype.
4447         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4448         and definition for Linux.
4450 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4452         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4453         * include/libc-symbols.h: libmvec_hidden_* macro series added.
4455 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4457         [BZ #2981]
4458         [BZ #18410]
4459         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4460         for missing DT_PLTRELSZ.
4462 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4464         Remove obsolete aliases that broke 'locale -a'
4465         [BZ #18412]
4466         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4467         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4468         breaking some applications that use 'locale -a' output.
4469         Change the encoding of this file from Latin-1 to ASCII to avoid
4470         other potential problems with people grepping this file.
4472 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4474         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4475         -fasynchronous-unwind-tables.
4476         (CFLAGS-sendto.c): Likewise.
4477         (CFLAGS-sendmsg.c): Likewise.
4478         (CFLAGS-connect.c): Likewise.
4479         (CFLAGS-recvmsg.c): Likewise.
4480         (CFLAGS-recvfrom.c): Likewise.
4481         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4482         (SOCKETCALL): New macro: non-cancellable socketcall.
4483         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4484         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4485         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4486         * sysdeps/unix/sysv/linux/accept.c: New file.
4487         * sysdeps/unix/sysv/linux/bind.c: Likewise.
4488         * sysdeps/unix/sysv/linux/connect.c: Likewise.
4489         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4490         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4491         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4492         * sysdeps/unix/sysv/linux/listen.c: Likewise.
4493         * sysdeps/unix/sysv/linux/recv.c: Likewise.
4494         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4495         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4496         * sysdeps/unix/sysv/linux/send.c: Likewise.
4497         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4498         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4499         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4500         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4501         * sysdeps/unix/sysv/linux/socket.c: Likewise.
4502         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4503         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4504         prototype.
4505         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4506         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4507         instead of __internal_xxx function.
4508         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4509         prototype.
4510         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4511         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4512         instead of __internal_xxx function.
4513         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4514         prototype.
4515         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4516         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4517         instead of __internal_xxx function.
4518         * sysdeps/unix/sysv/linux/accept.S: Remove file.
4519         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4520         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4521         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4522         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4523         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4524         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4525         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4526         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4527         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4528         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4529         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4530         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4531         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4532         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4533         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4534         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4535         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4536         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4537         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4540         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4541         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4542         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4543         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4544         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4545         * sysdeps/unix/sysv/linux/send.S: Likewise.
4546         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4547         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4548         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4549         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4550         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4551         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4552         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4553         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4554         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4555         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4556         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4557         socketcall is implemented in GLIBC.
4559 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4561         * soft-fp/fmadf4.c: Include <libc-internal.h>.
4562         (__fma): Ignore uninitialized warnings around packing.
4563         * soft-fp/fmasf4.c: Include <libc-internal.h>.
4564         (__fmaf): Ignore uninitialized warnings around packing.
4565         * soft-fp/fmatf4.c: Include <libc-internal.h>.
4566         (__fmal): Ignore uninitialized warnings around packing.
4568         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4569         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4570         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4571         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4573         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4574         switch statement into default case.
4575         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4577         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4578         a conditional in forcing "inexact".
4579         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4580         Likewise.
4582 2015-05-22  Roland McGrath  <roland@hack.frob.com>
4584         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4585         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4586         for each INTERNAL_SYSCALL use.
4588 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4590         [BZ #438]
4591         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4592         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4593         variable.
4595         [BZ #18444]
4596         * string/basename.c (basename): Rename to __basename and define as
4597         weak alias of __basename.  Use libc_hidden_weak.
4598         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
4599         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4600         __basename instead of basename.
4601         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4602         Remove variable.
4603         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4605 2015-05-18  Florian Weimer  <fweimer@redhat.com>
4607         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
4608         (_IO_JUMPS_FILE_plus): New.
4609         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
4610         _IO_CAST_FIELD_ACCESS.
4611         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
4612         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
4613         * libio/freopen.c (freopen): Likewise.
4614         * libio/freopen64.c (freopen64): Likewise.
4615         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
4616         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
4617         * libio/iofwide.c (_IO_fwide): Likewise.
4618         * libio/memstream.c (open_memstream): Likewise.
4619         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4620         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4621         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4623 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
4625         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
4626         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
4627         NADJ.
4628         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
4629         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
4630         NADJ.
4631         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
4632         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
4633         NADJ.
4635         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
4636         (p == 4) case.
4638         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
4639         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
4640         Remove variable.
4641         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4642         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4643         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4645 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4647         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
4648         Adjust jump table label generation macros.
4650 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4652         * stdio-common/vfprintf.c (vfprintf): Move local variables
4653         args_malloced, specs, specs_malloced, and the code after
4654         do_positional to the printf_positional function.
4655         (printf_positional): New function.
4657 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4659         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
4660         function.
4661         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
4662         STEP4_TABLE, process_arg): Move macro definitions
4663         out of the vfprintf function.  (Cosmetic change only.)
4665 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
4667         * benchtests/Makefile (stdio-common-bench): Define.
4668         (benchset): Add stdio-common-bench.
4669         * sprintf-inputs: New file.
4670         * sprintf-source.c: New file.
4672 2015-05-21  Andreas Schwab  <schwab@suse.de>
4674         [BZ #13028]
4675         [BZ #17053]
4676         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4677         of struct __res_state.
4678         * resolv/res_send.c (__libc_res_nsend): Likewise.
4679         (get_nsaddr): New function.
4680         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4681         statp directly.
4683 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
4685         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4686         -D_POSIX_C_SOURCE=199506L.
4688         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4690         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4691         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4692         Do not mention otherwise.
4693         [POSIX] (_XOPEN_VERSION): Do not expect.
4694         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4695         [POSIX] (_POSIX2_C_BIND): Likewise.
4696         [POSIX] (_POSIX2_VERSION): Likewise.
4697         [POSIX] (_XOPEN_XPG2): Likewise.
4698         [POSIX] (_XOPEN_XPG3): Likewise.
4699         [POSIX] (_XOPEN_XPG4): Likewise.
4700         [POSIX] (_XOPEN_UNIX): Likewise.
4701         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4702         [POSIX] (_POSIX_BARRIERS): Likewise.
4703         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4704         [POSIX] (_POSIX_CPUTIME): Likewise.
4705         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4706         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4707         [POSIX] (_POSIX_SHELL): Likewise.
4708         [POSIX] (_POSIX_SPAWN): Likewise.
4709         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4710         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4711         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4712         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4713         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4714         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4715         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4716         [POSIX] (_XBS5_LP64_OFF64): Likewise.
4717         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4718         [POSIX] (_POSIX_TIMEOUTS): Likewise.
4719         [POSIX] (_POSIX2_PBS): Likewise.
4720         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4721         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4722         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4723         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4724         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4725         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4726         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4727         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4728         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4729         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4730         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4731         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4732         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4733         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4734         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4735         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4736         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4737         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4738         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4739         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4740         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4741         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4742         [POSIX] (_SC_2_C_BIND): Likewise.
4743         [POSIX] (_SC_2_C_VERSION): Likewise.
4744         [POSIX] (_SC_2_PBS): Likewise.
4745         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4746         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4747         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4748         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4749         [POSIX] (_SC_2_PBS_TRACK): Likewise.
4750         [POSIX] (_SC_ATEXIT_MAX): Likewise.
4751         [POSIX] (_SC_BARRIERS): Likewise.
4752         [POSIX] (_SC_BASE): Likewise.
4753         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4754         [POSIX] (_SC_DEVICE_IO): Likewise.
4755         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4756         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4757         [POSIX] (_SC_FD_MGMT): Likewise.
4758         [POSIX] (_SC_FIFO): Likewise.
4759         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4760         [POSIX] (_SC_FILE_LOCKING): Likewise.
4761         [POSIX] (_SC_FILE_SYSTEM): Likewise.
4762         [POSIX] (_SC_IOV_MAX): Likewise.
4763         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4764         [POSIX] (_SC_NETWORKING): Likewise.
4765         [POSIX] (_SC_PAGE_SIZE): Likewise.
4766         [POSIX] (_SC_PASS_MAX): Likewise.
4767         [POSIX] (_SC_PIPE): Likewise.
4768         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4769         [POSIX] (_SC_REGEXP): Likewise.
4770         [POSIX] (_SC_SHELL): Likewise.
4771         [POSIX] (_SC_SIGNALS): Likewise.
4772         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4773         [POSIX] (_SC_SPIN_LOCKS): Likewise.
4774         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4775         [POSIX] (_SC_USER_GROUPS): Likewise.
4776         [POSIX] (_SC_USER_GROUPS_R): Likewise.
4777         [POSIX] (_SC_STREAMS): Likewise.
4778         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4779         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4780         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4781         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4782         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4783         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4784         [POSIX] (_PC_FILESIZEBITS): Likewise.
4785         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4786         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4787         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4788         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4789         [POSIX] (uid_t): Likewise.
4790         [POSIX] (gid_t): Likewise.
4791         [POSIX] (off_t): Likewise.
4792         [POSIX] (pid_t): Likewise.
4793         [POSIX] (cuserid): Allow.
4794         (_SC_2_CHAR_TERM): Require constant.
4795         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4796         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4797         variable.
4799 2015-05-20  Roland McGrath  <roland@hack.frob.com>
4801         * sysdeps/nacl/pthread-pids.h: New file.
4802         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4803         (create_thread): Use __nacl_get_tid to initialize PD->tid.
4805         * nptl/pthread-pids.h: New file.
4806         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4807         * nptl/nptl-init.c: Include <pthread-pids.h>.
4808         (__pthread_initialize_minimal_internal):
4809         Call __pthread_initialize_pids instead of set_tid_address syscall.
4811         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4812         * sysdeps/posix/usleep.c: ... here.
4814 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4816         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4817         call_pselect6 object.
4818         [$(subdir) = io]: Remove call_sync_file_range object.
4819         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4820         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4821         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4822         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4824 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
4826         * math/s_cproj.c: Add include "math_private.h".
4827         * math/s_cprojf.c: Likewise.
4828         * math/s_cprojl.c: Likewise.
4830 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
4832         [BZ #18244]
4833         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4834         high mantissa bit when testing whether P is a NaN.
4835         * math/libm-test.inc (remainder_test_data): Add more tests.
4836         (remquo_test_data): Likewise.
4838         [BZ #18049]
4839         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4840         below -32, return the argument, with underflow if subnormal.
4841         * math/auto-libm-test-in: Add more tests of atanh.
4842         * math/auto-libm-test-out: Regenerated.
4844 2015-05-19  Roland McGrath  <roland@hack.frob.com>
4846         [BZ #18434]
4847         * nptl/tst-sem15.c: New file.
4848         * nptl/Makefile (tests): Add it.
4849         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4850         s/<</>>/ to fix typo in EOVERFLOW check.
4851         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4853 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4855         * manual/strings.texi (envz_remove): Fix typo in safety
4856         annotations.
4858 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
4859             Steve Ellcey  <sellcey@imgtec.com>
4861         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4862         in order to avoid strict alias warnings.
4863         (iruserok_af): Ditto for ra.
4865 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
4867         [BZ #17581]
4868         * malloc/hooks.c
4869         (magicbyte): Convert to a function and avoid returning 0x01.
4870         (mem2mem_check): Avoid using a length byte equal to the magic byte.
4871         (mem2chunk_check): Fix unsigned comparisons to zero.
4872         Hoist defs of sz and magic.
4874 2015-05-19  Richard Henderson  <rth@redhat.com>
4876         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4878         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4880 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4882         [BZ #16159]
4883         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4884         * malloc/arena.c (arena_lock): Check if arena is corrupt.
4885         (reused_arena): Find a non-corrupt arena.
4886         (heap_trim): Pass arena to unlink.
4887         * malloc/hooks.c (malloc_check_get_size): Pass arena to
4888         malloc_printerr.
4889         (top_check): Likewise.
4890         (free_check): Likewise.
4891         (realloc_check): Likewise.
4892         * malloc/malloc.c (malloc_printerr): Add arena argument.
4893         (unlink): Likewise.
4894         (munmap_chunk): Adjust.
4895         (ARENA_CORRUPTION_BIT): New macro.
4896         (arena_is_corrupt): Likewise.
4897         (set_arena_corrupt): Likewise.
4898         (sysmalloc): Use mmap if there are no usable arenas.
4899         (_int_malloc): Likewise.
4900         (__libc_malloc): Don't fail if arena_get returns NULL.
4901         (_mid_memalign): Likewise.
4902         (__libc_calloc): Likewise.
4903         (__libc_realloc): Adjust for additional argument to
4904         malloc_printerr.
4905         (_int_free): Likewise.
4906         (malloc_consolidate): Likewise.
4907         (_int_realloc): Likewise.
4908         (_int_memalign): Don't touch corrupt arenas.
4909         * malloc/tst-malloc-backtrace.c: New test case.
4911         * Makefile (summarize-tests): Fix return value on success.
4913         * manual/string.texi (Envz Functions): Add envz_remove.
4915 2015-05-18  Roland McGrath  <roland@hack.frob.com>
4917         * sysdeps/posix/opendir.c: Include <stdbool.h>.
4918         (invalid_name): New function, broken out of ...
4919         (__opendirat): ... here.  Call it.
4920         (need_isdir_precheck): New function, broken out of ...
4921         (__opendirat): ... here.  Call it.
4922         Use __fxstatat64, not __xstatat64.
4923         (opendir_oflags): New function, broken out of ...
4924         (__opendirat): ... here.  Call it.
4925         (opendir_tail): New function, broken out of ...
4926         (__opendirat): ... here.  Call it.
4927         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4928         opendir_tail, rather than punting to __opendirat.
4929         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4931 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4933         * .gitignore: Ignore generated *.pyc.
4935 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
4937         * include/stdio.h: Define __need_wint_t.
4938         * test-skeleton.c: Avoid `for' loop initial declaration.
4939         * nptl/tst-initializers1.c: Use test-skeleton.c.
4941 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4943         [BZ #18418]
4944         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4946 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4948         [BZ #16352]
4949         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4950         (__ieee754_atanh): Force underflow exception for results with
4951         small absolute value.
4952         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4953         (__ieee754_atanhf): Force underflow exception for results with
4954         small absolute value.
4955         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4956         (__ieee754_atanh): Force underflow exception for results with
4957         small absolute value.
4958         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4959         (__ieee754_atanhf): Force underflow exception for results with
4960         small absolute value.
4961         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4962         (__ieee754_atanhl): Force underflow exception for results with
4963         small absolute value.
4964         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4965         (__ieee754_atanhl): Force underflow exception for results with
4966         small absolute value.
4967         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4968         (__ieee754_atanhl): Force underflow exception for results with
4969         small absolute value.
4970         * math/auto-libm-test-in: Do not allow missing underflow
4971         exceptions from atanh.
4972         * math/auto-libm-test-out: Regenerated.
4974         [BZ #18221]
4975         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4976         2**-28 as threshold for returning x or +/- 1/x.
4977         * math/auto-libm-test-in: Add more tests of tan.
4978         * math/auto-libm-test-out: Regenerated.
4980         [BZ #18220]
4981         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4982         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
4983         * math/auto-libm-test-in: Add another test of lgamma.
4984         * math/auto-libm-test-out: Regenerated.
4986 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
4988         * stdio-common/printf_fp.c (___printf_fp): Use abs.
4989         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
4990         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
4991         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
4992         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
4993         (ADD2A): Use fabs.  (SUB2A): Use fabs.
4994         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
4995         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
4996         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
4997         (log1): Use fabs.  (my_log2): Use fabs.
4998         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
4999         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5000         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5001         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5002         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5003         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5004         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5005         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5006         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5007         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5008         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5010 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5012         [BZ #18217]
5013         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5014         as threshold for returning 1 - x.
5015         * math/auto-libm-test-in: Add more tests of erfc.
5016         * math/auto-libm-test-out: Regenerated.
5018 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5020         [BZ #18196]
5021         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5022         threshold for large arguments.
5023         * math/auto-libm-test-in: Add another test of atan.
5024         * math/auto-libm-test-out: Regenerated.
5026         [BZ #16339]
5027         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5028         (__log1p): Force underflow exception for results with small
5029         absolute value.
5030         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5031         (__log1pf): Force underflow exception for results with small
5032         absolute value.
5033         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5034         (__log1p): Force underflow exception for results with small
5035         absolute value.
5036         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5037         (__log1pf): Force underflow exception for results with small
5038         absolute value.
5039         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5040         (__log1pl): Force underflow exception for results with small
5041         absolute value.
5042         * math/auto-libm-test-in: Do not allow missing underflow
5043         exceptions from log1p.
5044         * math/auto-libm-test-out: Regenerated.
5046 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5047             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5049         [BZ #16704]
5050         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5052 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5054         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5055         (libmvec): New variable.
5056         * configure.ac: Added option for mathvec build.
5057         * configure: Regenerated.
5058         * mathvec/Depend: New file.
5059         * mathvec/Makefile: New file.
5060         * shlib-versions: Added libmvec.
5061         * math/Makefile: Added rule for libm.so installation.
5063         * bits/math-vector.h: New file.
5064         * bits/libm-simd-decl-stubs.h: New header.
5065         * math/Makefile (headers): Added new header
5066         libm-simd-decl-stubs.h.
5067         * math/math.h (__MATHCALL_VEC): New macro.
5069         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5070         for conditions in testing functions.
5071         * math/Makefile: Added call of libm-have-vector-test.sh.
5072         * math/libm-test.inc (HAVE_VECTOR): New macros.
5074         * math/libm-test.inc: START refactored.
5075         * math/test-double.c (TEST_MATHVEC): Add define.
5076         * math/test-float.c: Likewise.
5077         * math/test-idouble.c: Likewise.
5078         * math/test-ifloat.c: Likewise.
5079         * math/test-ildoubl.c: Likewise.
5080         * math/test-ldouble.c: Likewise.
5081         * sysdeps/generic/math-tests-arch.h
5082         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5083         architecture check.
5085         * math/test-double.c (FUNC_TEST): New macro.
5086         * math/test-float.c: Likewise.
5087         * math/test-idouble.c: Likewise.
5088         * math/test-ifloat.c: Likewise.
5089         * math/test-ildoubl.c: Likewise.
5090         * math/test-ldouble.c: Likewise.
5091         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5093 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5095         * sysdeps/nacl/fdopendir.c: New file.
5097         * dirent/scandir-tail.c: New file.
5098         * dirent/scandir64-tail.c: New file.
5099         * dirent/Makefile (routines): Add them.
5100         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5101         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5102         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5103         [!SCANDIR] (SCANDIR_TAIL): New macro.
5104         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5105         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5106         (SCANDIRAT): Macro removed.
5107         (SCANDIR_TAIL): New macro.
5108         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5109         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5110         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5111         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5112         (READDIR): Macro removed.
5113         (SCANDIR_TAIL): New macro.
5114         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5115         (SCANDIR_TAIL): New macro.
5117         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5118         * dirent/scandir-cancel.c: ... to this new file.
5119         * dirent/Makefile (routines): Add it.
5120         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5121         * sysdeps/unix/sysv/linux/i386/scandir64.c
5122         (SKIP_SCANDIR_CANCEL): Macro removed.
5123         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5125         * dirent/tst-scandir.c: New file.
5126         * dirent/tst-scandir64.c: New file.
5127         * dirent/Makefile (tests): Add them.
5129 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5131         [BZ #18409]
5132         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5134 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5136         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5137         list.
5139 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5141         * benchtests/bench-strcoll.c: New benchmark.
5142         * benchtests/Makefile: Generate locales and run benchmark.
5143         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5144         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5145         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5146         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5147         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5148         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5149         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5150         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5151         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5152         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5153         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5154         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5155         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5156         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5157         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5158         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5159         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5160         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5161         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5162         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5163         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5164         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5165         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5166         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5168 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5170         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5171         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5173 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5175         * posix/uname-values.h: New file.
5176         * posix/uname.c: Include that instead of <config-name.h>.
5177         * sysdeps/nacl/uname-values.h: New file.
5178         * sysdeps/arm/nacl/uname-values.h: New file.
5180 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5182         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5183         splitting into fields.
5185 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5187         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5188         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5189         * locale/localeinfo.h: Add enum collation_encoding_type.
5190         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5191         * programs/ld-collate.c (collate_output): Add encoding type info.
5192         * string/strcoll_l.c (STRDIFF): New function.
5193         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5194         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5196 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5198         [BZ #18397]
5199         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5200         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5201         <fpu_control.h> instead of <math/fpu_control.c>.
5202         * sysdeps/mips/mips32/fpu/Makefile: New file.
5204 2015-05-11  Andreas Schwab  <schwab@suse.de>
5206         [BZ #18007]
5207         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5208         nss_endgrent.
5209         (_nss_compat_endgrent): Call nss_endgrent.
5210         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5211         nss_endpwent.
5212         (_nss_compat_endpwent): Call nss_endpwent.
5213         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5214         needent, call nss_setspent only if non-zero.
5215         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5216         (internal_endspent): Don't call nss_endspent.
5217         (_nss_compat_endspent): Call nss_endspent.
5218         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5219         Remove.  All uses removed.
5220         (internal_setent): Remove parameter stayopen, add parameter
5221         stream.  Use it instead of global variable.
5222         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5223         (internal_endent, internal_getent): Add parameter stream.  Use it
5224         instead of global variable.
5225         (CONCAT(_nss_files_end,ENTNAME))
5226         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5227         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5228         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5229         uses removed.
5230         (internal_setent, internal_endent): Add parameter stream.  Use it
5231         instead of global variable.
5232         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5233         stream.
5234         (get_next_alias): Add parameter stream.
5235         (_nss_files_getaliasent_r): Pass global stream.
5236         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5237         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5238         (_nss_files_gethostbyname4_r): Pass local stream to
5239         internal_setent, internal_getent and internal_endent.  Remove
5240         locking.
5242 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5244         * tst-strfmon1.c (tests): Update expected currency symbol.
5246 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5248         * sysdeps/nacl/gethostname.c: New file.
5250 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5252         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5253         and sinh.
5254         * math/auto-libm-test-out: Regenerated.
5255         * sysdeps/i386/fpu/libm-test-ulps: Update.
5256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5258 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5260         [BZ #18125]
5261         * stdlib/tst-setcontext3.c: New file.
5262         * stdlib/tst-setcontext3.sh: New file.
5263         * stdlib/Makefile (tests): Add tst-setcontext3.
5264         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5265         to verify test program created output file.
5266         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5267         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5268         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5269         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5271 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5273         [BZ #18383]
5274         * elf/tst-tlsalign.c: New file.
5275         * elf/tst-tlsalign-static.c: New file.
5276         * elf/tst-tlsalign-lib.c: New file.
5277         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5278         (tests-static): Add tst-tlsalign-static.
5279         (modules-names): Add tst-tlsalign-lib.
5280         (test-xfail-tst-tlsalign): New variable.
5281         (test-xfail-tst-tlsalign-static): New variable.
5283         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5284         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5286 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5288         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5289         csqrt, erfc, sin and sincos.
5290         * math/auto-libm-test-out: Regenerated.
5291         * sysdeps/i386/fpu/libm-test-ulps: Update.
5292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5294 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5296         * sysdeps/aarch64/libm-test-ulps: Update.
5298 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5300         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5301         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5302         * math/auto-libm-test-out: Regenerated.
5303         * sysdeps/i386/fpu/libm-test-ulps: Update.
5304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5306 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5308         [BZ #18265]
5309         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5310         (wcsncpy): Likewise.
5312 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5314         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5315         Assume __ASSUME_FALLOCATE is always true.
5316         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5317         (__posix_fallocate64_l64): Likweise.
5318         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5319         (posix_fallocate): Likewise.
5320         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5321         (__posix_fallocate64_l64): Likewise.
5322         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5323         [!__ASSUME_FALLOCATE]: Add comment.
5325 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5327         * sysdeps/unix/sysv/linux/i386/Makefile
5328         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5329         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5330         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5331         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5332         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5333         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5334         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5336 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5338         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5339         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5340         tgamma.
5341         * math/auto-libm-test-out: Regenerated.
5342         * sysdeps/i386/fpu/libm-test-ulps: Update.
5343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5345 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5347         * math/auto-libm-test-in: Add more tests of tgamma.
5348         * math/auto-libm-test-out: Regenerated.
5349         * sysdeps/i386/fpu/libm-test-ulps: Update.
5350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5352         * math/auto-libm-test-in: Add more tests of tanh.
5353         * math/auto-libm-test-out: Regenerated.
5354         * sysdeps/i386/fpu/libm-test-ulps: Update.
5355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5357         * math/auto-libm-test-in: Add more tests of tan.
5358         * math/auto-libm-test-out: Regenerated.
5359         * sysdeps/i386/fpu/libm-test-ulps: Update.
5360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5362         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5363         * math/auto-libm-test-out: Regenerated.
5364         * sysdeps/i386/fpu/libm-test-ulps: Update.
5365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5367         * math/auto-libm-test-in: Add another test of pow.
5368         * math/auto-libm-test-out: Regenerated.
5369         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5371         * math/auto-libm-test-in: Add more tests of lgamma.
5372         * math/auto-libm-test-out: Regenerated.
5373         * sysdeps/i386/fpu/libm-test-ulps: Update.
5374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5376         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5377         log1p.
5378         * math/auto-libm-test-out: Regenerated.
5379         * sysdeps/i386/fpu/libm-test-ulps: Update.
5380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5382 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5384         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5385         Elf64_Chdr structs and ELFCOMPRESS constants.
5387 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5389         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5390         expm1.
5391         * math/auto-libm-test-out: Regenerated.
5392         * sysdeps/i386/fpu/libm-test-ulps: Update.
5393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5395         * math/auto-libm-test-in: Add more tests of erf and erfc.
5396         * math/auto-libm-test-out: Regenerated.
5397         * sysdeps/i386/fpu/libm-test-ulps: Update.
5398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5400 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5402         * config.h.in (HAVE_AARCH64_BE): Add.
5404 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5406         * math/auto-libm-test-in: Add more tests of csqrt.
5407         * math/auto-libm-test-out: Regenerated.
5408         * sysdeps/i386/fpu/libm-test-ulps: Update.
5409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5411         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5412         * math/auto-libm-test-out: Regenerated.
5413         * sysdeps/i386/fpu/libm-test-ulps: Update.
5414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5416         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5418 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5420         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5421         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5423         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5424         (euidaccess, eaccess): Define as weak aliases.
5426         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5427         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5428         but __suseconds_t is often 'long int' so some sources assume that
5429         type is being used (e.g. they use %ld to print tv_usec).
5431 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5433         [BZ #18007]
5434         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5435         (CVE-2014-8121)
5436         * nss/tst-nss-getpwent.c: New file.
5437         * nss/Makefile (tests): Add new test.
5439 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5441         [BZ #18346]
5442         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5443         exponents less than 48 as cases where high part of mantissa needs
5444         examining to determine whether argument is integral.
5445         * math/libm-test.inc (round_test_data): Add more tests.
5447 2015-04-28  Mark Wielaard  <mjw@redhat.com>
5449         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5451 2015-04-27  David S. Miller  <davem@davemloft.net>
5453         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5454         __tls_get_addr.
5455         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5457 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
5459         [BZ#18333]
5460         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5462 2015-04-27  Florian Weimer  <fweimer@redhat.com>
5464         [BZ#18333]
5465         * time/tzset.c (parse_tzname): Return error on memory allocation
5466         failure.
5467         * test-skeleton.c (struct temp_name_list): Change type of name
5468         member to non-const.
5469         (add_temp_file): Create a copy of the file name.
5470         (delete_temp_files): Deallocate memory.
5471         (create_temp_file): Add comment.
5473 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5475         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5476         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5478 2015-04-24  Roland McGrath  <roland@hack.frob.com>
5480         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5481         * sysdeps/arm/configure: Regenerated.
5483 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5485         [BZ #17715]
5486         * time/tzfile.c (__tzfile_read): Check for large values of
5487         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
5488         * time/tzset.c (__tzstring_len): New function, based on the old
5489         __tzstring function.
5490         (__tzstring): Call __tzstring_len.
5491         (parse_tzname): New helper function extracted from
5492         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
5493         the input string.
5494         (parse_offset): New helper function extracted from
5495         __tzset_parse_tz.  Replace switch with fallthrough with
5496         initialization before sscanf.
5497         (parse_rule): Likewise.
5498         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
5499         new-style function definition.
5500         * timezone/Makefile (tests): Add tst-tzset.
5501         (tst-tzset.out): Dependencies on time zone files.
5502         (tst-tzset-ENV): Set TZDIR.
5503         (testdata/XT%): Copy crafted time zone files.
5504         * timezone/README: Mention crafted time zone files.
5505         * timezone/testdata/XT1, timezone/testdata/XT2,
5506         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5507         files.
5508         * timezone/tst-tzset.c: New test.
5510 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5512         * Makeconfig (+gccwarn): Remove -Winline.
5514 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5516         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5518 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5520         * NEWS: Mention sysconf() cache information support for s390.
5521         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5523 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
5525         * math/k_casinh.c (__kernel_casinh): Use __copysign.
5526         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5527         (__nearbyint): Likewise.
5528         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5529         (copysignl): Likewise.
5531 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
5533         [BZ #18287]
5534         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5535         based on padding.  (CVE-2015-1781)
5537 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5539         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5540         libc-vdso.h.
5541         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5542         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5543         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5544         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5545         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5546         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5547         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5548         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5549         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5550         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5551         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5552         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5553         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5554         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5555         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5556         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5557         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5558         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5559         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5560         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5561         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5562         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5563         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5565 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5567         * stdlib/setenv.c (__add_to_environ):
5568         Dump core quickly if setenv (..., NULL, ...) is called.
5569         This time, do it the right way, and pacify GCC with a pragma.
5571 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5573         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5574         IMAP->l_prev cannot be null, and #if out the code for the contrary
5575         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5576         believe that NS (&_dl_ns[NSID]) could point outside the array.
5578         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5579         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5580         before using NSID as an index.
5582 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
5584         [BZ #17825]
5585         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5586         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5587         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5589 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5591         Add preliminary port to Google Native Client on ARM.
5592         * abi-tags (.*-.*-nacl.*): New entry.
5593         * sysdeps/arm/nacl: New directory.
5594         * sysdeps/nacl: New directory.
5596 2015-04-16  David S. Miller  <davem@davemloft.net>
5598         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5599         lowlevellock-futex.h
5601 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
5603         * sysdeps/tile/configure.ac: New file.
5604         * sysdeps/tile/configure: Regenerated.
5606 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5608         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
5609         conditionals for weak_alias and libc_hidden_weak.
5610         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
5611         libc_hidden_weak and weak_alias.
5612         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
5613         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
5614         and weak_alias for static one.
5616 2015-04-15  David S. Miller  <davem@davemloft.net>
5618         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5620 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5622         [BZ #18206]
5623         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
5624           Use signed comparision instead of substraction to avoid
5625           overflow bug.
5626         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
5627           Take the sign of ret.
5628         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
5629           Do not expect precise return values. Only the sign matters.
5630         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
5631         * wcsmbs/test-wcsncmp.c: New File.
5632         * string/test-strncmp.c: Add wcsncmp support.
5634 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5636         [BZ #6792]
5637         * math/w_log1p.c: New file.
5638         * math/w_log1pf.c: Likewise.
5639         * math/w_log1pl.c: Likewise.
5640         * math/Makefile (libm-calls): Add w_log1p.
5641         * math/s_log1pl.c (log1pl): Remove weak_alias.
5642         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
5643         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
5644         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
5645         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
5646         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
5647         [NO_LONG_DOUBLE] (log1pl): Likewise.
5648         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
5649         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
5650         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
5651         (log1p): Remove long_double_symbol.
5652         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
5653         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
5654         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
5655         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
5656         remove weak_alias for corresponding log1p function.
5657         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
5658         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
5659         * sysdeps/ia64/fpu/w_log1p.c: New file.
5660         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
5661         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
5662         * math/libm-test.inc (log1p_test_data): Add errno expectations.
5664 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
5666         [BZ #18247]
5667         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5668         decimal exponent by 1.
5669         * stdlib/tst-strtod-round-data: Add more tests.
5670         * stdlib/tst-strtod-round.c (tests): Regenerated.
5672 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
5674         * math/auto-libm-test-in: Add more tests of clog and clog10.
5675         * math/auto-libm-test-out: Regenerated.
5676         * sysdeps/i386/fpu/libm-test-ulps: Update.
5677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5679 2015-04-09  Roland McGrath  <roland@hack.frob.com>
5681         * Makeconfig (module-cppflags): Exclude all .v.i files.
5682         (skip-module-cppflags): Variable removed.
5684         * configure.ac (libc_config_ok): Initialize before reading
5685         preconfigure scripts, not after.
5686         * configure: Regenerated.
5688         * test-skeleton.c (TIMEOUT): Move #define to top level.
5689         (main): Grok environment variable TEST_DIRECT.  If set, print
5690         test expectation details into that file and then behave as if
5691         given --direct.
5693 2015-04-09  Florian Weimer  <fweimer@redhat.com>
5695         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5696         warning on 32-bit.
5698 2015-04-08  David S. Miller  <davem@davemloft.net>
5700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5702 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5704         * math/auto-libm-test-in: Add more tests of atanh.
5705         * math/auto-libm-test-out: Regenerated.
5706         * sysdeps/i386/fpu/libm-test-ulps: Update.
5707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5709         * math/auto-libm-test-in: Add more tests of atan.
5710         * math/auto-libm-test-out: Regenerated.
5711         * sysdeps/i386/fpu/libm-test-ulps: Update.
5712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5714 2015-04-08  Florian Weimer  <fweimer@redhat.com>
5716         * elf/pldd.c (main): Rewrite to use struct
5717         scratch_buffer instead of extend_alloca.
5718         * elf/pldd-xx.c (find_maps): Likewise.
5719         * grp/initgroups.c: Include <scratch_buffer.h> instead of
5720         <alloca.h>.
5721         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5722         scratch_buffer instead of extend_alloca.
5723         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5724         grp/compat-initgroups.c.
5725         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5726         Rewrite to use struct scratch_buffer instead of extend_alloca.
5727         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5728         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5730 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5732         * math/auto-libm-test-in: Add more tests of cbrt.
5733         * math/auto-libm-test-out: Regenerated.
5734         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5736         * math/auto-libm-test-in: Add more tests of cabs.
5737         * math/auto-libm-test-out: Regenerated.
5738         * sysdeps/i386/fpu/libm-test-ulps: Update.
5739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5741         [BZ #18210]
5742         [BZ #18211]
5743         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5744         (__ieee754_atan2): Set FE_TONEAREST mode for internal
5745         computations.
5746         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5747         clog10.
5748         * math/auto-libm-test-out: Regenerated.
5749         * sysdeps/i386/fpu/libm-test-ulps: Update.
5750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5752         [BZ #18197]
5753         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5754         (atan): Set FE_TONEAREST mode for internal computations.
5755         * math/auto-libm-test-in: Add more tests of atan.
5756         * math/auto-libm-test-out: Regenerated.
5758 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
5760         [BZ #17930]
5761         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5763 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5765         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5767 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5769         * include/scratch_buffer.h: New file.
5770         * malloc/scratch_buffer_grow.c: Likewise.
5771         * malloc/scratch_buffer_grow_preserve.c: Likewise.
5772         * malloc/scratch_buffer_set_array_size.c: Likewise.
5773         * malloc/tst-scratch_buffer.c: Likewise.
5774         * malloc/Makefile (routines): Add scratch_buffer_grow.
5775         (tests): Add test case.
5776         * malloc/Versions (GLIBC_PRIVATE): Export
5777         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5778         __libc_scratch_buffer_set_array_size.
5780 2015-04-06  Richard Henderson  <rth@redhat.com>
5782         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5783         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5785         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5786         unsigned int before printing.
5788 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5790         [BZ #17596]
5791         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5792         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5794 2015-04-02  Florian Weimer  <fweimer@redhat.com>
5796         * include/libc-internal.h (libc_max_align_t): Define.
5798 2015-04-02  Andreas Schwab  <schwab@suse.de>
5800         [BZ #16850]
5801         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5803 2015-04-02  Mel Gorman  <mgorman@suse.de>
5805         [BZ #17195]
5806         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5807         as well as the main arena.
5809 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5811         [BZ #18185]
5812         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5813         sharing L2 cache to 2 for Silvermont/Knights Landing.
5815 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5817         [BZ #17711]
5818         * config.make.in (have-protected-data): New.
5819         * configure.ac: Check linker support for protected data symbol.
5820         * configure: Regenerated.
5821         * elf/Makefile (modules-names): Add tst-protected1moda and
5822         tst-protected1modb if $(have-protected-data) is yes.
5823         (tests): Add tst-protected1a and tst-protected1b if
5824         $(have-protected-data) is yes.
5825         ($(objpfx)tst-protected1a): New.
5826         ($(objpfx)tst-protected1b): Likewise.
5827         (tst-protected1modb.so-no-z-defs): Likewise.
5828         * elf/tst-protected1a.c: New file.
5829         * elf/tst-protected1b.c: Likewise.
5830         * elf/tst-protected1mod.h: Likewise.
5831         * elf/tst-protected1moda.c: Likewise.
5832         * elf/tst-protected1modb.c: Likewise.
5834 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5836         [BZ #17711]
5837         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5838         indicates it is called from do_lookup_x on relocation against
5839         protected data, skip the data definion in the executable from
5840         copy reloc.
5841         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5842         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5843         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5844         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5845         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5846         otherwise to 0.
5847         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5848         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5849         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5850         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5851         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5852         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5854 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
5856         * sysdeps/nptl/pthread.h: Remove duplicate definition of
5857         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5859 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
5861         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5862         THREAD_SETMEM_NC.
5863         * sysdeps/x86_64/nptl/tls.h: Ditto.
5865 2015-03-27  Roland McGrath  <roland@hack.frob.com>
5867         * dlfcn/tststatic.c (main): Converted to ...
5868         (do_test): ... this.
5869         (TEST_FUNCTION): New macro.
5870         Include test-skeleton.c.
5872 2015-03-26  Alan Modra  <amodra@gmail.com>
5874         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5875         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
5876         zero for undefined weak.
5877         (elf_machine_plt_conflict): Similarly.
5879 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5881         * math/auto-libm-test-in: Add more tests of acosh, asinh and
5882         atanh.
5883         * math/auto-libm-test-out: Regenerated.
5884         * sysdeps/i386/fpu/libm-test-ulps: Update.
5885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5887         * math/auto-libm-test-in: Add another test of asin.
5888         * math/auto-libm-test-out: Regenerated.
5889         * sysdeps/i386/fpu/libm-test-ulps: Update.
5890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5892         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5893         Remove macro.
5894         (LLL_EBX_REG): Likewise.
5895         (LLL_ENTER_KERNEL): Likewise.
5897         * math/auto-libm-test-in: Add more tests of asin.
5898         * math/auto-libm-test-out: Regenerated.
5899         * sysdeps/i386/fpu/libm-test-ulps: Update.
5900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5902         [BZ #18138]
5903         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5904         libc_do_syscall_args): New structure.
5905         (INTERNAL_SYSCALL_MAIN_0): New macro.
5906         (INTERNAL_SYSCALL_MAIN_1): Likewise.
5907         (INTERNAL_SYSCALL_MAIN_2): Likewise.
5908         (INTERNAL_SYSCALL_MAIN_3): Likewise.
5909         (INTERNAL_SYSCALL_MAIN_4): Likewise.
5910         (INTERNAL_SYSCALL_MAIN_5): Likewise.
5911         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
5912         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5913         Replace conditional definitions by conditional definitions of ....
5914         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
5915         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5916         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5917         (libpthread-sysdep_routines): Add libc-do-syscall.
5918         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5919         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5920         to __NR_futex not 240.
5922 2015-03-25  Alan Modra  <amodra@gmail.com>
5924         * NEWS: Advertise TLS optimization.
5925         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5926         (DT_PPC_NUM): Increment.
5927         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5928         (CHECK_STATIC_TLS): Use here.
5929         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5930         TLS descriptors.
5931         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5932         * sysdeps/powerpc/dl-tls.c: New file.
5933         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5934         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5935         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5936         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5941 2015-03-25  Alan Modra  <amodra@gmail.com>
5943         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5944         for overlapping .opd entries" to "support...".
5945         * sysdeps/powerpc/powerpc64/configure: Regenerate
5947 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5949         * math/auto-libm-test-in: Add more tests of acos.
5950         * math/auto-libm-test-out: Regenerated.
5951         * sysdeps/i386/fpu/libm-test-ulps: Update.
5952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5954         * math/auto-libm-test-in: Add more tests of expm1.
5955         * math/auto-libm-test-out: Regenerated.
5956         * sysdeps/i386/fpu/libm-test-ulps: Update.
5957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5959 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
5961         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5962         * math/auto-libm-test-out: Regenerated.
5963         * sysdeps/i386/fpu/libm-test-ulps: Update.
5964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5966         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5969         * math/auto-libm-test-in: Add more tests of log2.
5970         * math/auto-libm-test-out: Regenerated.
5971         * sysdeps/i386/fpu/libm-test-ulps: Update.
5972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5974 2015-03-23  Roland McGrath  <roland@hack.frob.com>
5976         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5977         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
5978         _IO_IS_APPENDING bit in READ_WRITE instead.
5980 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5982         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5983         (__determine_cpumask_size): Replace extend_alloca with a
5984         variable-length array.  Do not treat res == 0 as an error.
5986 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5988         [BZ #18100]
5989         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
5990         and integer overflow.
5991         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
5992         (main): Add integer overflow tests.
5993         * manual/pattern.texi (Calling Wordexp): Document additional use
5994         for WRDE_SYNTAX.
5996 2015-03-23  Alan Modra  <amodra@gmail.com>
5998         * config.h.in: Remove HAVE_ASM_PPC_REL16.
5999         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6000         and false branch of conditional.
6001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6002         Likewise.
6004 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6006         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6007         libc-modules.h
6008         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6009         unused declaration of _hurd_intr_rpc_msg_in_trap.
6010         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6011         defined instead of whether it is non-zero.
6012         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6013         input constraint instead of both input and output constraint.  Use ecx
6014         clobber instead of %ecx.
6015         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6016         mutex_unlock): Use a statement expression instead of an expression list.
6017         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6018         type to vm_size_t instead of vm_address_t.
6019         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6020         defined instead of whether it is non-zero.
6021         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6022         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6023         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6024         comparisons with mapaddr.
6025         * nscd/nscd-client.h: Include <time.h>.
6026         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6027         9th parameter to __vm_region instead of int.
6028         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6029         * scripts/check-local-headers.sh (exclude): Add device/,
6030         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6031         cthreads.h.
6033 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6035         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6036         to account for alignment padding.
6037         * sysdeps/arm/memmove.S: Likewise.
6039 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6041         * sysdeps/unix/sysv/linux/generic/README: New file.
6043 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6045         [BZ #18138]
6046         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6047         (futex_abstimed_wait)
6048         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6049         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6050         of lll_futex_timed_wait.
6052 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6054         [BZ #17542]
6055         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6057 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6059         [BZ #17090]
6060         [BZ #17620]
6061         [BZ #17621]
6062         [BZ #17628]
6063         * NEWS: Update.
6064         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6065         entries with Static TLS too.  Skip entries past the end of the
6066         allocated DTV, from Alan Modra.
6067         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6068         Static TLS DTV entry set up from...
6069         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6070         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6071         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6072         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6073         for Static TLS.
6074         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6075         that the slot we find is associated with the given map before
6076         using its generation count.
6077         * nptl_db/db_info.c: Include ldsodefs.h.
6078         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6079         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6080         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6081         (link_map::l_tls_offset): New struct field.
6082         (dtv_t::counter): Likewise.
6083         (rtld_global): New struct.
6084         (_rtld_global): New rtld variable.
6085         (dl_tls_dtv_slotinfo_list): New rtld global field.
6086         (dtv_slotinfo_list): New struct.
6087         (dtv_slotinfo): Likewise.
6088         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6089         (td_lookup): Rename to...
6090         (td_mod_lookup): ... this.  Use new mod parameter instead of
6091         LIBPTHREAD_SO.
6092         * nptl_db/td_thr_tlsbase.c: Include link.h.
6093         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6094         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6095         addresses even if the DTV is out of date or missing them.
6096         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6097         index zero-length arrays.
6098         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6099         (td_lookup): Make it a macro implemented in terms of...
6100         (td_mod_lookup): ... this declaration.
6101         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6102         (DB_MAIN_VARIABLE): Likewise.
6104 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6106         [BZ #18134]
6107         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6109 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6111         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6113 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6115         [BZ #18128]
6116         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6117         (atomic_add, atomic_increment_and_test)
6118         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6120 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6122         * stdlib/setenv.c (__add_to_environ):
6123         Dump core quickly if setenv (..., NULL, ...) is called.
6125 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6127         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6128         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6129         all the necessary asm magic in one place.
6130         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6131         using those.
6133 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6135         [BZ #14906]
6136         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6137         traced file mtime. Use consistent log message.
6138         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6139         (register_traced_file): Call install_watches. Always set mtime.
6140         (invalidate_cache): Iterate over all trace files. Call install_watches.
6141         (inotify_check_files): Don't inline. Handle watching parent
6142         directories and configuration file movement in and out.
6143         (handle_inotify_events): New function.
6144         (main_loop_poll): Call handle_inotify_events.
6145         (main_loop_epoll): Likewise.
6146         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6147         (struct traced_file): Use array of inotify fds. Add parent directory,
6148         and basename.
6149         (struct database_dyn): Remove unused file_mtime.
6150         (init_traced_file): New inline function.
6151         (define_traced_file): New macro.
6152         * nss/nss_db/db-init.c: Use define_traced_file.
6153         (_nss_db_init): Use init_traced_file.
6154         * nss/nss_files/files-init.c: Use define_traced_file.
6155         (_nss_files_init): Use init_traced_file.
6157 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6159         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6160         [_LIBC]: Do not include <stdlib.h>.
6161         [!_LIBC] (abort): Remove declaration.
6162         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6163         _FP_STATIC_ASSERT instead of conditionally calling abort.
6164         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6165         (_FP_EXTEND_CNAN): Likewise.
6166         (FP_TRUNC): Likewise.
6167         (__FP_CLZ): Likewise.
6168         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6170 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6172         * manual/string.texi (XPG basename): Fix prototype.
6174 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6176         [BZ #18080]
6177         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6178         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6179         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6180         (__setcontext): Likewise.
6181         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6182         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6183         Call rt_sigprocmask syscall one time to set new signal mask
6184         and retrieve the current signal mask instead of two calls.
6185         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6186         (__swapcontext): Likewise.
6187         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6188         * stdlib/tst-setcontext2.c: New file.
6190 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6192         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6194 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6196         [BZ #18093]
6197         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6198         the wrong size.
6200 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6202         [BZ #18043]
6203         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6205 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6207         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6208         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6209         Remove define.
6210         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6211         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6212         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6213         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6214         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6215         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6216         define.
6217         * nptl_db/td_symbol_list.c (td_lookup): Remove
6218         HAVE_ASM_GLOBAL_DOT_NAME code.
6219         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6220         HAVE_ASM_GLOBAL_DOT_NAME check.
6221         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6222         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6223         (DOT_LABEL): Remove define.
6224         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6225         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6226         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6227         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6228         (__TLS_GET_ADDR): Likewise.
6229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6230         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6232 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6234         [BZ #18111]
6235         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6236         (_FPU_SETCW): Initialize cw from fpsr before storing.
6237         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6238         (fesetexceptflag): Rewrite using fpu_control.h.
6239         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6241 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6243         [BZ #18110]
6244         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6245         asms.
6246         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6248 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6250         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6251         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6252         abort.
6253         (_FP_FMA): Likewise.
6254         (_FP_DIV): Likewise.
6256 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6258         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6259         with 0 in that case.
6260         * Makefile (summarize-tests): New canned sequence, factored out of
6261         commands for targets tests and xtests.  Display summary lines that
6262         don't start with PASS: or XFAIL: rather than ones that do start with
6263         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6264         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6265         do start with ERROR: or FAIL:.
6266         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6267         (except for [$(build-shared) = yes]).
6268         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6269         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6270         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6271         * nptl/Makefile: Revert 2015-03-04 changes.
6272         [$(CXX) empty] (tests-unsupported): New variable.
6273         * debug/Makefile: Likewise.
6275         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6276         gnulib file.  Replace __attribute with __attribute__ throughout.
6278 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6280         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6282 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6284         [BZ #18104]
6285         * math/auto-libm-test-in: Add another test of pow.
6286         * math/auto-libm-test-out: Regenerated.
6288 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6290         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6291         $(config-cflags-nofma).
6293 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6295         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6296         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6297         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6298         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6299         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6300         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6301         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6302         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6303         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6304         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6305         Add comment on closing #endif.
6307 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6309         * posix/wordexp.c (CHAR_IN_SET): New macro.
6310         (parse_param): Use it.
6312 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6314         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6316 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6318         [BZ #18043]
6319         * posix/wordexp.c (parse_param): Fix buffer overflow.
6320         * posix/wordexp-test.c (test_case): Add test case.
6322 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6324         [BZ #18042]
6325         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6326         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6328 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6330         [BZ #18043]
6331         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6332         (do_bz18043): Delete.
6333         (at_page_end): New.
6334         (testit): Refactor to have words at the edge of unreadable page.
6336 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6338         [BZ #16734]
6339         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6340         Cleanup read-only streams as well.
6341         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6343 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6345         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6346         <bits/libc-lockP.h>
6348 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6350         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6351         on [__KERNEL__].
6352         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6353         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6354         * soft-fp/op-common.h (_FP_DECL): Likewise.
6356 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6358         * elf/ifuncdep2.c (global): Replace
6359         __attribute__((visibility("protected"))) with
6360         asm (".protected global").
6361         * elf/ifuncmod1.c (global): Likewise.
6362         * elf/ifuncmod5.c (global): Likewise.
6364 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6366         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6367         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6369 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6371         * manual/install.texi (Configuring and compiling):
6372         Document test-wrapper-env-only.
6373         * INSTALL: Regenerated.
6375 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6377         [BZ #18043]
6378         * posix/wordexp.c (parse_param): Fix buffer overflow.
6379         * posix/wordexp-test.c (do_bz18043): Add test case.
6381 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6383         * time/tst-strptime2.c (do_test): Ensure failing tests are
6384         reported correctly.
6385         * time/tst-strptime3.c (do_test): Likewise.
6387 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6389         Fix aio_error thread-safety.
6390         * sysdeps/pthread/aio_error.c: New file
6391         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6392         synchronization.
6394 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6396         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6397         (group_number, vfprintf): Use it.
6398         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6399         (JUMP, REF): Use it.
6400         (WORK_BUFFER_SIZE): New enum constant.
6401         (process_arg, vfprintf): Use it.
6403 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6405         * manual/errno.texi (Error Messages): Complete example function
6406         by adding missing #define.
6407         (program_invocation_name): Add statement indicating GNU
6408         extension and reference which header file declares the variable.
6409         (program_invocation_short_name): Likewise.
6411 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6413         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6414         compatibility note.
6416 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6418         * Makeconfig (test-wrapper-env-only): New variable.
6419         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6420         then use that with $(test-wrapper-env-only) rather than using
6421         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6423 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6425         [BZ #18082]
6426         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6427         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6428         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6429         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6430         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6431         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6432         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6433         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6434         Likewise.
6435         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6436         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6437         Likewise.
6438         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6439         Likewise.
6440         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6441         Likewise.
6442         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6443         Likewise.
6444         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6445         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6446         Likewise.
6447         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6448         Likewise.
6449         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6450         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6452 2015-03-04  Roland McGrath  <roland@hack.frob.com>
6454         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6455         (ETH_ALEN): New macro.
6456         (struct ether_addr): Use it for length of ether_addr_octet.
6458         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6459         (setdb): Don't call __nss_configure_lookup for "rpc".
6460         (do_test): Don't call test_rpc.
6461         (output_rpcent, test_rpc): Functions moved ...
6462         * sunrpc/test-rpcent.c: ... to this new file.
6463         * sunrpc/Makefile (tests): Add it.
6465         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6466         __xpg_sigpause.
6467         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6468         * nptl/tst-signal6.c: Likewise.
6469         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6470         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6472         * configure.ac (libc_cv_cxx_link_ok): New check.
6473         Reset CXX to empty if it fails to link.
6474         * configure: Regenerated.
6475         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6476         bug-atexit3-lib only if $(CXX) is nonempty.
6477         * nptl/Makefile (tests): Likewise for tst-cancel24.
6478         (tests, tests-static): Likewise for tst-cancel24-static.
6479         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6480         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6481         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6482         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
6484 2015-03-04  Andreas Schwab  <schwab@suse.de>
6486         [BZ #17631]
6487         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6488         for non-GCC compilers.
6489         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6490         Likewise.
6492 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6494         [BZ #17776]
6495         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6496         integer before bitwise and assembly operations.
6497         (feclearexcept): Likewise.
6498         * math/test-fenvinline.c: New file.
6499         * math/Makefile: Add test-fenvinline test.
6501 2015-03-03  Alan Modra  <amodra@gmail.com>
6503         [BZ #16512]
6504         * scripts/localplt.awk: Strip off symbol version.
6505         * NEWS: Mention bug fix.
6507 2015-03-02  Roland McGrath  <roland@hack.frob.com>
6509         * sysdeps/pthread/timer_routines.c
6510         (timer_free_list, thread_free_list, thread_active_list): Make static.
6512 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
6514         [BZ #17779]
6515         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6516         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6517         Undefine.
6518         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6519         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6520         Likewise.
6521         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6522         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6523         Likewise.
6525 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6527         [BZ #18036]
6528         * posix/fnmatch_loop.c (END): Detect invalid pattern.
6529         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6531 2015-03-02  Andreas Schwab  <schwab@suse.de>
6533         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6534         variable name.
6536 2015-03-02  Florian Weimer  <fweimer@redhat.com>
6538         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6539         Return error status.
6541 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
6543         [BZ #15969]
6544         * locale/findlocale.c (_nl_find_locale): Introduce const
6545         version of loc_name and drop unsafe type casts.
6547 2015-02-27  Roland McGrath  <roland@hack.frob.com>
6549         * dlfcn/tststatic2.c (main): Converted to ...
6550         (do_test): ... this.
6551         (TEST_FUNCTION): New macro.
6552         Include test-skeleton.c.
6554 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
6556         [BZ #17711]
6557         * elf/Makefile (tests): Add vismain only if PIE is enabled.
6558         (tests-pie): Add vismain.
6559         (CFLAGS-vismain.c): New.
6560         * elf/vismain.c: Add comments for PIE requirement.
6562 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6564         [BZ #18046]
6565         [BZ #18047]
6566         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6567         0x1p-56L as threshold for just returning the argument.
6568         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6569         0x1p-32L as threshold for just returning the argument.
6570         * math/auto-libm-test-in: Add more tests of atanh.
6571         * math/auto-libm-test-out: Regenerated.
6572         * sysdeps/i386/fpu/libm-test-ulps: Update.
6573         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6575 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6577         * string/bcopy.c (bcopy): Call memmove for performance.
6579 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6581         * string/bzero.c (__bzero): Call memset for performance.
6583 2015-02-27  John David Anglin  <dave.anglin@bell.net>
6585         [BZ #18068]
6586         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6587         to 00100000.
6589 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6591         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6593 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6595         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6596         (__kernel_standard): Use CSTR macro when setting exc.name.
6597         * sysdeps/ieee754/Makefile [$(subdir) = math]
6598         (CFLAGS-k_standard.c): Remove variable.
6600         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6601         setting p and q from "else if" to "else".
6602         (qzero): Likewise.
6603         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
6604         (qone): Likewise.
6605         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
6606         (qzerof): Likewise.
6607         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
6608         (qonef): Likewise.
6609         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
6610         (qzero): Likewise.
6611         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
6612         (qone): Likewise.
6614         [BZ #18038]
6615         [BZ #18039]
6616         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
6617         return pi/2 for arguments below 0x1p-113L.
6618         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
6619         return pi/2 for arguments below 0x1p-106L.
6620         * math/auto-libm-test-in: Add more tests of acos.
6621         * math/auto-libm-test-out: Regenerated.
6623         [BZ #16351]
6624         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
6625         (MO): New macro.
6626         (__ieee754_asin): Force underflow exception for results with small
6627         absolute value.
6628         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
6629         (MO): New macro.
6630         (__ieee754_asinf): Force underflow exception for results with
6631         small absolute value.
6632         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
6633         (__ieee754_asin): Force underflow exception for results with small
6634         absolute value.
6635         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
6636         (__ieee754_asinf): Force underflow exception for results with
6637         small absolute value.
6638         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
6639         (__ieee754_asinl): Force underflow exception for results with
6640         small absolute value.
6641         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
6642         (__ieee754_asinl): Force underflow exception for results with
6643         small absolute value.
6644         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
6645         (__ieee754_asinl): Force underflow exception for results with
6646         small absolute value.
6647         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6648         Include <math.h>.
6649         * math/auto-libm-test-in: Do not mark underflow exceptions as
6650         possibly missing for bug 16351.
6651         * math/auto-libm-test-out: Regenerated.
6653         [BZ #18030]
6654         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
6655         of power of 2 down when low part has opposite sign.
6656         * math/libm-test.inc (logb_test_data): Add more tests.
6658 2015-02-26  Andreas Schwab  <schwab@suse.de>
6660         [BZ #18032]
6661         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
6662         over collating symbol inside a bracket expression.  Minor cleanup.
6663         * posix/tst-fnmatch3.c (do_test): Add test case.
6665 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6667         [BZ #18029]
6668         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6669         Adjust exponent of power of 2 down when low part has opposite
6670         sign.
6671         * math/libm-test.inc (ilogb_test_data): Add more tests.
6673 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
6675         [BZ #15969]
6676         * locale/findlocale.c (_nl_find_locale): Fix constness error in
6677         the previous change.
6679         [BZ #15969]
6680         * locale/findlocale.c (_nl_find_locale): Retry archive search
6681         after alias expansion.
6683 2015-02-25  Roland McGrath  <roland@hack.frob.com>
6685         * iconv/tst-iconv3.c (main): Converted to ...
6686         (do_test): ... this.
6687         (TEST_FUNCTION): New macro.
6688         Include test-skeleton.c.
6690         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6691         (convert): Make function static.
6692         (test_unalign): Likewise.  Add const to argument pointee types.
6693         (main): Replace with static function do_test.
6694         Print "Succeeded." only if RET is zero.
6695         (TEST_FUNCTION): New macro.
6696         Include test-skeleton.c.
6698         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6699         returns a null pointer.
6701 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6703         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6704         to __memcpy_ppc only for static builds.
6706 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
6708         [BZ #18020]
6709         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6710         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6711         * math/auto-libm-test-in: Add more tests of asinh.
6712         * math/auto-libm-test-out: Regenerated.
6713         * sysdeps/i386/fpu/libm-test-ulps: Update.
6714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6716 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
6718         [BZ #15850]
6719         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6720         and ip6_mtuinfo definitions here.
6721         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6722         in this define too.  Update comment.
6724 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
6726         * elf/sprof.c (load_shobj): Tweak error message to match others.
6728 2015-02-24  Kevin Easton  <kevin@guarana.org>
6730         [BZ #16145] (partial fix)
6731         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6732         to reduce lock contention.
6734 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
6736         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6737         (struct timex): Update time comment.
6738         (ADJ_SETOFFSET): Define.
6740 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6742         [BZ #18019]
6743         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6744         2**56 not 2**28 as threshold for log (2x) formula.
6745         * math/auto-libm-test-in: Add more tests of acosh.
6746         * math/auto-libm-test-out: Regenerated.
6747         * sysdeps/i386/fpu/libm-test-ulps: Update.
6748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6750 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6752         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6753         parenthesis around the buf assignment.
6754         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6756 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6758         [BZ #16783]
6759         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6760         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6761         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6762         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6763         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6764         * math/libm-test.inc (scalb_test_data): Add more tests.
6766 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6768         [BZ #17916]
6769         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6770         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6772 2015-02-24  Eric Rannaud  <e@nanocritical.com>
6774         [BZ #17523]
6775         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6776         * io/bits/fcntl2.h (open): Use it.
6777         (openat): Likewise.
6778         * io/open.c (__libc_open): Likewise.
6779         * io/open64.c (__libc_open64): Likewise.
6780         * io/open64_2.c (__open64_2): Likewise.
6781         * io/open_2.c (__open_2): Likewise.
6782         * io/openat.c (__openat): Likewise.
6783         * io/openat64.c (__openat64): Likewise.
6784         * io/openat64_2.c (__openat64_2): Likewise.
6785         * io/openat_2.c (__openat_2): Likewise.
6786         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6787         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6788         * sysdeps/posix/open64.c (__libc_open64): Likewise.
6789         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6790         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6791         (__open_nocancel): Likewise.
6792         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6793         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6794         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6796 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6798         [BZ #14841]
6799         * resolv/gethnamaddr.c (getanswer): Skip logging if
6800         RES_USE_DNSSEC is set.
6801         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6803 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6805         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6807 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
6809         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6810         201304L, for Unicode 7.
6812 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
6814         [BZ #17836]
6815         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6816         shared library.  Add gmon-start.os otherwise.
6817         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6818         $(objpfx)gmon-start.os if builing shared library.
6819         ($(objpfx)g$(static-start-installed-name)): Likewise.
6821 2015-02-23  Andreas Schwab  <schwab@suse.de>
6823         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6825 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6827         [BZ #17269]
6828         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6829         (enlarge_userbuf): Likewise.
6831 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
6833         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6834         * math/atest-exp.c (TIMEOUT): Adjust to 200.
6835         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6836         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6838 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
6840         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6841         expression inside statement expression.
6843 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6845         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6846         <sysdeps/nptl/lowlevellock.h> and remove macros and
6847         functions that are now defined there.
6848         (SYS_futex): Remove.
6849         (lll_compare_and_swap): Remove.
6850         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6852 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
6854         [BZ #17999]
6855         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6856         instead of scandirat.
6857         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6858         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6859         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6860         __scandirat.
6861         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6862         (__scandirat): Declare.  Use libc_hidden_proto.
6863         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6864         Remove variable.
6865         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6867 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6869         [BZ #15319]
6870         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6871         (MO): New macro.
6872         (__ieee754_atan2): For results with small absolute value, force
6873         underflow exception and remove excess range and precision from
6874         return value.
6875         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6876         (MO): New macro.
6877         (__ieee754_atan2f): For results with small absolute value, force
6878         underflow exception and remove excess range and precision from
6879         return value.
6880         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6881         (MO): New macro.
6882         (__atan): For results with small absolute value, force underflow
6883         exception and remove excess range and precision from return value.
6884         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6885         (MO): New macro.
6886         (__atanf): For results with small absolute value, force underflow
6887         exception and remove excess range and precision from return value.
6888         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6889         <math.h>.
6890         (__ieee754_atan2): Force underflow exception for results with
6891         small absolute value.
6892         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6893         <math_private.h>.
6894         (atan): Force underflow exception for results with small absolute
6895         value.
6896         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6897         (__atanf): Force underflow exception for results with small
6898         absolute value.
6899         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6900         <math.h>.
6901         (__atanl): Force underflow exception for results with small
6902         absolute value.
6903         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6904         (__atanl): Force underflow exception for results with small
6905         absolute value.
6906         * sysdeps/x86/fpu/bits/mathinline.h
6907         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6908         (__ieee754_atan2): Only define inline for long double.
6909         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6910         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6911         * math/auto-libm-test-in: Do not mark underflow exceptions as
6912         possibly missing for bug 15319.  Add more tests of atan2.
6913         * math/auto-libm-test-out: Regenerated.
6914         * math/libm-test.inc (casin_test_data): Do not mark underflow
6915         exceptions as possibly missing for bug 15319.
6916         (casinh_test_data): Likewise.
6917         * sysdeps/i386/fpu/libm-test-ulps: Update.
6919 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
6921         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6922         * sysdeps/mips/bits/endian.h: Fix comments.
6924 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6926         [BZ #17996]
6927         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6928         (hdestroy_r): Likewise.
6929         (hsearch_r): Likewise.
6930         (__hcreate_r): Declare and use libc_hidden_proto.
6931         (__hdestroy_r): Likewise.
6932         (__hsearch_r): Likewise.
6933         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6934         (hcreate): Call __hcreate_r instead of hcreate_r.
6935         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6936         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6937         as weak alias of __hcreate_r.
6938         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6939         __hdestroy_r.
6940         (hsearch_r): Rename to __hsearch_r and define as weak alias of
6941         __hsearch_r.
6942         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6943         Remove variable.
6944         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6945         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6946         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6947         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6949 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6951         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6952         arena_lock into a single arena_get.
6954 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
6956         * dl-reloc.c: Inlucde libc-internal.h.
6957         (_dl_try_allocate_static_tls): Call ALIGN_UP.
6958         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6959         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6960         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6961         (grow_heap): Likewise.
6962         * malloc/malloc.c: Include libc-internal.h.
6963         (do_check_malloc): Call powerof2.
6964         (sysmalloc): Use pagesize. Call ALIGN_UP.
6965         (systrim): Use pagesize.
6966         (mremap_chunk): Use pagesize. Call ALIGN_UP.
6967         (__libc_valloc): Use pagesize.
6968         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6970 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6972         [BZ #17991]
6973         * include/sys/resource.h (__getrlimit64): Declare.  Use
6974         libc_hidden_proto.
6975         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6976         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
6977         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6978         getrlimit64.
6979         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
6980         __getrlimit64.
6981         [!getrlimit64] (getrlimit64): Define as weak alias of
6982         __getrlimit64.  Use libc_hidden_weak.
6983         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
6984         using __getrlimit64 not __new_getrlimit64.
6985         (__GI_getrlimit64): Likewise.
6986         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
6987         Likewise.
6988         (__GI_getrlimit64): Likewise.
6989         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
6990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
6991         (getrlimit): Add __getrlimit64 alias.
6992         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
6993         Likewise.
6994         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
6995         Remove variable.
6996         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6997         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6999 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7001         * libio/fileops.c: Add missing sys/mman.h
7002         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7004 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7006         * manual/math.texi (Errors in Math Functions): Clarify goals
7007         regarding inexact and underflow exceptions.
7009 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7011         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7012         * sysdeps/mips/memset.S: Ditto.
7014 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7016         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7018 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7020         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7021         (__v1longjmp): Remove versioned symbol.
7022         (__v1siglongjmp): Remove alias and versioned symbol.
7023         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7024         (__v2siglongjmp): Likewise.
7026 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7028         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7030 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7032         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7034 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7036         [BZ #17987]
7037         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7038         zero result does not depend on the sign resulting from
7039         subtraction.
7040         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7041         Likewise.
7042         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7043         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7044         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7045         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7046         * math/libm-test.inc (remquo_test_data): Add more tests.
7048 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7050         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7051         Problem reported by J William Piggott.
7053 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7055         [BZ #17978]
7056         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7057         products 4 * y and 2 * y where those would overflow.
7058         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7059         Likewise.
7060         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7061         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7062         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7063         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7064         * math/libm-test.inc (remquo_test_data): Add more tests.
7066         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7068         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7069         [defined _COMPILING_NEWLIB].
7070         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7071         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7073         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7074         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7076 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7078         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7079         acquired.
7081 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7083         [BZ #17792]
7084         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7085         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7086         HOST_STACK_END_ADDR): Likewise.
7088 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7090         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7091         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7092         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7094 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7096         * sysdeps/generic/c++-types.data: New file.
7097         * sysdeps/generic/ld.abilist: New file.
7098         * sysdeps/generic/libBrokenLocale.abilist: New file.
7099         * sysdeps/generic/libanl.abilist: New file.
7100         * sysdeps/generic/libc.abilist: New file.
7101         * sysdeps/generic/libcrypt.abilist: New file.
7102         * sysdeps/generic/libdl.abilist: New file.
7103         * sysdeps/generic/libm.abilist: New file.
7104         * sysdeps/generic/libpthread.abilist: New file.
7105         * sysdeps/generic/libresolv.abilist: New file.
7106         * sysdeps/generic/librt.abilist: New file.
7108 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7110         [BZ #17569]
7111         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7112         Compute absolute value of x as modified by fmod, not original
7113         value of x.
7114         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7115         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7116         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7117         RUN_TEST_ffI_f1_mod8.
7118         (remquo_test_data): Add more tests.
7120 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7122         * sysdeps/init_array/pt-crti.S: New file.
7124 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7126         [BZ #17967]
7127         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7128         __builtin_fmaf instead of relying on contraction of a * b + c.
7130 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7132         [BZ #17969]
7133         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7134         node.
7136 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7138         [BZ #17964]
7139         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7140         __builtin_fma instead of relying on contraction of a * b + c.
7142 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7144         * Makeconfig (ASFLAGS): Add -Werror=undef.
7145         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7146         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7147         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7149         * Makeconfig (after-link): New variable.
7150         (+link-pie, +link-pie-tests): Use it.
7151         (+link-static, +link-static-tests): Likewise.
7152         (+link, +link-tests): Likewise.
7153         * Makerules (build-module, build-module-asneeded): Likewise.
7154         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7155         Likewise.
7156         * elf/Makefile ($(objpfx)ld.so): Likewise.
7158 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7160         [BZ #17965]
7161         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7162         both struct timeval and struct timespec.
7164 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7166         [BZ #16560]
7167         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7168         and redefine.
7169         (__ieee754_exp2l): Do not multiply small fractional parts by
7170         M_LN2l.
7171         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7172         small argument.
7173         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7174         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7175         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7176         * math/auto-libm-test-in: Add more tests of exp2.
7177         * math/auto-libm-test-out: Regenerated.
7179 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7181         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7182         unaligned path.
7184 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7186         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7187         little endian.
7189 2015-02-12  Andreas Schwab  <schwab@suse.de>
7191         [BZ #15790]
7192         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7193         Filter out elision flags from value returned in kind.
7194         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7195         * nptl/tst-pthread-mutexattr.c: New file.
7197 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7199         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7200         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7201         into gnu-gnu, and update comment to refer to abi-tags.
7203 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7205         [BZ #15467]
7206         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7207         (__sincos): Set errno to EDOM for infinite argument.
7208         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7209         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7210         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7211         (__sincosl): Set errno to EDOM for infinite argument.
7212         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7213         (__sincosl): Set errno to EDOM for infinite argument.
7214         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7215         (__sincosl): Set errno to EDOM for infinite argument.
7216         * math/libm-test.inc (sincos_test_data): Test errno setting.
7218 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7220         * string/strxfrm_l.c: Remove #define STRCMP.
7221         * string/strcoll_l.c: Remove #define STRLEN.
7222         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7223         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7225 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7227         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7228         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7229         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7230         * sysdeps/mips/mips64/Makefile: ... here.
7231         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7232         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7233         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7234         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7235         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7236         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7237         * sysdeps/mips/mips64/n64/Implies: Likewise.
7239 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7241         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7242         <sys/time.h>, <string.h>, and <errno.h>.
7243         (dest_offset, dest_address, value, zero): Remove unused variables.
7244         (ldouble): Remove typedef.
7245         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7246         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7247         1).  Fix code style.
7248         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7249         (check): Function removed.
7250         (CHECK): New macro.
7251         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7252         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7253         Don't call set_sigaction_FP and remove_sigaction_FP here.
7254         (ldouble_test): Just use 'long double' as macro argument, no need for
7255         the 'ldouble' typedef.
7256         (do_test): Set up SIGFPE handler at start, using plain signal rather
7257         than sigaction.  Fix code style.
7259 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7261         [BZ #17949]
7262         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7263         jump label.
7265 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7267         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7268         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7270         * sysdeps/powerpc/configure.ac: Remove file.
7271         * sysdeps/powerpc/configure: Likewise.
7273         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7274         [sysdep_routines]: Remove wordcopy-power6 object.
7275         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7276         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7277         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7278         (__memmove_ppc32): Likewise.
7279         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7280         file.
7281         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7282         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7283         Remove preprocessor.
7285         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7286         [sysdep_routines]: Remove wide chars objects.
7287         [wcsmbs]: New rule for wide char objects.
7289         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7290         Remove wordcopy-power6 obejct.
7291         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7292         Use local call for wordcopy and memcpy symbols.
7293         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7294         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7295         implementation for loader.
7296         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7298         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7299         Remove wordcopy-power7 object.
7300         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7301         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7302         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7303         (_wordcopy_fwd_dest_aligned): Likewise.
7304         (_wordcopy_bwd_aligned): Likewise.
7305         (_wordcopy_bwd_dest_aligned): Likewise.
7307         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7308         Rewrite to call __memmove_ppc instead of include default
7309         implementation.
7311         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7312         Remove wide chars objects.
7313         [wcsmbs]: New rule for wide char objects.
7315 2015-02-09  Andreas Schwab  <schwab@suse.de>
7317         [BZ #17912]
7318         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7319         in terms of __O_DIRECTORY.
7321 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7323         * time/getdate.c: Include <stdbool.h>.
7324         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7325         call PTR_MANGLE.
7326         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7327         PTR_DEMANGLE.
7329 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7331         Add ersatz _Static_assert on older C hosts
7332         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7333         pre-C11 C platform that is not known to support _Static_assert.
7335 2015-02-07  Richard Braun  <rbraun@sceen.net>
7337         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7338         sigstate.
7339         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7341 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7343         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7344         priority against unexistent AIO_PRIO_DELTA_MAX.
7345         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7346         instead of int.
7347         * misc/fchflags.c (fchflags): Likewise.
7348         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7349         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7350         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7351         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7352         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7353         Declare macros.
7354         [__USE_MISC] (chflags, fchflags): Declare functions.
7355         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7356         EINVAL when nfds is greater than FD_SETSIZE.
7357         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7358         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7359         45.
7360         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7361         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7362         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7363         MACH_RCV_TIMED_OUT.
7364         * hurd/hurd/signal.h (_hurd_self_sigstate,
7365         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7366         Explicit casts from void *.
7367         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7368         * abi-tags: Rename gnu-gnu os into gnu.
7370         [BZ #4719]
7371         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7372         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7373         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7374         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7375         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7376         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7378         [BZ #17944]
7379         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7380         duplicates ADDR->sun_path with sockaddr LEN limitation.
7381         * sysdeps/mach/hurd/connect.c: Include <string.h>
7382         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7383         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7384         * sysdeps/mach/hurd/sendto.c: Likewise.
7385         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7386         implementing it by hand.
7388 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7390         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7391         Use sfi_breg on ldr.
7392         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7393         Likewise.
7395         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7396         it's defined.
7397         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7398         Test SIGSETXID only if it's defined.
7400         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7402         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7403         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7405         * nptl/tst-align2.c: Moved ...
7406         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7407         * nptl/Makefile (tests): Remove tst-align2.
7408         * sysdeps/unix/sysv/linux/Makefile
7409         [$(subdir) = nptl] (tests): Add tst-align-clone.
7410         * nptl/tst-getpid1.c: Moved ...
7411         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7412         * nptl/tst-getpid2.c: Moved ...
7413         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7414         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7415         * sysdeps/unix/sysv/linux/Makefile
7416         [$(subdir) = nptl] (tests): ... here.
7417         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7418         * sysdeps/unix/sysv/linux/Makefile
7419         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7421         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7422         Drop trailing \n from perror argument.  Use return rather than exit.
7424         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7425         on [SA_SIGINFO].
7426         * nptl/tst-cancel21.c (do_test): Likewise.
7427         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7428         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7429         [!SA_SIGINFO]: Make it a stub test.
7431         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7432         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7434         * posix/tst-getlogin.c: Move to ...
7435         * login/tst-getlogin.c: ... here.
7436         * posix/Makefile (tests): Move tst-getlogin to ...
7437         * login/Makefile (tests): ... here.
7439         * libio/tst-atime.c (do_test): Move local variables SV and E
7440         inside [ST_NOATIME] conditional.
7442         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7444         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7446         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7447         (wait_code): New function replaces macro.
7448         Call nanosleep rather than syscall.
7450         * nptl/pt-system.c: Rewritten.  Put everything under
7451         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7452         Use IFUNC to redirect when possible.
7454         * nptl/pt-longjmp.c: Rewritten.  Put everything under
7455         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7456         Use IFUNC to redirect when possible.
7458         * nptl/pt-fork.c: Rewritten.  Put everything under
7459         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7460         Use IFUNC to redirect when possible.
7461         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7463         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7464         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7465         unconditionally nowadays.  This included the only reference to
7466         __vdso_clock_gettime that appears outside libc proper.
7467         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7468         Remove version set (containing only __vdso_clock_gettime).
7469         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7470         Add attribute_hidden.
7471         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7472         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7473         libc_hidden_data_def.
7474         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7475         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7477         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7478         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7479         setrpcent, and getrpcport to ...
7480         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7481         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7482         getrpcbynumber_r, and getrpcent_r to ...
7483         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7484         * inet/getrpcbyname.c: Moved ...
7485         * sunrpc/getrpcbyname.c: ... here.
7486         * inet/getrpcbyname_r.c: Moved ...
7487         * sunrpc/getrpcbyname_r.c: ... here.
7488         * inet/getrpcbynumber.c: Moved ...
7489         * sunrpc/getrpcbynumber.c: ... here.
7490         * inet/getrpcbynumber_r.c: Moved ...
7491         * sunrpc/getrpcbynumber_r.c: ... here.
7492         * inet/getrpcent.c: Moved ...
7493         * sunrpc/getrpcent.c: ... here.
7494         * inet/getrpcent_r.c: Moved ...
7495         * sunrpc/getrpcent_r.c: ... here.
7496         * inet/Makefile (routines): Move those to ...
7497         * sunrpc/Makefile (routines): ... here.
7498         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7499         the $(subdirs) list.
7500         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
7501         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7502         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7503         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7505         * elf/Makefile (routines): Include $(all-dl-routines), not just
7506         $(dl-routines).
7507         (rtld-routines): Likewise.  Use = rather than :=.
7508         * sysdeps/aarch64/Makefile [$(subdir) = elf]
7509         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7510         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7511         * sysdeps/arm/Makefile: Likewise.
7512         * sysdeps/i386/Makefile: Likewise.
7513         * sysdeps/x86_64/Makefile: Likewise.
7514         * sysdeps/hppa/Makefile [$(subdir) = elf]
7515         (sysdep_routines, sysdep-rtld-routines): Don't add
7516         $(sysdep-dl-routines) to these.
7517         * sysdeps/ia64/Makefile: Likewise.
7518         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7519         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7520         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7521         Don't add dl-static to these; sysdep-dl-routines alone is enough.
7522         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7523         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7524         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7525         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7526         * sysdeps/powerpc/Makefile [$(subdir) = elf]
7527         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7528         these; sysdep-dl-routines alone is enough.
7530 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
7532         [BZ #17932]
7533         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7534         where multiplication results in zero and third argument is finite
7535         and nonzero.
7536         * math/auto-libm-test-in: Add more tests of fma.
7537         * math/auto-libm-test-out: Regenerated.
7539         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7540         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7541         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7542         (_FP_CMP_EQ): Likewise.
7543         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7545         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7546         extra argument CHECK_NAN.  Redefine as wrapper around
7547         _FP_EXTEND_CNAN.
7549 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
7551         * version.h (RELEASE): Set to "stable".
7552         (VERSION): Set to "2.21"
7553         * include/features.h (__GLIBC_MINOR__): Set to 21.
7555         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7557 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7558             Paul Eggert  <eggert@cs.ucla.edu>
7560         [BZ #16618]
7561         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7562         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7563         size in bytes. Store needed elements in wpmax. Use needed size
7564         in bytes for extend_alloca.
7566 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
7568         * manual/install.texi: Latest tested versions are GCC 4.9.2,
7569         binutls 2.25, and texinfo 5.2.
7570         * INSTALL: Regenerate.
7571         * sysdeps/nios2/configure: Regenerate.
7572         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7573         * manual/contrib.texi: Update.
7574         * po/be.po: Update.
7575         * po/bg.po: Update.
7576         * po/ca.po: Update.
7577         * po/cs.po: Update.
7578         * po/da.po: Update.
7579         * po/de.po: Update.
7580         * po/el.po: Update.
7581         * po/eo.po: Update.
7582         * po/es.po: Update.
7583         * po/fi.po: Update.
7584         * po/fr.po: Update.
7585         * po/gl.po: Update.
7586         * po/hr.po: Update.
7587         * po/hu.po: Update.
7588         * po/ia.po: Update.
7589         * po/id.po: Update.
7590         * po/it.po: Update.
7591         * po/ja.po: Update.
7592         * po/ko.po: Update.
7593         * po/lt.po: Update.
7594         * po/nb.po: Update.
7595         * po/nl.po: Update.
7596         * po/pl.po: Update.
7597         * po/pt_BR.po: Update.
7598         * po/ru.po: Update.
7599         * po/rw.po: Update.
7600         * po/sk.po: Update.
7601         * po/sl.po: Update.
7602         * po/sv.po: Update.
7603         * po/tr.po: Update.
7604         * po/uk.po: Update.
7605         * po/vi.po: Update.
7606         * po/zh_CN.po: Update.
7607         * po/zh_TW.po: Update.
7609         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
7610         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
7611         * sysdeps/hppa/dl-irel.h: Remove #warning.
7612         * sysdeps/hppa/entry.h: Provide prototype for
7613         __canonicalize_funcptr_for_compare and cast argument.
7614         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
7615         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
7616         * sysdeps/hppa/sotruss-lib.c: New file.
7617         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
7618         (atomic_compare_and_exchange_val_acq): Use __typeof__.
7619         (atomic_compare_and_exchange_bool_acq): Likewise.
7620         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
7621         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
7623         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
7624         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
7625         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
7627 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7629         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
7630         called function in non-PIC case.
7632 2015-01-31  David S. Miller  <davem@davemloft.net>
7634         * sysdeps/sparc/sparc32/bits/atomic.h
7635         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
7636         unlock not after it.
7637         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7638         volatile register usage warnings from the compiler.
7640         * sysdeps/sparc/nptl/sem_init.c: Delete.
7641         * sysdeps/sparc/nptl/sem_post.c: Delete.
7642         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
7643         * sysdeps/sparc/nptl/sem_wait.c: Delete.
7644         * sysdeps/sparc/sparc32/sem_init.c: New file.
7645         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
7646         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
7647         padding explicitly initialized.
7648         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
7649         padding for in-semaphore spinlock.
7650         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
7651         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
7652         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
7653         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
7654         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
7655         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
7656         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
7657         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
7658         version.
7659         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
7660         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
7662 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7664         [BZ #17801]
7665         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7666         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7667         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7668         New.
7669         (index_AVX_Fast_Unaligned_Load): Likewise.
7670         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7671         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7672         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7673         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7674         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7675         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7676         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7677         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7678         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7680 2015-01-29  Andreas Schwab  <schwab@suse.de>
7682         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7684 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
7686         [BZ #17892]
7687         * nscd/nscd_stat.c (send_stats): Initialize DATA.
7689 2015-01-28  Martin Sebor  <msebor@redhat.com>
7691         * math/README.libm-test: Clarify. Add "How to read the test output."
7693 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
7695         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7696         Define to 0.
7698 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
7700         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7701         (__HAVE_64B_ATOMICS): Define to 0.
7703 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7705         [BZ #17885]
7706         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7707         value to set as new flag.
7709         [BZ #16576]
7710         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7711         and use _ARCH_PPCSQ instead.
7712         (__ieee754_sqrt): Likewise.
7713         (__ieee754_sqrtf): Likewise.
7714         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7715         _ARCH_PPCSQ is defined.
7716         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7717         fsqrt instruction.
7718         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7719         _ARCH_PPCSQ is defined.
7720         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7721         fsqrts instruction.
7722         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7724 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7726         * iconv/loop.c: Suppress array out of bound warning caused by GCC
7727         bug (GCC BZ #64739).
7729 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
7731         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7732         Mark _retval as used.
7733         (lll_futex_wake_unlock): Likewise.
7734         (lll_futex_timed_wait_requeue_pi): Likewise.
7736         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7737         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7738         register variables.
7740         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7741         libm_hidden_def.
7743         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7744         (__bswap_64): Mark as __always_inline.
7746 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7748         [BZ #15378]
7749         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7750         when none of the search directories exist.
7752 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7754         [BZ #17869]
7755         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7756         power8 in .machine directive.
7758         [BZ #17868]
7759         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7760         set dependency from opd value.
7762 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7764         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7765         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7766         architecture.
7768 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7770         [BZ #17870]
7771         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7772         with uint64_t.
7773         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7774         (uint64_t) 1.
7775         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7776         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7777         Replace 1UL with (uint64_t) 1.
7778         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7779         int with uint64_t.
7781 2015-01-23  Roland McGrath  <roland@hack.frob.com>
7783         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7784         (if_freenameindex): Likewise.
7786         * resource/getrlimit64.c: Add missing libc_hidden_def.
7788 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
7790         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7791         __label__.
7792         (_FP_FMA): Likewise.
7793         (_FP_TO_INT_ROUND): Likewise.
7794         (_FP_FROM_INT): Likewise.
7796 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7798         [BZ #16418]
7799         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7800         Make code racy and cancel safe.
7802 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
7804         * sysdeps/arm/unwind-resume.h: Fix copyright year.
7805         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7806         attribution.
7808         * pwd/tst-getpw.c: Rewrite.
7810         [BZ #17702]
7811         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7812         (modules-names): Add moddummy1 and moddummy2.
7813         ($(objpfx)tst-rec-dlopen): Define.
7814         * dlfcn/moddummy1.c: New file.
7815         * dlfcn/moddummy2.c: New file.
7816         * dlfcn/tst-rec-dlopen.c: New file.
7817         * elf/dl-cache.c (_dl_load_cache_lookup):
7818         Return char*. Copy result with alloca/strcpy/strdup.
7819         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7820         returns char*. Free cached. If not saving realname
7821         free cached.
7822         * elf/dl-open.c (dl_open_worker): Do not assert that
7823         _r_debug->r_state is RT_CONSISTENT.
7824         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7825         returns char*.
7827 2015-01-21  Torvald Riegel  <triegel@redhat.com>
7828             Carlos O'Donell  <carlos@redhat.com>
7830         [BZ #12674]
7831         * nptl/sem_waitcommon.c: New file.
7832         * nptl/sem_wait.c: Include sem_waitcommon.c.
7833         (__sem_wait_cleanup, do_futex_wait): Remove.
7834         (__new_sem_wait): Adapt.
7835         (__new_sem_trywait): New function.
7836         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7837         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7838         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7839         (sem_timedwait): Adapt.
7840         * nptl/sem_post.c (__new_sem_post): Adapt.
7841         (futex_wake): New function.
7842         (__old_sem_post): Add release MO fence.
7843         * nptl/sem_open.c (sem_open): Adapt.
7844         * nptl/sem_init.c (__new_sem_init): Adapt.
7845         (futex_private_if_supported): New function.
7846         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7847         (__old_sem_getvalue): Add using previous code.
7848         * sysdeps/nptl/internaltypes.h: Adapt.
7849         * nptl/tst-sem13.c (do_test): Adapt.
7850         * nptl/tst-sem11.c (main): Adapt.
7851         * nptl/sem_trywait.c: Remove.
7852         * nptl/DESIGN-sem.txt: Remove.
7853         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7854         (gen-as-const-headers): Remove structsem.sym.
7855         * nptl/structsem.sym: Remove.
7856         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7857         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7858         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7859         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7860         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7861         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7862         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7863         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7864         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7865         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7866         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7867         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7868         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7869         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7870         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7871         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7872         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7873         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7874         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7875         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7876         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7877         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7879 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
7881         * INSTALL: Regenerated.
7883         * po/libc.pot: Regenerated.
7885 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
7886             Sandra Loosemore  <sandra@codesourcery.com>
7887             Andrew Jenner  <andrew@codesourcery.com>
7888             Joseph Myers  <joseph@codesourcery.com>
7889             Nathan Sidwell  <nathan@codesourcery.com>
7891         * NEWS: Mention new Nios II port.
7892         * sysdeps/nios2/Implies: New file.
7893         * sysdeps/nios2/Makefile: New file.
7894         * sysdeps/nios2/Subdirs: New file.
7895         * sysdeps/nios2/Versions: New file.
7896         * sysdeps/nios2/__longjmp.S: New file.
7897         * sysdeps/nios2/abort-instr.h: New file.
7898         * sysdeps/nios2/backtrace.c: New file.
7899         * sysdeps/nios2/bits/endian.h: New file.
7900         * sysdeps/nios2/bits/fenv.h: New file.
7901         * sysdeps/nios2/bits/link.h: New file.
7902         * sysdeps/nios2/bits/setjmp.h: New file.
7903         * sysdeps/nios2/bsd-_setjmp.S: New file.
7904         * sysdeps/nios2/bsd-setjmp.S: New file.
7905         * sysdeps/nios2/configure: New generated file.
7906         * sysdeps/nios2/configure.ac: New file.
7907         * sysdeps/nios2/crti.S: New file.
7908         * sysdeps/nios2/crtn.S: New file.
7909         * sysdeps/nios2/dl-init.c: New file.
7910         * sysdeps/nios2/dl-machine.h: New file.
7911         * sysdeps/nios2/dl-sysdep.h: New file.
7912         * sysdeps/nios2/dl-tls.h: New file.
7913         * sysdeps/nios2/dl-trampoline.S: New file.
7914         * sysdeps/nios2/gccframe.h: New file.
7915         * sysdeps/nios2/gmp-mparam.h: New file.
7916         * sysdeps/nios2/jmpbuf-offsets.h: New file.
7917         * sysdeps/nios2/jmpbuf-unwind.h: New file.
7918         * sysdeps/nios2/ldsodefs.h: New file.
7919         * sysdeps/nios2/libc-tls.c: New file.
7920         * sysdeps/nios2/libm-test-ulps: New file.
7921         * sysdeps/nios2/machine-gmon.h: New file.
7922         * sysdeps/nios2/math-tests.h: New file.
7923         * sysdeps/nios2/math_private.h: New file.
7924         * sysdeps/nios2/memusage.h: New file.
7925         * sysdeps/nios2/nptl/Makefile: New file.
7926         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7927         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7928         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7929         * sysdeps/nios2/nptl/pthreaddef.h: New file.
7930         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7931         * sysdeps/nios2/nptl/tls.h: New file.
7932         * sysdeps/nios2/preconfigure: New file.
7933         * sysdeps/nios2/s_fma.c: New file.
7934         * sysdeps/nios2/s_fmaf.c: New file.
7935         * sysdeps/nios2/setjmp.S: New file.
7936         * sysdeps/nios2/sfp-machine.h: New file.
7937         * sysdeps/nios2/sotruss-lib.c: New file.
7938         * sysdeps/nios2/stackguard-macros.h: New file.
7939         * sysdeps/nios2/stackinfo.h: New file.
7940         * sysdeps/nios2/start.S: New file.
7941         * sysdeps/nios2/sysdep.h: New file.
7942         * sysdeps/nios2/tls-macros.h: New file.
7943         * sysdeps/nios2/tst-audit.h: New file.
7944         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7945         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7946         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7947         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7948         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7949         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7950         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7951         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7952         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7953         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7954         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7955         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7956         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7957         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7958         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7959         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7960         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7961         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7962         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7963         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7964         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7965         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7966         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7967         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7968         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7969         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7970         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7971         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7972         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7973         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7974         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7975         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7976         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7977         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7978         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7979         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
7980         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
7981         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
7982         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
7983         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
7984         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
7985         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
7986         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
7987         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
7989 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7991         [BZ #17844]
7992         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
7993         (getutent): Use weak_alias in non SHARED case
7994         and default_symbol_version in SHARED case.
7995         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
7996         (getutent_r, pututline): Likewise.
7997         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
7998         (getutid): Likewise.
7999         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8000         (getutid_r): Likewise.
8001         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8002         (getutline): Likewise.
8003         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8004         (getutline_r): Likewise.
8005         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8006         (updwtmp): Likewise.
8008 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8010         [BZ #17848]
8011         * sysdeps/s390/s390-32/memcmp.S
8012         (memcmp_g5): Rename to __memcmp_g5.
8013         * sysdeps/s390/s390-32/memcpy.S
8014         (memcpy_g5): Rename to __memcpy_g5.
8015         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8016         (memcpy_mvcle) Rename to __memcpy_mvcle.
8017         * sysdeps/s390/s390-32/memset.S
8018         (memset_g5): Rename to __memset_g5.
8019         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8020         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8021         and use prefixed functions.
8022         * sysdeps/s390/s390-32/multiarch/memcmp.S
8023         (memcmp_z196): Rename to __memcmp_z196.
8024         (memcmp_z10): Rename to __memcmp_z10.
8025         (memcmp): Set alias to __memcmp_g5.
8026         (bcmp): Set alias to __memcmp_g5.
8027         * sysdeps/s390/s390-32/multiarch/memcpy.S
8028         (memcpy_z196): Rename to __memcpy_z196.
8029         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8030         (memcpy_z10): Rename to __memcpy_z10.
8031         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8032         (memcpy): Set alias to __memcpy_g5.
8033         * sysdeps/s390/s390-32/multiarch/memset.S
8034         (memset_z196): Rename to __memset_z196.
8035         Jump to __memset_mvcle instead of memset_mvcle.
8036         (memset_z10): Rename to __memset_z10.
8037         Jump to __memset_mvcle instead of memset_mvcle.
8038         (memset_mvcle) Rename to __memset_mvcle.
8039         (memset): Set alias to __memset_g5.
8040         * sysdeps/s390/s390-64/memcmp.S
8041         (memcmp_z900): Rename to __memcmp_z900.
8042         * sysdeps/s390/s390-64/memcpy.S
8043         (memcpy_z900): Rename to __memcpy_z900.
8044         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8045         (memcpy_mvcle) Rename to __memcpy_mvcle.
8046         * sysdeps/s390/s390-64/memset.S
8047         (memset_z900): Rename to __memset_z900.
8048         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8049         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8050         and use prefixed functions.
8051         * sysdeps/s390/s390-64/multiarch/memcmp.S
8052         (memcmp_z196): Rename to __memcmp_z196.
8053         (memcmp_z10): Rename to __memcmp_z10.
8054         (memcmp): Set alias to __memcmp_z900.
8055         (bcmp): Set alias to __memcmp_z900.
8056         * sysdeps/s390/s390-64/multiarch/memcpy.S
8057         (memcpy_z196): Rename to __memcpy_z196.
8058         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8059         (memcpy_z10): Rename to __memcpy_z10.
8060         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8061         (memcpy): Set alias to __memcpy_z900.
8062         * sysdeps/s390/s390-64/multiarch/memset.S
8063         (memset_z196): Rename to __memset_z196.
8064         Jump to __memset_mvcle instead of memset_mvcle.
8065         (memset_z10): Rename to __memset_z10.
8066         Jump to __memset_mvcle instead of memset_mvcle.
8067         (memset_mvcle) Rename to __memset_mvcle.
8068         (memset): Set alias to __memset_z900.
8070 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8072         [BZ #17748]
8073         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8074         __fesetenv instead of fesetenv.
8076 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8078         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8079         macro.
8081 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8083         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8084         regression on LE.
8086         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8087         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8088         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8089         strncmp-power8 object.
8090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8091         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8092         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8093         * NEWS: Update.
8095 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8096             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8098         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8099         trailing byte check.
8101 2015-01-13  David S. Miller  <davem@davemloft.net>
8103         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8105 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8107         * login/logout.c (logout): Use memset rather than bzero.
8108         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8109         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8110         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8111         (_gethtbyaddr): Likewise.
8112         * locale/programs/simple-hash.c (bcopy): Macro removed.
8114 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8116         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8117         Add strcmp-power8 object.
8118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8119         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8120         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8121         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8122         __strcmp_power8 implementation.
8123         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8124         * NEWS: Update.
8126         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8127         Add strncpy-power8 and stpncpy-power8 objects.
8128         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8129         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8130         implementations.
8131         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8132         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8133         __stpncpy_power8 implementation.
8134         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8135         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8136         __strncpy_power8 implementation.
8137         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8138         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8139         * NEWS: Update.
8141         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8142         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8143         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8145         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8146         strncat-power8 object.
8147         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8148         __strcat_power8 implementation.
8149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8150         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8151         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8152         optimized strcat for power8.
8154         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8155         strcpy-power8 and stpcpy-power8 objects.
8156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8157         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8158         implementations.
8159         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8160         multiarch stpcpy implementation for POWER8.
8161         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8162         multiarch strcpy implementation for POWER8.
8163         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8164         __strcpy_power8 function.
8165         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8166         stpcpy for POWER8.
8167         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8168         strcpy for POWER8.
8169         * NEWS: Update.
8171 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8173         [BZ #16009]
8174         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8175         weights and rules. Use do_xfrm_cached if data fits in cache,
8176         do_xfrm otherwise.  Moved former main loop to...
8177         * (do_xfrm_cached): New function.
8178         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8179         find_idx, find_position and stack_push.
8180         * (find_idx): New function.
8181         * (find_position): Likewise.
8182         * localedata/sort-test.sh: Added test run for do_xfrm.
8183         * localedata/xfrm-test.c (main): Added command line option
8184         -nocache to run the test with strings that are too large for
8185         the STRXFRM cache.
8187 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8189         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8190         variable to lll_futex_wake call, not the value itself.
8192 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8194         [BZ #17803]
8195         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8196         twom64.  Adjust value to 0x1p-64L.
8197         (__scalblnl): Only return standard underflowing result for K <=
8198         -64 not K <= -63; adjust exponent for underflowing result by 64
8199         not 63.
8200         * math/libm-test.inc (scalbn_test_data): Add more tests.
8201         (scalbln_test_data): Likewise.
8203         [BZ #17834]
8204         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8205         0x1p63L.
8206         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8207         not HX.
8208         * math/libm-test.inc (scalbn_test_data): Add more tests.
8209         (scalbln_test_data): Likewise.
8211 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8212             Stefani Seibold  <stefani@seibold.net>
8214         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8215         (sysdep_routines): Add dl-vdso here, ...
8216         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8217         (sysdep_routines): ... not here.
8218         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8219         fallback when vDSO is not presented.
8220         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8221         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8222         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8223         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8224         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8225         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8226         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8227         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8228         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8229         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8230         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8231         fallback configurable symbol when vDSO is not available.
8232         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8233         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8234         be able to redefine fallback symbol when vDSO is not available.
8235         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8236         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8238 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8240         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8241         (TLS_INIT_TP): Add tm_capable initialization.
8242         (TLS_DEFINE_INIT_TP): Likewise.
8243         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8244         TCB.
8245         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8246         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8247         calculation.
8248         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8249         transactoion is lock elision is built and TCB tm_capable is set.
8250         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8252         (INTERNAL_SYSCALL_NCS): Likewise.
8253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8254         (INTERNAL_SYSCALL_NCS): Likewise.
8255         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8257         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8258         for powerpc.
8259         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8260         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8261         and remove it for 32 bits case.
8262         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8263         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8264         initialization.
8265         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8266         Disable lock elision with rdlocks if elision is not available.
8268         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8269         (sysdep_routines): Add lock elision objects.
8270         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8271         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8272         [pthread_mutex_t] (__elision): Add field.
8273         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8274         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8275         elision definitions for powerpc.
8276         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8277         implementation of lock elision for powerpc.
8278         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8279         implementation of timed lock elision for powerpc.
8280         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8281         implementation of trylock with lock elision for powerpc.
8282         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8283         implementaion of unlock for lock elision for powerpc.
8284         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8285         automatic enable lock elision for mutexes.
8286         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8287         transaction execution definitions for powerpc.
8288         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8289         definitions.
8290         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8291         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8292         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8293         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8294         * NEWS: Update.
8296 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8298         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8299         for #include of <shm-directory.h>.
8301 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8303         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8304         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8306 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8308         [BZ #17791]
8309         * NEWS: Mention bug fix.
8310         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8311         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8312         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8314 2015-01-09  Torvald Riegel <triegel@redhat.com>
8316         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8318 2015-01-09  Torvald Riegel <triegel@redhat.com>
8320         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8322 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8324         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8325         pointer and cast to uintptr_t.
8327 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8329         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8330         removed.
8331         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8333 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8335         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8336         of 0.
8338 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8340         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8341         <nptl/pthreadP.h> instead.
8342         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8344         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8345         already defined.
8346         [__SIGRTMIN] (init): Function removed.
8347         [__SIGRTMIN] (initialized): Variable removed.
8348         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8349         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8350         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8351         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8352         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8353         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8354         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8355         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8356         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8357         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8358         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8359         * sysdeps/nptl/allocrtsig.c: New file.
8360         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8361         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8362         * sysdeps/generic/testrtsig.h: File removed.
8364         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8365         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8367         * nptl/nptl-init.c (pthread_functions): Conditionalize
8368         .ptr__nptl_setxid initialization on [SIGSETXID].
8370         * sysdeps/nptl/sys/procfs.h: New file.
8371         * nptl_db/Makefile (headers): Add it.
8372         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8374         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8375         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8376         * nptl/pthread_attr_setaffinity.c: Include it.
8377         * nptl/pthread_setattr_default_np.c: Likewise.
8378         * nptl/check-cpuset.h: New file.
8380 2015-01-08  Richard Henderson  <rth@redhat.com>
8382         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8383         (CFLAGS-tst-execstack-prog.c): Likewise.
8384         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8386 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8387             Sandra Loosemore  <sandra@codesourcery.com>
8388             Andrew Jenner  <andrew@codesourcery.com>
8389             Joseph Myers  <joseph@codesourcery.com>
8390             Nathan Sidwell  <nathan@codesourcery.com>
8392         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8393         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8394         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8395         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8396         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8397         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8398         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8399         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8400         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8401         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8402         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8403         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8404         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8405         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8406         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8407         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8408         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8410 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8412         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8413         timespec struct member in syscall macro.
8414         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8415         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8416         first timeval struct member in syscall macro.
8417         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8419 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8421         [BZ #17748]
8422         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8423         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8424         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8425         __feupdateenv and define as weak alias of __feupdateenv.  Use
8426         libm_hidden_weak.
8427         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8428         libm_hidden_def.
8429         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8430         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8431         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8432         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8433         libm_hidden_def.
8434         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8435         __feupdateenv and define as weak alias of __feupdateenv.  Use
8436         libm_hidden_weak.
8437         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8438         libm_hidden_def.
8439         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8440         __feupdateenv and define as weak alias of __feupdateenv.  Use
8441         libm_hidden_weak.
8442         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8443         libm_hidden_def.
8444         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8445         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8446         (__feupdateenv): Likewise.
8447         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8448         __feupdateenv and define as weak alias of __feupdateenv.  Use
8449         libm_hidden_weak.
8450         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8451         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8452         libm_hidden_def.
8453         * sysdeps/tile/math_private.h (__feupdateenv): New inline
8454         function.
8455         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8456         libm_hidden_def.
8457         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8458         __feupdateenv instead of feupdateenv.
8459         (default_libc_feupdateenv_test): Likewise.
8460         (libc_feresetround_ctx): Likewise.
8462 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8464         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8465         prototype.
8467 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
8469         * posix/regcomp.c (parse_bracket_exp): Initialize type to
8470         COLL_SYM in a couple of places to avoid uninitialized variable
8471         wanings on tilegx gcc 4.8.2.
8473 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8475         * sysdeps/aarch64/strcpy.S: New file.
8476         * sysdeps/aarch64/stpcpy.S: New file.
8477         * NEWS: Updated.
8479 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8481         * sysdeps/aarch64/strrchr.S: New file.
8482         * NEWS: Updated.
8484 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
8486         [BZ #17658]
8487         * stdlib/setenv.c: Fix memory leak when setting large,
8488         duplicate string.
8490 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
8492         [BZ #17273]
8493         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8494         and tabs from buffer before parsing fstab entry.
8495         * misc/tst-mntent.c (main): Add test for mount entry with
8496         trailing spaces and tabs.
8498 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
8500         [BZ #17748]
8501         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
8502         * math/fesetround.c (fesetround): Rename to __fesetround and
8503         define as weak alias of __fesetround.  Use libm_hidden_weak.
8504         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8505         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8506         * sysdeps/arm/fesetround.c (fesetround): Likewise.
8507         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8508         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8509         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8510         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8511         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8512         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8513         __fesetround_inline.
8514         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8515         __fesetround_inline instead of __fesetround.
8516         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8517         __fesetround and define as weak alias of __fesetround.  Use
8518         libm_hidden_weak.  Call __fesetround_inline instead of
8519         __fesetround.
8520         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8521         __fesetround and define as weak alias of __fesetround.  Use
8522         libm_hidden_weak.
8523         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8524         Likewise.
8525         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8526         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8527         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8528         * sysdeps/tile/math_private.h (__fesetround): New inline function.
8529         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8530         __fesetround and define as weak alias of __fesetround.  Use
8531         libm_hidden_weak.
8532         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8533         __fesetround instead of fesetround.
8534         (default_libc_feholdexcept_setround): Likewise.
8535         (libc_feholdsetround_ctx): Likewise.
8536         (libc_feholdsetround_noex_ctx): Likewise.
8538         [BZ #17748]
8539         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8540         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8541         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8542         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8543         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8544         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8545         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8546         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8547         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8548         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8549         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8550         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8551         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8552         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8553         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8554         libm_hidden_def.
8555         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8556         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8557         Likewise.
8558         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8559         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8560         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8561         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8562         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8563         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8564         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8565         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8566         __fesetenv instead of fesetenv.
8567         (libc_feresetround_noex_ctx): Likewise.
8568         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8569         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8570         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8571         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8572         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8573         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8574         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8575         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8576         (__feupdateenv): Likewise.
8577         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8578         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8579         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8580         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8582 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8584         [BZ #17806]
8585         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8586         addresses have been freed.
8588 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8590         * resolv/res_init.c (__res_vinit): Improve comments about nserv
8591         and nservall.
8593 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
8595         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8596         Clean up check_pf allocation pattern. addresses
8598 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8600         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8601         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8602         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8603         * nptl/pthread_exit.c (__pthread_exit): Likewise.
8604         * nptl/pthread_join.c (pthread_join): Likewise.
8605         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8606         * sysdeps/posix/waitid.c (__waitid): Likewise.
8607         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8608         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8609         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8610         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8611         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8612         Likewise.
8613         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8614         (__libc_pread64): Likewise.
8615         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8616         (__libc_pwrite): Likewise.
8617         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8618         (__libc_pwrite64): Likewsie.
8619         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8620         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8621         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8622         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8623         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8624         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8625         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8627         Likewise.
8628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8629         (__libc_pread64): Likewise.
8630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
8631         Likewise.
8632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8633         (__libc_pwrite64): Likewise.
8634         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8635         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8636         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
8637         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8638         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8639         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8640         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
8641         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8642         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8643         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8644         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
8645         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8646         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8647         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
8648         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8649         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8650         Likewise.
8652 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8654         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
8655         (CFLAGS-test-double.c): Likewise.
8656         (CFLAGS-test-ldouble.c): Likewise.
8657         (CPPFLAGS-test-ifloat.c): Likewise.
8658         (CPPFLAGS-test-idouble.c): Likewise.
8659         (CPPFLAGS-test-ildoubl.c): Likewise.
8660         (CFLAGS-test-test-fenv.c): Remove variable.
8661         (CFLAGS-test-misc.c): Likewise.
8663 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
8665         [BZ #17797]
8666         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8667         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8668         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8669         CLOCKS_PER_SEC == 1000000.
8670         * time/clocktest.c (main): Replace %ld with %jd and cast to
8671         intmax_t.
8673 2015-01-05  Roland McGrath  <roland@hack.frob.com>
8675         * sysdeps/generic/unwind-resume.h: New file.
8676         * sysdeps/gnu/unwind-resume.c: Include it.
8677         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8678         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8679         argument list.
8680         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8681         global rather than static.
8682         (_Unwind_Resume): Update user.
8683         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8684         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
8685         rather than static.  Add __attribute__ ((cold)).
8686         (_Unwind_Resume, __gcc_personality_v0): Update callers.
8687         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8688         * sysdeps/arm/arm-unwind-resume.S: New file.
8689         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8690         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8691         * sysdeps/arm/Makefile [$(subdir) = csu]
8692         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8693         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8694         Add rt-arm-unwind-resume.
8695         [$(subdir) = nptl]
8696         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8697         Add pt-arm-unwind-resume.
8698         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8699         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8701 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8703         [BZ #17748]
8704         * include/fenv.h (__feholdexcept): Declare.  Use
8705         libm_hidden_proto.
8706         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8707         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
8708         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8709         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8710         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8711         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8712         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8713         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8714         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8715         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8716         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8717         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8718         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8719         (feholdexcept): Likewise.
8720         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8721         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8722         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8723         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8724         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8725         __feholdexcept instead of feholdexcept.
8726         (default_libc_feholdexcept_setround): Likewise.
8728 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8730         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8731         to avoid using stl/str to align destination.
8733 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8735         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8737 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8739         [BZ #17796]
8740         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8741         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8742         Define as weak alias not strong alias.
8744 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8746         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8747         bltzal with addiupc.
8748         (RTLD_START): Ditto.
8750 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
8752         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8753         for __vdso_* functions in declarations.
8754         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8755         definitions.
8756         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8757         INTERNAL_VSYSCALL): Use struct return types to check for error.
8759         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8760         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8761         function with cast from llround().
8762         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8763         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8764         Define.
8766 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8768         [BZ #17793]
8769         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8770         Define as weak alias not strong alias.
8772         [BZ #17635]
8773         * ctype/ctype-c99.c: New file.  isblank implementation moved from
8774         ...
8775         * ctype/ctype-extn.c: ... here.
8776         (__isblank_l): Move to ...
8777         * ctype/ctype-c99_l.c: ... here.  New file.
8778         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8779         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8780         Remove variable.
8781         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8782         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8783         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8784         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8785         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8787         [BZ #17777]
8788         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8789         (posix_fadvise64): Define as weak alias not strong alias.
8790         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8791         (posix_fallocate64): Likewise.
8792         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8793         Remove variable.
8794         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8795         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8796         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8797         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8798         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8800 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
8802         [BZ #16191]
8803         * NEWS: Mention bug fix.
8804         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8805         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8806         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8807         (HOST_STACK_END_ADDR): Likewise.
8809 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8811         [BZ #17748]
8812         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
8813         * math/fegetround.c (fegetround): Rename to __fegetround and
8814         define as weak alias of __fegetround.  Use libm_hidden_weak.
8815         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8816         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8817         * sysdeps/arm/fegetround.c (fegetround): Likewise.
8818         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8819         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8820         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8821         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8822         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8823         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8824         Undefine after rather than before function definition; use
8825         parentheses around function name in definition.
8826         (__fegetround): Also undefine macro after function definition.
8827         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8828         __fegetround and define as weak alias of __fegetround.  Use
8829         libm_hidden_weak.  Do not undefine as macro.
8830         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8831         Likewise.
8832         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8833         __fegetround and define as weak alias of __fegetround.  Use
8834         libm_hidden_weak.
8835         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8836         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8837         * sysdeps/tile/math_private.h (__fegetround): New inline function.
8838         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8839         __fegetround and define as weak alias of __fegetround.  Use
8840         libm_hidden_weak.
8841         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8842         __fegetround instead of fegetround.
8844         [BZ #17782]
8845         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8846         Condition macro definition on [__USE_MISC].
8848         [BZ #17781]
8849         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8850         (struct sigaction): Change type of sa_flags field to int.
8852         [BZ #17780]
8853         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8854         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8855         __glibc_reserved0.
8857         * nptl/version.c (banner): Use single year in copyright notice.
8859         * NEWS: Update copyright dates.
8860         * catgets/gencat.c (print_version): Likewise.
8861         * csu/version.c (banner): Likewise.
8862         * debug/catchsegv.sh: Likewise.
8863         * debug/pcprofiledump.c (print_version): Likewise.
8864         * debug/xtrace.sh (do_version): Likewise.
8865         * elf/ldconfig.c (print_version): Likewise.
8866         * elf/ldd.bash.in: Likewise.
8867         * elf/pldd.c (print_version): Likewise.
8868         * elf/sotruss.sh: Likewise.
8869         * elf/sprof.c (print_version): Likewise.
8870         * iconv/iconv_prog.c (print_version): Likewise.
8871         * iconv/iconvconfig.c (print_version): Likewise.
8872         * locale/programs/locale.c (print_version): Likewise.
8873         * locale/programs/localedef.c (print_version): Likewise.
8874         * login/programs/pt_chown.c (print_version): Likewise.
8875         * malloc/memusage.sh (do_version): Likewise.
8876         * malloc/memusagestat.c (print_version): Likewise.
8877         * malloc/mtrace.pl: Likewise.
8878         * manual/libc.texinfo: Likewise.
8879         * nptl/version.c (banner): Likewise.
8880         * nscd/nscd.c (print_version): Likewise.
8881         * nss/getent.c (print_version): Likewise.
8882         * nss/makedb.c (print_version): Likewise.
8883         * posix/getconf.c (main): Likewise.
8884         * scripts/test-installation.pl: Likewise.
8885         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8887 2015-01-02  Will Newton  <will.newton@linaro.org>
8889         * sysdeps/arm/armv7/configure: Removed.
8890         * sysdeps/arm/armv7/configure.ac: Likewise.
8892 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8894         * All files with FSF copyright notices: Update copyright dates
8895         using scripts/update-copyrights.
8896         * intl/plural.c: Regenerated.
8897         * locale/programs/charmap-kw.h: Likewise.
8898         * locale/programs/locfile-kw.h: Likewise.
8900 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8902         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8904 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8906         [BZ #17748]
8907         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8908         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8909         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8910         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8911         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8912         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8913         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8914         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8915         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8916         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8917         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8918         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8919         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8920         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8921         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8922         libm_hidden_def.
8923         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8924         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8925         Likewise.
8926         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8927         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8928         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8929         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8930         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8931         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8932         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8933         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8934         __fegetenv instead of fegetenv.
8935         (libc_feholdsetround_noex_ctx): Likewise.
8937 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8939         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8940         (Elf_MIPS_ABIFlags_v0): New structure.
8941         (EF_MIPS_FP64): Define.
8942         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8943         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8944         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8945         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8946         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8947         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8948         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8949         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8950         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8951         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8952         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8953         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8954         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8955         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8956         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8957         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8958         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8959         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8960         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8961         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8962         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8963         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8964         field.
8965         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8966         EF_MIPS_FP64.
8967         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8968         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8969         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8970         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8971         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8972         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8973         * sysdeps/mips/tst-abi-interlink.c: Likewise.
8974         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8975         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8976         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8977         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8978         record the current FP ABI extension.
8979         (mips-mode-switch): Define to show if kernel headers support mode
8980         switching.
8981         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8982         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
8983         supported SYSV ABI version to 3.
8984         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
8985         feature.
8987 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8988             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8990         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
8991         path.
8992         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8994 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8996         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
8997         __fegetround and redefine to call __fegetround.  Remove condition
8998         on [!__NO_MATH_INLINES].
8999         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9000         function.
9001         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9002         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9003         Remove macro.
9004         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9005         instead of <fenv_libc.h>.
9006         (__llrintl): Call fegetround instead of __fegetround.
9007         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9008         instead of <fenv_libc.h>.
9009         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9010         (__lrintl): Call fegetround instead of __fegetround.
9011         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9012         instead of <fenv_libc.h>.
9013         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9014         (__rintl): Call fegetround instead of __fegetround.
9016 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9018         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9019         arrays.
9021 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9023         [BZ #17775]
9024         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9025         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9026         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9028 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9030         * sysdeps/i386/tls-macros.h: Include <features.h>.
9031         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9032         (TLS_IE): Likewise.
9033         (TLS_LD): Likewise.
9034         (TLS_GD): Likewise.
9035         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9036         define for GCC >= 5.0.
9038 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9040         * math/test-fenv.c (test_single_exception, set_single_exc,
9041         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9042         feexcp_mask_test, feenable_test, fe_single_test): Add
9043         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9044         case where they are not used.
9045         * math/libm-test.inc: Likewise.
9046         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9047         unused in the absence of FP rounding/exception support.
9048         * stdio-common/tst-printf-round.c: Likewise.
9049         * stdlib/tst-strtod-round.c: Likewise.
9050         * stdlib/tst-strtod-underflow.c: Likewise.
9052 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9054         [BZ #17723]
9055         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9056         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9057         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9058         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9059         libm_hidden_weak.
9060         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9061         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9062         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9063         libm_hidden_def.
9064         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9065         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9066         libm_hidden_weak.
9067         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9068         Likewise.
9069         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9070         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9071         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9072         libm_hidden_weak.
9073         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9074         libm_hidden_def.
9075         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9076         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9077         (__feraiseexcept): Likewise.
9078         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9079         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9080         libm_hidden_weak.
9081         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9082         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9083         libm_hidden_def.
9084         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9085         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9086         Use libm_hidden_def.
9087         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9088         libm_hidden_def.
9089         (feraiseexcept): Define as weak not strong alias.  Use
9090         libm_hidden_weak.
9091         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9092         New inline function.  Factored out of ...
9093         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9094         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9095         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9096         feraiseexcept.
9097         * math/w_acos.c (__acos): Likewise.
9098         * math/w_asin.c (__asin): Likewise.
9099         * math/w_ilogb.c (__ilogb): Likewise.
9100         * math/w_j0.c (y0): Likewise.
9101         * math/w_j1.c (y1): Likewise.
9102         * math/w_jn.c (yn): Likewise.
9103         * math/w_log.c (__log): Likewise.
9104         * math/w_log10.c (__log10): Likewise.
9105         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9106         * sysdeps/aarch64/fpu/math_private.h
9107         (libc_feupdateenv_test_aarch64): Likewise.
9108         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9109         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9110         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9111         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9112         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9113         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9114         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9115         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9116         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9117         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9119 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9121         [BZ #17732]
9122         * io/test-utime.c (main): Replace %ld with %jd and cast to
9123         intmax_t.
9124         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9125         * nptl/tst-mutex5.c: Include <stdint.h>.
9126         (do_test): Replace %ld with %jd and cast to intmax_t.
9127         * posix/tst-regex.c (run_test): Likewise.
9128         (run_test_backwards): Likewise.
9129         * rt/tst-clock.c: Include <stdint.h>.
9130         (clock_test): Replace %ld with %jd and cast to intmax_t.
9131         * rt/tst-cpuclock1.c: Include <stdint.h>.
9132         (do_test): Replace %lu with %ju and cast to uintmax_t.
9133         * rt/tst-cpuclock2.c: Include <stdint.h>.
9134         (do_test): Replace %lu with %ju and cast to uintmax_t.
9135         * rt/tst-mqueue1.c: Include <stdint.h>.
9136         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9137         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9138         intmax_t.
9139         * rt/tst-mqueue4.c (do_test): Likewise.
9140         * rt/tst-timer4.c: Include <stdint.h>.
9141         (check_ts): Replace %ld with %jd and cast to intmax_t.
9142         (do_test): Likewise.
9143         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9144         and cast to intmax_t.
9145         * sysdeps/pthread/tst-timer.c (main): Likewise.
9146         * time/clocktest.c (main): Likewise.
9147         * time/tst-posixtz.c (do_test): Likewise.
9148         * timezone/tst-timezone.c (main): Likewise.
9150 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9151             H.J. Lu  <hongjiu.lu@intel.com>
9153         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9154         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9155         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9156         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9157         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9158         version if bit_Fast_Unaligned_Load is set.
9159         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9160         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9161         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9162         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9163         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9164         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9165         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9166         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9167         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9168         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9169         to 4.
9170         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9171         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9172         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9173         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9175 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9177         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9178         instead of #if to avoid a Wundef warning.
9179         * stdlib/tst-limits.c (do_test): Likewise.
9181         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9182         parallel other exception macros.
9183         (fegetenv): Convert from macro to extern inline so that it applies
9184         retroactively to inline functions already seen by the compiler.
9185         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9187         * posix/Makefile (before-compile): Use $(objpfx) for
9188         posix-conf-vars-def.h.
9190 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9192         * posix/getconf.c (main): Use size_t for type of I.
9193         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9194         NSPEC.
9196         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9197         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9198         * posix/posix-envs.def: Likewise.
9199         * sysdeps/posix/sysconf.c: Likewise.
9200         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9201         (specs): Remove array.
9202         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9203         array.
9205         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9206         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9207         (__sysconf): Use CONF_IS_* macros.
9209         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9210         ($(objpfx)posix-conf-vars-def.h): New target.
9211         * posix/posix-conf-vars.list: New file.
9212         * posix/posix-conf-vars.h: New file.
9213         * posix/confstr.c: Include posix-conf-vars.h.
9214         (confstr): Use CONF_IS_* macros.
9215         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9216         CONF_IS_* macros.
9217         * scripts/gen-posix-conf-vars.awk: New file.
9219 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9221         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9222         fegetround): Add no-op macros to avoid linknamespace issues.
9224         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9225         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9227         * sysdeps/unix/sysv/linux/tile/sysdep.h
9228         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9229         assembly-specific section to avoid a redefinition warning.
9231         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9232         long before casting to pointer to avoid a cast warning.
9234 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9236         * sysdeps/tile/tilegx/Implies: New file.
9238 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9240         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9242 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9244         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9246 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9248         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9249         not define.
9250         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9251         <kernel-features.h>.
9252         (__utimes) [__NR_utimes]: Make code unconditional.
9253         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9254         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9255         (__ASSUME_UTIMES): Do not undefine.
9256         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9257         (__ASSUME_UTIMES): Likewise.
9258         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9259         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9260         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9261         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9263 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9265         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9267 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9269         [BZ #17747]
9270         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9271         alias to weak alias for j0l, y0l.
9272         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9273         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9275         [BZ #17746]
9276         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9277         conversion.
9279 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9281         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9282         to zero if not already defined.
9284 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9286         [BZ #17724]
9287         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9288         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9289         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9290         (char *) casts added.
9291         * sysdeps/ieee754/k_standardf.c: New file.
9292         * sysdeps/ieee754/k_standardl.c: Likewise.
9293         * math/Makefile (libm-support): Remove k_standard.
9294         (libm-calls): Add k_standard.
9296 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9298         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9299         Optimize to avoid an unnecessary FPCR read.
9301 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9303         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9304         Optimize to reduce FPCR/FPSR accesses.
9306 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9308         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9309         Call libc_fetestexcept_aarch64.
9311 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9313         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9314         Call libc_fesetround_aarch64.
9316 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9318         [BZ #17733]
9319         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9320         (__bind): Do not define as weak alias.
9321         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9322         define.
9323         (__getsockname): Do not define as weak alias.
9325 2014-12-22  Will Newton  <will.newton@linaro.org>
9327         * manual/install.texi: Document that we require bison 2.7
9328         or above.
9329         * INSTALL: Regenerate.
9330         * configure.ac: Use AC_CHECK_PROG_VER instead of
9331         AC_PATH_PROG when checking for bison and check for
9332         version 2.7 or above.
9333         * configure: Regenerate.
9335 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9337         [BZ #17745]
9338         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9339         * sysdeps/tile/ffsll.c (ffsll): To here.
9341         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9343 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9345         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9346         if not defined.
9347         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9348         definition.
9349         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9350         hidden ___tls_get_addr.
9351         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9352         hidden __tls_get_addr.
9353         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9354         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9355         Likewise.
9357 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9359         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9360         _dl_init call.
9362 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9364         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9365         from "call _dl_init@PLT".
9366         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9368 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9370         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9371         guarantees.
9373 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9375         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9377 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9379         [BZ #17744]
9380         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9381         strnlen.
9383 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9385         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9386         of multu on MIPSr6.
9387         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9388         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9389         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9390         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9391         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9393 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9395         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9396         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9397         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9398         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9399         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9400         mips32r6/mips64r6.
9401         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9403 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9405         * string/strncat.c (STRNCAT): Simplify implementation.
9407 2014-12-19  David S. Miller  <davem@davemloft.net>
9409         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9410         access the quad as both a long double and as a series of 4 words.
9412         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9413         link_map->l_info array access.
9415 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9417         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9419         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9420         * math/atest-exp2.c (TIMEOUT): Likewise.
9421         * math/atest-sincos.c (TIMEOUT): Likewise.
9423 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9425         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9426         -Wno-error with -fno-builtin-lround.
9428 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9430         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9431         Contains futex constants and functions moved over from ...
9432         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9433         <lowlevellock-futex.h>.
9434         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9435         (lll_timedwait_tid): Add comments and parentheses around macro
9436         arguments.
9438 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9440         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9441         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9442         (__lll_private_flag): Remove.
9443         (lll_futex_wait): Likewise.
9444         (lll_futex_timed_wait): Likewise.
9445         (lll_futex_wake): Likewise.
9446         (lll_futex_requeue): Likewise.
9447         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9448         (__lll_timedwait_tid): Spell out argument names.
9449         (lll_timedwait_tid): Add comments and parentheses around macro
9450         arguments.
9451         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9452         LLL_SHARED and LLL_PRIVATE usable from assembly code.
9454 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9456         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9457         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9458         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9459         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9460         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9461         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9462         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9463         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9464         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9465         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9466         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9467         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9468         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9469         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9470         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9471         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9472         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9473         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9474         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9476 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9478         * sysdeps/x86_64/x32/Makefile: New file.
9480 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9482         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9483         1L with (mp_limb_t) 1.
9485 2014-12-17  Roland McGrath  <roland@hack.frob.com>
9487         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9488         * nptl/libc_pthread_init.c: ... here.
9489         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9490         * nptl/register-atfork.c: ... here.
9492         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9493         Use pthread_sigmask rather than INTERNAL_SYSCALL.
9494         Use assert_perror to check its return value.
9495         (__gai_create_helper_thread): Likewise.
9497         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9499         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9501 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
9503         [BZ #17725]
9504         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9505         __profil_counter.
9506         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9507         Likewise.
9508         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9509         Likewise.
9510         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9511         Likewise.
9512         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9513         (profil_counter): Likewise.
9514         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9515         (profil_counter): Likewise.
9516         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9517         Likewise.
9518         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9519         Likewise.
9520         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9521         (profil_counter): Likewise.
9522         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9523         Likewise.
9524         [!__profil_counter] (profil_counter): Define as weak alias of
9525         __profil_counter.
9526         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9527         (profil_counter): Rename to __profil_counter.
9528         [!__profil_counter] (profil_counter): Define as weak alias of
9529         __profil_counter.
9530         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
9531         (profil_counter): Rename to __profil_counter.
9532         [!__profil_counter] (profil_counter): Define as weak alias of
9533         __profil_counter.
9534         * sysdeps/posix/profil.c: Update comment referring to
9535         profil_counter.
9536         (__profil): Use __profil_counter instead of profil_counter.
9537         * sysdeps/posix/sprofil.c (profil_counter): Rename to
9538         __profil_counter.  Use __profil_counter_ushort and
9539         __profil_counter_uint in definitions.
9540         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9541         instead of profil_counter_uint and profil_counter_ushort.
9543         [BZ #17722]
9544         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9545         define as weak alias of __inet_makeaddr.
9546         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9547         as weak alias of __inet_addr.
9548         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9549         as weak alias of __inet_pton.  Use libc_hidden_weak.
9550         * include/arpa/inet.h (__inet_pton): Declare.  Use
9551         libc_hidden_proto.
9552         (inet_makeaddr): Don't use libc_hidden_proto.
9553         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
9554         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9555         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
9556         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9557         Remove variable.
9558         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9559         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9561 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
9563         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9565 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9567         * stdio-common/bug-vfprintf-nargs.c (do_test):
9568         Cast value to intptr_t to avoid format warning
9569         for usage with PRIdPTR printing macro.
9571 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9573         * libio/tst-widetext.c (do_test):
9574         Use format type %td instead of %Zd for ptrdiff_t
9575         in order to avoid format warning.
9577 2014-12-17  Andreas Schwab  <schwab@suse.de>
9579         * nscd/mem.c (gc): Add size_t cast to match printf format.
9581 2014-12-16  Roland McGrath  <roland@hack.frob.com>
9583         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9584         (init): Apply PTR_MANGLE to pointers before storing them.
9585         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9586         before using them.
9588 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
9590         [BZ #17719]
9591         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9592         define as weak alias of __memrchr.
9593         (__memrchr): Do not define as strong alias of memrchr.
9594         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9595         Remove variable.
9596         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9597         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9598         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9600         [BZ #17717]
9601         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9602         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
9603         (if_indextoname): Rename to __if_indextoname and define as weak
9604         alias of __if_indextoname.  Use libc_hidden_weak.
9605         (if_freenameindex): Rename to __if_freenameindex and define as
9606         weak alias of __if_freenameindex.
9607         (if_nameindex): Rename to __if_nameindex and define as weak alias
9608         of __if_nameindex.
9609         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
9610         __if_nametoindex and define as weak alias of __if_nametoindex.
9611         Use libc_hidden_weak.
9612         (if_freenameindex): Rename to __if_freenameindex and define as
9613         weak alias of __if_freenameindex.
9614         (if_nameindex): Rename to __if_nameindex and define as weak alias
9615         of __if_nameindex.
9616         (if_indextoname): Rename to __if_indextoname and define as weak
9617         alias of __if_indextoname.  Use libc_hidden_weak.
9618         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
9619         __if_nametoindex and define as weak alias of __if_nametoindex.
9620         Use libc_hidden_weak.
9621         (if_freenameindex): Rename to __if_freenameindex and define as
9622         weak alias of __if_freenameindex.  Use libc_hidden_weak.
9623         (if_nameindex_netlink): Use __if_freenameindex instead of
9624         if_freenameindex.
9625         (if_nameindex): Rename to __if_nameindex and define as weak alias
9626         of __if_nameindex.  Use libc_hidden_weak.
9627         (if_indextoname): Rename to __if_indextoname and define as weak
9628         alias of __if_indextoname.  Use libc_hidden_weak.
9629         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
9630         libc_hidden_proto.
9631         [!_ISOMAC] (__if_freenameindex): Likewise.
9632         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
9633         if_nametoindex.
9634         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
9635         variable.
9636         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9637         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9638         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9639         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9640         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9641         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9642         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9644         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
9645         Remove variable.
9646         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9647         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9649 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9651         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
9652         subscript above bounds'
9654         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
9655         bounds.
9657 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
9659         * libio/tst-fopenloc.c: Use test-skeleton.c.
9661         * stdlib/tst-bsearch.c: Use test-skeleton.c.
9662         (entry): Rename to ITEM.
9663         (do_test, comp): Adjust.
9665         * stdio-common/tst-fseek.c: Use test-skeleton.c.
9667 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9669         * string/tester.c: Include <libc-internal.h>.
9670         (test_memset): Ignore -Wmemset-transposed-args.
9672 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9674         * misc/tst-mntent2.c (do_test): Fix warning.
9676 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9678         * elf/tst-unique4lib.cc(a): Mark as used.
9680 2014-12-16  Florian Weimer  <fweimer@redhat.com>
9682         [BZ #17630]
9683         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9684         names.
9686 2014-12-16  Allan McRae  <allan@archlinux.org>
9688         * stdio-common/Makefile (tests): Re-add bug26.
9690 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
9692         [BZ #17657]
9693         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9694         static array.
9696 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
9698         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9699         (__lll_lock_wait): Likewise.
9700         (__lll_timedlock_wait): Likewise.
9701         (__lll_timedwait_tid): Likewise.
9702         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9703         (__lll_robust_timedlock_wait): Likewise.
9704         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9705         (lll_cond_trylock): Likewise.
9706         (__lll_lock): Likewise.
9707         (__lll_robust_lock): Likewise.
9708         (__lll_cond_lock): Likewise.
9709         (lll_robust_cond_lock): Likewise.
9710         (__lll_timedlock): Likewise.
9711         (__lll_robust_timedlock): Likewise.
9712         (__lll_unlock): Likewise.
9713         (__lll_robust_unlock): Likewise.
9714         (lll_wait_tid): Likewise.
9715         (lll_timedwait_tid): Likewise.
9717 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9719         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9721 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9723         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9725 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9727         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9728         * stdio-common/tst-sprintf.c: Likewise.
9730 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9732         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9734 2014-12-15  Jeff Law  <law@redhat.com>
9736         [BZ #16617]
9737         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9738         on the heap.  (CVE-2012-3406)
9739         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9740         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
9741         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9743 2014-12-15  Will Newton  <will.newton@linaro.org>
9745         * manual/install.texi: Bump required version of texinfo
9746         to 4.7 from 4.5.
9747         * INSTALL: Regenerated.
9748         * configure.ac: Check for makeinfo version 4.7 and above.
9749         * configure: Regenerated.
9751 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9753         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9754         PREFIX, string constant to insert between directory and name.
9755         * sysdeps/posix/shm_open.c: Update caller.
9756         * sysdeps/posix/shm_unlink.c: Likewise.
9757         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9758         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9759         (SEM_SHM_PREFIX): New macro.
9760         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9761         [$(have-thread-library) = no].
9762         * nptl/Makefile (libpthread-routines): Add shm-directory.
9763         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9764         * sysdeps/nptl/shm-directory.h: New file.
9765         * sysdeps/posix/shm-directory.c
9766         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9767         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9768         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9769         INTERNAL_SYSCALL.
9770         (__where_is_shmfs): Function removed.
9771         (mountpoint, defaultmount, defaultdir, __namedsem_once):
9772         Variables removed.
9773         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9774         Use SHM_GET_NAME.
9775         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
9777         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9778         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9779         unconditional for use inside libpthread.
9780         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9782 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9784         * nptl/pthread_getaffinity.c: New file.
9785         * nptl/pthread_setaffinity.c: New file.
9786         * nptl/pthread_getname.c: New file.
9787         * nptl/pthread_setname.c: New file.
9789         * nptl/pthread_create.c (START_THREAD_DEFN)
9790         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9792 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9793             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9795         * resolv/res_send.c (send_vc): Disable warning resplen may
9796         be used uninitialized.
9798 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9800         * nptl/tst-mutex6.c
9801         (ATTR_NULL): New define checks ATTR against NULL.
9802         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9803         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9805 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
9807         [BZ #17581]
9808         * malloc/hooks.c
9809         (mem2mem_check): Revert my previous change.
9810         (malloc_check_get_size): Revert my previous change.
9811         (mem2chunk_check): Revert my previous change.
9813 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9815         * sysdeps/posix/shm-directory.c: New file.
9816         * sysdeps/posix/shm-directory.h: New file.
9817         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9818         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9819         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
9820         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9821         Transmute EPERM to EACCES.
9822         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9823         from ...
9824         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
9825         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9827 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9829         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9830         pointer and cast to uintptr_t.
9831         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9832         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9833         Add cast to avoid warning.
9834         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9836 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9838         * nptl/semaphore.h: Move to ...
9839         * sysdeps/pthread/semaphore.h: ... here.
9840         * Makefile (installed-headers): Change nptl/semaphore.h to
9841         sysdeps/pthread/semaphore.h.
9843 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9845         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9846         generated error format strings.
9848         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9849         -Wformat-extra-args warnings for scanf formats.
9850         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9851         test of zero-length format (duh).
9852         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9853         corner-case scanf format test.
9854         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9855         generated fprintf format string.
9856         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9857         corner-case sprintf format tests.
9858         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9859         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9860         -Wformat-extra-args warnings throughout.
9861         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9862         (CFLAGS-scanf4.c): Likewise.
9863         (CFLAGS-scanf7.c): Likewise.
9864         (CFLAGS-tst-sprintf.c): Likewise.
9865         (CFLAGS-tst-printf.c): Likewise.
9866         (CFLAGS-tst-printfsz.c): Likewise.
9868 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9870         * include/cpio.h: New file.
9871         * include/fmtmsg.h: Likewise.
9873         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
9874         corresponding format argument to size_t.
9875         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
9876         arguments.
9877         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
9878         corresponding format argument to size_t.
9879         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
9880         arguments.
9881         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
9882         corresponding format argument to size_t.
9883         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9884         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9885         (CFLAGS-tst-mbswcs2.c): Likewise.
9886         (CFLAGS-tst-mbswcs3.c): Likewise.
9887         (CFLAGS-tst-mbswcs4.c): Likewise.
9888         (CFLAGS-tst-mbswcs5.c): Likewise.
9889         (CFLAGS-tst-trans.c): Likewise
9891 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9893         * posix/regexbug1.c (main): Use "%s" format with regerror results,
9894         rather than assuming they won't contain any '%'s.
9896 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
9898         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9899         inhibit_loop_to_libcall to avoid recursive calls.
9900         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9901         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9903 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9905         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9906         prototype.
9908 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9910         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9911         integer value instead of boolean.
9913 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9915         * malloc/malloc.c: Fix powerof2 check.
9917 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9919         * locale/programs/locfile.h (maybe_swap_uint32):
9920         Remove inline and add unused attribute.
9922 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9924         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9925         Truncating assembler expression to a .long expression.
9927 2014-12-11  Andreas Schwab  <schwab@suse.de>
9929         * elf/rtld.c (struct map_args): Constify str member.
9930         (do_preload): Constify fname argument.
9932 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9934         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9935         constants definition.
9937 2014-12-11  Andreas Schwab  <schwab@suse.de>
9939         [BZ #16657]
9940         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9941         FORCE_ELISION instead of DO_ELISION.
9942         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9943         Remove.
9944         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9945         Likewise.
9947         * iconvdata/gconv-modules: Remove duplicate entry.
9949 2014-12-11  Will Newton  <will.newton@linaro.org>
9951         Merge gettext 0.19.3 into intl/.
9953         This involves a number of cosmetic changes to comments
9954         and ANSI function definitions and prototypes throughout
9955         all the files. The gettext copyright header is used but
9956         with the date ranges taken from the glibc copy.
9958         * NEWS: Add gettext merge to 2.21.
9959         * intl/bindtextdom.c: Switch to gettext copyright.
9960         Use ANSI definitions and prototypes.
9961         Use gl_* locking primitives rather than __libc_* ones.
9962         Use __builtin_expect rather than __glibc_likely/unlikely.
9963         * intl/dcgettext.c: Switch to gettext copyright.
9964         Use ANSI definitions and prototypes.
9965         * intl/dcigettext.c: Switch to gettext copyright.
9966         Use ANSI definitions and prototypes.
9967         (INTDIV0_RAISES_SIGFPE): New define.
9968         Use gl_* locking primitives rather than __libc_* ones.
9969         Include eval-plural.h instead of plural-eval.c.
9970         Use __builtin_expect rather than __glibc_likely/unlikely.
9971         * intl/dcngettext.c: Switch to gettext copyright.
9972         Use ANSI definitions and prototypes.
9973         * intl/dgettext.c: Likewise.
9974         * intl/dngettext.c: Likewise.
9975         * intl/plural-eval.c: Renamed to...
9976         * intl/eval-plural.h: ...this.
9977         * intl/explodename.c: Switch to gettext copyright.
9978         Use ANSI definitions and prototypes.
9979         (_nl_explode_name): Use strchr instead of __rawmemchr.
9980         * intl/finddomain.c: Switch to gettext copyright.
9981         Use ANSI definitions and prototypes.
9982         Use gl_* locking primitives rather than __libc_* ones.
9983         (_nl_find_domain): Use malloc rather than alloca for
9984         allocation of temporary locale name.
9985         * intl/gettext.c: Switch to gettext copyright.
9986         Use ANSI definitions and prototypes.
9987         * intl/gettextP.h: Switch to gettext copyright.
9988         Use ANSI definitions and prototypes.
9989         Use gl_* locking primitives rather than __libc_* ones.
9990         * intl/gmo.h: Switch to gettext copyright.
9991         (struct sysdep_string): Move struct segment_pair outside of
9992         struct definition.
9993         * intl/hash-string.c: Use ANSI definitions and prototypes.
9994         * intl/hash-string.h: Switch to gettext copyright.
9995         Use ANSI definitions and prototypes.
9996         * intl/l10nflist.c: Switch to gettext copyright.
9997         Use ANSI definitions and prototypes.
9998         (_nl_normalize_codeset): Avoid integer overflow.
9999         * intl/loadinfo.h: Switch to gettext copyright.
10000         Use ANSI definitions and prototypes.
10001         (LIBINTL_DLL_EXPORTED): New define.
10002         (PATH_SEPARATOR): New define.
10003         * intl/loadmsgcat.c: Switch to gettext copyright.
10004         * intl/localealias.c: Switch to gettext copyright.
10005         Use ANSI definitions and prototypes.
10006         (_nl_expand_alias): Use PATH_SEPARATOR.
10007         * intl/ngettext.c: Switch to gettext copyright.
10008         Use ANSI definitions and prototypes.
10009         * intl/plural-exp.c: Likewise.
10010         * intl/plural-exp.h: Switch to gettext copyright.
10011         Use ANSI definitions and prototypes.
10012         (struct expression): Move definition of enum operator outside
10013         of struct definition.
10014         * intl/plural.c: Regenerate.
10015         * intl/plural.y: Switch to gettext copyright.
10016         Use ANSI definitions and prototypes.
10017         Port to bison 3.0.
10018         * intl/textdomain.c: Switch to gettext copyright.
10019         Use ANSI definitions and prototypes.
10020         Use gl_* locking primitives rather than __libc_* ones.
10022 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10024         * debug/warning-nop.c: Add used atrribute.
10026 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10028         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10030         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10031         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10032         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10034 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10035             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10037         [BZ #17634]
10038         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10039         Undefine after defining function.  Define as weak alias of
10040         __wcschr.  Use libc_hidden_weak.
10041         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10042         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10043         (libc_hidden_def): Also define __GI___wcschr alias.
10044         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10045         __wcschr and define as weak alias of __wcschr.
10046         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10047         __wcschr.
10048         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10049         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10050         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10051         libc_hidden_weak.  Do not use libc_hidden_def.
10052         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10053         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10054         __GI___wcschr alias.
10055         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10056         [IS_IN (libc)] (wcschr): Define as macro expanding to
10057         __redirect_wcschr.
10058         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10059         [IS_IN (libc)] (__wcschr_power6): Likewise.
10060         [IS_IN (libc)] (__wcschr_power7): Likewise.
10061         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10062         instead of wcschr.
10063         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10064         __libc_wcschr.
10065         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10066         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10067         __wcschr and define as weak alias of __wcschr.  Use
10068         libc_hidden_builtin_def.
10069         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10070         as weak alias of __wcschr.  Use libc_hidden_weak.
10071         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10072         wcschr.
10073         * time/era.c (_nl_init_era_entries): Likewise.
10074         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10075         variable.
10076         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10077         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10079 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10081         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10082         format for long int variable.
10084 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10086         [BZ #10672]
10087         * manual/search.texi: (Array Sort Function): Remove claim how to make
10088         qsort stable.
10090 2014-12-10  Andreas Schwab  <schwab@suse.de>
10092         [BZ #12847]
10093         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10094         user-controlled locks.
10096 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10098         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10099         register.
10101 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10103         * configure.ac (--disable-werror): New configure option.
10104         (enable_werror): New AC_SUBST.
10105         * configure: Regenerated.
10106         * config.make.in (enable-werror): New variable.
10107         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10108         -Wno-error=undef.
10109         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10110         * manual/install.texi (Configuring and compiling): Document
10111         --disable-werror.
10112         * INSTALL: Regenerated.
10113         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10114         (CFLAGS-tst-chk2.c): Likewise.
10115         (CFLAGS-tst-chk3.c): Likewise.
10116         (CFLAGS-tst-chk4.cc): Likewise.
10117         (CFLAGS-tst-chk5.cc): Likewise.
10118         (CFLAGS-tst-chk6.cc): Likewise.
10119         (CFLAGS-tst-lfschk1.c): Likewise.
10120         (CFLAGS-tst-lfschk2.c): Likewise.
10121         (CFLAGS-tst-lfschk3.c): Likewise.
10122         (CFLAGS-tst-lfschk4.cc): Likewise.
10123         (CFLAGS-tst-lfschk5.cc): Likewise.
10124         (CFLAGS-tst-lfschk6.cc): Likewise.
10126         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10127         (main): Disable -Wdeprecated-declarations around calls to
10128         register_printf_function.
10130         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10131         (do_test): Disable -Wdiv-by-zero around some calls to
10132         fwrite_unlocked and fread_unlocked.
10134         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10135         (DIAG_POP_NEEDS_COMMENT): Likewise.
10136         (_DIAG_STR1): Likewise.
10137         (_DIAG_STR): Likewise.
10138         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10139         * stdio-common/bug21.c: Include <libc-internal.h>.
10140         (do_test): Disable -Wformat around call to sscanf.
10141         * stdio-common/scanf14.c: Include <libc-internal.h>.
10142         (main): Disable -Wformat around some calls to scanf functions.
10144 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10146         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10148 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10150         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10151         stack variable alignment.
10153 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10155         [BZ #17682]
10156         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10157         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10158         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10159         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10160         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10161         __getrlimit instead of getrlimit.
10162         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10163         __gettimeofday instead of gettimeofday.
10164         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10165         Likewise.
10166         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10167         Likewise.
10168         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10169         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10170         Remove variable.
10171         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10172         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10174 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10176         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10177         for wide-character tests.
10179 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10181         * io/openat64.c: #include <libc-internal.h>
10182         (__openat64): Prototypify.  Use ignore_value on MODE.
10183         * io/openat.c: Likewise.
10184         * misc/reboot.c: #include <libc-internal.h>
10185         (reboot): Prototypify.  Use ignore_value on HOWTO.
10186         * misc/ptrace.c: #include <libc-internal.h>
10187         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10189 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10191         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10192         XPG4, UNIX98 and XOPEN2K.
10193         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10194         Remove variable.
10195         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10197 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10199         * libio/fileops.c: Use ISO C style for function definitions.
10200         * libio/iofopen.c: Likewise.
10201         * libio/wfileops.c: Likewise.
10203         [BZ #17653]
10204         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10205         offset on EOF.
10206         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10207         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10208         (fgets_func): Function pointer to fgets and fgetws.
10209         (do_ftell_test): Add test to verify ftell value after read
10210         EOF.
10211         (do_test): Set fgets_func.
10213         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10214         O_TRUNC flag for w and w+ modes.
10215         (do_rewind_test): Likewise.
10216         (do_ftell_test): Likewise.
10217         (do_write_test): Likewise.
10219         [BZ #17647]
10220         * libio/fileops.c (do_ftell): Seek only when there are
10221         unflushed writes.
10222         * libio/wfileops.c (do_ftell_wide): Likewise.
10223         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10224         test case.
10225         (do_one_test): Call it.
10227 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10229         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10230         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10231         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10232         Remove variable.
10233         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10234         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10235         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10237 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10239         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10240         Remove variable.
10241         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10243         [BZ #17668]
10244         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10245         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10246         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10247         __freeifaddrs.  Use libc_hidden_weak.
10248         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10249         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10250         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10251         __freeifaddrs.  Use libc_hidden_weak.
10252         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10253         __getifaddrs and define as weak alias of __getifaddrs.  Use
10254         libc_hidden_weak.
10255         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10256         __freeifaddrs.  Use libc_hidden_weak.
10257         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10258         Remove variable.
10259         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10260         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10262 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10264         [BZ #17601]
10265         * sysdeps/mips/start.S (__start): Use indirect jump to call
10266         __libc_start_main.
10268 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10270         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10272         * nptl/tst-mutex1.c: Include <stdbool.h>.
10273         [!ATTR] (ATTR_NULL): New macro.
10274         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10275         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10276         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10278         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10279         to char *.
10281         [BZ #17665]
10282         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10283         Change conditional to [__USE_MISC].
10285         [BZ #17664]
10286         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10287         fgets_unlocked.
10288         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10289         __fgets_unlocked.
10290         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10291         fgets_unlocked.
10292         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10293         Remove variable.
10294         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10295         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10296         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10297         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10298         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10299         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10300         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10301         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10302         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10304         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10306 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10308         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10309         Remove strpbrk objects.
10310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10311         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10312         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10313         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10314         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10315         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10317         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10318         Remove strcspn objects.
10319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10320         (__libc_ifunc_impl_list): Remove strcspn implementation.
10321         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10322         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10323         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10324         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10326         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10327         Remove strspn objetcs.
10328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10329         (__libc_ifunc_impl_list): Remove strspn implementation.
10330         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10331         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10332         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10333         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10335 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10337         [BZ #17581]
10338         * malloc/hooks.c
10339         (mem2mem_check): Add a terminator to the chain of checking blocks.
10340         (malloc_check_get_size): Use it here.
10341         (mem2chunk_check): Ditto.
10343 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10345         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10346         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10348 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10350         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10352         * nptl/nptl-init.c: Include libc-internal.h.
10353         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10355         * elf/ldconfig.c (search_dir): Expand comment.
10357 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10359         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10360         variable.
10361         (linknamespace-symlist-stdlibs-tests): Likewise.
10362         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10363         instead of $(objpfx)symlist-stdlibs.
10364         (linknamespace-libs-isoc): New variable.
10365         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10366         (linknamespace-libs-ISO): New variable.
10367         (linknamespace-libs-ISO99): Likewise.
10368         (linknamespace-libs-ISO11): Likewise.
10369         (linknamespace-libs-XPG3): Likewise.
10370         (linknamespace-libs-XPG4): Likewise.
10371         (linknamespace-libs-POSIX): Likewise.
10372         (linknamespace-libs-UNIX98): Likewise.
10373         (linknamespace-libs-XOPEN2K): Likewise.
10374         (linknamespace-libs-POSIX2008): Likewise.
10375         (linknamespace-libs-XOPEN2K8): Likewise.
10376         ($(objpfx)symlist-stdlibs): Replace by
10377         $(linknamespace-symlist-stdlibs-tests).  Use
10378         $(linknamespace-libs-$*) as set of libraries.
10379         ($(linknamespace-header-tests)): Update dependencies.  Use
10380         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10381         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10382         * conform/linknamespace.pl: Remove comment about considering
10383         definitions of symbols from irrelevant libraries.
10385 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10387         [BZ #13862]
10388         * elf/dl-tls.c: Include <atomic.h>.
10389         (oom): Remove #ifdef SHARED/#endif.
10390         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10391         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10392         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10393         big enough.
10394         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10395         * nptl/Makefile (tests): Add tst-stack4.
10396         (modules-names): Add tst-stack4mod.
10397         ($(objpfx)tst-stack4): New.
10398         (tst-stack4mod.sos): Likewise.
10399         ($(objpfx)tst-stack4.out): Likewise.
10400         ($(tst-stack4mod.sos)): Likewise.
10401         (clean): Likewise.
10402         * nptl/tst-stack4.c: New file.
10403         * nptl/tst-stack4mod.c: Likewise.
10405 2014-11-27  J. Brown  <jb999@gmx.de>
10407         * sysdeps/x86/bits/string.h: Add recent CPUs.
10409 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10411         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10412         sigblock.
10414         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10415         feof.
10417         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10418         variable.
10420 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10422         * nscd/connections.c: Include libc-internal.h because of macro
10423         usage ignore_value.
10425 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10427         * string/bits/string3.h (__warn_memset_zero_len): Don't
10428         declare for gcc newer than 5.0.
10429         (memset): Don't test for zero-length __LEN for gcc newer than
10430         5.0.
10432 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10434         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10435         size_t for %zu format.
10437         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10438         difference, not %ju.
10440 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10442         * include/libc-internal.h (ignore_value): New macro.
10443         * nscd/connections.c (restart): Wrap calls to setuid and setgid
10444         with ignore_value.
10446         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10447         definition.
10449         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10450         pthread_cleanup_push to void *.
10452         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10453         Undefine.
10455         [BZ #16619]
10456         [BZ #16740]
10457         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10458         instead of 1L << 52.
10460         * libio/bug-rewind.c (do_test): Check fwscanf return values.
10461         * libio/bug-rewind2.c (do_test): Likewise.
10463         * debug/test-stpcpy_chk-ifunc.c: Remove file.
10464         * debug/test-strcpy_chk-ifunc.c: Likewise.
10465         * wcsmbs/test-wcschr-ifunc.c: Likewise.
10466         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10467         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10468         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10469         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10470         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10471         * Rules [$(multi-arch) = no] (tests): Do not filter out
10472         $(tests-ifunc).
10473         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10474         * debug/Makefile (tests-ifunc): Remove variable.
10475         (tests): Do not add $(tests-ifunc).
10476         * wcsmbs/Makefile (tests-ifunc): Remove variable.
10477         (tests): Do not add $(tests-ifunc).
10478         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10479         [TEST_IFUNC]: Remove conditionals.
10480         * string/test-string.h (TEST_IFUNC): Remove macro.
10481         [TEST_IFUNC]: Remove conditionals.
10483         * string/test-strchr.c [!WIDE] (L): New macro.
10484         [WIDE] (L): Likewise.
10485         (check1): Use CHAR instead of char.  Use L on string and character
10486         constants.
10488 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
10490         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10491         tests.
10492         * sysdeps/powerpc/bits/atomic.h
10493         (__arch_atomic_exchange_and_add_32_acq): Add definition.
10494         (__arch_atomic_exchange_and_add_32_rel): Likewise.
10495         (atomic_exchange_and_add_acq): Likewise.
10496         (atomic_exchange_and_add_rel): Likewise.
10497         * sysdeps/powerpc/powerpc32/bits/atomic.h
10498         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10499         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10500         * sysdeps/powerpc/powerpc64/bits/atomic.h
10501         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10502         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10504 2014-11-26  Torvald Riegel  <triegel@redhat.com>
10506         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10507         Change synchronization of __sched_fifo_min_prio and
10508         __sched_fifo_max_prio.
10509         * nptl/pthread_mutexattr_getprioceiling.c
10510         (pthread_mutexattr_getprioceiling): Likewise.
10511         * nptl/pthread_mutexattr_setprioceiling.c
10512         (pthread_mutexattr_setprioceiling): Likewise.
10513         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10514         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10515         Likewise.
10517 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10519         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10520         void.
10522 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10524         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10525         third argument const.
10527 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10529         fnmatch: work around GCC compiler warning bug with uninit var
10530         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10531         This works around a bug with x86-64 GCC 4.9.2 and earlier
10532         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10533         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10534         used uninitialized in this function [-Wmaybe-uninitialized]".
10536 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10538         * posix/bug-regex31.c (main): Return RES not 0.
10540 2014-11-25  Anton Blanchard <anton@samba.org>
10542         * sysdeps/powerpc/bits/atomic.h
10543         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10545 2014-11-24  Sterling Augustine  <saugustine@google.com>
10547         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10549 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
10551         [BZ #17608]
10552         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10554 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
10556         [BZ #17633]
10557         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10558         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10559         variable.
10560         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10561         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10563 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10565         * string/strncpy.c (strncpy): Improve performance by using memset.
10567 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10569         * string/strcpy.c (strcpy):
10570         Improve performance by using strlen and memcpy.
10572 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
10574         * string/strcoll_l.c (get_next_seq): __always_inline.
10575         * string/strcoll_l.c (do_compare): __always_inline.
10577 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10579         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10580         defined.
10581         * include/mqueue.h: Likewise.
10582         * include/stdlib.h: Likewise.
10584         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10585         (get_null_defines): Adjust.
10586         * sunrpc/Makefile: Adjust comment.
10587         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10588         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10589         (CFLAGS-interp.c): Likewise.
10590         (CFLAGS-ldconfig.c): Likewise.
10591         (CPPFLAGS-.os): Likewise.
10592         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10593         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10594         * extra-modules.mk (extra-modules.mk): Likewise.
10595         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10596         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10597         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10598         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10599         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10600         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10601         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10602         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
10603         * iconvdata/Makefile (CPPFLAGS): Likewise.
10604         (cpp-srcs-left): Add libof for all iconvdata routines.
10605         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
10606         * include/assert.h: Likewise.
10607         * include/ctype.h: Likewise.
10608         * include/errno.h: Likewise.
10609         * include/libc-symbols.h: Likewise.
10610         * include/math.h: Likewise.
10611         * include/netdb.h: Likewise.
10612         * include/resolv.h: Likewise.
10613         * include/stdio.h: Likewise.
10614         * include/stdlib.h: Likewise.
10615         * include/string.h: Likewise.
10616         * include/sys/stat.h: Likewise.
10617         * include/wctype.h: Likewise.
10618         * intl/l10nflist.c: Likewise.
10619         * libidn/idn-stub.c: Likewise.
10620         * libio/libioP.h: Likewise.
10621         * nptl/libc_multiple_threads.c: Likewise.
10622         * nptl/pthreadP.h: Likewise.
10623         * posix/regex_internal.h: Likewise.
10624         * resolv/res_hconf.c: Likewise.
10625         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
10626         * sysdeps/arm/memmove.S: Likewise.
10627         * sysdeps/arm/sysdep.h: Likewise.
10628         * sysdeps/generic/_itoa.h: Likewise.
10629         * sysdeps/generic/symbol-hacks.h: Likewise.
10630         * sysdeps/gnu/errlist.awk: Likewise.
10631         * sysdeps/gnu/errlist.c: Likewise.
10632         * sysdeps/i386/i586/memcpy.S: Likewise.
10633         * sysdeps/i386/i586/memset.S: Likewise.
10634         * sysdeps/i386/i686/memcpy.S: Likewise.
10635         * sysdeps/i386/i686/memmove.S: Likewise.
10636         * sysdeps/i386/i686/mempcpy.S: Likewise.
10637         * sysdeps/i386/i686/memset.S: Likewise.
10638         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10639         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10640         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
10641         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
10642         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10643         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10644         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
10645         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10646         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10647         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10648         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10649         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10650         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10651         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10652         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10653         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10654         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
10655         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
10656         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
10657         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10658         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10659         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10660         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10661         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10662         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10663         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10664         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10665         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10666         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10667         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10668         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10669         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10670         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10671         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10672         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10673         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10674         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10675         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10676         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10677         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10678         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10679         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10680         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10681         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10682         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10683         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10684         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10685         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10686         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10687         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10688         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10689         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10690         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10691         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10692         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10693         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10694         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10695         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10696         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10697         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10698         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10699         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10700         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10701         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10702         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10703         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10704         * sysdeps/posix/closedir.c: Likewise.
10705         * sysdeps/posix/opendir.c: Likewise.
10706         * sysdeps/posix/readdir.c: Likewise.
10707         * sysdeps/posix/rewinddir.c: Likewise.
10708         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10709         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10710         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10711         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10712         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10713         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10714         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10715         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10716         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10717         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10718         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10719         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10720         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10721         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10722         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10723         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10724         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10725         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10726         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10727         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10728         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10729         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10730         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10731         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10732         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10733         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10734         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10735         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10736         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10737         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10738         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10739         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10740         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10741         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10742         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10743         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10744         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10745         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10746         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10747         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10748         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10749         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10750         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10751         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10752         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10753         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10754         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10755         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10756         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10757         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10758         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10759         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10760         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10761         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10762         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10763         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10764         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10765         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10766         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10767         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10768         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10769         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10770         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10771         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10772         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10773         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10774         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10775         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10776         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10777         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10778         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10779         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10780         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10781         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10782         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10783         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10784         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10785         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10786         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10787         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10788         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10789         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10790         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10791         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10792         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10793         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10794         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10795         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10796         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10797         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10798         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10799         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10800         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10801         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10802         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10803         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10804         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10805         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10806         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10807         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10808         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10809         * sysdeps/unix/alpha/sysdep.S: Likewise.
10810         * sysdeps/unix/alpha/sysdep.h: Likewise.
10811         * sysdeps/unix/make-syscalls.sh: Likewise.
10812         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10813         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10814         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10815         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10816         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10817         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10818         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10819         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10820         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10821         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10822         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10823         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10824         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10825         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10826         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10827         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10828         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10829         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10830         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10831         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10832         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10833         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10834         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10835         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10836         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10837         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10838         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10841         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10842         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10843         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10844         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10845         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10846         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10847         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10848         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10849         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10850         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10851         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10852         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10853         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10854         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10855         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10856         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10857         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10858         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10859         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10860         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10861         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10862         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10863         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10864         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10865         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10866         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10867         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10868         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10869         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10870         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10871         * sysdeps/x86_64/memcpy.S: Likewise.
10872         * sysdeps/x86_64/memmove.c: Likewise.
10873         * sysdeps/x86_64/memset.S: Likewise.
10874         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10875         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10876         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10877         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10878         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10879         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10880         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10881         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10882         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10883         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10884         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10885         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10886         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10887         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10888         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10889         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10890         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10891         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10892         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10893         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10894         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10895         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10896         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10897         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10898         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10899         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10900         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10901         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10902         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10903         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10904         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10905         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10906         * sysdeps/x86_64/strcmp.S: Likewise.
10908         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10910         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10911         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10912         * elf/rtld-Rules: Likewise.
10913         * elf/setup-vdso.h: Likewise.
10914         * include/assert.h: Likewise.
10915         * include/bits/stdlib-float.h: Likewise.
10916         * include/errno.h: Likewise.
10917         * include/sys/stat.h: Likewise.
10918         * include/unistd.h: Likewise.
10919         * sysdeps/aarch64/setjmp.S: Likewise.
10920         * sysdeps/alpha/setjmp.S: Likewise.
10921         * sysdeps/arm/__longjmp.S: Likewise.
10922         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10923         * sysdeps/arm/setjmp.S: Likewise.
10924         * sysdeps/arm/sysdep.h: Likewise.
10925         * sysdeps/generic/_itoa.h: Likewise.
10926         * sysdeps/generic/dl-sysdep.h: Likewise.
10927         * sysdeps/generic/ldsodefs.h: Likewise.
10928         * sysdeps/i386/dl-tls.h: Likewise.
10929         * sysdeps/i386/setjmp.S: Likewise.
10930         * sysdeps/m68k/setjmp.c: Likewise.
10931         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10932         * sysdeps/mach/hurd/opendir.c: Likewise.
10933         * sysdeps/posix/getcwd.c: Likewise.
10934         * sysdeps/posix/opendir.c: Likewise.
10935         * sysdeps/posix/profil.c: Likewise.
10936         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10937         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10938         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10939         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10940         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10941         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10942         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10943         * sysdeps/s390/dl-tls.h: Likewise.
10944         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10945         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10946         * sysdeps/sh/sh3/setjmp.S: Likewise.
10947         * sysdeps/sh/sh4/setjmp.S: Likewise.
10948         * sysdeps/unix/alpha/sysdep.h: Likewise.
10949         * sysdeps/unix/arm/sysdep.S: Likewise.
10950         * sysdeps/unix/i386/sysdep.S: Likewise.
10951         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10952         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10953         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10954         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10955         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10956         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10957         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10958         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10959         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10960         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10961         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10962         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10963         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10966         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10967         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10968         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10969         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10970         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10971         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10972         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10973         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10974         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10975         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10976         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10977         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10978         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10979         * sysdeps/x86_64/setjmp.S: Likewise.
10981         * include/math.h: Use IS_IN instead of IS_IN_libm.
10982         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
10983         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10984         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10985         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10986         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10987         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10988         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10989         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10990         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10991         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10992         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
10993         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10994         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
10995         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10996         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10997         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
10998         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10999         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11000         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11001         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11002         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11003         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11004         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11005         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11006         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11007         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11008         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11009         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11010         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11011         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11012         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11013         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11014         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11016         Likewise.
11017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11018         Likewise.
11019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11020         Likewise.
11021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11022         Likewise.
11023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11024         Likewise.
11025         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11026         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11027         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11028         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11029         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11030         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11036         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11037         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11038         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11039         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11040         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11041         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11042         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11043         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11044         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11045         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11046         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11047         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11048         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11049         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11051         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11053         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11054         * nptl/pthreadP.h: Likewise.
11055         * nptl_db/structs.def: Likewise.
11056         * sysdeps/arm/sysdep.h: Likewise.
11057         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11058         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11059         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11060         * sysdeps/unix/alpha/sysdep.h: Likewise.
11061         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11062         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11063         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11064         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11065         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11066         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11067         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11068         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11069         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11070         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11071         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11072         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11073         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11074         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11077         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11078         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11079         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11080         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11081         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11082         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11083         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11084         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11085         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11086         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11088         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11089         * nptl/pthreadP.h: Likewise.
11090         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11091         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11092         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11093         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11094         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11095         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11096         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11097         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11098         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11099         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11100         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11101         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11103         Likewise.
11104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11105         Likewise.
11106         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11107         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11108         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11109         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11110         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11111         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11112         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11113         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11115         * dlfcn/dladdr.c: Use IS_IN.
11116         * dlfcn/dladdr1.c: Likewise.
11117         * dlfcn/dlclose.c: Likewise.
11118         * dlfcn/dlerror.c: Likewise.
11119         * dlfcn/dlinfo.c: Likewise.
11120         * dlfcn/dlmopen.c: Likewise.
11121         * dlfcn/dlopen.c: Likewise.
11122         * dlfcn/dlsym.c: Likewise.
11123         * dlfcn/dlvsym.c: Likewise.
11125         * include/ifaddrs.h: Use IS_IN.
11126         * inet/check_pf.c: Likewise.
11127         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11128         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11130         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11131         IS_IN_ldconfig.
11132         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11133         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11135         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11136         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11137         IS_IN (libc).
11139         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11141         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11142         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11143         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11144         * include/libc-symbols.h (IS_IN_LIB): New macro.
11145         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11146         * include/netdb.h: Likewise.
11147         * include/stap-probe.h: Remove all uses of IN_LIB.
11149         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11150         instead of IN_MODULE.
11151         * include/libc-symbols.h (IN_MODULE): Define using
11152         MODULE_NAME.
11153         (PASTE_NAME, PASTE_NAME1): New macros.
11154         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11155         of IN_LIB.
11156         (STAP_PROBE_ASM): Likewise.
11158 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11160         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11161         __mach_init in dlopened libc.
11163 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11165         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11166         * sysdeps/arm/preconfigure: Regenerate.
11168 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11170         * nptl/pthread_create.c (__pthread_create_2_1): Set
11171         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11172         when copying values from IATTR into PD.
11174 2014-11-21  Will Newton  <will.newton@linaro.org>
11175             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11177         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11178         Refactor inline-asm.  Also add comment.
11180         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11181         ElfW macro instead of hardcoded Elf64 types.
11182         (la_aarch64_gnu_pltenter): Likewise.
11183         * sysdeps/aarch64/dl-machine.h
11184         (elf_machine_runtime_setup): Use ElfW(Addr).
11186         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11187         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11188         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11189         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11190         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11191         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11192         (R_AARCH64_TLS_DTPMOD): This.
11193         (R_AARCH64_TLS_DTPREL64): Rename to ...
11194         (R_AARCH64_TLS_DTPREL): This.
11195         (R_AARCH64_TLS_TPREL64): Rename to ...
11196         (R_AARCH64_TLS_TPREL): This.
11197         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11198         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11199         R_AARCH64_TLS_TPREL64.
11200         (elf_machine_rela): Likewise.
11202 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11204         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11205         by setting it to 0.  64b atomics are not supported currently.
11207 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11209         [BZ #16469]
11210         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11211         search domain names.
11213 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11215         [BZ #16469]
11216         * NEWS: Update.
11217         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11218         trailing dot.
11219         * posix/tst-getaddrinfo5.c: New.
11220         * posix/Makefile (tests): Add it.
11222 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11224         [BZ #14498]
11225         * NEWS: Fixed.
11226         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11227         after parsing line but before break_if_match.
11228         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11229         if there is a protocol mismatch.
11231 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11233         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11234         because the potential race is on the user-supplied stream.
11236 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11238         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11239         string literal if not passed a buffer.
11240         * manual/job.texi (ctermid): Update reasoning, note deviation
11241         from posix, suggest mtasurace when not passed a buffer, for
11242         future non-preliminary safety notes.
11244 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11246         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11247         of not passing it a buffer.
11248         Reported by Peng Haitao.
11250 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11252         * manual/Makefile ($(objpfx)stamp-summary): Require
11253         check-safety.sh to pass.
11254         * manual/check-safety.sh: Wish for verification that every
11255         @deftypefn and @deftypefun is followed by a @safety remark.
11257 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11259         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11261         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11262         PTHREAD_CANCEL_ASYNCHRONOUS.
11263         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11264         send SIGCANCEL.
11266         * nptl/default-sched.h: New file.
11267         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11268         * nptl/pthread_create.c: Include it.
11269         (__pthread_create_2_1): Use collect_default_sched instead of making
11270         Linux syscalls here directly.
11272 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11274         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11275         __pthread_once): Use C11 atomics.
11277 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11279         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11281 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11283         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11284         atomic_thread_fence_acquire, atomic_thread_fence_release,
11285         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11286         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11287         atomic_compare_exchange_weak_relaxed,
11288         atomic_compare_exchange_weak_acquire,
11289         atomic_compare_exchange_weak_release,
11290         atomic_exchange_acquire, atomic_exchange_release,
11291         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11292         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11293         atomic_fetch_and_acquire,
11294         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11296 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11298         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11299         USE_ATOMIC_COMPILER_BUILTINS): Define.
11300         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11301         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11302         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11303         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11304         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11305         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11306         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11307         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11308         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11309         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11310         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11311         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11312         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11313         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11314         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11315         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11316         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11317         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11318         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11319         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11320         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11321         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11322         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11323         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11324         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11325         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11326         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11327         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11328         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11329         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11330         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11331         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11332         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11333         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11334         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11335         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11336         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11337         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11338         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11339         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11341 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11343         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11344         the sched_priority value here.  It was already checked when the user
11345         called pthread_attr_setschedparam.
11347         * nptl/tst-bad-schedattr.c: New file.
11348         * nptl/Makefile (tests): Add it.
11350 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11351             Florian Weimer  <fweimer@redhat.com>
11352             Joseph Myers  <joseph@codesourcery.com>
11353             Adam Conrad  <adconrad@0c3.net>
11354             Andreas Schwab  <schwab@suse.de>
11355             Brooks  <bmoses@google.com>
11357         [BZ #17625]
11358         * wordexp-test.c (__dso_handle): Add prototype.
11359         (__register_atfork): Likewise.
11360         (__app_register_atfork): New function.
11361         (registered_forks): New global.
11362         (register_fork): New function.
11363         (test_case): Add 3 new tests for WRDE_CMDSUB.
11364         (main): Call __app_register_atfork.
11365         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11366         fork count is non-zero fail the test.
11367         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11368         is set.
11369         (parse_dollars): Remove check for WRDE_NOCMD.
11370         (parse_dquote): Likewise.
11372 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11374         * Makeconfig (built-modules): List non-library modules to be
11375         built.
11376         (module-cppflags): Include libc-modules.h for
11377         everything except shlib-versions.v.i.
11378         (CPPFLAGS): Use it.
11379         (before-compile): Add libc-modules.h.
11380         ($(common-objpfx)libc-modules.h,
11381         $(common-objpfx)libc-modules.stmp): New targets.
11382         (common-generated): Add libc-modules.h and libc-modules.stmp.
11383         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11384         * include/libc-symbols.h: Don't include libc-modules.h.
11385         * include/libc-modules.h: Remove file.
11386         * scripts/gen-libc-modules.awk: New script to generate
11387         libc-modules.h.
11388         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11389         Depend on libc-modules.stmp.
11391         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11393         * Makeconfig (in-module): Get value of libof set for the
11394         translation unit.
11395         (CPPFLAGS): Use $(in-module).
11396         * Makerules: Don't suffix routine names for nonlib.
11397         * include/libc-modules.h: New file.
11398         * include/libc-symbols.h: Include libc-modules.h
11399         (IS_IN): New macro to replace IS_IN_* macros.
11400         * elf/Makefile: Set libof-* for each routine.
11401         * elf/rtld-Rules: Likewise.
11402         * extra-modules.mk: Likewise.
11403         * iconv/Makefile: Likewise.
11404         * iconvdata/Makefile: Likewise.
11405         * locale/Makefile: Likewise.
11406         * malloc/Makefile: Likewise.
11407         * nss/Makefile: Likewise.
11408         * sysdeps/gnu/Makefile: Likewise.
11409         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11410         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11411         * sysdeps/s390/s390-64/Makefile: Likewise.
11412         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11413         CPPFLAGS for nscd instead of nonlib.
11415 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11417         * nptl/createthread.c: New file.
11419         * nptl/createthread.c: Moved ...
11420         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11422         * nptl/createthread.c: Add proper top-line comment.
11423         (do_clone): Folded into ...
11424         (create_thread): ... here.  Take new arguments STOPPED_START and
11425         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11426         increment __nptl_threads, do event-reporting logic, do
11427         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11428         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11429         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11430         just send SIGCANCEL.
11431         * nptl/pthread_create.c: Forward-declare create_thread before
11432         including createthread.c.
11433         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11434         declaration, and new macro START_THREAD_SELF to replace argument.
11435         Remove return statement.
11436         (report_thread_creation): New function.
11437         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11438         synchronization logic, and __nptl_nthreads increment here, around
11439         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11440         PD->parent_cancelhandling here, before create_thread.  When
11441         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11442         __deallocate_stack, and ENOMEM translation here.
11444 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
11446         [BZ #17616]
11447         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11448         (mptwo): Rename to __mptwo.
11449         (__inv): Use __mptwo instead of mptwo.
11450         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11451         (mptwo): Rename to __mptwo.
11452         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11453         of mpone and __mptwo instead of mptwo.
11454         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11455         instead of mpone.
11456         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11457         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11458         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11459         of mpone and __mptwo instead of mptwo.
11460         (__mpranred): Use __mpone instead of mpone.
11461         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11462         variable.
11463         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11464         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11465         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11466         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11467         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11468         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11469         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11470         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11471         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11472         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11473         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11474         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11475         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11476         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11477         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11478         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11479         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11480         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11481         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11483 2014-11-18  Tom de Vries  <tom@codesoucery.com>
11485         * manual/signal.texi (Primitives Interrupted by Signals): In section,
11486         replace BSD Handler xref with BSD Signal Handling.
11488 2014-11-17  Richard Henderson  <rth@redhat.com>
11490         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11491         (_FP_PACK_RAW_2): Remove.
11492         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11493         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11494         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11495         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11496         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11497         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11498         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11499         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11500         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11501         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11502         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11503         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11504         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11505         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11506         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11507         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11509 2014-11-14  Roland McGrath  <roland@hack.frob.com>
11511         * signal/signal.h [__USE_MISC]
11512         (struct sigvec): Remove type.
11513         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11514         (sigvec): Remove declaration.
11515         * sysdeps/posix/sigvec.c: Moved ...
11516         * signal/sigvec.c: ... here, replacing old file.
11517         (struct sigvec): New type, copied from old signal.h definition.
11518         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11519         (__sigvec): Convert definition to prototype.
11520         (sigvec): Replace weak_alias with compat_symbol.
11521         * signal/Versions (libc: GLIBC_2.21): New version set.
11522         * include/signal.h: Remove __sigvec declaration.
11523         * sysdeps/unix/bsd/sigvec.c: Remove file.
11524         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11525         * manual/signal.texi (BSD Handler): Remove subsection.
11526         Move siginterrupt up to ...
11527         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
11528         (Blocking in BSD): Fold subsection into its parent.
11529         * NEWS: Mention sigvec removal.
11531 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11533         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11534         (DLA_FMS): Make definition conditional only on [__FMA4__].
11535         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11536         definition.
11538         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11539         Make definition conditional only on [PROF].
11540         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11541         definition.
11542         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11543         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11545         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11546         !__GNUC__].
11547         * include/signal.h (__sigpause): Move declaration above call to
11548         libc_hidden_proto.
11549         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11550         variable.
11551         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11552         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11554 2014-11-14  David S. Miller  <davem@davemloft.net>
11556         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11557         Define before including <string/memcpy.c> and <string/mempcpy.c>.
11559 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11561         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11562         * configure: Regenerated.
11563         * manual/install.texi (Tools for Compilation): Document a
11564         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11565         compiler verified to work.
11566         * INSTALL: Regenerated.
11568         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11569         redeclare with asm name.
11570         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11571         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11572         including <string.h>.
11573         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11574         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11575         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11576         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11577         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11578         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11579         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11581 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
11583         * stdlib/strtol.c (__strtol): Use prototype definition.
11585         [BZ #17594]
11586         * stdlib/strtol.c (SYM__): New macro.
11587         (SYM__1): Likewise.
11588         (__strtol): Likewise.
11589         (strtol): Rename to __strtol and define as weak alias of
11590         __strtol.  Use libc_hidden_weak.
11592 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11594         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11595         Use numbered labels in inline assembly.
11597 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11599         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11600         Add setjmp LIBC_PROBE.
11601         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11602         Likewise.
11603         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
11604         Add longjmp, longjmp_target LIBC_PROBE.
11605         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
11606         Likewise.
11608 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11610         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11611         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
11612         to get rid of unused variable warning.
11614 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11616         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
11617         Check for unwind_backtrace ==  NULL only in SHARED case.
11618         (__backchain_backtrace): Compile only in SHARED case.
11619         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
11620         Likewise.
11621         (__backchain_backtrace): Declare as static.
11623 2014-11-12  Roland McGrath  <roland@hack.frob.com>
11625         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
11626         (__libc_multiple_threads_ptr): Variable moved ...
11627         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
11629 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
11631         * conform/GlibcConform.pm: New file.
11632         * conform/conformtest.pl: Use GlibcConform module.
11633         * conform/linknamespace.pl: New file.
11634         * conform/list-header-symbols.pl: Likewise.
11635         * conform/Makefile (linknamespace-symlists-base): New variable.
11636         (linknamespace-symlists-tests): Likewise.
11637         (linknamespace-header-base): Likewise.
11638         (linknamespace-header-tests): Likewise.
11639         (tests-special): Add new tests.
11640         ($(linknamespace-symlists-tests)): New rule.
11641         (linknamespace-libs): New variable.
11642         ($(objpfx)symlist-stdlibs): New rule.
11643         ($(linknamespace-header-tests)): Likewise.
11644         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
11645         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
11646         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
11647         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
11648         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
11649         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
11650         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
11651         (test-xfail-ISO/math.h/linknamespace): Likewise.
11652         (test-xfail-ISO/signal.h/linknamespace): Likewise.
11653         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
11654         (test-xfail-ISO/time.h/linknamespace): Likewise.
11655         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11656         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
11657         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11658         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11659         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11660         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11661         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11662         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11663         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11664         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11665         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11666         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11667         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11668         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11669         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11670         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11671         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11672         (test-xfail-XPG3/search.h/linknamespace): Likewise.
11673         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11674         (test-xfail-XPG3/time.h/linknamespace): Likewise.
11675         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11676         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11677         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11678         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11679         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11680         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11681         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11682         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11683         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11684         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11685         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11686         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11687         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11688         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11689         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11690         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11691         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11692         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11693         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11694         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11695         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11696         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11697         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11698         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11699         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11700         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11701         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11702         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11703         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11704         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11705         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11706         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11707         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11708         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11709         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11710         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11711         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11712         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11713         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11714         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11715         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11716         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11717         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11718         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11719         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11720         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11721         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11722         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11723         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11724         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11725         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11726         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11727         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11728         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11729         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11730         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11731         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11732         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11733         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11734         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11735         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11736         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11737         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11738         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11739         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11740         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11741         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11742         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11743         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11744         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11745         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11746         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11747         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11748         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11749         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11750         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11751         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11752         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11753         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11754         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11755         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11756         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11757         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11758         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11759         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11760         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11761         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11762         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11763         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11764         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11765         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11766         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11767         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11768         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11769         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11770         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11771         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11772         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11773         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11774         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11775         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11776         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11777         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11778         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11779         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11780         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11781         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11782         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11783         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11784         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11785         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11786         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11787         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11788         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11789         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11790         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11791         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11792         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11793         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11794         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11795         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11796         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11797         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11798         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11799         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11800         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11801         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11802         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11803         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11804         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11806         [BZ #17589]
11807         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11808         of fgets_unlocked.
11810         [BZ #17585]
11811         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11812         (memmem): Rename to __memmem and define as weak alias of
11813         __memmem.  Use libc_hidden_weak.
11814         (__memmem): Use libc_hidden_def.
11815         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
11816         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11817         memmem.
11819         [BZ #17582]
11820         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11821         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
11822         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11823         and define as weak alias of __fgets_unlocked.  Use
11824         libc_hidden_weak.
11825         (__fgets_unlocked): Use libc_hidden_def.
11826         * include/stdio.h (__fgets_unlocked): Declare.  Use
11827         libc_hidden_proto.
11828         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11829         __fgets_unlocked instead of fgets_unlocked.
11830         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11831         (GET_NPROCS_CONF_PARSER): Likewise.
11832         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11833         (GET_NPROCS_CONF_PARSER): Likewise.
11835         [BZ #17574]
11836         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11837         weak alias of __wmemset.  Use libc_hidden_weak.
11838         (__wmemset): Use libc_hidden_def.
11839         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
11840         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11841         of wmemset.
11843         [BZ #17573]
11844         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11845         with asm name __mempcpy.
11846         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11848         [BZ #17572]
11849         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11850         and define as weak alias of __rawmemchr.
11851         (__rawmemchr): Do not define as strong alias of rawmemchr.
11853         [BZ #17571]
11854         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11855         alias of __qsort_r.
11856         (qsort): Call __qsort_r instead of qsort_r.
11857         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11858         (__qsort_r): Declare.  Call libc_hidden_proto.
11859         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11860         instead of qsort_r.
11861         * nscd/gai.c (__qsort_r): Define to qsort_r.
11862         * posix/tst-rfc3484.c (__qsort_r): Likewise.
11863         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11864         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11866         [BZ #17570]
11867         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11868         define as weak alias of __malloc_info.
11870         [BZ #17584]
11871         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11872         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11873         (__rewinddir): Use libc_hidden_def.
11874         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11875         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11876         (__rewinddir): Use libc_hidden_def.
11877         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11878         weak alias of __rewinddir.  Don't use libc_hidden_def.
11879         (__rewinddir): Use libc_hidden_def.
11880         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11881         (__rewinddir): Use libc_hidden_proto.
11882         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11883         rewinddir.
11884         (__getcwd): Use __rewinddir instead of rewinddir.
11886         [BZ #17583]
11887         * libio/fileno.c (fileno): Rename to __fileno and define as weak
11888         alias of __fileno.  Use libc_hidden_weak.
11889         (__fileno): Use libc_hidden_def.
11890         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11891         * libio/ftello.c (ftello): Rename to __ftello and define as weak
11892         alias of __ftello.
11893         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11894         __ftello.
11895         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11896         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
11897         libc_hidden_def.
11898         (fread_unlocked): Don't use libc_hidden_ver.
11899         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11900         and define as weak alias of __fread_unlocked.  Don't use
11901         libc_hidden_def.
11902         (__fread_unlocked): Use libc_hidden_def.
11903         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
11904         (ftello): Don't use libc_hidden_proto.
11905         (__ftello): Declare.  Use libc_hidden_proto.
11906         (fread_unlocked): Don't use libc_hidden_proto.
11907         (__fread_unlocked): Declare.  Use libc_hidden_proto.
11908         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11909         and __ftello instead of fileno, fread_unlocked and ftello.
11911 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11913         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11914         GOT12.
11915         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11916         Likewise.
11917         (_dl_start_user): Likewise.
11918         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11920 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
11921             Siddhesh Poyarekar  <siddhesh@redhat.com>
11923         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11924         Move argv and envp down instead of moving argc up.
11925         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11927 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
11929         [BZ #17506]
11930         * test-skeleton.c (main): Return successful if one of
11931         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11932         * string/tst-strcoll-overflow.c: Define expected status.
11934 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
11936         [BZ #17475]
11937         * locale/iso-639.def: Define Bhili and Tulu language codes.
11939 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
11941         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11943 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
11945         [BZ #17555]
11946         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11948 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11950         * configure.ac: Updated check of minimal required version to
11951         2.22.
11952         * manual/install.texi (Tools for Compilation): Updated version
11953         number.
11954         * configure: Regenerated.
11955         * INSTALL: Likewise.
11957 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
11959         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11960         __tls_get_addr.
11962 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
11964         * include/sys/wait.h (__libc_waitpid): Remove declaration.
11965         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11966         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11967         libc_hidden_weak.
11968         (waitpid): Define as alias of __waitpid.
11969         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11970         __waitpid.
11971         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11972         libc_hidden_weak.
11973         (waitpid): Define as alias of __waitpid.
11974         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11975         __libc_waitpid alias.
11976         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11977         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11978         Likewise.
11979         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
11980         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
11981         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
11982         alias.
11983         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
11984         __waitpid.
11985         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11986         libc_hidden_weak.
11987         (waitpid): Define as alias of __waitpid.
11989 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
11991         * manual/llio.texi: Add comment that write safety has been
11992         fixed in Linux.
11994         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
11995         (localplt-build-dso): Add elf/ld.so.
11996         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
11997         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
11998         and free for ld.so.
11999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12000         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12002         Likewise.
12003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12004         Likewise.
12005         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12006         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12007         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12008         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12009         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12010         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12011         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12012         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12013         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12014         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12015         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12017 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12019         [BZ #14132]
12020         * include/libc-symbols.h (INTUSE): Remove macro.
12021         (INTDEF): Likewise.
12022         (INTVARDEF): Likewise.
12023         (_INTVARDEF): Likewise.
12024         (INTDEF2): Likewise.
12025         (INTVARDEF2): Likewise.
12026         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12027         rtld_hidden_def instead of INTVARDEF.
12028         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12029         (_dl_starting_up_internal): Remove declaration.
12030         (_dl_starting_up): Use rtld_hidden_proto.
12031         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12032         declaration.
12033         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12034         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12035         _dl_starting_up.
12036         * elf/dl-writev.h (_dl_writev): Likewise.
12037         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12038         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12039         _dl_starting_up_internal.
12041 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12043         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12044         test-skeleton.c.
12046 2014-11-05  Will Newton  <will.newton@linaro.org>
12048         * benchtests/Makefile: (bench-malloc): Add malloc thread
12049         scalability benchmark.
12050         * benchtests/bench-malloc-threads.c: New file.
12052 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12054         * sysdeps/aarch64/strchrnul.S: New file.
12056 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12058         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12059         definition.
12060         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12061         Likwise.
12062         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12063         Likewise.
12064         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12065         Likewise.
12066         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12067         Likewise.
12068         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12069         Likewise.
12071 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12073         * catgets/test-gencat.c: Use test-skeleton.c.
12074         * catgets/tst-catgets.c: Likewise.
12075         * csu/tst-empty.c: Likewise.
12076         * elf/tst-audit2.c: Likewise.
12077         * elf/tst-global1.c: Likewise.
12078         * elf/tst-pathopt.c: Likewise.
12079         * elf/tst-piemod1.c: Likewise.
12080         * elf/tst-tls10.c: Likewise.
12081         * elf/tst-tls11.c: Likewise.
12082         * elf/tst-tls12.c: Likewise.
12083         * gnulib/tst-gcc.c: Likewise.
12084         * iconvdata/tst-e2big.c: Likewise.
12085         * iconvdata/tst-loading.c: Likewise.
12086         * iconv/tst-iconv1.c: Likewise.
12087         * iconv/tst-iconv2.c: Likewise.
12088         * inet/test-inet6_opt.c: Likewise.
12089         * inet/tst-gethnm.c: Likewise.
12090         * inet/tst-network.c: Likewise.
12091         * inet/tst-ntoa.c: Likewise.
12092         * intl/tst-codeset.c: Likewise.
12093         * intl/tst-gettext2.c: Likewise.
12094         * intl/tst-gettext3.c: Likewise.
12095         * intl/tst-ngettext.c: Likewise.
12096         * intl/tst-translit.c: Likewise.
12097         * io/test-stat.c: Likewise.
12098         * libio/test-fmemopen.c: Likewise.
12099         * libio/tst-freopen.c: Likewise.
12100         * libio/tst-sscanf.c: Likewise.
12101         * libio/tst-ungetwc1.c: Likewise.
12102         * libio/tst-ungetwc2.c: Likewise.
12103         * libio/tst-widetext.c: Likewise.
12104         * localedata/tst-ctype.c: Likewise.
12105         * localedata/tst-digits.c: Likewise.
12106         * localedata/tst-leaks.c: Likewise.
12107         * localedata/tst-mbswcs1.c: Likewise.
12108         * localedata/tst-mbswcs2.c: Likewise.
12109         * localedata/tst-mbswcs3.c: Likewise.
12110         * localedata/tst-mbswcs4.c: Likewise.
12111         * localedata/tst-mbswcs5.c: Likewise.
12112         * localedata/tst-setlocale.c: Likewise.
12113         * localedata/tst-trans.c: Likewise.
12114         * localedata/tst-wctype.c: Likewise.
12115         * localedata/tst-xlocale1.c: Likewise.
12116         * login/tst-grantpt.c: Likewise.
12117         * malloc/tst-calloc.c: Likewise.
12118         * malloc/tst-malloc.c: Likewise.
12119         * malloc/tst-mallocstate.c: Likewise.
12120         * malloc/tst-mcheck.c: Likewise.
12121         * malloc/tst-mtrace.c: Likewise.
12122         * malloc/tst-obstack.c: Likewise.
12123         * math/atest-exp2.c: Likewise.
12124         * math/atest-exp.c: Likewise.
12125         * math/atest-sincos.c: Likewise.
12126         * math/test-matherr.c: Likewise.
12127         * math/test-misc.c: Likewise.
12128         * math/test-powl.c: Likewise.
12129         * math/tst-definitions.c: Likewise.
12130         * misc/tst-dirname.c: Likewise.
12131         * misc/tst-efgcvt.c: Likewise.
12132         * misc/tst-fdset.c: Likewise.
12133         * misc/tst-hsearch.c: Likewise.
12134         * misc/tst-mntent2.c: Likewise.
12135         * nptl/tst-sem7.c: Likewise.
12136         * nptl/tst-sem8.c: Likewise.
12137         * nptl/tst-sem9.c: Likewise.
12138         * nss/test-netdb.c: Likewise.
12139         * posix/tst-fnmatch.c: Likewise.
12140         * posix/tst-getlogin.c: Likewise.
12141         * posix/tst-gnuglob.c: Likewise.
12142         * posix/tst-mmap.c: Likewise.
12143         * pwd/tst-getpw.c: Likewise.
12144         * resolv/tst-inet_ntop.c: Likewise.
12145         * rt/tst-timer.c: Likewise.
12146         * stdio-common/test-fseek.c: Likewise.
12147         * stdio-common/test-popen.c: Likewise.
12148         * stdio-common/test-vfprintf.c: Likewise.
12149         * stdio-common/tst-cookie.c: Likewise.
12150         * stdio-common/tst-fileno.c: Likewise.
12151         * stdio-common/tst-gets.c: Likewise.
12152         * stdio-common/tst-obprintf.c: Likewise.
12153         * stdio-common/tst-perror.c: Likewise.
12154         * stdio-common/tst-sprintf2.c: Likewise.
12155         * stdio-common/tst-sprintf3.c: Likewise.
12156         * stdio-common/tst-sprintf.c: Likewise.
12157         * stdio-common/tst-swprintf.c: Likewise.
12158         * stdio-common/tst-tmpnam.c: Likewise.
12159         * stdio-common/tst-unbputc.c: Likewise.
12160         * stdio-common/tst-wc-printf.c: Likewise.
12161         * stdlib/tst-environ.c: Likewise.
12162         * stdlib/tst-fmtmsg.c: Likewise.
12163         * stdlib/tst-limits.c: Likewise.
12164         * stdlib/tst-rand48-2.c: Likewise.
12165         * stdlib/tst-rand48.c: Likewise.
12166         * stdlib/tst-random2.c: Likewise.
12167         * stdlib/tst-random.c: Likewise.
12168         * stdlib/tst-strtol.c: Likewise.
12169         * stdlib/tst-strtoll.c: Likewise.
12170         * stdlib/tst-tls-atexit.c: Likewise.
12171         * stdlib/tst-xpg-basename.c: Likewise.
12172         * string/test-ffs.c: Likewise.
12173         * string/tst-bswap.c: Likewise.
12174         * string/tst-inlcall.c: Likewise.
12175         * string/tst-strtok.c: Likewise.
12176         * string/tst-strxfrm.c: Likewise.
12177         * sysdeps/x86_64/tst-audit10.c: Likewise.
12178         * sysdeps/x86_64/tst-audit3.c: Likewise.
12179         * sysdeps/x86_64/tst-audit4.c: Likewise.
12180         * sysdeps/x86_64/tst-audit5.c: Likewise.
12181         * time/tst-ftime_l.c: Likewise.
12182         * time/tst-getdate.c: Likewise.
12183         * time/tst-mktime3.c: Likewise.
12184         * time/tst-mktime.c: Likewise.
12185         * time/tst-posixtz.c: Likewise.
12186         * time/tst-strptime2.c: Likewise.
12187         * time/tst-strptime3.c: Likewise.
12188         * wcsmbs/tst-btowc.c: Likewise.
12189         * wcsmbs/tst-mbrtowc.c: Likewise.
12190         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12191         * wcsmbs/tst-wchar-h.c: Likewise.
12192         * wcsmbs/tst-wcpncpy.c: Likewise.
12193         * wcsmbs/tst-wcrtomb.c: Likewise.
12194         * wcsmbs/tst-wcsnlen.c: Likewise.
12195         * wcsmbs/tst-wcstof.c: Likewise.
12197 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12199         [BZ #14132]
12200         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12201         INTDEF.
12202         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12203         declaration.
12204         (_dl_mcount): Use rtld_hidden_proto.
12205         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12206         _dl_mcount.
12207         * elf/rtld.c (_rtld_global_ro): Likewise.
12209         [BZ #14132]
12210         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12211         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12212         of _dl_init_internal.
12213         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12214         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12215         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12216         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12217         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12218         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12219         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12220         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12221         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12222         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12223         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12224         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12225         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12226         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12227         * sysdeps/tile/dl-start.S (_start): Likewise.
12228         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12229         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12231         [BZ #14132]
12232         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12233         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12234         (rtld_progname): Make macro definition unconditional.
12235         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12236         INTDEF.
12237         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12238         (dl_main): Likewise.
12239         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12240         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12241         instead of _dl_argv_internal.
12242         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12243         __GI__dl_argv instead of INTUSE(_dl_argv).
12244         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12245         __GI__dl_argv instead of _dl_argv_internal.
12247         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12248         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12249         macro.
12250         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12251         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12252         New macro.
12253         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12254         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12255         macro.
12256         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12257         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12259 2014-11-04  Andreas Schwab  <schwab@suse.de>
12261         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12263 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12265         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12266         mtvsrd instruction in binary form.
12268 2014-11-03  Andreas Schwab  <schwab@suse.de>
12270         [BZ #17522]
12271         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12272         for less than MB_LEN_MAX use a local buffer of that size.
12273         * libio/tst-fputws.c: New file.
12274         * libio/Makefile (tests): Add tst-fputws.
12276 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12278         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12279         the size of the fpu_fr.fpu_dregs[] array.
12281 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12283         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12284         (__nanosleep): Do not define as alias.
12285         (nanosleep): Define as alias of __nanosleep.
12286         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12287         __libc_nanosleep name.
12289 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12291         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12292         install.texi in comment.
12294 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12296         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12297         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12298         ... add here and use lwsync or sync ...
12299         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12300         ... and add here using lwsync.
12302 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12304         * elf/dl-machine-reject-phdr.h: New file.
12305         * elf/dl-load.c: #include that.
12306         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12307         if that returned true.
12309 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12311         [BZ #17496]
12312         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12313         gen-as-const-headers chunk.  Add a big scare comment after the last
12314         safe place to touch before-compile.
12316 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12318         * manual/install.texi (Tools for Compilation): Update autoconf
12319         version requirements.
12320         * INSTALL: Regenerated.
12322         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12323         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12324         (__libc_pselect): Likewise.
12326         [BZ #14138]
12327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12332 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12334         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12335         correct barrier instruction.
12336         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12337         Likewise.
12338         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12339         Likewise.
12341 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12343         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12344         after defining inlines.  Instead, just use parens to defeat macro
12345         expansion of __isctype in its declaration.
12347 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12349         * include/sys/uio.h (__libc_readv): Remove declaration.
12350         (__libc_writev): Likewise.
12351         * misc/readv.c (__libc_readv): Rename to __readv.
12352         (__readv): Do not define as alias.
12353         (readv): Define as alias of __readv.
12354         * misc/writev.c (__libc_writev): Rename to __writev.
12355         (__writev): Do not define as alias.
12356         (writev): Define as alias of __writev.
12357         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12358         (__readv): Do not define as alias.
12359         (readv): Define unconditionally as alias of __readv.
12360         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12361         (__writev): Do not define as alias.
12362         (writev): Define unconditionally as alias of __writev.
12363         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12364         name.
12365         (writev): Do not define __libc_writev name.
12367 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12369         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12370         (convert_charseq): New function, broken out of ...
12371         (use_from_charmap): ... here.  Call it.
12372         (use_to_charmap): Use convert_charseq and free instead of duplicating
12373         its code with a variable-length stack struct.
12375 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12377         * include/fcntl.h (__libc_creat): Remove declaration.
12378         * io/creat.c (__libc_creat): Rename to creat.
12379         (creat): Do not define as alias.
12380         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12381         of creat instead of __libc_creat.
12382         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12383         to creat.
12384         (creat): Do not define as alias.
12385         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12386         __libc_creat.
12387         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12388         __libc_creat name.
12389         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12390         Likewise.
12392 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12394         * manual/llio.texi: Add comments discussing why write() may be
12395         considered MT-unsafe on Linux.
12397 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12399         * dl-load.c (local_strdup): Remove.
12400         (expand_dynamic_string_token): Use __strdup.
12401         (decompose_rpath): Likewise.
12402         (_dl_map_object): Likewise.
12404 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12406         [BZ #14132]
12407         * sysdeps/generic/unwind-dw2-fde.c
12408         (__register_frame_info_bases_internal): Do not declare.
12409         (__register_frame_info_table_bases_internal): Likewise.
12410         (__deregister_frame_info_bases_internal): Likewise.
12411         (__register_frame_info_bases): Declare and use hidden_proto before
12412         definition.  Use hidden_def instead of INTDEF.
12413         (__register_frame_info_table_bases): Likewise.
12414         (__deregister_frame_info_bases): Likewise.
12415         (__register_frame_info): Do not use INTUSE.
12416         (__register_frame): Likewise.
12417         (__register_frame_info_table): Likewise.
12418         (__register_frame_table): Likewise.
12419         (__deregister_frame_info): Likewise.
12420         (__deregister_frame): Likewise.
12422 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12424         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12425         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12426         not undefine.
12427         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12428         Likewise.
12429         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12430         Likewise.
12432 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12434         [BZ #14138]
12435         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12436         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12437         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12438         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12439         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12440         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12441         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12442         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12443         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12444         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12445         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12446         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12447         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12448         syscall.
12449         (setfsuid): Likewise.
12450         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12451         (setfsuid): Likewise.
12452         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12453         (setfsuid): Likewise.
12454         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12455         Likewise.
12456         (setfsuid): Likewise.
12457         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12458         (setfsuid): Likewise.
12459         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12460         Likewise.
12461         (setfsuid): Likewise.
12463 2014-10-27  Andreas Schwab  <schwab@suse.de>
12465         [BZ #17501]
12466         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12467         check for Slow_SSE4_2 feature bit.
12468         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12469         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12470         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12471         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
12473 2014-10-24  Roland McGrath  <roland@hack.frob.com>
12475         * configure.ac: Validate compiler version with a empirical test of
12476         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12477         $CC -v output.
12478         * configure: Regenerated.
12480         * inet/htons.c (htons): Prototypify.
12481         * inet/htonl.c (htonl): Likewise.
12483 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12485         * string/strncat.c (strncat): Improve performance by using strlen.
12487 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12489         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12491 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12493         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12494         Call libc_fetestexcept_aarch64.
12496 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12498         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12499         Call libc_feholdexcept_aarch64.
12501 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12503         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12504         Call get_rounding_mode.
12506 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12508         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12509         Simplify logic.
12511 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12513         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12514         Simplify logic.
12516 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
12518         [BZ #14138]
12519         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12520         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12521         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12522         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12523         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12524         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12525         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12526         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12527         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12528         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12529         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12530         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12531         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12532         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12533         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12534         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12535         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12536         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12537         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12538         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12539         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12540         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12541         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12542         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12543         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12544         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12545         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12546         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12547         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12548         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12549         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12550         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12551         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12552         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12553         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12554         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12555         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12556         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12557         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12558         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12559         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12560         syscall.
12561         (geteuid): Likewise.
12562         (getgid): Likewise.
12563         (getuid): Likewise.
12564         (getresgid): Likewise.
12565         (getresuid): Likewise.
12566         (getgroups): Likewise.
12567         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12568         (geteuid): Likewise.
12569         (getgid): Likewise.
12570         (getuid): Likewise.
12571         (getresgid): Likewise.
12572         (getresuid): Likewise.
12573         (getgroups): Likewise.
12574         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12575         (geteuid): Likewise.
12576         (getgid): Likewise.
12577         (getuid): Likewise.
12578         (getresgid): Likewise.
12579         (getresuid): Likewise.
12580         (getgroups): Likewise.
12581         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12582         Likewise.
12583         (geteuid): Likewise.
12584         (getgid): Likewise.
12585         (getuid): Likewise.
12586         (getresgid): Likewise.
12587         (getresuid): Likewise.
12588         (getgroups): Likewise.
12589         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12590         (geteuid): Likewise.
12591         (getgid): Likewise.
12592         (getuid): Likewise.
12593         (getresgid): Likewise.
12594         (getresuid): Likewise.
12595         (getgroups): Likewise.
12596         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12597         Likewise.
12598         (geteuid): Likewise.
12599         (getgid): Likewise.
12600         (getuid): Likewise.
12601         (getgroups): Likewise.
12603         [BZ #14138]
12604         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
12605         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
12606         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
12607         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12608         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
12609         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
12610         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
12611         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
12612         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
12613         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
12614         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
12615         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
12616         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
12617         __chown.
12618         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
12619         (lchown): Likewise.
12620         (fchown): Likewise.
12621         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
12622         Likewise.
12623         (lchown): Likewise.
12624         (fchown): Likewise.
12625         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
12626         (lchown): Likewise.
12627         (fchown): Likewise.
12628         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
12629         Likewise.
12630         (lchown): Likewise.
12631         (fchown): Likewise.
12633 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12635         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
12636         Simplify logic.
12638 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12640         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12641         Cleanup logic.
12643 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12645         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12646         Remove unused include.
12648 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12650         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
12651         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
12652         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
12653         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
12655 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
12656             Helge Deller <deller@gmx.de>
12658         [BZ #17508]
12659         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
12660         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
12661         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
12663 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
12665         [BZ #14132]
12666         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12667         Remove macro definition.
12668         (__ashrdi3_v_glibc20): Likewise.
12669         (__lshrdi3_v_glibc20): Likewise.
12670         (__cmpdi2_v_glibc20): Likewise.
12671         (__ucmpdi2_v_glibc20): Likewise.
12672         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12673         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12674         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12675         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12676         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12677         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12679 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12681         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12682         old GNU extension [0] syntax.
12683         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12684         alloca rather than an array member with variable length.
12685         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12686         * nscd/nscd.c (invalidate_db): New function, broken out of ...
12687         (parse_opt): ... here.  Likewise use alloca there.
12688         Validate the -i argument before checking for rootness.
12689         (send_shutdown): New function, broken out of ...
12690         (parse_opt): ... here.
12692 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12694         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12695         macro to get at the _rt_local_ro field.
12696         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12697         ([PIC] case) or _dl_hwcap ([!PIC] case).
12698         * sysdeps/arm/setjmp.S: Likewise.
12700         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12701         * sysdeps/arm/configure.ac: New check to define it.
12702         * sysdeps/arm/configure: Regenerated.
12703         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12704         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12705         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12706         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12707         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12708         Use move/movt pair instead of a load.
12709         (LDST_GLOBAL): Macro removed.
12710         (LDR_GLOBAL): New macro replaces it.
12711         (LDR_HIDDEN): New macro.
12712         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12713         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12715         * setjmp/tst-setjmp-static.c: New file.
12716         * setjmp/Makefile (tests): Add it.
12717         (tests-static): New variable.
12719 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
12721         [BZ #17485]
12722         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12724 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
12726         [BZ #14132]
12727         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12729 2014-10-21  Roland McGrath  <roland@hack.frob.com>
12731         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12733 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12735         * io/fts.c (dirent_not_directory): New function.
12736         (fts_build): Call it.
12738 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12740         * nptl/version.c (__nptl_main): Use normal __write rather than
12741         INTERNAL_SYSCALL.
12742         (banner): Update copyright years.
12744         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12745         gettimeofday.
12746         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12747         * nptl/pthread_cond_timedwait.c: Likewise.
12748         * nptl/pthread_mutex_timedlock.c: Likewise.
12749         * nptl/sem_timedwait.c: Likewise.
12751         * sysdeps/nptl/bits/libc-lock.h
12752         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12753         (__libc_lock_init_recursive): Return void, not 0.
12754         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12755         (__libc_rwlock_init): Likewise.
12756         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12758 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12760         [BZ #15215]
12761         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12762         (__pthread_once_slow): ... here.
12763         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12764         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12766 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12768         [BZ #15215]
12769         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12770         __PTHREAD_ONCE_FORK_GEN_INCR): New.
12771         * sysdeps/nptl/fork.c (__libc_fork): Use them.
12772         * nptl/pthread_once.c (__pthread_once): Likewise.
12773         Update comments.
12775 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
12777         [BZ #14138]
12778         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12779         name.
12780         (writev): Use __libc_writev as strong name.
12781         * sysdeps/unix/sysv/linux/readv.c: Remove file.
12782         * sysdeps/unix/sysv/linux/writev.c: Likewise.
12784 2014-10-17  Roland McGrath  <roland@hack.frob.com>
12786         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12788         * sysdeps/i386/nptl/tls.h
12789         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12790         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12791         New macros.
12792         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12793         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12794         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12795         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12796         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12797         Call CHECK_THREAD_SYSINFO instead of doing an assert.
12799         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12800         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12801         on [__NR_futex].
12802         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12803         broken out of ...
12804         (__pthread_mutex_init): ... here.  Call it.
12805         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12806         Conditionalize PI cases on [__NR_futex].
12807         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12808         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12809         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12811         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12812         conditional on [SIGSETXID].
12813         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12814         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12815         is defined.  Likewise for SIGSETXID.
12816         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12817         Conditionalize definitions on [SIGSETXID].
12818         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12819         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12820         unblocking on [SIGCANCEL].
12822         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12823         [__NR_set_robust_list].
12825 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12827         * string/strcoll_l.c (get_next_seq): Fix up formatting.
12828         (do_compare): Likewise.
12830 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
12832         [BZ #15884]
12833         * string/strcoll_l.c: Don't include stdio.h.
12834         (coll_seq): Remove members idxarr and rulearr.
12835         (get_next_seq_cached): Remove function.
12836         (get_next_seq): Likewise.
12837         (get_next_seq_nocache): Rename to get_next_seq.
12838         (do_compare): Remove function.
12839         (do_compare_nocache): Rename to do_compare.
12840         (STRCOLL): Remove weight and rules cache.
12842 2014-10-16  Roland McGrath  <roland@hack.frob.com>
12844         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12845         * sysdeps/arm/sfp-machine.h: ... to here.
12846         * sysdeps/arm/Implies: Remove arm/soft-fp.
12848 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
12850         * conform/data/sys/utsname.h-data (*_t): Allow.
12851         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12852         [POSIX] (WEXITED): Do not expect constant.
12853         [POSIX] (WSTOPPED): Likewise.
12854         [POSIX] (WNOHANG): Likewise.
12855         [POSIX] (WNOWAIT): Likewise.
12856         [POSIX] (siginfo_t): Do not expect type or elements.
12857         [POSIX] (pid_t): Do not expect type.
12858         [POSIX] (signal.h): Do not allow header.
12859         [POSIX] (sys/resource.h): Likewise.
12860         [POSIX] (si_*): Do not allow pattern.
12861         [POSIX] (W*): Likewise.
12862         [POSIX] (P_*): Likewise.
12863         [POSIX] (BUS_*): Likewise.
12864         [POSIX] (CLD_*): Likewise.
12865         [POSIX] (FPE_*): Likewise.
12866         [POSIX] (ILL_*): Likewise.
12867         [POSIX] (POLL_*): Likewise.
12868         [POSIX] (SEGV_*): Likewise.
12869         [POSIX] (SI_*): Likewise.
12870         [POSIX] (TRAP_*): Likewise.
12871         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12872         variable.
12874 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12876         [BZ #12926]
12877         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12878         infinite loop when __recvmsg returns 0.
12880 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
12882         * CANCEL-FCT-WAIVE: Remove file.
12883         * CANCEL-FILE-WAIVE: Likewise.
12885         [BZ #14132]
12886         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12887         instead of INTVARDEF.
12888         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12889         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12890         rtld_hidden_data_def instead of INTVARDEF.
12891         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12892         * elf/dl-deps.c (expand_dst): Likewise.
12893         * elf/dl-load.c (_dl_dst_count): Likewise.
12894         (_dl_dst_substitute): Likewise.
12895         (decompose_rpath): Likewise.
12896         (_dl_init_paths): Likewise.
12897         (open_path): Likewise.
12898         (_dl_map_object): Likewise.
12899         * elf/rtld.c (dl_main): Likewise.
12900         (process_dl_audit): Likewise.
12901         (process_envvars): Likewise.
12902         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12903         Remove declaration.
12904         (__libc_enable_secure): Use rtld_hidden_proto.
12906 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12908         * elf/dl-load.c
12909         (add_path): New function broken out of _dl_rtld_di_serinfo.
12910         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
12912 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12914         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12915         parentheses around macro arguments.
12916         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12917         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12918         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12919         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12920         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12921         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12922         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12923         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12924         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12925         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12926         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12927         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12928         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12929         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12930         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12931         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12932         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12933         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12934         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12935         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12936         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12937         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12938         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12939         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12940         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12941         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12942         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12943         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12944         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12945         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12946         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12947         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12948         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12949         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12950         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12951         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12952         Likewise.
12953         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12954         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12955         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12956         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12957         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12958         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12959         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12960         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12961         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12962         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12963         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12964         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12965         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12966         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12967         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12968         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12969         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12970         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12971         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12972         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12973         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12974         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12975         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
12976         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
12977         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
12978         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
12979         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
12980         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
12981         (_FP_FRAC_SRS_1): Likewise.
12982         (_FP_FRAC_CLZ_1): Likewise.
12983         (_FP_MUL_MEAT_1_imm): Likewise.
12984         (_FP_MUL_MEAT_1_wide): Likewise.
12985         (_FP_MUL_MEAT_1_hard): Likewise.
12986         (_FP_SQRT_MEAT_1): Likewise.
12987         (_FP_FRAC_ASSEMBLE_1): Likewise.
12988         (_FP_FRAC_DISASSEMBLE_1): Likewise.
12989         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
12990         (__FP_CLZ_2): Likewise.
12991         (_FP_MUL_MEAT_2_wide): Likewise.
12992         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12993         (_FP_MUL_MEAT_2_gmp): Likewise.
12994         (_FP_MUL_MEAT_2_120_240_double): Likewise.
12995         (_FP_SQRT_MEAT_2): Likewise.
12996         (_FP_FRAC_ASSEMBLE_2): Likewise.
12997         (_FP_FRAC_DISASSEMBLE_2): Likewise.
12998         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
12999         (_FP_FRAC_CLZ_4): Likewise.
13000         (_FP_MUL_MEAT_4_wide): Likewise.
13001         (_FP_MUL_MEAT_4_gmp): Likewise.
13002         (_FP_SQRT_MEAT_4): Likewise.
13003         (_FP_FRAC_ASSEMBLE_4): Likewise.
13004         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13005         * soft-fp/op-common.h (_FP_CMP): Likewise.
13006         (_FP_CMP_EQ): Likewise.
13007         (_FP_CMP_UNORD): Likewise.
13008         (_FP_TO_INT): Likewise.
13009         (_FP_FROM_INT): Likewise.
13010         [!__FP_CLZ] (__FP_CLZ): Likewise.
13011         (_FP_DIV_HELP_imm): Likewise.
13012         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13013         Likewise.
13014         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13015         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13016         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13017         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13018         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13019         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13020         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13021         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13022         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13023         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13024         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13025         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13026         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13027         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13028         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13029         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13030         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13031         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13032         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13033         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13034         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13035         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13036         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13037         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13038         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13039         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13040         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13041         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13042         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13043         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13044         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13045         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13046         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13047         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13048         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13049         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13050         (FP_UNPACK_RAW_SP): Likewise.
13051         (FP_PACK_RAW_S): Likewise.
13052         (FP_PACK_RAW_SP): Likewise.
13053         (FP_UNPACK_S): Likewise.
13054         (FP_UNPACK_SP): Likewise.
13055         (FP_UNPACK_SEMIRAW_S): Likewise.
13056         (FP_UNPACK_SEMIRAW_SP): Likewise.
13057         (FP_PACK_S): Likewise.
13058         (FP_PACK_SP): Likewise.
13059         (FP_PACK_SEMIRAW_S): Likewise.
13060         (FP_PACK_SEMIRAW_SP): Likewise.
13061         (_FP_SQRT_MEAT_S): Likewise.
13062         (FP_CMP_S): Likewise.
13063         (FP_CMP_EQ_S): Likewise.
13064         (FP_CMP_UNORD_S): Likewise.
13065         (FP_TO_INT_S): Likewise.
13066         (FP_FROM_INT_S): Likewise.
13068         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13070         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13071         (FP_EX_INVALID_IMZ): Likewise.
13072         (FP_EX_INVALID_IMZ_FMA): Likewise.
13073         (FP_EX_INVALID_ISI): Likewise.
13074         (FP_EX_INVALID_ZDZ): Likewise.
13075         (FP_EX_INVALID_IDI): Likewise.
13076         (FP_EX_INVALID_SQRT): Likewise.
13077         (FP_EX_INVALID_CVI): Likewise.
13078         (FP_EX_INVALID_VC): Likewise.
13079         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13080         "invalid" exceptions.
13081         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13082         (_FP_ADD_INTERNAL): Likewise.
13083         (_FP_MUL): Likewise.
13084         (_FP_FMA): Likewise.
13085         (_FP_DIV): Likewise.
13086         (_FP_CMP_CHECK_NAN): Likewise.
13087         (_FP_SQRT): Likewise.
13088         (_FP_TO_INT): Likewise.
13089         (FP_EXTEND): Likewise.
13091 2014-10-09  Allan McRae  <allan@archlinux.org>
13093         * po/fr.po: Update French translation from translation project.
13095 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13097         [BZ #14132]
13098         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13099         of INTDEF.
13100         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13101         (__cxa_atexit): Use libc_hidden_proto.
13102         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13104         [BZ #14132]
13105         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13106         declaration.
13107         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13108         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13109         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13110         [!_ISOMAC] (__iswctype_internal): Likewise.
13111         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13112         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13113         alias.
13114         (fcntl): Remove __fcntl_internal alias.
13115         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13116         __connect_internal alias.
13117         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13118         Likewise.
13120         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13121         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13122         FP_DENORM_ZERO.
13123         (_FP_CHECK_FLUSH_ZERO): New macro.
13124         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13125         (_FP_CMP): Likewise.
13126         (_FP_CMP_EQ): Likewise.
13127         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13128         FP_DENORM_ZERO.
13129         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13130         (FP_TRUNC): Likewise.
13132         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13133         treated as invalid conversion, not as normal exponent.
13135         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13136         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13137         (_FP_CMP_EQ): Likewise.
13138         (_FP_CMP_UNORD): Likewise.
13139         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13140         (FP_CMP_EQ_D): Likewise.
13141         (FP_CMP_UNORD_D): Likewise.
13142         * soft-fp/extended.h (FP_CMP_E): Likewise.
13143         (FP_CMP_EQ_E): Likewise.
13144         (FP_CMP_UNORD_E): Likewise.
13145         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13146         (FP_CMP_EQ_Q): Likewise.
13147         (FP_CMP_UNORD_Q): Likewise.
13148         * soft-fp/single.h (FP_CMP_S): Likewise.
13149         (FP_CMP_EQ_S): Likewise.
13150         (FP_CMP_UNORD_S): Likewise.
13151         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13152         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13153         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13154         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13155         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13156         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13157         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13158         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13159         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13160         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13161         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13162         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13163         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13164         to FP_CMP_Q.
13165         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13166         FP_CMP_Q.
13167         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13168         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13169         FP_CMP_EQ_Q.
13170         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13171         FP_CMP_Q.
13172         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13173         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13174         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13175         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13176         FP_CMP_EQ_Q.
13177         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13178         FP_CMP_Q.
13179         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13180         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13181         FP_CMP_EQ_Q.
13182         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13183         FP_CMP_Q.
13184         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13185         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13186         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13187         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13188         FP_CMP_EQ_Q.
13190         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13191         a subnormal result, set the underflow exception if trapping on
13192         underflow is enabled.
13193         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13194         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13195         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13196         redefine to 0.
13197         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13198         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13199         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13200         * soft-fp/extendxftf2.c (__extendxftf2): Use
13201         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13203         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13204         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13205         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13206         FP_HANDLE_EXCEPTIONS.
13207         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13208         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13209         FP_HANDLE_EXCEPTIONS.
13210         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13211         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13212         FP_HANDLE_EXCEPTIONS.
13213         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13214         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13215         FP_HANDLE_EXCEPTIONS.
13217 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13219         [BZ #14132]
13220         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13221         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13222         use INTUSE.
13223         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13224         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13225         Remove alias.
13226         (__adjtimex): Define using libc_hidden_ver.
13227         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13228         Remove declaration.
13229         (ntp_gettime): Call __adjtimex directly.
13230         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13231         Remove declaration.
13232         (ntp_gettimex): Call __adjtimex directly.
13233         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13234         __adjtimex_internal alias.
13236 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13238         [BZ #17460]
13239         * nscd/nscd.c (more_help): Rewrite list of tables collection
13240         using xstrdup and asprintf.
13242         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13244 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13245             Roland McGrath  <roland@hack.frob.com>
13247         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13248         (do_lookup_unique): ... local function 'enter' here; update callers.
13250 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13252         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13253         compat_symbol calls on [SHARED].
13254         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13255         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13256         Remove.
13257         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13258         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13259         (oldsetrlimit): Remove.
13260         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13262         (lchown): New syscall entry.
13263         (oldsetrlimit): Remove.
13264         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13265         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13266         (oldsetrlimit): Remove.
13267         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13269         [BZ #14138]
13270         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13271         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13272         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13273         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13274         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13275         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13276         (fchown): Likewise.
13277         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13278         (fchown): Likewise.
13279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13280         Likewise.
13282 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13284         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13285         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13286         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13287         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13288         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13289         Likewise.
13290         (__old_sem_post): Likewise.
13292 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13294         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13295         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13296         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13297         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13298         Use INLINE_VSYSCALL macro.
13299         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13300         __vdso_clock_gettime.
13301         * sysdeps/unix/sysv/linux/tile/init-first.c
13302         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13303         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13304         __vdso_clock_gettime.
13306         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13307         to set up frame more cleanly.
13309         * sysdeps/tile/memcmp.c: New file.
13311         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13313         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13314         * sysdeps/tile/tilegx/strcasestr.c: New file.
13315         * sysdeps/tile/tilegx/strnlen.c: New file.
13316         * sysdeps/tile/tilegx/strstr.c: New file.
13318         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13320 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13322         * nptl/tst-setuid3.c: Write errors to stdout.
13324 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13326         * elf/dl-deps.c
13327         (preload): New functions broken out of _dl_map_object_deps.
13328         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13330 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13332         [BZ #14138]
13333         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13334         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13336 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13338         * sysdeps/mips/strcmp.S: New.
13340 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13342         [BZ #14138]
13343         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13344         (linkat): Likewise.
13345         (mkdirat): Likewise.
13346         (readlinkat): Likewise.
13347         (renameat): Likewise.
13348         (symlinkat): Likewise.
13349         (unlinkat): Likewise.
13350         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13351         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13352         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13353         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13354         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13355         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13356         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13358 2014-09-30  Will Newton  <will.newton@linaro.org>
13360         * math/math.h: Define long double math functions if
13361         _LIBC_TEST is defined.
13362         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13364         * localedata/Makefile: Move assignment to tests-special
13365         into an ifdef testing run-built-tests.
13366         * timezone/Makefile: Likewise.
13368 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13370         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13371         with $(BASH) not $(SHELL).
13373 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13374             Matthew LeGendre  <legendre1@llnl.gov>
13376         [BZ #17411]
13377         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13378         l_reloc_result.
13380 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13382         * stdio-common/printf_fp.c
13383         (hack_digit): New function, broken out of ...
13384         (__printf_fp): ... local function here.  Update call sites.
13385         hack_digit now takes an additional parameter that is a pointer
13386         to a struct of the referenced locals.  Those locals moved inside
13387         the struct and references updated.
13389 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13391         * aclocal.m4: Require autoconf 2.69.
13392         * configure: Regenerated.
13393         * sysdeps/aarch64/configure: Likewise.
13394         * sysdeps/alpha/configure: Likewise.
13395         * sysdeps/arm/armv7/configure: Likewise.
13396         * sysdeps/arm/configure: Likewise.
13397         * sysdeps/ia64/configure: Likewise.
13398         * sysdeps/mach/configure: Likewise.
13399         * sysdeps/mips/configure: Likewise.
13400         * sysdeps/s390/configure: Likewise.
13401         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13404         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13405         file.
13406         * sysdeps/ia64/configure.ac: Likewise.
13408 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13411         specify symbol version for ld.so.  Do not include entry for
13412         libpthread.
13413         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13414         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13415         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13417         [BZ #14171]
13418         * Makeconfig [$(build-shared) = yes]
13419         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13420         makefiles.
13421         [$(build-shared) = yes && $(soversions.mk-done) = t]
13422         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13423         [$(build-shared) = yes && $(soversions.mk-done) = t]
13424         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13425         to Makerules.
13426         [$(build-shared) = yes && $(soversions.mk-done) = t]
13427         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13428         here.
13429         [$(build-shared) = yes && $(soversions.mk-done) = t]
13430         (common-generated): Don't append gnu/lib-names.h and
13431         gnu/lib-names.stmp here.
13432         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13433         (lib-names-h-abi): New variable.
13434         [$(build-shared) = yes && $(soversions.mk-done) = t]
13435         (lib-names-stmp-abi): Likewise.
13436         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13437         abi-variants] (before-compile): Append
13438         $(common-objpfx)$(lib-names-h-abi).
13439         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13440         abi-variants] (common-generated): Append gnu/lib-names.h.
13441         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13442         abi-variants] (install-others-nosubdir): Depend on
13443         $(inst_includedir)/$(lib-names-h-abi).
13444         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13445         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13446         [$(build-shared) = yes && $(soversions.mk-done) = t]
13447         ($(common-objpfx)$(lib-names-h-abi)): New rule.
13448         [$(build-shared) = yes && $(soversions.mk-done) = t]
13449         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13450         [$(build-shared) = yes && $(soversions.mk-done) = t]
13451         (common-generated): Append $(lib-names-h-abi) and
13452         $(lib-names-stmp-abi).
13453         * scripts/lib-names.awk: Do not handle multi being set.
13454         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13455         Remove variable.
13456         (abi-lp64_be-ld-soname): Likewise.
13457         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13458         Likewise.
13459         (abi-hard-ld-soname): Likewise.
13460         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13461         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13462         Remove variable.
13463         (abi-o32_hard-ld-soname): Likewise.
13464         (abi-o32_soft_2008-ld-soname): Likewise.
13465         (abi-o32_hard_2008-ld-soname): Likewise.
13466         (abi-n32_soft-ld-soname): Likewise.
13467         (abi-n32_hard-ld-soname): Likewise.
13468         (abi-n32_soft_2008-ld-soname): Likewise.
13469         (abi-n32_hard_2008-ld-soname): Likewise.
13470         (abi-n64_soft-ld-soname): Likewise.
13471         (abi-n64_hard-ld-soname): Likewise.
13472         (abi-n64_soft_2008-ld-soname): Likewise.
13473         (abi-n64_hard_2008-ld-soname): Likewise.
13474         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13475         Likewise.
13476         (abi-64-v2-ld-soname): Likewise.
13477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13478         ld.so entries.
13479         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13480         variable.
13481         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13482         entry.
13483         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13484         variable.
13485         (abi-64-ld-soname): Likewise.
13486         (abi-x32-ld-soname): Likewise.
13487         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13488         entry.
13489         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13491 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
13493         [BZ #14138]
13494         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13495         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13496         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13497         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13498         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13499         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13500         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13501         syscall entry for GLIBC_2.2 symbol version.
13502         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13503         Likewise.
13504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13505         (setrlimit): Likewise.
13506         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13507         Likewise.
13509 2014-09-23  Will Newton  <will.newton@linaro.org>
13511         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13512         _LINUX_ARM_SYSDEP_H include guard too.
13513         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13514         define.
13516 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13518         * sysdeps/unix/sysv/linux/eventfd.c:
13519         Make first argument unsigned.
13520         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13521         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13523 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
13525         * socket/recvmmsg.c (recvmmsg): Drop const argument.
13526         * socket/sys/socket.h: Likewise
13527         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13529 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13531         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13533 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
13535         * time/tst-ftime.c: New test.
13536         * time/Makefile (tests): Add tst-ftime.
13538 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
13540         * soft-fp/extended.h: Fix comment formatting.
13541         * soft-fp/op-1.h: Likewise.
13542         * soft-fp/op-2.h: Likewise.
13543         * soft-fp/op-4.h: Likewise.
13544         * soft-fp/op-8.h: Likewise.
13545         * soft-fp/op-common.h: Likewise.
13546         * soft-fp/soft-fp.h: Likewise.
13548         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13550 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
13552         [BZ #6652]
13553         * Makeconfig (soversions-default-setname): Remove variable.
13554         ($(common-objpfx)soversions.i): Don't pass default_setname to
13555         soversions.awk.
13556         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13557         oldest_abi to abi-versions.awk.
13558         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13559         * config.make.in (oldest-abi): Remove variable.
13560         * configure.ac (--enable-oldest-abi): Remove configure option.
13561         * configure: Regenerated.
13562         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13563         text.
13564         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13565         * scripts/soversions.awk: Do not handle default_setname variable.
13566         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13567         variable.
13568         * sysdeps/mach/hurd/configure: Regenerated.
13569         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13570         variable.
13571         * sysdeps/unix/sysv/linux/configure: Regenerated.
13573 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13575         * elf/Makefile (CFLAGS-interp.c): Remove.
13576         ($(elf-objpfx)runtime-linker.h): Generate header with linker
13577         path string.
13578         * elf/interp.c: Include generated runtime-linker.h
13580         * Makerules (lib%.so): Don't include $(+interp) in
13581         prerequisites.
13582         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13583         * dlfcn/eval.c: Remove file.
13585         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13586         macros.
13588         [BZ #17266]
13589         * misc/sys/cdefs.h: Define __extern_always_inline for clang
13590         4.2 and newer.
13592         [BZ #17370]
13593         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13595 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13596             Jakub Jelinek  <jakub@redhat.com>
13598         [BZ #17266]
13599         * libio/stdio.h: Check definition of __fortify_function
13600         instead of __extern_always_inline to include bits/stdio2.h.
13601         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13602         check if __extern_always_inline is defined.
13603         [__USE_MISC || __USE_XOPEN]: Likewise.
13604         [__USE_ISOC99] Likewise.
13605         * misc/sys/cdefs.h (__fortify_function): Define only if
13606         __extern_always_inline is defined.
13607         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
13608         __extern_always_inline and __extern_inline only for g++-4.3
13609         and newer or a compatible gcc.
13611 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
13613         [BZ #17371]
13614         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13615         last change to handle zero prefix length.
13617 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13619         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
13620         _SC_REGEX_VERSION.
13622         * posix/getconf.c (vars): Add _POSIX_IPV6 and
13623         _POSIX_RAW_SOCKETS.
13625 2014-09-13  Allan McRae  <allan@archlinux.org>
13627         * po/ru.po: Update Russian translation from translation project.
13629 2014-09-12  Roland McGrath  <roland@hack.frob.com>
13631         * locale/programs/locale.c (show_locale_vars): Inline local function
13632         into its sole call site.  Clean up some style nits.
13633         (print_item): New function, broken out of ...
13634         (show_info): ... local function here.  Clean up style nits.
13636         * locale/programs/ld-ctype.c (set_one_default): New function, broken
13637         out of ...
13638         (set_class_defaults): ... local function set_default here.
13639         Define set_default as a macro locally to pass constant parameters.
13640         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13641         rather than a shared local.
13643         * stdlib/rpmatch.c (try): New function, broken out of ...
13644         (rpmatch): ... local function here.  Also, prototypify definition.
13646 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
13648         * scripts/soversions.awk: Do not handle configuration names.
13649         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
13650         vendor and os variables to soversions.awk.
13651         * configure.ac: Do not modify gnu-* host_os.
13652         * configure: Regenerated
13653         * shlib-versions: Remove first column with configuration names.
13654         * nptl/shlib-versions: Likewise.
13655         * nptl_db/shlib-versions: Likewise.
13656         * sysdeps/hppa/shlib-versions: Likewise.
13657         * sysdeps/m68k/shlib-versions: Likewise.
13658         * sysdeps/mach/hurd/shlib-versions: Likewise.
13659         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
13660         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
13661         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
13662         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
13663         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
13664         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13665         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13666         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13668         Likewise.
13669         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13670         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13671         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13672         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13673         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13674         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13675         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13676         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13679         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13681         Regenerated.
13682         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13684         Condition symbol version definitions on [HAVE_ELFV2_ABI].
13686         * shlib-versions: Remove OS-specific entries.  Moved to files in
13687         sysdeps.
13688         * sysdeps/mach/hurd/shlib-versions: New file.
13689         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13691         * nptl/shlib-versions: Remove architecture-specific entries.
13692         Moved to files in sysdeps.
13693         * shlib-versions: Likewise.
13694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13695         file.
13696         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13697         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13698         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13699         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13701         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13702         (UDP_NO_CHECK6_RX): Likewise.
13704 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13706         * sysdeps/posix/sysconf.c (__sysconf): Spell
13707         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13709 2014-08-12  Florian Weimer  <fweimer@redhat.com>
13711         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13712         loading.
13713         * iconv/Versions (__gconv_transliterate): Export for use from
13714         gconv modules.
13715         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13716         (struct __gconv_trans_data, __gconv_trans_fct,
13717         __gconv_trans_context_fct, __gconv_trans_query_fct,
13718         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13719         definitions.
13720         (struct __gconv_step_data): Remove __trans member.
13721         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
13722         longer hidden.  Remove unused trans_data argument.
13723         * iconv/gconv_int.h (struct trans_struct): Remove definition.
13724         (__gconv_translit_find): Remove declaration.
13725         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
13726         prototype.
13727         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13728         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13729         trans_data argument.  Add hidden definition.
13730         (__gconv_translit_find): Remove.
13731         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13732         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13733         * iconv/skeleton.c: Remove transliteration initialization.
13734         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13735         __gconv_step_data initialization.
13736         * libio/iofwide.c (__libio_translit_): Remove.
13737         (_IO_fwide): Adjust struct __gconv_step_data initialization.
13738         * wcsmbs/btowc.c (__btowc): Likewise.
13739         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13740         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13741         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13742         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13743         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13744         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13745         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13746         * wcsmbs/wctob.c (wctob): Likewise.
13748 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13750         [BZ #16194]
13751         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13752         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
13753         register usage.
13754         * sysdeps/x86/Makefile: Adjust.
13756 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13757             Roland McGrath  <roland@hack.frob.com>
13759         * locale/weight.h: Add include guard.
13760         (findidx): Make static rather than auto; take new parameters
13761         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13762         * locale/weightwc.h: Likewise.
13763         * posix/fnmatch_loop.c
13764         (FCT): Change type of EXTRA from int32_t to wint_t.
13765         Don't include either header inside the function.
13766         Call FINDIDX rather than findidx, and pass new arguments.
13767         #undef FINDIDX at the end of the file.
13768         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13769         FINDIDX before including fnmatch_loop.c for the non-wide version.
13770         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13771         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13772         for the wide version.
13773         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13774         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13775         Pass new arguments to findidx.
13776         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13777         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13778         Don't #include it inside the function.  Pass new arguments to findidx.
13779         * posix/regex_internal.h
13780         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13781         (re_string_elem_size_at): Don't #include it inside the function.
13782         Pass new arguments to findidx.
13783         * string/strcoll_l.c: #include WEIGHT_H at top level.
13784         (get_next_seq): Don't #include it inside the function.
13785         Pass new arguments to findidx.
13786         (get_next_seq_nocache): Likewise.
13787         * string/strxfrm_l.c: #include WEIGHT_H at top level.
13788         (STRXFRM): Don't #include it inside the function.
13789         Pass new arguments to findidx.
13791 2014-09-11  Florian Weimer  <fweimer@redhat.com>
13793         [BZ #17344]
13794         * malloc/malloc.c (unlink): Turn asserts into a call to
13795         malloc_printerr.
13797 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
13799         [BZ #17370]
13800         * libio/wfileops (do_ftell_wide): Free OUT.
13802 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
13804         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13806 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13808         [BZ #17363]
13809         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13810         group if the current group is empty.
13812 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13814         * benchtests/bench-memset.c (test_main): Add more test from size
13815         from 32 to 512 bytes.
13816         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13817         Add POWER8 memset object.
13818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13819         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13820         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13821         implementation.
13822         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13823         Likewise.
13824         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13825         multiarch POWER8 memset optimization.
13826         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13827         POWER8 memset optimization.
13829         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13830         Remove bzero multiarch objects.
13831         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13832         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13833         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13834         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13835         Remove define.
13836         [__bzero]: Redefine to specific name.
13837         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13838         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13839         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13840         define.
13841         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13842         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13844 2014-09-10  Florian Weimer  <fweimer@redhat.com>
13846         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13847         warnings into errors.
13849         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13850         __cxa_thread_atexit_impl prototype.
13852 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13854         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13855         Fix capitalization of error message.
13857 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13859         * sysdeps/mips/preconfigure: Modify ABI tests.
13861 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
13863         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13865 2014-09-07  Roland McGrath  <roland@hack.frob.com>
13866             Carlos O'Donell  <carlos@systemhalted.org>
13868         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13869         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13870         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13871         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13872         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13873         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13874         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13875         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13876         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13877         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13878         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13879         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13880         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13881         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13882         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13883         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13884         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13885         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13886         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13887         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13888         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13889         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13890         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13891         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13892         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13893         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13894         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13895         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13896         Deconditionalize the code that was previously under [RESET_PID].
13897         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13898         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13899         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13900         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13901         include sysdep.h.
13903 2014-09-08  Allan McRae  <allan@archlinux.org>
13905         * version.h (RELEASE): Set to "development".
13906         (VERSION): Set to "2.20.90"
13908 2014-09-07  Allan McRae  <allan@archlinux.org
13910         * version.h (RELEASE): Set to "stable".
13911         (VERSION): Set to "2.20"
13912         * include/features.h (__GLIBC_MINOR__): Set to 20.
13914         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13915         Liebler.
13917         * po/ko.po: Update Korean translation from translation project.
13919 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
13921         [BZ #17354]
13922         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13923         macro for handling signed relocations.
13925 2014-09-03  Florian Weimer  <fweimer@redhat.com>
13927         [BZ #17325]
13928         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13929         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13930         assert.
13931         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13932         * iconvdata/ibm935.c (BODY): Likewise.
13933         * iconvdata/ibm937.c (BODY): Likewise.
13934         * iconvdata/ibm939.c (BODY): Likewise.
13935         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13936         assert.
13937         * iconvdata/Makefile (iconv-test.out): Pass module list to test
13938         script.
13939         * iconvdata/run-iconv-test.sh: New test loop for checking for
13940         decoder crashers.
13942 2014-09-02  Khem Raj  <raj.khem@gmail.com>
13944         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13945         libm_hidden_ver.
13947 2014-09-01  Allan McRae  <allan@archlinux.org>
13949         * po/eo.po: Update Esperanto translation from translation project.
13951         * po/ca.po: Update Catalan translation from translation project.
13953 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13955         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13956         __proc_dostop call.
13958 2014-08-27  Mark Wielaard  <mjw@redhat.com>
13960         [BZ #17319]
13961         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13962         to call set_thread_area instead of hand written asm.
13963         (__NR_set_thread_area): Removed define.
13964         (TLS_FLAG_WRITABLE): Likewise.
13965         (__ASSUME_SET_THREAD_AREA): Remove check.
13966         (TLS_EBX_ARG): Remove define.
13967         (TLS_LOAD_EBX): Likewise.
13969 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13971         Simplify atomicity of socket creation in bind.
13973         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13974         looking up the name after linking the file.
13976 2014-08-27  Allan McRae  <allan@archlinux.org>
13978         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13980 2014-08-26  Florian Weimer  <fweimer@redhat.com>
13982         [BZ #17187]
13983         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
13984         trans_compare, open_translit, __gconv_translit_find):
13985         Remove module loading code.
13987 2014-08-26  Allan McRae  <allan@archlinux.org>
13989         * po/vi.po: Update Vietnamese translation from translation project.
13991         * po/uk.po: Update Ukrainian translation from translation project.
13993         * po/fr.po: Update French translation from translation project.
13995         * po/ru.po: Update Russian translation from translation project.
13997         * po/pl.po: Update Polish translation from translation project.
13999         * po/cs.po: Update Czech translation from translation project.
14001         * po/de.po: Update German translation from translation project.
14003         * po/bg.po: Update Bulgarian translation from translation project.
14005         * po/sv.po: Update Sweedish translation from translation project.
14007         * po/nl.po: Update Dutch translation from translation project.
14009         * po/es.po: Update Spanish translation from translation project.
14011 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14013         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14015         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14016         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14017         (CPPFLAGS-iconvconfig): Likewise.
14018         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14020         * include/libc-symbols.h: Remove unnecessary check for
14021         NOT_IN_libc.
14022         * nptl/pthreadP.h: Likewise.
14023         * sysdeps/aarch64/setjmp.S: Likewise.
14024         * sysdeps/alpha/setjmp.S: Likewise.
14025         * sysdeps/arm/sysdep.h: Likewise.
14026         * sysdeps/i386/setjmp.S: Likewise.
14027         * sysdeps/m68k/setjmp.c: Likewise.
14028         * sysdeps/posix/getcwd.c: Likewise.
14029         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14030         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14031         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14032         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14033         * sysdeps/sh/sh3/setjmp.S: Likewise.
14034         * sysdeps/sh/sh4/setjmp.S: Likewise.
14035         * sysdeps/unix/alpha/sysdep.h: Likewise.
14036         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14037         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14038         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14039         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14042         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14043         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14044         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14045         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14046         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14047         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14048         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14049         * sysdeps/x86_64/setjmp.S: Likewise.
14051 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14053         [BZ #17263]
14054         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14055         <stdint.h>.
14056         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14057         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14059 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14061         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14063         [BZ #17262]
14064         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14065         and __x86_64__ when disabling x87 inline functions.
14067 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14069         [BZ #17259]
14070         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14071         asm statement with __cpuid_count.
14073 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14075         * configure.ac: Change __ehdr_start code to dereference the struct.
14076         Run readelf on the output to look for relocations.
14077         * configure: Regenerated.
14079 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14081         [BZ #17261]
14082         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14083         value to 0.
14084         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14086 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14088         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14090 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14092         [BZ #16892]
14093         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14094         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14096 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14098         * malloc/malloc.c: Fix typo in comment.
14100 2014-08-09  Allan McRae  <allan@archlinux.org>
14102         * Regenerate libc.po.
14104 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14106         * intl/tst-gettext2.sh: Check every lang file for creation.
14108 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14110         * sysdeps/aarch64/fpu/math_private.h
14111         (libc_feholdsetround_noex_aarch64_ctx): New function.
14113 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14115         * sysdeps/arm/armv6/strcpy.S (strcpy):
14116         Fix performance issue in misaligned cases.
14118 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14120         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14121         Move definition from termios.h.
14122         (struct termio): Likewise.
14123         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14124         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14125         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14126         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14127         Likewise.
14128         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14129         Move definition to ioctl-types.h
14130         (struct termio): Likewise.
14131         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14132         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14133         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14134         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14135         Likewise.
14137 2014-08-05  Richard Henderson  <rth@redhat.com>
14139         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14140         exceptions.
14141         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14142         Add fraiseexcpt.
14143         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14144         Use __feraiseexcept.
14145         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14146         Protect libm symbols with IS_IN_libm.
14148         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14150 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14152         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14154 2014-08-04  Will Newton  <will.newton@linaro.org>
14156         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14157         file.
14159 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14161         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14162         variants for each function.
14164 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14166         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14167         appended ...
14168         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14169         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14170         appended ...
14171         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14172         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14173         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14174         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14175         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14176         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14177         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14178         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14179         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14180         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14181         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14182         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14183         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14184         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14185         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14186         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14187         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14188         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14189         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14190         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14191         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14192         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14193         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14194         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14195         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14196         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14197         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14198         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14199         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14200         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14201         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14202         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14203         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14204         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14205         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14206         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14207         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14208         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14209         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14210         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14211         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14212         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14213         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14214         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14215         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14216         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14217         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14218         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14219         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14220         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14221         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14222         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14223         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14224         Update #include.
14225         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14226         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14228 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14230         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14231         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14232         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14233         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14234         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14235         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14237 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14239         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14240         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14241         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14242         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14244 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14246         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14247         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14248         (__libc_vfork): Define function under this name.
14249         (__vfork): Define as an alias.
14250         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14251         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14253 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14255         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14256         that was previously under [RESET_PID].
14257         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14259 2014-08-04  Andreas Schwab  <schwab@suse.de>
14261         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14263 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14265         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14266         (main): Likewise.
14268 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14270         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14272 2014-08-01  Richard Henderon  <rth@redhat.com>
14274         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14275         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14276         typo in exact zero test.
14277         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14278         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14279         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14281 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14283         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14284         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14285         * sysdeps/arm/sysdep.h: ... here.
14286         [!__ASSEMBLER__]: Include <stdint.h>.
14288 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14290         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14291         (HAVE_WCTYPE_H): Likewise.
14292         (HAVE_ISWCTYPE): Likewise.
14293         (ENABLE_NLS): Likewise.
14294         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14295         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14297         * posix/regex_internal.c: Check if DEBUG is defined and is
14298         set.
14300         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14301         (HAVE_MBSRTOWCS): Likewise.
14302         * posix/fnmatch.c: Include string.h unconditionally.
14304 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14306         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14307         reversal.
14309 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14311         * sysdeps/generic/safe-fatal.h: New file.
14312         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14313         * nptl/forward.c: Include it.
14314         (__pthread_unwind): Use __safe_fatal as default action, rather
14315         than a bogus use of INTERNAL_SYSCALL that could never work.
14317         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14318         * configure.ac (libc_cv_builtin_trap): New test.
14319         * configure: Regenerated.
14320         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14321         (ABORT_INSTRUCTION): Define using __builtin_trap.
14323         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14324         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14325         * sysdeps/nptl/nptl-signals.h: New file.
14326         * nptl/pthreadP.h: Include <nptl-signals.h>.
14328 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14330         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14331         (ONE_DIRECTION): Define.
14332         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14333         (ONE_DIRECTION): Define.
14334         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14335         (ONE_DIRECTION): Define.
14337 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14339         * sysdeps/s390/Makefile: Delete file.
14340         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14341         * sysdeps/s390/__longjmp.c: Delete file.
14342         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14343         Remove fields __flags and __reserved.
14344         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14345         and add versioning.
14346         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14347         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14348         * sysdeps/s390/rtld-setjmp.S: Likewise.
14349         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14350         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14351         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14352         * sysdeps/s390/s390-32/setjmp.S: ... here.
14353         Add versioning.
14354         (__sigsetjmp): Remove setting __flags field.
14355         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14356         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14357         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14358         * sysdeps/s390/s390-64/setjmp.S: ... here.
14359         Add versioning.
14360         (__sigsetjmp): Remove setting __flags field.
14361         * sysdeps/s390/setjmp.S: Delete file.
14362         * sysdeps/s390/sigjmp.c: Likewise.
14363         * sysdeps/s390/v1-longjmp.c: Likewise.
14364         * sysdeps/s390/v1-setjmp.h: Likewise.
14365         * sysdeps/s390/v1-sigjmp.c: Likewise.
14366         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14367         Remove v1-longjmp_chk.
14368         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14369         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14370         Include debug/longjmp_chk.c and add versioning.
14371         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14372         Include nptl/pt-longjmp.c and add versioning.
14373         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14374         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14375         Include __longjmp.c.
14376         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14377         Move to ...
14378         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14379         (__getcontext): Remove setting __flags field.
14380         Add versioning.
14381         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14382         Don't restore upper high grps.
14383         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14384         Likewise.
14385         (__swapcontext): Remove setting uc_flags field.
14386         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14387         Delete file.
14388         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14389         Include __longjmp.c.
14390         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14391         Move to ...
14392         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14393         (__getcontext): Remove setting __flags field.
14394         Add versioning.
14395         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14396         (__swapcontext): Remove setting uc_flags field.
14397         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14398         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14399         Remove fields uc_high_gprs and __reserved.
14400         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14401         New file with reverted content.
14402         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14403         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14404         Regenerated.
14405         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14406         Regenerated.
14408 2014-07-31  Andreas Schwab  <schwab@suse.de>
14410         * config.h.in (HAVE_IFUNC): Define to 0.
14411         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14412         definedness.
14414 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14416         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14417         memmove-avx-unaligned, memcpy-avx-unaligned and
14418         mempcpy-avx-unaligned.
14419         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14420         Add tests for AVX memcpy functions.
14421         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14422         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14423         memcpy_chk.
14424         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14425         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14426         memmove_chk.
14427         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14428         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14429         mempcpy_chk.
14430         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14431         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14432         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14434 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14436         [BZ #17213]
14437         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14438         powerpc64le.
14440 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14442         [BZ #16839]
14443         * manual/llio.texi: Add section about open file description locks.
14444         * manual/examples/ofdlocks.c: Example of open file description
14445         lock usage.
14446         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14447         F_OFD_SETLK, and F_OFD_SETLKW.
14449 2014-07-23  Allan McRae  <allan@archlinux.org>
14451         * po/es.po: Update Spanish translation from translation project.
14453 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
14455         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14457 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
14459         [BZ #17078]
14460         * sysdeps/arm/dl-machine.h (elf_machine_rela)
14461         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14462         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14464 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
14466         [BZ #17088]
14467         * math/fesetenv.c (__fesetenv)
14468         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14469         * math/feupdateenv.c (__feupdateenv)
14470         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14472         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14473         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14474         (__ASSUME_SOCKETCALL): Do not define.
14476         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14477         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14478         (__ASSUME_SOCKETCALL): Do not define.
14479         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14480         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14481         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14482         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14483         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14484         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14485         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14486         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14488         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14489         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14490         (__ASSUME_SOCKETCALL): Do not define.
14491         (__ASSUME_IPC64): Define unconditionally.
14492         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14493         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14494         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14495         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14496         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14497         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14498         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14499         Likewise.
14501         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14502         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14503         (__ASSUME_SOCKETCALL): Do not define.
14504         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14505         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14506         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14507         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14508         (__ASSUME_REQUEUE_PI): Define unconditionally.
14509         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14510         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14511         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14512         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14513         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14514         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14516         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14517         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14518         (__ASSUME_SOCKETCALL): Do not define.
14519         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14520         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14521         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14522         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14523         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14524         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14526         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14527         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14528         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14529         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14530         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14531         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14532         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14533         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14534         (__ASSUME_GETCPU_SYSCALL): Likewise.
14536         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14537         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
14538         cases for individual architectures.
14539         * sysdeps/gnu/configure: Regenerated.
14540         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14541         LIBC_SLIBDIR_RTLDDIR.
14542         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14543         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14544         LIBC_SLIBDIR_RTLDDIR.
14545         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14547         LIBC_SLIBDIR_RTLDDIR.
14548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14549         Regenerated.
14550         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14551         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14552         file.
14553         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14554         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14555         file.
14556         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14557         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14558         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14559         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14561         * sysdeps/aarch64/shlib-versions: Move to ...
14562         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14563         * sysdeps/alpha/shlib-versions: Move to ...
14564         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14565         * sysdeps/arm/shlib-versions: Move to ...
14566         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14567         * sysdeps/hppa/shlib-versions: Move all contents except for
14568         libgcc_s entry to ...
14569         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
14570         entry from ...
14571         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
14572         * sysdeps/ia64/shlib-versions: Move to ...
14573         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
14574         entry from ...
14575         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
14576         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14577         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14578         * sysdeps/microblaze/shlib-versions: Move to ...
14579         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14580         * sysdeps/mips/shlib-versions: Move to ...
14581         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
14582         entry from ...
14583         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
14584         * sysdeps/tile/shlib-versions: Move to ...
14585         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14586         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14587         from ...
14588         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
14589         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14590         entry from ...
14591         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
14593 2014-07-17  Will Newton  <will.newton@linaro.org>
14595         * sysdeps/arm/bits/atomic.h
14596         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14597         (__arch_compare_and_exchange_bool_16_int): Likewise.
14598         (__arch_compare_and_exchange_bool_64_int): Likewise.
14600         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14601         into an #else block.
14603 2014-07-16  Roland McGrath  <roland@hack.frob.com>
14605         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
14606         just Linux configurations.  Test empirically that the compiler sets
14607         __ARM_EABI__, rather than using the tuple to decide.
14608         * sysdeps/arm/preconfigure: Regenerated.
14609         * sysdeps/unix/sysv/linux/arm/configure: File removed.
14610         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14611         contents appended ...
14612         * sysdeps/arm/configure.ac: ... here.
14613         * sysdeps/arm/configure: Regenerated.
14615 2014-07-15  Roland McGrath  <roland@hack.frob.com>
14617         * nptl/pthread_kill.c: New file.
14618         * nptl/pthread_sigmask.c: New file.
14619         * nptl/pthread_sigqueue.c: New file.
14621         * sysdeps/nptl/lowlevellock.h: New file.
14622         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
14623         * sysdeps/nptl/lowlevellock-futex.h: New file.
14625         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
14626         Remove dead declarations.
14628 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
14630         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
14631         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
14632         config-cflags-avx2.
14633         * sysdeps/x86_64/configure.ac: Likewise.
14634         * sysdeps/i386/configure: Regenerated.
14635         * sysdeps/x86_64/configure: Likewise.
14636         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14637         memset-avx2 only if config-cflags-avx2 is yes.
14638         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14639         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
14640         defined.
14641         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
14642         only if HAVE_AVX2_SUPPORT is defined.
14643         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14645 2014-07-14  Alan Modra  <amodra@gmail.com>
14647         [BZ #17153]
14648         * elf/elf.h (DT_PPC64_NUM): Correct value.
14649         * NEWS: Add to fixed bug list.
14651 2014-07-13  Jim Meyering  <meyering@fb.com>
14653         [BZ 17150]
14654         regex: don't deref NULL upon heap allocation failure
14655         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
14656         failure in one more place.
14657         To trigger the segfault, configure grep -with-included-regex,
14658         build it, and run these commands:
14659         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
14661 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
14663         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14665 2014-07-11  Richard Henderson  <rth@redhat.com>
14667         * sysdeps/aarch64/libm-test-ulps: Update.
14669 2014-07-10  Florian Weimer  <fweimer@redhat.com>
14671         [BZ #17135]
14672         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14673         * nptl/allocatestack.c (__nptl_setxid_error): New function.
14674         (__nptl_setxid): Initialize error member.  Call
14675         __nptl_setxid_error.
14676         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14677         * nptl/descr.h (struct xid_command): Add error member.
14678         * nptl/tst-setuid3.c: New file.
14679         * nptl/Makefile (tests): Add it.
14681 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14683         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14684         New define.
14685         (__lll_trylock): Use __lll_base_trylock.
14686         (__lll_cond_trylock): Likewise.
14688 2014-07-10  Roland McGrath  <roland@hack.frob.com>
14690         * nptl/pthread_create.c (start_thread): Use atomic_or and
14691         lll_futex_wake directly rather than lll_robust_dead.
14692         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14693         (lll_robust_dead): Macro removed.
14694         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14695         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14696         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14697         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14698         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14699         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14700         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14701         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14702         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14703         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14704         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14705         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14706         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14707         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14708         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14710         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14711         Use atomic_compare_and_exchange_val_acq directly rather than
14712         lll_robust_trylock.
14713         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14714         (__lll_robust_trylock, lll_robust_trylock): Removed.
14715         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14716         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14717         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14718         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14719         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14720         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14721         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14722         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14723         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14724         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14725         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14726         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14727         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14728         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14730 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14732         * manual/locale.texi (Locale Names): New section documenting
14733         locale name syntax.  Adjust menu and node chaining accordingly.
14734         (Choosing Locale): Reference Locale Names, Locale Categories.
14735         Mention setting LC_ALL=C.  Reflect that name syntax is now
14736         documented.
14737         (Locale Categories): New section title.  Reference Locale Names.
14738         LC_ALL is an environment variable, but not a category.
14739         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14740         description, now in Locale Name.  Reference that section.  Locale
14741         name syntax is now documented.
14743 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14745         [BZ #17137]
14746         * locale/findlocale.c (name_present, valid_locale_name): New
14747         functions.
14748         (_nl_find_locale): Use the loc_name variable to store name
14749         candidates.  Call name_present and valid_locale_name to check and
14750         validate locale names.  Return an error if the locale is invalid.
14752 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14754         * locale/setlocale.c (setlocale): Use strdup for allocating
14755         composite name copy.
14757 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14759         Sync up with gnulib.
14760         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14761         [!_LIBC && ENABLE_NLS]: Include gettext.h.
14762         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14763         and _GL_ARG_NONNULL.
14764         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14765         [!_LIBC]: Include code for Windows and Cygwin.
14766         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14767         Include prototype for int strerror_r.
14768         [!_LIBC] (is_open): New function.
14769         (flush_stdout): New function.
14770         (print_errno_message): Use it.
14771         (error): Likewise.
14772         (error_at_line): Likewise.
14773         (error_tail) Add function attribute macros.  Use
14774         __builtin_expect.
14776         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14778         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14780         * io/ftw.c: Include sys/param.h unconditionally.
14782         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14784         [BZ #17125]
14785         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14786         libc_freeres_ptr.
14787         (freecache): New function to free CACHE on exit.
14789         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14790         initialization.
14792 2014-07-09  David S. Miller  <davem@davemloft.net>
14794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14796         * sysdeps/sparc/nptl/internaltypes.h: Delete.
14797         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14798         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14799         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14800         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14801         * sysdeps/sparc/nptl/sem_init.c: Likewise.
14802         * sysdeps/sparc/nptl/sem_post.c: Likewise.
14803         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14804         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14805         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14806         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14807         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14808         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14810 2014-07-09  Andreas Schwab  <schwab@suse.de>
14812         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14813         output.
14814         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14815         (do_test): Likewise.
14817         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14819 2014-07-09  Will Newton  <will.newton@linaro.org>
14821         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14822         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14823         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14824         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14825         * sysdeps/hppa/start.S (_start): Likewise.
14827 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14829         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14831         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14832         defined.
14834 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14836         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14837         after checking that it is non-NULL.
14839         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14841 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14843         * sysdeps/powerpc/memmove.c: Remove file.
14844         * sysdeps/powerpc/powerpc32/power4/memcopy.h
14845         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14846         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14847         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14848         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14849         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14850         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14851         string memmove instead of removed powerpc one.
14853         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14854         [weak_alias]: Fix compiler warning due trailing data.
14855         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14856         [weak_alias]: Likewise.
14857         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14858         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14860         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14861         (__libc_ifunc_impl_list): Add memmove functions.
14863 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14865         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14866         Remove code.
14867         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14868         Likewise
14869         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14870         Likewise
14871         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14872         Likewise
14873         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14874         Likewise
14875         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14876         Likewise
14877         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14878         Likewise
14879         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14880         Likewise
14881         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14882         Likewise
14883         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14884         Likewise
14885         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14886         Likewise
14887         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14888         Likewise
14889         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14890         Likewise
14891         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14892         Likewise
14893         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14894         Likewise
14895         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14896         Likewise
14897         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14898         Likewise
14900 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14902         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14903         to avoid alignment traps in non-cacheable memory.
14904         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14906         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14907         multiarch objects.
14908         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14909         file: multiarch power7 memmove.
14910         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14911         multiarch default memmove.
14912         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14913         multiarch memove for powerpc32/power4.
14915         * string/bcopy.c: Use full path to include memmove.c.
14916         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14917         multiarch objects.
14918         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14919         bcopy for powerpc64.
14920         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14921         bcopy for powerpc64.
14922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14923         and memmove implementations.
14924         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14925         optimized multiarch memmove for POWER7/powerpc64.
14926         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14927         default multiarch memmove for powerpc64.
14928         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14929         multiarch for powerpc64.
14930         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14931         for POWER7/powerpc64.
14932         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14933         memmove for POWER7/powerpc64.
14935         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14936         glibc default one.
14938         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14939         __ELF_NATIVE_CLASS equal to 64.
14941 2014-07-07  Roland McGrath  <roland@hack.frob.com>
14943         * sysdeps/nptl/lowlevellock.h: File removed.
14945         * NEWS: NPTL is no longer an add-on!
14946         * nptl/internaltypes.h: Moved ...
14947         * sysdeps/nptl/internaltypes.h: ... here.
14948         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14949         * sysdeps/nptl/fork.c: Likewise.
14950         * sysdeps/nptl/gai_misc.h: Likewise.
14951         * sysdeps/nptl/librt-cancellation.c: Likewise.
14952         * sysdeps/nptl/jmp-unwind.c: Likewise.
14953         * sysdeps/nptl/setxid.h: Likewise.
14954         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14955         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14956         * sysdeps/unix/sysv/linux/arm/Implies: New file.
14957         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14958         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14959         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14960         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14961         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14962         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14963         * sysdeps/unix/sysv/linux/mips/Implies: New file.
14964         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14965         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14966         * sysdeps/unix/sysv/linux/sh/Implies: New file.
14967         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14968         * sysdeps/unix/sysv/linux/tile/Implies: New file.
14969         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14970         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14971         * nptl/Makeconfig: Moved ...
14972         * sysdeps/nptl/Makeconfig: ... here.
14973         * nptl/configure: File removed.
14974         * nptl/ANNOUNCE: File removed.
14975         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14976         * sysdeps/unix/sysv/linux/configure: Regenerated.
14978         * nptl/Makefile (routines): Add libc_pthread_init,
14979         libc_multiple_threads, register-atfork and unregister-atfork.
14980         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
14981         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
14982         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
14983         pthread-pi-defines.sym, structsem.sym.
14984         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
14985         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
14986         [$(subdir) = nptl] (tests): Add tst-setgetname.
14987         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
14988         * sysdeps/unix/sysv/linux/sigaction.c: Just include
14989         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
14990         [!LIBC_SIGACTION]: Remove aliases.
14991         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14992         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14993         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14994         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
14995         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14996         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14997         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14998         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14999         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15000         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15001         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15002         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15003         __libc_allocate_rtsig_private.
15004         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15005         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15006         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15007         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15008         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15009         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15010         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15011         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15012         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15013         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15014         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15015         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15016         * nptl/internaltypes.h: ... here.
15017         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15018         * sysdeps/nptl/jmp-unwind.c: ... here.
15019         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15020         * nptl/libc-lowlevellock.c: ... here.
15021         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15022         * nptl/libc_multiple_threads.c: ... here.
15023         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15024         * nptl/libc_pthread_init.c: ... here.
15025         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15026         * nptl/lowlevelbarrier.sym: ... here.
15027         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15028         * nptl/lowlevelcond.sym: ... here.
15029         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15030         * nptl/lowlevellock.c: ... here.
15031         * nptl/lowlevellock.h: Moved ...
15032         * sysdeps/nptl/lowlevellock.h: ... here.
15033         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15034         * nptl/lowlevelrobustlock.c: ... here.
15035         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15036         * nptl/lowlevelrobustlock.sym: ... here.
15037         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15038         * nptl/lowlevelrwlock.sym: ... here.
15039         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15040         * nptl/pt-fork.c: ... here.
15041         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15042         * nptl/pthread-pi-defines.sym: ... here.
15043         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15044         * nptl/pthread_attr_getaffinity.c: ... here.
15045         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15046         * nptl/pthread_attr_setaffinity.c: ... here.
15047         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15048         * nptl/pthread_mutex_cond_lock.c: ... here.
15049         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15050         Update #include.
15051         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15052         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15053         * nptl/pthread_once.c: ... here, replacing old file.
15054         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15055         * nptl/pthread_yield.c: ... here.
15056         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15057         * nptl/register-atfork.c: ... here.
15058         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15059         * nptl/sem_post.c: ... here.
15060         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15061         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15062         * nptl/sem_timedwait.c: ... here.
15063         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15064         * nptl/sem_trywait.c: ... here.
15065         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15066         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15067         * nptl/sem_wait.c: ... here.
15068         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15069         * nptl/structsem.sym: ... here.
15070         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15071         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15072         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15073         * nptl/unregister-atfork.c: ... here.
15074         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15075         * nptl/unwindbuf.sym: ... here.
15076         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15077         * sysdeps/nptl/fork.c: ... here.
15078         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15079         * sysdeps/nptl/fork.h: ... here.
15080         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15081         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15082         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15083         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15084         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15085         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15086         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15087         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15088         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15089         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15090         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15091         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15092         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15093         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15094         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15095         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15096         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15097         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15098         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15099         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15100         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15101         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15102         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15103         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15104         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15105         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15106         * sysdeps/unix/sysv/linux/raise.c: ... here.
15107         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15108         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15109         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15110         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15111         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15112         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15113         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15114         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15115         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15116         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15117         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15118         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15119         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15120         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15121         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15123 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15125         * sysdeps/generic/memcopy.h: Add comment for
15126         MEMCPY_OK_FOR_FWD_MEMMOVE.
15128 2014-07-04  Will Newton  <will.newton@linaro.org>
15130         * string/memchr.c: Merge from gnulib.
15131         [_LIBC]: Remove conditionals.
15132         (__ptr_t): Remove define.
15133         (LONG_MAX_32_BITS): Likewise.
15134         (LONG_MAX): Likewise.
15135         (MEMCHR): Use ANSI prototype and optimize algorithm.
15137         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15139 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15141         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15142         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15144         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15145         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15146         in a bare environment with no <stdlib.h> installed.
15147         * sysdeps/nptl/configure: Regenerated.
15149         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15151         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15152         AC_EGREP_CPP for kernel header checks, so they only succeed if
15153         including <linux/version.h> actually works right.
15154         * sysdeps/unix/sysv/linux/configure: Regenerated.
15156         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15157         value so it's not diagnosed as unused.
15159         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15160         thing) with "ifeq ($(subdir),rt)".
15162 2014-07-03  Richard Henderson  <rth@redhat.com>
15164         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15165         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15166         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15168         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15169         (math_force_eval): New.
15171         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15172         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15174         * sysdeps/alpha/fpu/s_round.c: Remove file.
15175         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15177         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15178         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15179         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15180         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15181         (_dl_start, print_statistics): Likewise.
15182         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15183         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15185         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15186         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15187         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15188         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15189         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15190         (HP_SMALL_TIMING_AVAIL): Define.
15191         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15192         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15193         (HP_SMALL_TIMING_AVAIL): Define.
15194         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15195         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15197         * sysdeps/aarch64/hp-timing.h: New file.
15199         * sysdeps/generic/hp-timing.h: Remove dead comment.
15200         * sysdeps/generic/hp-timing-common.h: New file.
15201         * sysdeps/alpha/hp-timing.h: Include it.
15202         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15203         * sysdeps/i386/i686/hp-timing.h: Likewise.
15204         * sysdeps/ia64/hp-timing.h: Likewise.
15205         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15206         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15207         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15208         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15209         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15210         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15211         (hp_timing_t): New.
15213         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15214         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15215         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15216         * elf/rtld.c (_dl_start_final): Likewise.
15217         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15218         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15219         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15220         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15221         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15222         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15223         (HP_TIMING_DIFF_INIT): Remove.
15224         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15225         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15226         (HP_TIMING_DIFF_INIT): Remove.
15227         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15228         * sysdeps/i386/i686/hp-timing.c: Remove file.
15229         * sysdeps/x86_64/hp-timing.c: Remove file.
15230         * sysdeps/ia64/hp-timing.c: Remove file.
15231         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15232         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15233         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15234         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15236         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15237         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15238         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15239         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15240         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15241         (HP_TIMING_ACCUM): Remove.
15242         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15243         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15244         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15246         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15247         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15248         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15249         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15250         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15251         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15252         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15253         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15255         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15257 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15259         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15261 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15263         Sync up with gettext.
15264         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15265         [_MSC_VER]: Include malloc.h
15266         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15267         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15268         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15269         TEMP_FAILURE_RETRY.  Cast return of alloca.
15270         [!_LIBC] Call gl_rwlock_init.
15271         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15273 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15275         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15276         before checking its value.
15278 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15280         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15282         * debug/memcpy_chk.c: Don't include pagecopy.h.
15283         * debug/mempcpy_chk.c: Likewise.
15284         * string/memcpy.c: Likewise.
15285         * string/memmove.c: Likewise.
15286         * sysdeps/powerpc/memmove.c: Likewise.
15287         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15288         definition of PAGE_COPY_FWD_MAYBE here...
15289         * sysdeps/generic/pagecopy.h: ... from here.
15290         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15292 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15293             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15295         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15296         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15297         optimizations.
15298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15299         (__libc_ifunc_impl_list): Likewise.
15300         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15301         multiarch strcat for PPC64.
15302         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15303         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15305 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15307         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15309 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15311         * intl/loadmsgcat.c: Remove declaration of
15312         get_sysdep_segment_value.
15313         (get_sysdep_segment_value): Use ISO C style.
15314         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15315         semicolon.  Fix typo and formatting in comment.
15316         (_nl_unload_domain): Use ISO C style.
15318         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15320 2014-07-02  Will Newton  <will.newton@linaro.org>
15322         * malloc/obstack.c: Merge from gnulib master.
15323         [HAVE_CONFIG_H]: Remove conditional code.
15324         [!_LIBC]: Include config.h.
15325         [!ELIDE_CODE]: Don't include inttypes.h, include
15326         stdint.h unconditionally.
15327         (print_and_abort): Mark as _Noreturn.
15328         (_obstack_allocated_p): Mark as __attribute_pure__.
15329         (obstack_free): Rename to __obstack_free.
15330         [!__attribute__]: Remove conditional code.
15331         * malloc/obstack.h: Merge from gnulib master.
15332         [__cplusplus]: Move conditional down.
15333         [!__attribute_pure__]: Define __attribute_pure__ here
15334         if it is not already defined.
15335         (_obstack_memory_used): Mark as __attribute_pure__.
15336         [!__obstack_free]: Define as obstack_free.
15337         [__GNUC__]: Remove check for ancient NeXT gcc.
15339 2014-07-02  Will Newton  <will.newton@linaro.org>
15340             Paul Eggert  <eggert@cs.ucla.edu>
15342         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15344 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15346         * resolv/gethnamaddr.c: Add comment warning that the file is
15347         not maintained.
15349 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15351         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15352         entries.
15354         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15355         entry for aio_cancel and aio_cancel64.
15356         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15357         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15358         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15359         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15360         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15361         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15362         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15363         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15364         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15365         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15366         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15367         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15368         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15370 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15372         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15373         * nptl/pthread_mutex_lock.c: Likewise.
15374         * nptl/pthread_mutex_timedlock.c: Likewise.
15375         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15377 2014-07-01  Richard henderson  <rth@redhat.com>
15379         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15380         (__isnan, __isnanl): Remove.
15381         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15383         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15385 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15387         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15389 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15391         * resolv/nss_dns/dns-host.c (getanswer_r)
15392         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15394 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15396         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15397         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15398         undefine.
15399         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15400         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15402 2014-07-01  Roland McGrath <roland@hack.frob.com>
15404         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15405         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15407         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15408         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15410         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15411         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15412         ... here.
15413         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15414         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15416         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15417         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15418         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15419         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15421         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15422         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15423         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15424         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15425         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15426         Moved ...
15427         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15428         ... here.
15429         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15430         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15431         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15432         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15433         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15434         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15435         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15436         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15437         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15438         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15439         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15440         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15441         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15442         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15443         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15444         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15445         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15446         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15447         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15448         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15449         ... here.
15450         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15451         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15452         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15453         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15454         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15455         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15456         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15457         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15459 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
15461         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15462         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15463         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15464         Add sysdep.
15466 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15470 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15472         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15473         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15475         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15477         * sysdeps/arm/libm-test-ulps: Regenerated.
15479 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15480             Roland McGrath <roland@hack.frob.com>
15482         * test-skeleton.c (signal_handler): Kill the whole process group
15483         before killing the child individually.
15484         (main): Report any failure on `setpgid'.
15486 2014-06-30  Roland McGrath  <roland@hack.frob.com>
15488         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15489         from _TLS_H to _ARM_NPTL_TLS_H.
15490         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15491         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15493 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15495         [BZ #16539]
15496         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15497         (__expm1l): Return argument unchanged when small but not
15498         subnormal.
15500         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15501         include macro name.
15502         (_FP_UNPACK_RAW_1_P): Likewise.
15503         (_FP_PACK_RAW_1): Likewise.
15504         (_FP_PACK_RAW_1_P): Likewise.
15505         (_FP_MUL_MEAT_1_wide): Likewise.
15506         (_FP_MUL_MEAT_DW_1_hard): Likewise.
15507         (_FP_MUL_MEAT_1_hard): Likewise.
15508         (_FP_DIV_MEAT_1_imm): Likewise.
15509         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15510         (_FP_DIV_MEAT_1_udiv): Likewise.
15511         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15512         (_FP_UNPACK_RAW_2): Likewise.
15513         (_FP_UNPACK_RAW_2_P): Likewise.
15514         (_FP_PACK_RAW_2): Likewise.
15515         (_FP_PACK_RAW_2_P): Likewise.
15516         (_FP_MUL_MEAT_DW_2_wide): Likewise.
15517         (_FP_MUL_MEAT_2_wide): Likewise.
15518         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15519         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15520         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15521         (_FP_MUL_MEAT_2_gmp): Likewise.
15522         (_FP_DIV_MEAT_2_udiv): Likewise.
15523         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15524         (_FP_FRAC_SRL_4): Likewise.
15525         (_FP_FRAC_SRST_4): Likewise.
15526         (_FP_FRAC_SRS_4): Likewise.
15527         (_FP_UNPACK_RAW_4): Likewise.
15528         (_FP_UNPACK_RAW_4_P): Likewise.
15529         (_FP_PACK_RAW_4): Likewise.
15530         (_FP_PACK_RAW_4_P): Likewise.
15531         (_FP_MUL_MEAT_DW_4_wide): Likewise.
15532         (_FP_MUL_MEAT_4_wide): Likewise.
15533         (_FP_MUL_MEAT_4_gmp): Likewise.
15534         (umul_ppppmnnn): Likewise.
15535         (_FP_DIV_MEAT_4_udiv): Likewise.
15536         (__FP_FRAC_ADD_4): Likewise.
15537         (__FP_FRAC_SUB_3): Likewise.
15538         (__FP_FRAC_SUB_4): Likewise.
15539         (__FP_FRAC_DEC_3): Likewise.
15540         (__FP_FRAC_DEC_4): Likewise.
15541         (__FP_FRAC_ADDI_4): Likewise.
15542         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15543         (_FP_FRAC_SRL_8): Likewise.
15544         (_FP_FRAC_SRS_8): Likewise.
15546         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15547         include macro name.
15548         (FP_UNPACK_RAW_EP): Likewise.
15549         (FP_PACK_RAW_E): Likewise.
15550         (FP_PACK_RAW_EP): Likewise.
15551         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15552         (_FP_ISSIGNAN): Likewise.
15553         (_FP_ADD_INTERNAL): Likewise.
15554         (_FP_FMA): Likewise.
15555         (_FP_CMP): Likewise.
15556         (_FP_SQRT): Likewise.
15557         (_FP_TO_INT): Likewise.
15558         (_FP_FROM_INT): Likewise.
15559         (FP_EXTEND): Likewise.
15560         (_FP_DIV_MEAT_N_loop): Likewise.
15562 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15564         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15565         throughout.
15567 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
15569         [BZ #17097]
15570         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15571         result with correct sign in case of exponents that produce
15572         overflow except for X very close to 1.
15574 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
15576         mktime: merge #if/#ifdef usage from glibc
15577         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15578         as that works with both Glibc's and Gnulib's style.
15579         See thread starting at Siddhesh Poyarekar's bug report at:
15580         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15582 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15584         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15585         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15586         * sysdeps/tile/tilegx/memmove.c: Remove file.
15588 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15590         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15591         abi-name definition.
15592         * scripts/soversions.awk: Do not handle or generate ABI lines.
15593         * shlib-versions: Remove ABI entries.
15594         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15595         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15597 2014-06-27  Roland McGrath  <roland@hack.frob.com>
15599         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15600         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15601         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15602         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
15603         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
15604         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
15605         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
15606         Moved ...
15607         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15608         ... here.
15609         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
15610         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15611         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
15612         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
15613         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
15614         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
15615         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
15616         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
15617         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
15618         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
15619         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
15620         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
15621         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
15622         Moved ...
15623         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
15624         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
15625         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
15626         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
15627         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
15628         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
15629         Moved ...
15630         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
15631         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
15632         Moved ...
15633         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
15634         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
15635         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
15636         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
15637         Moved ...
15638         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
15639         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
15640         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
15641         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
15642         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
15643         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
15644         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
15645         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
15646         Moved ...
15647         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
15648         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
15649         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
15650         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
15651         Moved ...
15652         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
15653         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
15654         Moved ...
15655         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
15656         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
15657         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
15658         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
15659         Moved ...
15660         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15661         ... here.
15662         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
15663         Identical file removed.
15664         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15665         Moved ...
15666         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15667         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15668         Identical file removed.
15669         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15670         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15671         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15672         Moved ...
15673         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15674         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15675         Identical file removed.
15676         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15677         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15678         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15679         Identical file removed.
15680         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15681         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15682         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15683         Identical file removed.
15684         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15685         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15686         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15687         Identical file removed.
15688         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15689         Moved ...
15690         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15691         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15692         Identical file removed.
15693         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15694         Moved ...
15695         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15696         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15697         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15698         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15699         Identical file removed.
15700         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15701         Moved ...
15702         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15703         ... here.
15704         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15705         Identical file removed.
15706         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15707         Moved ...
15708         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15709         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15710         Identical file removed.
15711         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15712         Moved ...
15713         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15714         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15715         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15716         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15717         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15718         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15719         Moved ...
15720         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15721         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15722         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15724         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15725         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15726         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15727         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15728         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15730 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
15732         [BZ #17092]
15733         * nscd/nscd.c (monitor_child): Return exit status of child
15734         instead of return value from wait syscall.
15736 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15738         * configure.ac (libc_commonpagesize): Remove variable.
15739         (libc_relro_required): Likewise.
15740         (libc_cv_z_relro): Remove configure test.
15741         * configure: Regenerated.
15742         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15743         variable.
15744         (libc_relro_required): Likewise.
15745         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15746         (libc_relro_required): Likewise.
15747         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15748         (libc_relro_required): Likewise.
15749         * sysdeps/arm/preconfigure: Regenerated.
15750         * sysdeps/ia64/preconfigure: Remove file.
15751         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15752         variable.
15753         (libc_relro_required): Likewise.
15755         [BZ #16561]
15756         [BZ #16562]
15757         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15758         (__ieee754_yn): Set FE_TONEAREST mode internally and then
15759         recompute overflowing results in original rounding mode.
15760         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15761         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15762         recompute overflowing results in original rounding mode.
15763         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15764         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15765         recompute overflowing results in original rounding mode.
15766         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15767         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15768         recompute overflowing results in original rounding mode.
15769         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15770         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15771         recompute overflowing results in original rounding mode.
15772         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15773         (libc_feholdsetround_ctx): New macro.
15774         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15775         * sysdeps/i386/fpu/libm-test-ulps: Update.
15776         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15778 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15780         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15781         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15782         corresponding .cpsetup call.
15784 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15786         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15787         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15788         * sysdeps/arm/Makefile [$(subdir) = csu]
15789         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15790         (static-only-routines): Add aeabi_read_tp here.
15791         (shared-only-routines): Add libc-aeabi_read_tp here.
15792         (CFLAGS-libc-start.c): Add -fexceptions here.
15793         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15794         (sysdep_routines, static-only-routines, shared-only-routines):
15795         Don't add to these here.
15796         (CFLAGS-libc-start.c): Likewise.
15798         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15799         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15800         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15801         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15802         * sysdeps/arm/Makefile [$(subdir) = rt]
15803         (librt-sysdep_routines, librt-shared-only-routines):
15804         Append rt-aeabi_unwind_cpp_pr1 here.
15805         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15806         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15807         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15808         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15809         Append nptl-aeabi_unwind_cpp_pr1 here.
15810         (tests): Filter out tst-cleanupx4 here.
15811         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15812         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15813         Don't do those here.
15815 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15817         * scripts/list-sources.sh: Do not handle ports specially.
15819 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15821         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15822         * sysdeps/arm/feupdateenv.c: Likewise.
15824         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15826 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15828         * manual/texinfo.tex: Update to version 2014-05-05.10 with
15829         trailing whitespace removed.
15830         * scripts/config.guess: Update to version 2014-03-23.
15831         * scripts/config.sub: Update to version 2014-05-01
15832         * scripts/install-sh: Update to version 2013-12-25.23.
15833         * scripts/move-if-change: Update from gnulib.
15835 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15837         * debug/memmove_chk.c: Remove pagecopy.h include.
15839 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
15841         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
15842         identical to gnulib mktime.
15844 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15846         * configure.ac: Do not test for machine being rs6000.  Do not test
15847         for powerpc*-*soft.
15848         * configure: Regenerated.
15850         [BZ #11505]
15851         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15852         test.
15853         * configure: Regenerated.
15854         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15855         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15856         Remove configure test.
15857         * sysdeps/arm/configure: Regenerated.
15858         * sysdeps/nptl/configure.ac: Do not check
15859         libc_cv_asm_cfi_directives.
15860         * sysdeps/nptl/configure: Regenerated.
15861         * sysdeps/x86_64/nptl/configure.ac: Remove file.
15862         * sysdeps/x86_64/nptl/configure: Remove generated file.
15863         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15864         unconditional.
15865         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15867 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15869         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15870         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15871         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15872         it is defined.
15874         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15875         instead of whether it is defined.
15876         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15877         * sysdeps/hppa/dl-machine.h: Likewise.
15878         * sysdeps/ia64/dl-machine.h: Likewise.
15879         * sysdeps/m68k/dl-machine.h: Likewise.
15880         * sysdeps/microblaze/dl-machine.h: Likewise.
15881         * sysdeps/mips/dl-machine.: Likewise.
15882         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15883         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15884         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15885         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15886         * sysdeps/sh/dl-machine.h: Likewise.
15887         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15888         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15889         * sysdeps/tile/dl-machine.h: Likewise.
15890         * sysdeps/x86_64/dl-machine.h: Likewise.
15892         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15893         code.
15894         (verify_persistent_db): Likewise.
15896 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15899         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15901         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15903         Moved ...
15904         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15905         ... here.
15906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15907         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15909         Identical file removed.
15910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15911         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15913         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15915         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15917         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15919         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15921         Moved ...
15922         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15924         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15926         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15927         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15928         Moved ...
15929         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15931         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15933         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15935         Identical file removed.
15936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15937         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15939         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15941         Moved ...
15942         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15943         ... here.
15944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15945         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15947         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15949         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15951         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15953         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15955         Moved ...
15956         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15958         Moved ...
15959         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15961         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15963         Moved ...
15964         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15966         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15968         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15969         folded into ...
15970         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15971         * sysdeps/unix/sysv/linux/s390/Versions
15972         (libpthread: GLIBC_2.19): New version set.
15973         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15974         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15975         (librt: GLIBC_2.3.3): New version set.
15976         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15977         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15978         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15979         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
15980         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
15981         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
15982         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
15983         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
15984         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
15985         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
15986         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
15987         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
15988         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
15989         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
15990         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
15991         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
15992         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
15993         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
15994         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
15995         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
15996         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
15997         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
15998         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
15999         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16000         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16001         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16002         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16003         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16004         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16005         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16006         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16007         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16008         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16009         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16010         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16011         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16012         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16013         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16014         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16015         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16016         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16017         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16018         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16019         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16020         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16022         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16023         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16024         (__libc_vfork): Define the function under this name.
16025         [!NOT_IN_libc] (__vfork): Make this an alias.
16026         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16027         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16028         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16029         (__libc_vfork): Define the function under this name.
16030         [!NOT_IN_libc] (__vfork): Make this an alias.
16031         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16032         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16033         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16034         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16035         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16036         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16038         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16039         code that was previously under [RESET_PID].
16040         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16041         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16042         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16044         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16045         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16046         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16047         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16048         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16049         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16050         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16051         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16052         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16053         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16054         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16055         Moved ...
16056         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16057         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16058         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16059         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16060         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16061         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16062         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16063         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16064         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16065         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16066         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16067         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16068         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16069         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16070         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16071         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16072         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16073         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16074         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16075         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16076         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16077         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16078         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16079         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16080         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16081         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16082         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16083         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16084         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16086 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16088         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16089         that was previously under [RESET_PID].
16090         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16092 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16094         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16095         not undefine and redefine.
16096         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16097         [O_CLOEXEC]: Make code unconditional.
16098         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16099         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16100         <kernel-features.h>.
16101         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16102         conditional variable definition.
16103         (shm_open) [O_CLOEXEC]: Make code unconditional.
16104         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16105         code.
16107         * configure.ac (USE_REGPARMS): Don't define here.
16108         * configure: Regenerated.
16109         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16110         * sysdeps/i386/configure: Regenerated.
16112         * nptl/createthread.c: Don't include kernel-features.h.
16113         * nptl/pthread_cancel.c: Likewise.
16114         * nptl/pthread_condattr_setclock.c: Likewise.
16115         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16116         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16117         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16118         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16119         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16120         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16121         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16122         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16123         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16124         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16125         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16126         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16127         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16128         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16129         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16130         * nscd/gai.c: Likewise.
16131         * nss/nss_db/db-open.c: Likewise.
16132         * sysdeps/generic/ldsodefs.h: Likewise.
16133         * sysdeps/sh/nptl/tls.h: Likewise.
16134         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16135         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16136         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16137         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16138         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16139         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16140         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16141         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16142         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16143         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16144         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16145         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16146         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16147         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16148         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16149         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16150         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16151         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16152         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16153         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16154         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16155         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16156         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16157         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16158         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16159         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16160         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16161         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16162         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16163         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16164         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16165         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16166         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16167         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16168         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16169         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16170         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16171         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16172         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16173         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16174         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16175         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16176         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16177         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16178         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16179         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16180         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16181         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16182         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16183         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16184         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16185         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16186         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16187         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16188         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16189         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16190         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16191         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16214         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16215         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16216         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16217         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16218         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16219         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16220         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16221         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16222         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16223         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16224         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16225         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16226         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16227         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16228         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16229         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16230         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16231         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16232         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16233         * sysdeps/unix/sysv/linux/system.c: Likewise.
16234         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16235         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16236         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16237         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16238         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16239         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16240         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16242         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16243         * configure: Regenerated.
16244         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16246         * configure.ac (base_machine): Do not set specially for particular
16247         machines here.
16248         * configure: Regenerated.
16249         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16250         settings from configure.ac.
16251         * sysdeps/i386/preconfigure: New file.
16252         * sysdeps/s390/preconfigure: Likewise.
16253         * sysdeps/sh/preconfigure: Likewise.
16254         * sysdeps/sparc/preconfigure: Likewise.
16256 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16258         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16259         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16260         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16261         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16262         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16263         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16264         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16265         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16266         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16267         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16268         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16269         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16270         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16271         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16272         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16273         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16274         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16275         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16276         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16278         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16279         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16280         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16281         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16282         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16283         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16284         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16285         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16286         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16287         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16288         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16289         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16290         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16291         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16292         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16293         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16294         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16295         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16296         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16297         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16298         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16299         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16300         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16301         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16302         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16303         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16304         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16305         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16306         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16307         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16308         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16309         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16310         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16311         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16312         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16313         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16314         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16315         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16317         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16318         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16320         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16321         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16322         Moved ...
16323         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16324         ... here.
16325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16326         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16328         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16330         Moved ...
16331         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16333         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16335         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16337         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16339         Moved ...
16340         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16342         Moved ...
16343         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16344         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16345         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16346         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16347         Moved ...
16348         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16350         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16352         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16354         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16356         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16358         Moved ...
16359         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16360         ... here.
16361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16362         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16364         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16366         Moved ...
16367         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16369         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16370         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16371         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16372         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16373         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16375         Moved ...
16376         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16378         Moved ...
16379         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16381         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16382         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16383         Moved ...
16384         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16386         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16388         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16390 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16392         * timezone/checktab.awk: Update from tzcode 2014e.
16393         * timezone/private.h: Likewise.
16394         * timezone/tzfile.h: Likewise.
16395         * timezone/zdump.c: Likewise.
16396         * timezone/zic.c: Likewise.
16398         * sysdeps/unix/sysv/linux/kernel-features.h
16399         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16400         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16401         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16402         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16403         Remove conditional code.
16405 2014-06-25  Will Newton  <will.newton@linaro.org>
16407         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16408         (_dl_arm_cap_flags): Add HWCAP2 values.
16409         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16410         (_DL_HWCAP_COUNT): Increase to 37.
16411         (_DL_HWCAP_LAST): New define.
16412         (_DL_HWCAP2_LAST): New define.
16413         (_dl_procinfo): Add support for printing
16414         AT_HWCAP2 entries.
16415         (_dl_string_hwcap): Use _dl_hwcap_string.
16417 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16421 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16423         * README: Do not mention ports directory.
16425         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16426         Remove macro.
16427         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16428         <kernel-features.h>.
16429         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16430         conditional variable definition.
16431         (__futimes): Update comment.
16432         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16433         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16435         [BZ #16560]
16436         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16437         arguments close to 0.
16438         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16439         Likewise.
16440         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16441         Likewise.
16442         * math/auto-libm-test-in: Add more tests of exp10.
16443         * math/auto-libm-test-out: Regenerated.
16444         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16446         * sysdeps/unix/sysv/linux/kernel-features.h
16447         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16448         * sysdeps/unix/sysv/linux/readv.c: Do not include
16449         <kernel-features.h>.
16450         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16451         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16452         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16453         unconditional.
16454         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16455         conditional code.
16456         * sysdeps/unix/sysv/linux/writev.c: Do not include
16457         <kernel-features.h>.
16458         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16459         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16460         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16461         unconditional.
16462         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16463         conditional code.
16465 2014-06-25  Will Newton  <will.newton@linaro.org>
16467         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16468         comment changes throughout the file.  Remove checks
16469         for HAVE_*_H definitions that are not required.
16470         (__gen_tempname): Call abort if an unknown kind value is
16471         passed.
16473 2014-06-25  Andreas Schwab  <schwab@suse.de>
16475         [BZ #17086]
16476         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16477         scalbln, scalblnf, scalblnl in libc.
16479 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16481         [BZ #17086]
16482         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16483         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16484         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16486 2014-06-24  Roland McGrath  <roland@hack.frob.com>
16488         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16489         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16490         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16491         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16492         Update #include.
16493         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16494         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16495         Update #include.
16496         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16497         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16498         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16499         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16500         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16501         * sysdeps/x86/bits/pthreadtypes.h: ... here.
16502         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16503         * sysdeps/x86/bits/semaphore.h: ... here.
16504         * sysdeps/x86/nptl/elide.h: Moved ...
16505         * sysdeps/x86/elide.h: ... here.
16506         * sysdeps/x86_64/nptl/Implies: File removed.
16507         * sysdeps/i386/nptl/Implies: File removed.
16509 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
16511         [BZ #16539]
16512         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16513         return the argument for normal arguments with exponent below -64.
16514         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16515         Likewise.
16516         * math/auto-libm-test-in: Add another test of expm1.
16517         * math/auto-libm-test-out: Regenerated.
16519         [BZ #16287]
16520         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16521         calling __erfcl for arguments at least 16.
16522         * math/auto-libm-test-in: Add more tests of erf.
16523         * math/auto-libm-test-out: Regenerated.
16525         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16526         individual architectures.
16527         * sysdeps/unix/sysv/linux/configure: Regenerated.
16528         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16529         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16530         * sysdeps/unix/sysv/linux/powerpc/configure.ac
16531         (ldd_rewrite_script): Define variable.
16532         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16534         file.
16535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16536         generated file.
16537         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16538         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16539         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16540         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16541         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16542         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16543         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16544         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16546 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16548         [BZ #17084]
16549         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16550         Rename member __data.d to __data.__elision_data.
16552 2014-06-24  Wilco  <wdijkstr@arm.com>
16554         * NEWS: Add 16918 to fixed bug list.
16556 2014-06-24  Wilco  <wdijkstr@arm.com>
16558         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16560 2014-06-24  Wilco  <wdijkstr@arm.com>
16562         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16563         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16564         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16565         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16566         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16567         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16568         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16569         Use _FPU_MASK_RM.
16571 2014-06-24  Wilco  <wdijkstr@arm.com>
16573         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16575 2014-06-24  Wilco  <wdijkstr@arm.com>
16577         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16578         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16579         * sysdeps/arm/fesetround.c (fesetround): Remove space.
16580         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16582 2014-06-24  Wilco  <wdijkstr@arm.com>
16584         [BZ #16918]
16585         * sysdeps/arm/feupdateenv.c (feupdateenv):
16586         Rewrite to reduce FPSCR accesses and fix return value.
16588 2014-06-24  Wilco  <wdijkstr@arm.com>
16590         * sysdeps/arm/fclrexcpt.c (feclearexcept):
16591         Optimize to avoid unnecessary FPSCR writes.
16592         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16593         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16594         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16595         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16597 2014-06-24  Wilco  <wdijkstr@arm.com>
16599         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16600         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16601         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16602         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
16603         Call libc_fetestexcept_vfp.
16604         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
16605         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
16606         __SOFTFP__ ifdef so that they can be built for softfp.
16608 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16610         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
16611         argument type signed char.
16613         * Makerules (check-abi): Dump diff of symlist if the test
16614         fails.
16616 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16618         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
16619         using abort.
16621         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16622         Remove unused variable ST.
16624 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16626         [BZ #16354]
16627         [BZ #17061]
16628         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
16629         small arguments before calling __expm1.
16630         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
16631         small arguments before calling __expm1f.
16632         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
16633         small arguments before calling __expm1l.
16634         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16635         Likewise.
16636         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16637         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
16638         spurious underflow for some cosh tests.
16639         * math/auto-libm-test-out: Regenerated.
16640         * sysdeps/i386/fpu/libm-test-ulps: Update.
16642         [BZ #17050]
16643         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
16644         (__ieee754_y1): Set errno if return value overflows.
16645         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
16646         (__ieee754_y1f): Set errno if return value overflows.
16647         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
16648         (__ieee754_y1l): Set errno if return value overflows.
16649         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
16650         (__ieee754_y1l): Set errno if return value overflows.
16651         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
16652         * math/auto-libm-test-out: Regenerated.
16654         * math/gen-auto-libm-tests.c: Document use of
16655         ignore-zero-inf-sign.
16656         (input_flag_type): Add value flag_ignore_zero_inf_sign.
16657         (input_flags): Add ignore-zero-inf-sign.
16658         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
16659         * math/gen-libm-test.pl (generate_testfile): Handle
16660         ignore-zero-inf-sign.
16661         * math/auto-libm-test-in: Mark some cpow tests with
16662         ignore-zero-inf-sign and some with xfail-rounding.
16663         * math/auto-libm-test-out: Regenerated.
16664         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16665         * sysdeps/i386/fpu/libm-test-ulps: Update.
16666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16668         [BZ #16315]
16669         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16670         overflowing or underflowing operations take place with sign of
16671         result.
16672         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16673         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16674         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16675         (__ieee754_pow): Recompute overflowing and underflowing results in
16676         original rounding mode.
16677         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16678         (__powl_helper): Allow negative argument X and scale negated value
16679         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
16680         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16681         overflowing or underflowing operations take place with sign of
16682         result.
16683         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16684         Include <math.h>.
16685         * math/auto-libm-test-in: Add more tests of pow.
16686         * math/auto-libm-test-out: Regenerated.
16687         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16688         (pow_tonearest_test_data): Remove.
16689         (pow_test_tonearest): Likewise.
16690         (pow_towardzero_test_data): Likewise.
16691         (pow_test_towardzero): Likewise.
16692         (pow_downward_test_data): Likewise.
16693         (pow_test_downward): Likewise.
16694         (pow_upward_test_data): Likewise.
16695         (pow_test_upward): Likewise.
16696         (main): Don't call removed functions.
16697         * sysdeps/i386/fpu/libm-test-ulps: Update.
16698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16700 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16703         Moved ...
16704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16706         Moved ...
16707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16709         Moved ...
16710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16712         Moved ...
16713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16715         File removed.
16716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16717         File removed.
16718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16719         File removed.
16720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16721         File removed.
16722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16723         File removed.
16724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16725         File removed.
16726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16727         File removed.
16728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16729         File removed.
16730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16731         File removed.
16732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16733         File removed.
16734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16735         File removed.
16736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16737         File removed.
16738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16739         Moved ...
16740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16742         Moved ...
16743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16744         ... here.
16745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16746         Moved ...
16747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16749         Moved ...
16750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16752         Moved ...
16753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16755         Moved ...
16756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16758         Moved ...
16759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16761         Moved ...
16762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16764         Moved ...
16765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16768         ... here.
16769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16770         Moved ...
16771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16773         Moved ...
16774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16775         ... here.
16776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16777         Moved ...
16778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16779         ... here.
16780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16781         Moved ...
16782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16783         ... here.
16784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16785         Moved ...
16786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16788         Moved ...
16789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16793         Moved ...
16794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16795         ... here.
16796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16797         Moved ...
16798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16799         ... here.
16800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16801         Moved ...
16802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16804         Moved ...
16805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16807         Moved ...
16808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16810         Moved ...
16811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16813         Moved ...
16814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16815         ... here.
16816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16817         Moved ...
16818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16820         Moved ...
16821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16823         Moved ...
16824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16826         Moved ...
16827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16831         Moved ...
16832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16834         Moved ...
16835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16837         Moved ...
16838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16839         ... here.
16840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16841         Moved ...
16842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16843         ... here.
16844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16845         Moved ...
16846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16847         ... here.
16848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16849         Moved ...
16850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16852         Moved ...
16853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16855         Moved ...
16856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16858         Moved ...
16859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16860         ... here.
16861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16862         Moved ...
16863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16864         ... here.
16865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16866         Moved ...
16867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16868         ... here.
16869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16870         Moved ...
16871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16873         Moved ...
16874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16876 2014-06-23  Will Newton  <will.newton@linaro.org>
16877             Wilco  <wdijkstr@arm.com>
16879         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16880         implementation.  Include get-rounding-mode.h.
16881         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16882         [!libc_feholdsetround_noex_ctx]: Define
16883         libc_feholdsetround_noex_ctx.
16884         [!libc_feholdsetround_noexf_ctx]: Define
16885         libc_feholdsetround_noexf_ctx.
16886         [!libc_feholdsetround_noexl_ctx]: Define
16887         libc_feholdsetround_noexl_ctx.
16888         (libc_feholdsetround_ctx): New function.
16889         (libc_feresetround_ctx): New function.
16890         (libc_feholdsetround_noex_ctx): New function.
16891         (libc_feresetround_noex_ctx): New function.
16893 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16895         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16896         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16897         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16898         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16899         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16900         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16902         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16903         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16904         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16905         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16906         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16907         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16908         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16909         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16910         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16911         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16912         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16913         Moved ...
16914         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16915         ... here.
16916         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16917         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16918         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16919         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16920         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16921         Moved ...
16922         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16923         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16924         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16925         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16926         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16927         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16928         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16929         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16930         Moved ...
16931         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16932         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16933         Moved ...
16934         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16935         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16936         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16937         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16938         Moved ...
16939         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16940         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16941         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16942         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16943         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16944         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16945         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16946         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16947         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16948         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16949         Moved ...
16950         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16951         ... here.
16952         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16953         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16954         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16955         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16956         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16957         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16958         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16959         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16960         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16961         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16962         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16963         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16964         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16965         Moved ...
16966         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16967         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16968         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16969         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16970         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16971         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16972         Moved ...
16973         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16974         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16975         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16976         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16977         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16979         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
16980         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
16981         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
16982         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
16983         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
16984         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
16985         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
16986         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
16987         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
16988         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
16989         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
16990         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
16991         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16992         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
16993         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
16994         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
16995         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
16996         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
16997         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
16998         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
16999         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17000         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17001         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17002         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17003         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17004         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17005         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17006         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17008 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17010         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17011         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17012         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17013         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17014         (IPV6_PMTUDISC_INTERFACE): Likewise.
17015         (IPV6_PMTUDISC_OMIT): Likewise.
17017 2014-06-23  Andreas Schwab  <schwab@suse.de>
17019         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17020         Remove unused errout label.
17022 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17024         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17025         macro: hardware supports Vector Crypto instructions.
17027 2014-06-23  Will Newton  <will.newton@linaro.org>
17029         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17030         rather than __builtin_expect.
17032         * elf/dl-lookup.c (undefined_msg): Remove variable.
17033         (_dl_lookup_symbol_x): Replace undefined_msg with string
17034         literal.
17036         * elf/dl-lookup.c (do_lookup_unique): New function.
17037         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17038         to a separate function.
17040 2014-06-23  Andreas Schwab  <schwab@suse.de>
17042         [BZ #17079]
17043         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17044         before reading the next line.
17046 2014-06-23  Will Newton  <will.newton@linaro.org>
17048         * test-skeleton.c (signal_handler): Use printf and %m
17049         rather than perror.  Use printf rather than fprintf to
17050         stderr.  Use puts rather than fputs to stderr.
17051         (main): Likewise.
17053 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17055         * nscd/nscd.c (thread_info_t): Remove typedef.
17056         (thread_info): Remove variable.
17058 2014-06-21  Allan McRae  <allan@archlinux.org>
17060         * NEWS: Mention CVE-2014-4043.
17062 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17064         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17065         * nptl/smp.h: ... here.
17067         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17069         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17070         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17071         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17072         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17074         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17075         * nptl/stack-aliasing.h: New file.
17076         * sysdeps/i386/i686/stack-aliasing.h: New file.
17077         * sysdeps/i386/i686/nptl/Makefile: File removed.
17078         * sysdeps/x86_64/stack-aliasing.h: New file.
17079         * sysdeps/x86_64/nptl/Makefile
17080         (CFLAGS-pthread_create.c): Variable removed.
17082         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17083         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17084         old file.
17085         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17086         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17087         old file.
17089 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17091         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17092         (__ASSUME_SIGFRAME_V2): Remove macro.
17093         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17094         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17095         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17096         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17097         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17098         Declare as function.  Remove conditional macro definitions.
17099         (__default_rt_sa_restorer): Likewise.
17100         (__default_sa_restorer_v1): Remove declaration.
17101         (__default_sa_restorer_v2): Likewise.
17102         (__default_rt_sa_restorer_v1): Likewise.
17103         (__default_rt_sa_restorer_v2): Likewise.
17104         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17105         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17106         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17108 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17110         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17111         (libpthread-routines): Add sysdep.
17112         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17113         * sysdeps/unix/sysv/linux/sparc/Versions
17114         (libpthread: GLIBC_2.3.3): New version set.
17115         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17116         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17117         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17118         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17119         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17120         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17121         Moved ...
17122         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17123         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17124         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17125         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17126         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17127         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17128         * sysdeps/sparc/nptl/sem_init.c: ... here.
17129         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17130         * sysdeps/sparc/nptl/sem_post.c: ... here.
17131         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17132         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17133         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17134         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17135         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17136         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17137         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17138         (libpthread-routines): Add cpu_relax.
17139         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17140         File removed.
17141         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17142         (librt: GLIBC_2.3.3): New version set.
17143         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17144         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17145         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17146         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17147         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17148         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17149         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17151         Moved ...
17152         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17153         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17154         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17155         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17156         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17157         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17158         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17159         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17160         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17161         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17162         Moved ...
17163         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17164         Update #include.
17165         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17166         Moved ...
17167         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17168         Update #include.
17169         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17170         Moved ...
17171         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17172         Update #include.
17173         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17174         Moved ...
17175         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17176         Update #include.
17177         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17178         Moved ...
17179         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17180         Update #include.
17181         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17182         Moved ...
17183         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17184         Update #include.
17185         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17186         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17187         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17188         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17189         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17190         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17191         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17192         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17194         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17196         Moved ...
17197         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17198         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17199         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17200         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17201         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17203 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17205         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17206         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17207         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17208         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17209         * nscd/nscd.c: Likewise.
17210         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17211         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17212         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17213         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17215         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17216         <kernel-features.h>.
17217         (init_mq_netlink): Remove conditional have_sock_cloexec
17218         definitions.  Remove code conditional on have_sock_cloexec < 0.
17219         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17220         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17221         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17222         <kernel-features.h>.
17223         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17224         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17226 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17228         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17229         Add tests for memset_chk and memset.
17231         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17232         with AVX2_Usable.
17234 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17236         [BZ #16046]
17237         * elf/tst-dl-iter-static.c: New file.
17238         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17240         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17241         error.
17243 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17245         * sysdeps/unix/sysv/linux/kernel-features.h
17246         (__ASSUME_F_GETOWN_EX): Remove macro.
17247         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17248         <kernel-features.h>.
17249         (miss_F_GETOWN_EX): Remove variable or macro.
17250         (do_fcntl): Do not check miss_F_GETOWN_EX.
17251         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17253         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17254         Remove macro.
17255         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17256         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17257         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17259         * sysdeps/unix/sysv/linux/kernel-features.h
17260         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17261         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17262         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17263         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17265 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17267         [BZ #17075]
17268         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17269         Fix calculation of the symbol's value.
17270         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17271         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17272         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17273         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17274         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17275         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17276         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17277         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17278         (modules-names): Add `tst-armtlsdescmod',
17279         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17280         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17281         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17282         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17283         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17284         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17285         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17286         ($(objpfx)tst-armtlsdescloc): New dependency.
17287         ($(objpfx)tst-armtlsdescextnow): Likewise.
17288         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17289         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17290         TLS scheme support.
17291         * sysdeps/arm/configure: Regenerate.
17293 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17295         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17296         (__atfct_seterrno_2): Likewise.
17297         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17298         <kernel-features.h>.
17299         (__ASSUME_ATFCTS): Do not undefine and redefine.
17300         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17301         (__have_atfcts): Remove conditional definition.
17302         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17303         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17304         unreachable if [__ASSUME_ATFCTS].
17305         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17306         not undefine and redefine.
17307         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17308         <kernel-features.h>.
17309         (faccessat) [__NR_faccessat]: Make code unconditional.
17310         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17311         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17312         <kernel-features.h>.
17313         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17314         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17315         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17316         <kernel-features.h>.
17317         (fchownat) [__NR_fchownat]: Make code unconditional.
17318         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17319         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17320         <kernel-features.h>.
17321         (futimesat) [__NR_futimesat]: Make code unconditional.
17322         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17323         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17324         <kernel-features.h>.
17325         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17326         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17327         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17328         <kernel-features.h>.
17329         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17330         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17331         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17332         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17333         <kernel-features.h>.
17334         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17335         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17336         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17337         <kernel-features.h>.
17338         (linkat) [__NR_linkat]: Make code unconditional.
17339         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17340         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17341         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17342         <kernel-features.h>.
17343         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17344         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17345         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17346         <kernel-features.h>.
17347         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17348         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17349         * sysdeps/unix/sysv/linux/openat.c: Do not include
17350         <kernel-features.h>.
17351         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17352         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17353         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17354         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17355         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17356         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17357         <kernel-features.h>.
17358         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17359         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17360         result of INLINE_SYSCALL directly, not via int variable.
17361         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17362         <kernel-features.h>.
17363         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17364         (renameat) [__NR_renameat]: Make code unconditional.
17365         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17366         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17367         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17368         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17369         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17370         (__ASSUME_ATFCTS): Do not undefine and redefine.
17371         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17372         <kernel-features.h>.
17373         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17374         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17375         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17376         <kernel-features.h>.
17377         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17378         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17379         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17380         (__ASSUME_ATFCTS): Do not undefine and redefine.
17381         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17382         <kernel-features.h>.
17383         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17384         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17385         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17386         <kernel-features.h>.
17387         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17388         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17390 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17392         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17394 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17396         [BZ #17069]
17397         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17398         constructed tree before returning error.
17399         * posix/bug-regexp36.c: Expand test case.
17401 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17403         [BZ #6803]
17404         * math/libm-test.inc (scalbln_test_date):
17405         Add errno expectations.
17406         * math/w_scalblnf.c: New File.
17407         Add wrapper which checks for setting errno to ERANGE.
17408         Add weak_alias for corresponding scalbln function.
17409         * math/w_scalbln.c: Likewise.
17410         * math/w_scalblnl.c: Likewise.
17411         * math/Makefile (libm-calls): Add w_scalbln.
17412         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17413         Remove weak_alias for corresponding scalbln function.
17414         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17415         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17416         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17417         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17418         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17419         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17420         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17421         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17422         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17423         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17424         Remove long_double_symbol for scalblnl function in libm, libc.
17425         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17426         Add wrapper which checks for setting errno to ERANGE.
17427         Add long_double_symbol for scalblnl function in libm, libc.
17428         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17429         Remove long_double_symbol for scalblnl in libm.
17430         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17431         Add wrapper which checks for setting errno to ERANGE.
17432         Add long_double_symbol for scalblnl function in libm.
17433         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17434         Do not use wrapper because of own implementation.
17436 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17438         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17439         3 bytes for __pad1 for x32.
17440         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17442 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
17443             H.J. Lu  <hongjiu.lu@intel.com>
17445         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17446         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17447         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17448         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17449         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17451 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
17453         [BZ #17069]
17454         * posix/regcomp.c (parse_expression): Deallocate partially
17455         constructed tree before returning error.
17456         * posix/Makefile.c (tests): Add bug-regex36.
17457         (generated): Add bug-regex36.mtrace.
17458         (tests-special): Add $(objpfx)bug-regex36-mem.out
17459         (bug-regex36-ENV): New variable.
17460         ($(objpfx)bug-regex36-mem.out): New rule.
17461         * posix/bug-regex36.c: New file.
17463 2014-06-19  Will Newton  <will.newton@linaro.org>
17465         * malloc/malloc.c (systrim): If extra is zero then return
17466         early.
17468 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17470         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17472 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
17474         * sysdeps/aarch64/strchr.S: New file.
17476 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17478         [BZ #17022]
17479         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17480         from arguments -2 or below.
17481         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17482         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17484 2014-06-18  Andreas Schwab  <schwab@suse.de>
17486         [BZ #17062]
17487         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17488         of a bracket expr not to run off the end of the string.
17489         * posix/Makefile (tests): Add tst-fnmatch3.
17490         * posix/tst-fnmatch3.c: New file.
17492 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17494         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17495         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17496         [$(cross-compiling) = no]: Likewise.
17497         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17498         [$(cross-compiling) = no]: Likewise.
17500 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17502         [BZ #17031]
17503         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17504         double, adjusted for any remainder from the high double.
17505         * math/libm-test.inc (nearbyint): Add tests.
17506         (rint): Likewise.
17508 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17510         * nptl/sysdeps/powerpc/Makefile: Moved ...
17511         * sysdeps/powerpc/nptl/Makefile: ... here.
17512         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17513         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17514         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17515         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17516         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17517         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17518         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17519         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17520         * nptl/sysdeps/powerpc/tls.h: Moved ...
17521         * sysdeps/powerpc/nptl/tls.h: ... here.
17523 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
17525         [BZ #16681]
17526         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17527         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17528         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17529         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17530         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17531         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17532         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17533         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17534         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17536 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
17538         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17540 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
17542         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17543         defined operator.
17545         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17546         $TIMEOUTFACTOR.
17548 2014-06-16  Florian Weimer  <fweimer@redhat.com>
17550         [BZ #17058]
17551         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17552         non-executed part of the test.
17554 2014-06-16  Andreas Schwab  <schwab@suse.de>
17556         * string/bits/string2.h (strdup, strndup): Update feature guard.
17558 2014-06-14  David S. Miller  <davem@davemloft.net>
17560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17562 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
17564         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17565         that was previously under [RESET_PID].
17566         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17568         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17569         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17570         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17571         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17572         (__libc_vfork): New strong alias.
17573         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17575 2014-06-14 Andi Kleen  <ak@linux.intel.com>
17577         * sysdeps/generic/elide.h: New file.
17579 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17581         * Makefile (installed-headers): Adjust path of pthread.h header.
17583 2014-06-13  Roland McGrath  <roland@hack.frob.com>
17585         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17586         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17587         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17588         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17590         * nptl/sysdeps/s390/Makefile: Moved ...
17591         * sysdeps/s390/nptl/Makefile: ... here.
17592         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17593         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17594         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17595         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17596         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17597         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17598         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17599         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17600         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17601         * sysdeps/s390/nptl/pthreaddef.h: ... here.
17602         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
17603         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
17604         * nptl/sysdeps/s390/tls.h: Moved ...
17605         * sysdeps/s390/nptl/tls.h: ... here.
17607         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
17608         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
17610 2014-06-13  David S. Miller  <davem@davemloft.net>
17612         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
17613         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
17614         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
17615         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
17616         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
17617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
17618         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
17619         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
17620         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
17621         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
17622         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
17623         Remove RESET_PID cpp guards.
17624         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
17625         Remove RESET_PID cpp guards.
17626         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
17628 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
17630         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
17631         __sp to uintptr_t.
17633 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17635         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
17636         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
17637         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
17638         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
17639         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
17640         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
17641         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
17642         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
17643         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17644         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
17645         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
17646         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
17647         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
17648         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17649         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
17650         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
17651         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
17652         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
17653         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
17654         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
17656         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
17657         (pthread_rwlock_rdlock): Add elision.
17658         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
17659         (pthread_rwlock_wrlock): Add elision.
17660         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
17661         (pthread_rwlock_trywrlock): Add elision.
17662         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
17663         (pthread_rwlock_tryrdlock): Add elision.
17664         * nptl/pthread_rwlock_unlock.c: Include elide.h.
17665         (pthread_rwlock_tryrdlock): Add elision unlock.
17666         * nptl/sysdeps/pthread/pthread.h:
17667         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17668         (PTHREAD_RWLOCK_INITIALIZER,
17669         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17670         Handle new elision field.
17671         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17672         * sysdeps/arm/nptl/bits/pthreadtypes.h
17673         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17674         * sysdeps/sh/nptl/bits/pthreadtypes.h
17675         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17676         * sysdeps/tile/nptl/bits/pthreadtypes.h
17677         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17678         * sysdeps/a/nptl/bits/pthreadtypes.h
17679         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17680         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17681         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17682         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17683         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17684         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17685         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17686         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17687         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17688         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17689         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17690         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17691         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17692         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17693         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17694         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17695         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17696         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17697         (elision_init): Set try_xbegin to zero when no RTM.
17698         * sysdeps/x86/nptl/bits/pthreadtypes.h
17699         (pthread_rwlock_t): Change __pad1 to __rwelision.
17700         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17702 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17704         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17705         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17706         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17707         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17709 2014-06-13  Meador Inge  <meadori@codesourcery.com>
17711         [BZ #16996]
17712         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17713         that the cached result has been set before returning it.
17715 2014-06-12  Roland McGrath  <roland@hack.frob.com>
17717         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17718         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17719         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17720         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17721         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17722         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17724         * nptl/sysdeps/sparc/Makefile: Moved ...
17725         * sysdeps/sparc/nptl/Makefile: ... here.
17726         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17727         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17728         * nptl/sysdeps/sparc/tls.h: Moved ...
17729         * sysdeps/sparc/nptl/tls.h: ... here.
17730         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17731         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17732         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17733         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17734         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17735         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17736         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17737         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17738         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17739         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17740         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17741         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17742         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17743         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17744         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17745         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17746         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17747         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17748         Update #include.
17749         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17750         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17751         Update #include.
17752         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17753         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17754         Update #include.
17755         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17756         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17757         Update #include.
17759         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17761         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17762         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17764         * sysdeps/pthread/posix-timer.h: Include <list.h>.
17765         (struct list_links): Type removed.
17766         (struct thread_node, struct timer_node): Replace struct list_links
17767         with struct list_head.
17768         (list_unlink_ip): Likewise.
17769         * sysdeps/pthread/timer_routines.c
17770         (timer_free_list, thread_free_list, thread_active_list): Likewise.
17771         (list_append, list_insbefore): Likewise.
17772         (list_init): Function removed.
17773         (thread_init, init_module): Use INIT_LIST_HEAD instead.
17774         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17775         * sysdeps/pthread/Makefile: ... here, new file.
17777         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17778         * sysdeps/nptl/Implies: ... here.
17779         * sysdeps/unix/sysv/linux/Implies: Add nptl.
17780         * nptl/sysdeps/pthread/list.h: Moved ...
17781         * include/list.h: ... here.
17782         * nptl/sysdeps/pthread/createthread.c: Moved ...
17783         * nptl/createthread.c: ... here.
17784         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17785         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17786         * nptl/pt-longjmp.c: ... here.
17787         * nptl/sysdeps/pthread/Makefile: Moved ...
17788         * sysdeps/nptl/Makefile: ... here.
17789         * nptl/sysdeps/pthread/Subdirs: Moved ...
17790         * sysdeps/nptl/Subdirs: ... here.
17791         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17792         * sysdeps/nptl/aio_misc.h: ... here.
17793         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17794         * sysdeps/nptl/bits/libc-lock.h: ... here.
17795         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17796         * sysdeps/nptl/bits/libc-lockP.h: ... here.
17797         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17798         * sysdeps/nptl/bits/stdio-lock.h: ... here.
17799         * nptl/sysdeps/pthread/configure: Moved ...
17800         * sysdeps/nptl/configure: ... here.
17801         * nptl/sysdeps/pthread/configure.ac: Moved ...
17802         * sysdeps/nptl/configure.ac: ... here.
17803         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17804         * sysdeps/nptl/gai_misc.h: ... here.
17805         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17806         * sysdeps/nptl/librt-cancellation.c: ... here.
17807         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17808         * sysdeps/nptl/malloc-machine.h: ... here.
17809         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17810         * sysdeps/nptl/pthread-functions.h: ... here.
17811         * nptl/sysdeps/pthread/pthread.h: Moved ...
17812         * sysdeps/nptl/pthread.h: ... here.
17813         * nptl/sysdeps/pthread/setxid.h: Moved ...
17814         * sysdeps/nptl/setxid.h: ... here.
17815         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17816         * sysdeps/nptl/sigfillset.c: ... here.
17817         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17818         * sysdeps/nptl/tcb-offsets.h: ... here.
17819         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17820         * sysdeps/nptl/tst-mqueue8x.c: ... here.
17821         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17822         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17823         * nptl/sysdeps/pthread/allocalim.h: Moved ...
17824         * sysdeps/pthread/allocalim.h: ... here.
17825         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17826         * sysdeps/pthread/bits/sigthread.h: ... here.
17827         * nptl/sysdeps/pthread/flockfile.c: Moved ...
17828         * sysdeps/pthread/flockfile.c: ... here.
17829         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17830         * sysdeps/pthread/ftrylockfile.c: ... here.
17831         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17832         * sysdeps/pthread/funlockfile.c: ... here.
17833         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17834         * sysdeps/pthread/posix-timer.h: ... here.
17835         * nptl/sysdeps/pthread/timer_create.c: Moved ...
17836         * sysdeps/pthread/timer_create.c: ... here.
17837         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17838         * sysdeps/pthread/timer_delete.c: ... here.
17839         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17840         * sysdeps/pthread/timer_getoverr.c: ... here.
17841         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17842         * sysdeps/pthread/timer_gettime.c: ... here.
17843         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17844         * sysdeps/pthread/timer_routines.c: ... here.
17845         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17846         * sysdeps/pthread/timer_settime.c: ... here.
17847         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17848         * sysdeps/pthread/tst-timer.c: ... here.
17849         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17850         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17852         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17853         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17855         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17856         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17857         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17858         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17859         Update #include target.
17860         * nptl/sysdeps/i386/i686/Makefile: Moved ...
17861         * sysdeps/i386/i686/nptl/Makefile: ... here.
17862         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17863         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17864         Update #include target.
17865         * nptl/sysdeps/i386/i686/tls.h: Moved ...
17866         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
17867         * nptl/sysdeps/i386/Makefile: Moved ...
17868         * sysdeps/i386/nptl/Makefile: ... here.
17869         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17870         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17871         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17872         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17873         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17874         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17875         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17876         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17877         * sysdeps/i386/nptl/pthreaddef.h: ... here.
17878         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17879         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17880         * nptl/sysdeps/i386/tls.h: Moved ...
17881         * sysdeps/i386/nptl/tls.h: ... here.
17883         * sysdeps/sh/Makefile [$(subdir) = csu]
17884         (gen-as-const-headers): Add tcb-offsets.sym.
17885         * nptl/sysdeps/sh/Makefile: File removed.
17886         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17887         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17888         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17889         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17890         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17891         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17892         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17893         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17894         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17895         * sysdeps/sh/nptl/pthreaddef.h: ... here.
17896         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17897         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17898         * nptl/sysdeps/sh/tls.h: Moved ...
17899         * sysdeps/sh/nptl/tls.h: ... here.
17900         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17901         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17902         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17903         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17904         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17905         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17906         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17907         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17908         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17909         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17910         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17911         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17912         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17913         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17914         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17915         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17916         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17917         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17918         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17919         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17920         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17921         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17922         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17923         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17924         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17925         Moved ...
17926         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17927         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17928         Moved ...
17929         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17930         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17931         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17932         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17933         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17934         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17935         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17936         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17937         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17938         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17939         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17940         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17941         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17942         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17943         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17944         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17945         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17946         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17947         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17949 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17951         * posix/spawn_faction_addopen.c: Include string.h.
17953 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17955         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17956         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17957         * nptl/sysdeps/x86_64/Makefile: Moved ...
17958         * sysdeps/x86_64/nptl/Makefile: ... here.
17959         * nptl/sysdeps/x86_64/configure: Moved ...
17960         * sysdeps/x86_64/nptl/configure: ... here.
17961         * nptl/sysdeps/x86_64/configure.ac: Moved ...
17962         * sysdeps/x86_64/nptl/configure.ac: ... here.
17963         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17964         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17965         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17966         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17967         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17968         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17969         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17970         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17971         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17972         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17973         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17974         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17975         * nptl/sysdeps/x86_64/tls.h: Moved ...
17976         * sysdeps/x86_64/nptl/tls.h: ... here.
17977         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17978         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17979         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
17980         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
17982         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
17984 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17988 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
17990         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
17991         type.
17992         [POSIX] (off_t): Likewise.
17993         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
17994         [POSIX] (S_ISBLK): Require macro.
17995         [POSIX] (S_ISCHR): Likewise.
17996         [POSIX] (S_ISDIR): Likewise.
17997         [POSIX] (S_ISFIFO): Likewise.
17998         [POSIX] (S_ISREG): Likewise.
17999         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18000         optional-macro.
18001         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18002         type.
18003         [POSIX] (time_t): Likewise.
18004         [POSIX] (timer_t): Likewise.
18006 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18008         [BZ #17048]
18009         * posix/spawn_int.h (struct __spawn_action): Make the path string
18010         non-const to support deallocation.
18011         * posix/spawn_faction_addopen.c
18012         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18013         * posix/spawn_faction_destroy.c
18014         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18015         path in all spawn_do_open actions.
18016         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18017         posix_spawn_file_actions_addopen.
18019 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18021         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18022         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18023         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18024         conditional code always true.
18025         (__libc_vfork): New alias.
18027 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18029         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18030         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18032         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18034         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18035         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18037         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18038         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18040         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18041         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18043 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18045         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18046         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18047         multiarch strcmp for PPC64.
18048         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18049         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18050         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18051         multiarch optimizations.
18052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18053         (__libc_ifunc_impl_list): Likewise.
18055 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18057         * benchtests/scripts/validate_benchout.py: New script.
18058         * benchtests/Makefile (bench-func): Call it.
18059         * benchtests/scripts/benchout.schema.json: New file.
18061 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18063         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18064         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18065         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18066         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18067         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18068         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18069         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18070         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18071         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18072         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18073         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18074         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18075         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18076         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18077         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18078         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18080         Moved ...
18081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18082         ... here.
18083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18084         Moved ...
18085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18087         Moved ...
18088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18089         ... here.
18090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18091         Moved ...
18092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18093         ... here.
18094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18095         Moved ...
18096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18098         Moved ...
18099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18100         ... here.
18101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18102         Moved ...
18103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18104         ... here.
18105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18106         Moved ...
18107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18109         Moved ...
18110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18111         ... here.
18112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18113         Moved ...
18114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18115         ... here.
18116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18117         Moved ...
18118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18119         ... here.
18120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18121         Moved ...
18122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18124         Moved ...
18125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18126         ... here.
18127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18128         Moved ...
18129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18130         ... here.
18131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18132         Moved ...
18133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18134         ... here.
18135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18136         Moved ...
18137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18139         Moved ...
18140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18141         ... here.
18142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18143         Moved ...
18144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18145         ... here.
18146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18147         Moved ...
18148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18150         Moved ...
18151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18152         ... here.
18153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18154         Moved ...
18155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18157         Moved ...
18158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18160         Moved ...
18161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18162         ... here.
18163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18164         Moved ...
18165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18166         ... here.
18167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18168         Moved ...
18169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18170         ... here.
18171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18172         Moved ...
18173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18175         Moved ...
18176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18177         ... here.
18178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18179         Moved ...
18180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18181         ... here.
18182         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18183         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18184         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18185         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18186         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18187         Moved ...
18188         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18189         ... here.
18190         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18191         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18192         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18193         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18194         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18195         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18196         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18197         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18198         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18199         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18200         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18201         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18202         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18203         Moved ...
18204         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18205         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18206         Moved ...
18207         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18208         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18209         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18210         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18211         Moved ...
18212         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18213         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18214         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18215         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18216         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18217         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18218         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18220 2014-06-10  Wilco  <wdijkstr@arm.com>
18222         * math/test-fenv-return.c: New file.
18223         * math/Makefile: Add new test test-fenv-return.
18225 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18227         [BZ #17042]
18228         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18229         when x - 1 is zero.
18230         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18231         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18232         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18233         0.0L for an argument of 1.0L.
18234         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18235         Likewise.
18236         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18237         value when x - 1 is zero.
18238         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18239         * sysdeps/i386/fpu/libm-test-ulps: Update.
18240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18242 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18244         [BZ #15119]
18245         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18247 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18249         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18250         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18252 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18254         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18255         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18257         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18258         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18260         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18261         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18263         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18264         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18266         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18267         if not already defined.
18268         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18269         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18270         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18271         (TLS_INIT_TP): Use it.
18272         (TLS_DEFINE_INIT_TP): New macro.
18273         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18275 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18277         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18278         constant.
18279         [POSIX] (IXANY): Likewise.
18280         [POSIX] (OLCUC): Likewise.
18281         [POSIX || POSIX2008] (CBAUD): Do not allow.
18282         [POSIX || POSIX2008] (DEFECHO): Likewise.
18283         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18284         [POSIX || POSIX2008] (ECHOKE): Likewise.
18285         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18286         [POSIX || POSIX2008] (EXTA): Likewise.
18287         [POSIX || POSIX2008] (EXTB): Likewise.
18288         [POSIX || POSIX2008] (FLUSHO): Likewise.
18289         [POSIX || POSIX2008] (LOBLK): Likewise.
18290         [POSIX || POSIX2008] (PENDIN): Likewise.
18291         [POSIX || POSIX2008] (SWTCH): Likewise.
18292         [POSIX || POSIX2008] (VDISCARD): Likewise.
18293         [POSIX || POSIX2008] (VDSUSP): Likewise.
18294         [POSIX || POSIX2008] (VLNEXT): Likewise.
18295         [POSIX || POSIX2008] (VREPRINT): Likewise.
18296         [POSIX || POSIX2008] (VSTATUS): Likewise.
18297         [POSIX || POSIX2008] (VWERASE): Likewise.
18298         (B*): Change to B[0123456789]*.
18299         * conform/data/time.h-data [POSIX || UNIX98]
18300         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18301         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18302         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18303         [POSIX] (tm_*): Do not allow.
18305 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18307         * Makefile (install): Don't set LANGUAGE.
18308         * Makefile.in (install): Likewise.
18309         * assert/Makefile (test-assert-ENV): Remove variable.
18310         (test-assert-perr-ENV): Likewise.
18311         * elf/Makefile (neededtest4-ENV): Likewise.
18312         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18313         [$(cross-compiling) = no]: Don't set LANGUAGE.
18314         * io/ftwtest-sh (LANG): Remove variable.
18315         * libio/Makefile (tst-widetext-ENV): Likewise.
18316         * manual/install.texi (Running make install): Don't refer to
18317         environment settings for make install.
18318         * INSTALL: Regenerated.
18319         * nptl/tst-tls6.sh: Don't set LANG.
18320         * posix/globtest.sh (LANG): Remove variable.
18321         * string/Makefile (tester-ENV): Likewise.
18322         (inl-tester-ENV): Likewise.
18323         (noinl-tester-ENV): Likewise.
18324         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18325         [$(cross-compiling) = no]: Don't set LANGUAGE.
18326         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18327         without explicit environment settings.
18329 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18331         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18332         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18333         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18334         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18336 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18338         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18339         other files in the crypt directory.
18340         * crypt/crypt.c: Remove duplicate includes.
18341         * crypt/crypt-entry.c: Likewise.
18342         * crypt/crypt_util.c: Likewise.
18344 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18346         * Makeconfig (run-program-env): New variable.
18347         (run-program-prefix-before-env): Likewise.
18348         (run-program-prefix-after-env): Likewise.
18349         (run-program-prefix): Define in terms of new variables.
18350         (built-program-cmd-before-env): New variable.
18351         (built-program-cmd-after-env): Likewise.
18352         (built-program-cmd): Define in terms of new variables.
18353         (test-program-prefix-before-env): New variable.
18354         (test-program-prefix-after-env): Likewise.
18355         (test-program-prefix): Define in terms of new variables.
18356         (test-program-cmd-before-env): New variable.
18357         (test-program-cmd-after-env): Likewise.
18358         (test-program-cmd): Define in terms of new variables.
18359         * Rules (make-test-out): Use $(run-program-env).
18360         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18361         (help): Do not mention environment variables.  Mention
18362         --timeoutfactor option.
18363         (timeoutfactor): New variable.
18364         (blacklist_exports): Remove function.
18365         (exports): Remove variable.
18366         (command): Do not include ${exports}.
18367         * manual/install.texi (Configuring and compiling): Do not mention
18368         test wrappers preserving environment variables.  Mention that last
18369         assignment to a variable must take precedence.
18370         * INSTALL: Regenerated.
18371         * benchtests/Makefile (run-bench): Use $(run-program-env).
18372         * catgets/Makefile ($(objpfx)test1.cat): Use
18373         $(built-program-cmd-before-env), $(run-program-env) and
18374         $(built-program-cmd-after-env).
18375         ($(objpfx)test2.cat): Do not specify environment variables
18376         explicitly.
18377         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18378         $(run-program-env) and $(built-program-cmd-after-env).
18379         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18380         $(run-program-env) and $(test-program-cmd-after-env).
18381         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18382         explicitly.
18383         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18384         run_program_env and test_program_cmd_after_env arguments.
18385         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18386         * elf/tst-pathopt.sh: Use run_program_env argument.
18387         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18388         $(test-wrapper-env) and $(run-program-env).
18389         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18390         run_program_env arguments.
18391         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18392         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18393         $(test-program-prefix-before-env), $(run-program-env) and
18394         $(test-program-prefix-after-env).
18395         ($(objpfx)tst-gettext2.out): Likewise.
18396         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18397         run_program_env and test_program_prefix_after_env arguments.
18398         * intl/tst-gettext2.sh: Likewise.
18399         * intl/tst-gettext4.sh: Do not set environment variables
18400         explicitly.
18401         * intl/tst-gettext6.sh: Likewise.
18402         * intl/tst-translit.sh: Likewise.
18403         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18404         $(test-program-prefix-before-env), $(run-program-env) and
18405         $(test-program-prefix-after-env).
18406         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18407         run_program_env and test_program_prefix_after_env arguments.
18408         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18409         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18410         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18411         explicitly with each use of ${test_wrapper_env}.
18412         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18413         $(test-program-prefix-before-env), $(run-program-env) and
18414         $(test-program-prefix-after-env).
18415         * posix/tst-getconf.sh: Do not set environment variables
18416         explicitly.
18417         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18418         run_program_env and test_program_prefix_after_env arguments.
18419         * stdio-common/tst-printf.sh: Do not set environment variables
18420         explicitly.
18421         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18422         $(test-program-prefix-before-env), $(run-program-env) and
18423         $(test-program-prefix-after-env).
18424         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18425         run_program_env and test_program_prefix_after_env arguments.
18426         Split $test calls into $test_pre and $test.
18427         * timezone/Makefile (build-testdata): Use
18428         $(built-program-cmd-before-env), $(run-program-env) and
18429         $(built-program-cmd-after-env).
18431 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18433         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18434         strlen for non SHARED builds.
18436 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18438         * nptl/allocatestack.c (check_list): Inlined function...
18439         (__reclaim_stacks): ... here.
18441 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18443         [BZ #15698]
18444         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18445         memory overrun.
18447 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
18449         * Rules (make-test-out): Include
18450         LOCPATH=$(common-objpfx)localedata in default environment.
18451         * debug/Makefile (tst-chk1-ENV): Remove variable.
18452         (tst-chk2-ENV): Likewise.
18453         (tst-chk3-ENV): Likewise.
18454         (tst-chk4-ENV): Likewise.
18455         (tst-chk5-ENV): Likewise.
18456         (tst-chk6-ENV): Likewise.
18457         (tst-lfschk1-ENV): Likewise.
18458         (tst-lfschk2-ENV): Likewise.
18459         (tst-lfschk3-ENV): Likewise.
18460         (tst-lfschk4-ENV): Likewise.
18461         (tst-lfschk5-ENV): Likewise.
18462         (tst-lfschk6-ENV): Likewise.
18463         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18464         (tst-iconv7-ENV): Likewise.
18465         * intl/Makefile (LOCPATH-ENV): Likewise.
18466         (tst-codeset-ENV): Likewise.
18467         (tst-gettext3-ENV): Likewise.
18468         (tst-gettext5-ENV): Likewise.
18469         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18470         (tst-fopenloc-ENV): Likewise.
18471         (tst-fgetws-ENV): Remove variable.
18472         (tst-ungetwc1-ENV): Likewise.
18473         (tst-ungetwc2-ENV): Likewise.
18474         (bug-ungetwc2-ENV): Likewise.
18475         (tst-swscanf-ENV): Likewise.
18476         (bug-ftell-ENV): Likewise.
18477         (tst-fgetwc-ENV): Likewise.
18478         (tst-fseek-ENV): Likewise.
18479         (tst-ftell-partial-wide-ENV): Likewise.
18480         (tst-ftell-active-handler-ENV): Likewise.
18481         (tst-ftell-append-ENV): Likewise.
18482         * posix/Makefile (tst-fnmatch-ENV): Likewise.
18483         (tst-regexloc-ENV): Likewise.
18484         (bug-regex1-ENV): Likewise.
18485         (tst-regex-ENV): Likewise.
18486         (tst-regex2-ENV): Likewise.
18487         (bug-regex5-ENV): Likewise.
18488         (bug-regex6-ENV): Likewise.
18489         (bug-regex17-ENV): Likewise.
18490         (bug-regex18-ENV): Likewise.
18491         (bug-regex19-ENV): Likewise.
18492         (bug-regex20-ENV): Likewise.
18493         (bug-regex22-ENV): Likewise.
18494         (bug-regex23-ENV): Likewise.
18495         (bug-regex25-ENV): Likewise.
18496         (bug-regex26-ENV): Likewise.
18497         (bug-regex30-ENV): Likewise.
18498         (bug-regex32-ENV): Likewise.
18499         (bug-regex33-ENV): Likewise.
18500         (bug-regex34-ENV): Likewise.
18501         (bug-regex35-ENV): Likewise.
18502         (tst-rxspencer-ENV): Likewise.
18503         (tst-rxspencer-no-utf8-ENV): Likewise.
18504         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18505         (tst-sscanf-ENV): Likewise.
18506         (tst-swprintf-ENV): Likewise.
18507         (tst-swscanf-ENV): Likewise.
18508         (test-vfprintf-ENV): Likewise.
18509         (scanf13-ENV): Likewise.
18510         (bug14-ENV): Likewise.
18511         (tst-grouping-ENV): Likewise.
18512         * stdlib/Makefile (tst-strtod-ENV): Likewise.
18513         (tst-strtod3-ENV): Likewise.
18514         (tst-strtod4-ENV): Likewise.
18515         (tst-strtod5-ENV): Likewise.
18516         (testmb2-ENV): Likewise./
18517         * string/Makefile (tst-strxfrm-ENV): Likewise.
18518         (tst-strxfrm2-ENV): Likewise.
18519         (bug-strcoll1-ENV): Likewise.
18520         (test-strcasecmp-ENV): Likewise.
18521         (test-strncasecmp-ENV): Likewise.
18522         * time/Makefile (tst-strptime-ENV): Likewise.
18523         (tst-ftime_l-ENV): Likewise.
18524         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18525         (tst-mbrtowc-ENV): Likewise.
18526         (tst-wcrtomb-ENV): Likewise.
18527         (tst-mbrtowc2-ENV): Likewise.
18528         (tst-c16c32-1-ENV): Likewise.
18529         (tst-mbsnrtowcs-ENV): Likewise.
18531 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18533         * manual/resource.texi (How to get information about the memory
18534         subsystem?): Fix typo.
18535         Reported by Peon de la Parra Ivan <peon@keba.com>
18537 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
18539         [BZ #16882]
18540         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18541         (pthread_spin_lock): Branch out of spin loop to proper location.
18542         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18543         (pthread_spin_lock): Likewise.
18545         * nptl/tst-spin4.c: New test.
18546         * nptl/Makefile (tests): Add tst-spin4.
18548 2014-06-03  Andreas Schwab  <schwab@suse.de>
18550         [BZ #15946]
18551         * resolv/res_send.c (send_dg): Reload file descriptor after
18552         calling reopen.
18554 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
18556         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18558 2014-06-03  Richard Henderson  <rth@redhat.com>
18560         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18561         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18562         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18563         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
18564         in the SAVE_PID block.
18565         (__libc_vfork): New alias.
18566         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18568         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18569         child in registers, not on the stack.  Remove RESET_PID conditionals.
18570         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18572 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18574         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18576 2014-06-03  Wilco  <wdijkstr@arm.com>
18578         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18579         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18580         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18581         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18582         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18583         Likewise.
18585 2014-06-03  Wilco  <wdijkstr@arm.com>
18587         * sysdeps/aarch64/fpu/math_private.h
18588         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18589         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18590         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18591         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18592         Fix declarations.
18594 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18596         * crypt/crypt-private.h: Include ufc-crypt.h.
18597         (__b64_from_24bit): Declare extern.
18598         * crypt/crypt_util.c(__b64_from_24bit): New function.
18599         (b64t): New static const variable.
18600         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18601         (b64t): Remove variable.
18602         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
18603         * crypt/sha256-crypt.c: Include crypt-private.h.
18604         (b64t): Remove variable.
18605         (__sha256_crypt_r): Remove b64_from_24bit and replace
18606         with __b64_from_24bit.
18607         * crypt/sha512-crypt.c: Likewise.
18609 2014-06-02  Roland McGrath  <roland@hack.frob.com>
18611         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
18612         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
18613         Label the code __libc_vfork rather than __vfork.
18614         [!NOT_IN_libc] (vfork): Define as weak alias.
18615         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
18616         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
18617         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
18619 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18621         * malloc/malloc.c (malloc_info): Fix format specifier for
18622         n_mmaps.
18624 2014-06-02  Wilco  <wdijkstr@arm.com>
18626         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
18627         FPCR write.
18629 2014-06-02  Wilco  <wdijkstr@arm.com>
18631         [BZ #17009]
18632         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
18633         Rewrite to reduce FPCR/FPSR accesses.
18635 2014-06-01  David S. Miller  <davem@davemloft.net>
18637         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18639 2014-05-31  David S. Miller  <davem@davemloft.net>
18641         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
18642         to occur in round to nearest mode when |x| >= 2.0
18644 2014-05-30  Richard Henderson  <rth@twiddle.net>
18646         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
18647         (PSEUDO_RET_NOERRNO): Remove.
18648         (ret): Don't redefine.
18649         (ret_NOERRNO): Define in terms of ret.
18650         (ret_ERRVAL): Likewise.
18652         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
18653         use of PSEUDO_RET; perform the error check directly.
18655 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
18657         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
18658         with __int128_t.
18660 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18662         * malloc/malloc (malloc_info): Fix formatting.
18664 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18665             Roland McGrath  <roland@hack.frob.com>
18667         * malloc/malloc (malloc_info): Also print mmapped statistics.
18669 2014-05-30  Roland McGrath  <roland@hack.frob.com>
18671         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18672         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18674 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
18676         * malloc/malloc.c (malloc_info): Inline mi_arena.
18678 2014-05-29  Richard Henderson  <rth@twiddle.net>
18680         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18681         Remove comma before expanding ASM_ARGS_##nr.
18682         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18683         Make _x0 a strict output; make _x8 a strict input; adjust expansion
18684         of ASM_ARGS_##nr.
18685         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18686         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18687         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18688         (ASM_ARGS_1): Add leading comma.
18690         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18691         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18692         to __errno_location.
18693         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18694         Remove the expected plt for __errno_location.
18696         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18697         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18698         call to __read_tp.
18700         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18701         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
18702         it and break it down.
18703         (DOCARGS_0, DOCARGS_1): Do nothing.
18704         (DOCARGS_2): Update to store into the new stack frame.
18705         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18706         (UNDOCARGS_1): Update to restore from the new stack frame.
18707         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18708         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18710         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18711         (SINGLE_THREAD_P): New parameter for result regno.
18712         (PSEUDO): Update to match; use cbz instead of beq.
18714         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18715         Use ENTRY to define the _nocancel entry point.  Share the syscall
18716         and syscall error check paths with the cancel path.
18717         (PSEUDO_END): New.
18719         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18720         whitespace; tabs before and after asm mnemonics.
18722 2014-05-29  Eric Wong  <normalperson@yhbt.net>
18724         [BZ #15132]
18725         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18726         Call fstat64 or stat64 internally, depending on arguments passed.
18727         Replace stat buffer argument with file descriptor argument.
18728         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18729         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18730         Pass fd to __internal_statvfs instead of calling fstat64.
18731         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18732         Pass fd to __internal_statvfs64 instead of calling fstat64.
18733         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18734         Pass -1 to __internal_statvfs instead of calling stat64.
18735         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18736         Pass -1 to __internal_statvfs64 instead of calling stat64.
18738 2014-05-28  Roland McGrath  <roland@hack.frob.com>
18740         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18741         that was previously under [RESET_PID].
18742         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18744         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18745         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18747 2014-05-27  Roland McGrath  <roland@hack.frob.com>
18749         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18751         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18752         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18754 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
18756         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18758 2014-05-27  Andreas Schwab  <schwab@suse.de>
18760         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18761         TLS_INIT_TP macro.
18762         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18763         * elf/rtld.c (init_tls, dl_main): Likewise.
18764         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18765         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18766         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18767         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18768         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18769         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18770         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18771         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18772         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18773         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18774         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18775         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18776         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18777         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18778         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18779         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18780         * sysdeps/generic/tls.h: Update description.
18782 2014-05-27  Will Newton  <will.newton@linaro.org>
18784         [BZ #16990]
18785         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18786         and restore r2 rather than just restoring.
18788 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18790         [BZ #16724]
18791         * libio/tst-ftell-append.c: New test case.
18792         * libio/Makefile (tests): Add test case.
18793         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18794         append mode.
18795         * libio/wfileops.c (do_ftell_wide): Likewise.
18797 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18801         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18802         ...
18803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18805         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18806         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18807         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18808         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18809         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18810         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18811         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18812         Moved ...
18813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18814         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18815         Moved ...
18816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18817         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18818         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18819         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18820         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18821         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18822         ...
18823         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18824         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18825         Moved ...
18826         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18827         here.
18828         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18829         ...
18830         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18831         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18832         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18834         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18835         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18836         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18837         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18839         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18840         merge into ...
18841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18842         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18843         ...
18844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18845         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18846         ...
18847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18848         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18849         Moved ...
18850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18851         here.
18852         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18853         Moved ...
18854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18855         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18856         Moved ...
18857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18860         conditional [RESET_PID].
18861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18862         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18863         removed.
18864         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18865         removed.
18867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18868         <tcb-offsets.h>.
18869         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18870         (__libc_vfork): New strong alias.
18871         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18872         removed.
18873         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18874         Removed.
18876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18877         <tcb-offsets.h>.
18878         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18879         (__libc_vfork): New strong alias.
18880         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18881         removed.
18882         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18883         removed.
18885 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
18887         * malloc/malloc.c (mi_arena): New function.
18888         (malloc_info): Remove nested function mi_arena. Call non-nosted
18889         function mi_arena.
18891 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18893         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18894         by insrwi.
18895         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18896         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18897         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18898         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18899         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18900         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18901         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18903 2014-05-26  Andreas Schwab  <schwab@suse.de>
18905         [BZ #16984]
18906         * locale/programs/repertoire.c (repertoire_read): Add slash
18907         between I18NPATH element and file name.
18908         * locale/programs/locfile.c (locfile_read): Likewise.
18910 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18912         * nptl/pthread_mutexattr_settype.c
18913         (__pthread_mutexattr_settype):
18914         Disable lock elision for PTHREAD_MUTEX_NORMAL.
18916 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18918         * nptl/tst-mutex5 (do_test):
18919         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18921 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18923         * benchtests/README: Document 'init' directive.
18924         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18925         BENCH_INIT.
18926         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18927         (parse_file): Recognize 'init' directive.
18929 2014-05-26  Kyle McMartin  <kyle@redhat.com>
18931         [BZ #16796]
18932         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18933         alignment of struct pthread.
18935 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18937         [BZ #16878]
18938         * nscd/netgroupcache.c (addgetnetgrentX): Look for
18939         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18940         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18941         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18943 2014-05-25  Richard Henderson  <rth@twiddle.net>
18945         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18946         (SINGLE_THREAD_P_PIC): Remove.
18947         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18948         (SINGLE_THREAD_P_PIC): Remove.
18950         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18951         branch to syscall error ...
18952         (PSEUDO): ... here.
18953         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18954         from __local_syscall_error to .Lsyscall_error.
18955         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18956         (SYSCALL_ERROR): Update label name.
18958         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18959         Do not use DOARGS/UNDOARGS.
18960         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18961         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18962         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18963         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18964         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18966         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18967         block comment.
18969         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18970         define if !NOT_IN_libc.
18971         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18972         define with non-default symbol versions.
18974 2014-05-23  Richard Henderson  <rth@twiddle.net>
18976         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18977         (vfork, __vfork): Define via compat_symbol.
18979         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
18980         [!HAVE_IFUNC] (vfork_compat): Remove.
18981         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
18983 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18985         [BZ #16978]
18986         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
18987         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
18988         variable.
18990 2014-05-23  Richard Henderson  <rth@twiddle.net>
18992         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
18993         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18994         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
18995         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
18997         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
18998         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
18999         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19000         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19001         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19002         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19003         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19004         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19005         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19006         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19007         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19008         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19009         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19010         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19011         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19012         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19013         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19014         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19015         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19016         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19017         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19018         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19019         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19020         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19021         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19022         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19023         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19024         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19025         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19026         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19027         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19028         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19029         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19030         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19031         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19032         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19033         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19034         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19035         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19036         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19037         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19038         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19039         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19040         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19041         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19042         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19043         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19044         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19045         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19046         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19047         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19048         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19049         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19050         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19051         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19052         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19054         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19055         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19056         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19057         before exiting on error.
19058         (__libc_vfork): New strong alias.
19059         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19060         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19062         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19063         that was previously under [RESET_PID].
19064         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19066         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19068 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19070         [BZ #16977]
19071         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19072         value when x - 1 is zero.
19073         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19074         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19075         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19076         0.0L for an argument of 1.0L.
19077         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19078         Likewise.
19079         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19080         value when x - 1 is zero.
19081         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19082         * sysdeps/i386/fpu/libm-test-ulps: Update.
19083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19085 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19087         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19088         alphasort and versionsort.
19090 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19092         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19093         macro.
19094         [copysignf]: Likewise.
19096 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19098         * crypt/md5-crypt.c: Fix formatting.
19100 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19102         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19103         (b64_from_24bit): New function.
19105 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19107         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19108         libc_hidden_builtin_def to ifunc.
19109         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19110         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19112 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19114         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19115         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19117 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19119         * nscd/Depend (linuxthreads): Remove.
19120         (nptl): Add.
19121         * resolv/Depend (linuxthreads): Remove.
19122         * rt/Depend (linuxthreads): Remove.
19124         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19125         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19126         $(common-objpfx)elf/.
19127         (link-libc-before-gnulib): Likewise.
19128         (elfobjdir): Remove variable.
19129         * Makefile (install): Use $(elf-objpfx) instead of
19130         $(common-objpfx)elf/.
19131         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19132         $(elfobjdir)/.
19133         (link-libc-deps): Likewise.
19134         ($(common-objpfx)libc.so): Likewise.
19135         ($(common-objpfx)linkobj/libc.so): Likewise.
19136         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19137         instead of $(common-objpfx)elf/.
19138         (symbolic-link-list): Likewise.
19139         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19140         [$(cross-compiling) = no]: Likewise.
19141         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19142         $(elfobjdir)/.
19143         (static-gnulib-arch): Likewise.
19144         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19145         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19146         $(common-objpfx)elf/.
19148 2014-05-21  Richard Henderson  <rth@redhat.com>
19150         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19151         (SINGLE_THREAD_P): Use the correct width load.  Fold
19152         into the ldr offset.
19154         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19155         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19157 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19159         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19160         (libgcc_s_resume): Use __attribute_used__.
19161         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19162         Likewise.
19164 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19166         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19167         optimization when used with float constants.
19169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19171 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19173         [BZ #16915]
19174         * locale/nl_langinfo_l.c: Make direct reference to every
19175         _nl_current_CATEGORY symbol.
19176         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19177         (tests-static): Add tst-langinfo-static.
19178         (tests-special): Add tst-langinfo-static.out.
19179         ($(objpfx)tst-langinfo.out): Redirect output.
19180         ($(objpfx)tst-langinfo-static.out): New.
19181         * localedata/tst-langinfo.sh: Send output to stdout.
19182         * localedata/tst-langinfo-static.c: New file.
19184         [BZ #16965]
19185         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19186         when the shift amount is modulo the limb size.
19188 2014-05-20  Richard Henderson  <rth@redhat.com>
19190         [BZ #16967]
19191         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19192         Change type of sa_flags from unsigned int to int.
19194         [BZ #16966]
19195         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19197         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19199 2014-05-20  Will Newton  <will.newton@linaro.org>
19201         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19202         Test the return value of the system call in the nocancel case.
19204 2014-05-20  Will Newton  <will.newton@linaro.org>
19205             Yvan Roux  <yvan.roux@linaro.org>
19207         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19208         #include of asm/ptrace.h.
19209         (PTRACE_GET_THREAD_AREA): Remove #undef.
19210         (PTRACE_GETHBPREGS): Likewise.
19211         (PTRACE_SETHBPREGS): Likewise.
19212         (struct user_regs_struct): New structure.
19213         (struct user_fpsimd_struct): New structure.
19214         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19215         #include of asm/ptrace.h and second #include of sys/user.h.
19216         (PTRACE_GET_THREAD_AREA): Remove #undef.
19217         (PTRACE_GETHBPREGS): Likewise.
19218         (PTRACE_SETHBPREGS): Likewise.
19219         (ELF_NGREG): Use new struct user_regs_struct.
19220         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19222 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19224         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19225         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19227 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19229         [BZ #16958]
19230         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19231         membar to avoid block loads/stores to overlap previous stores.
19233 2014-05-17  Richard Henderson  <rth@redhat.com>
19235         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19236         Create the __##syscall_name##_nocancel entry point.
19237         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19238         Remove; let the sysdep-cancel.h code create it.
19240 2014-05-17  David S. Miller  <davem@davemloft.net>
19242         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19243         Protect with __USE_GNU.
19244         (TIOCSET_TEMPT): Likewise.
19245         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19246         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19247         these are already provided in bits/ioctl-types.h
19249 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19251         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19252         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19254         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19255         Use wait4 regardless of [__NR_waitpid].
19257 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19259         PR libgcc/60166
19260         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19261         (_FP_NANSIGN_Q): Set the quiet bit.
19263 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19265         * benchtests/Makefile
19266         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19267         not $(common-objpfx)math/libm.so.
19268         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19269         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19270         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19271         $(common-objpfx)dlfcn/libdl.so.
19272         ($(objpfx)tst-audit8): Depend on $(libm), not
19273         $(common-objpfx)math/libm.so.
19274         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19275         not $(common-objpfx)dlfcn/libdl.so.
19276         * math/Makefile
19277         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19278         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19279         [$(build-shared) = yes].
19280         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19281         $(common-objpfx)nptl/libpthread.so.
19282         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19283         $(common-objpfx)math/libm.so$(libm.so-version) or
19284         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19285         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19286         $(common-objpfx)dlfcn/libdl.so.
19287         * setjmp/Makefile (link-libm): Remove variable.
19288         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19289         * stdio-common/Makefile (link-libm): Remove variable.
19290         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19291         * stdlib/Makefile (link-libm): Remove variable.
19292         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19293         ($(objpfx)tst-strtod-round): Likewise.
19294         ($(objpfx)tst-tininess): Likewise.
19295         ($(objpfx)tst-strtod-underflow): Likewise.
19296         ($(objpfx)tst-strtod6): Likewise.
19297         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19298         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19299         $(common-objpfx)dlfcn/libdl.so.
19301 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19303         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19304         BSD terminal modes definitions.
19306 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19308         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19309         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19311         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19312         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19313         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19314         Don't do #include_next.
19315         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19316         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19317         Don't do #include_next.
19318         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19319         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19320         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19321         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19323 2014-05-16  Allan McRae  <allan@archlinux.org>
19325         * po/sv.po: Update Swedish translation from translation project.
19327         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19328         in sed expression.
19330 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19332         [BZ #16917]
19333         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19334         errno if the TIOCGPTN ioctl fails with an error different than
19335         EINVAL.
19336         * login/tst-ptsname.c: New file.
19337         * login/Makefile (tests): Add tst-ptsname.
19339         [BZ #16943]
19340         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19341         and prlimit64.
19343 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19345         [BZ #16849]
19346         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19347         herrno to return EAI_AGAIN.
19349 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19351         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19352         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19353         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19354         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19355         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19356         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19357         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19358         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19359         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19360         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19361         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19362         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19363         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19364         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19365         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19366         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19367         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19368         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19369         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19370         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19371         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19372         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19373         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19374         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19375         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19376         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19377         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19378         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19379         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19380         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19381         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19382         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19384         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19385         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19386         Moved ...
19387         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19388         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19389         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19390         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19391         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19393         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19394         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19395         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19397         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19398         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19399         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19401         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19402         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19403         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19404         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19405         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19407         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19408         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19409         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19410         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19411         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19412         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19413         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19414         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19415         Moved ...
19416         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19417         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19418         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19419         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19420         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19421         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19422         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19423         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19424         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19425         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19426         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19427         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19428         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19429         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19430         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19431         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19432         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19434         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19435         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19436         Moved ...
19437         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19439         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19441         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19442         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19443         (libpthread-sysdep_routines): Add elision-related stuff here instead.
19444         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19445         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19446         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19447         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19448         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19449         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19450         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19451         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19452         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19453         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19454         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19455         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19456         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19457         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19458         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19459         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19460         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19461         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19462         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19463         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19464         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19465         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19466         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19467         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19468         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19469         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19470         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19471         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19473         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19474         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19476         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19477         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19478         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19479         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19480         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19481         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19482         Moved ...
19483         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19484         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19485         Moved ...
19486         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19487         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19488         Moved ...
19489         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19490         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19491         Moved ...
19492         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19493         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19494         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19495         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19496         Moved ...
19497         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19498         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19499         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19500         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19501         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19502         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19503         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19504         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19505         Moved ...
19506         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19507         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19508         Moved ...
19509         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19510         ... here.
19511         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19512         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19513         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19514         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19515         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19516         Moved ...
19517         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19518         ... here.
19519         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19520         Moved ...
19521         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19522         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19523         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19524         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19525         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19526         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19527         Moved ...
19528         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19529         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19530         Moved ...
19531         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19532         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19533         Moved ...
19534         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19535         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19536         Moved ...
19537         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19538         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19539         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19540         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19541         Moved ...
19542         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19543         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19544         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19545         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19546         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19547         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19548         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19549         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19550         Moved ...
19551         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19552         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19553         Moved ...
19554         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19555         ... here.
19556         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19557         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19558         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19559         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19560         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19561         Moved ...
19562         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19563         ... here.
19564         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19565         Moved ...
19566         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19567         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19568         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19569         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19570         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19571         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19572         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19573         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19574         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19575         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19576         Moved ...
19577         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19578         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19579         Moved ...
19580         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19581         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19582         Moved ...
19583         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19584         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19585         Moved ...
19586         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19587         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19588         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19589         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19590         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19591         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19592         Moved ...
19593         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19594         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19595         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19596         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19597         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19598         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19599         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19600         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19601         Moved ...
19602         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
19603         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19604         Moved ...
19605         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19606         ... here.
19607         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
19608         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
19609         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
19610         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
19611         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19612         Moved ...
19613         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19614         ... here.
19615         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
19616         Moved ...
19617         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
19618         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
19619         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
19620         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
19621         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
19622         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
19623         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
19624         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
19625         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
19626         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
19627         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
19629         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
19630         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
19632         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
19633         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
19635         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
19636         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
19637         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
19638         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
19639         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
19640         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
19641         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
19642         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
19643         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
19644         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
19645         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
19646         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
19647         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19648         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
19649         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
19650         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
19651         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
19652         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
19653         Moved ...
19654         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
19655         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
19656         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
19657         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
19658         Moved ...
19659         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
19660         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
19661         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
19662         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
19663         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
19664         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19665         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19666         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19667         Moved ...
19668         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19669         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19670         Moved ...
19671         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19672         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19673         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19674         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19675         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19676         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19677         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19678         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19679         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19680         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19681         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19682         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19683         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19684         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19685         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19686         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19687         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19689         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19690         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19691         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19692         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19693         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19695         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19696         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19697         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19698         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19699         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19700         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19701         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19702         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19703         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19704         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19706         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19707         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19709         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19710         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19711         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19712         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19713         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19714         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19715         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19716         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19717         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19718         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19719         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19720         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19721         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19722         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19723         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19724         Update #include.
19725         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19726         Likewise.
19727         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19728         Likewise.
19729         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19730         Likewise.
19731         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19732         Likewise.
19733         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19734         Likewise.
19735         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19736         Likewise.
19737         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19738         Likewise.
19739         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19740         Likewise.
19741         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19742         Likewise.
19743         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19744         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19745         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19746         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19747         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19748         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19749         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19750         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19751         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19752         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19753         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19754         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19755         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19756         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
19757         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
19759         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19760         that was previously under [RESET_PID].
19761         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19762         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19763         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19765         * sysdeps/i386/nptl/Implies: New file.
19766         * sysdeps/x86_64/nptl/Implies: New file.
19767         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19768         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19769         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19770         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19772         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19773         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19774         (__libc_vfork): New strong alias.
19775         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19776         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19778         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19779         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19780         (__libc_vfork): New strong alias.
19781         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19782         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19784         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19785         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19786         (__libc_vfork): New strong alias.
19787         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19788         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19789         * nptl/pt-vfork.c: New file.
19790         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19791         (libpthread: GLIBC_2.20): New version set (empty).
19793 2014-05-14  Will Newton  <will.newton@linaro.org>
19795         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19796         rather than #if.
19798 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19800         [BZ #16564]
19801         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19802         arguments with exponent 65 or above.
19803         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19804         arguments 0x1p113L or above.
19805         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19806         to arguments 0x1p107L or above.
19807         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19808         positive arguments with exponent 65 or above.
19809         * math/auto-libm-test-in: Add more tests of log1p.
19810         * math/auto-libm-test-out: Regenerated.
19812         [BZ #16928]
19813         * math/s_cacos.c (__cacos): Ensure zero real part of result from
19814         non-finite arguments is +0.
19815         * math/s_cacosf.c (__cacosf): Likewise.
19816         * math/s_cacosl.c (__cacosl): Likewise.
19817         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19818         * sysdeps/i386/fpu/libm-test-ulps: Update.
19819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19821         [BZ #16927]
19822         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19823         value.
19824         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19825         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19826         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19827         for explicit high bit of mantissa when testing for argument equal
19828         to 1.
19829         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19830         * sysdeps/i386/fpu/libm-test-ulps: Update.
19831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19833         [BZ #16516]
19834         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19835         (__erf): Scale by 16 instead of 8 in potentially underflowing
19836         case.  Ensure exception if result actually underflows.
19837         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19838         (__erff): Scale by 16 instead of 8 in potentially underflowing
19839         case.  Ensure exception if result actually underflows.
19840         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19841         (efx8): Remove variable.
19842         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19843         case.  Ensure exception if result actually underflows.
19844         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19845         (efx8): Remove variable.
19846         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19847         case.  Ensure exception if result actually underflows.
19848         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19849         (efx8): Remove variable.
19850         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19851         case.  Ensure exception if result actually underflows.
19852         * math/auto-libm-test-in: Add more tests of erf.
19853         * math/auto-libm-test-out: Regenerated.
19855 2014-05-14  Andreas Schwab  <schwab@suse.de>
19857         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19858         Remove code conditionalized on USE___THREAD.
19860         * config.h.in (HAVE_PT_CHOWN): Define as 0.
19861         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19862         not definedness.
19864 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19866         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19867         Define unconditionally.
19868         (__ASSUME_O_CLOEXEC): Likewise.
19869         (__ASSUME_SOCK_CLOEXEC): Likewise.
19870         (__ASSUME_IN_NONBLOCK): Likewise.
19871         (__ASSUME_PIPE2): Likewise.
19872         (__ASSUME_EVENTFD2): Likewise.
19873         (__ASSUME_SIGNALFD4): Likewise.
19874         (__ASSUME_DUP3): Likewise.
19875         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19876         (__ASSUME_DUP3): Do not define.
19877         (__ASSUME_EVENTFD2): Likewise.
19878         (__ASSUME_IN_NONBLOCK): Likewise.
19879         (__ASSUME_O_CLOEXEC): Likewise.
19880         (__ASSUME_PIPE2): Likewise.
19881         (__ASSUME_SIGNALFD4): Likewise.
19882         (__ASSUME_SOCK_CLOEXEC): Likewise.
19883         (__ASSUME_UTIMES): Undefine.
19884         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19885         (__ASSUME_UTIMES): Do not define.
19886         (__ASSUME_O_CLOEXEC): Likewise.
19887         (__ASSUME_SOCK_CLOEXEC): Likewise.
19888         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19889         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19890         0x020621].
19891         (__ASSUME_PIPE2): Likewise.
19892         (__ASSUME_EVENTFD2): Likewise.
19893         (__ASSUME_SIGNALFD4): Likewise.
19894         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19895         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19896         Do not define.
19897         (__ASSUME_EVENTFD2): Likewise.
19898         (__ASSUME_SIGNALFD4): Likewise.
19899         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19900         (__ASSUME_32BITUIDS): Likewise.
19901         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19902         (__ASSUME_IPC64): Likewise.
19903         (__ASSUME_ST_INO_64_BIT): Likewise.
19904         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19905         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19906         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19907         (__ASSUME_UTIMES): Do not define.
19908         (__ASSUME_PSELECT): Likewise.
19909         (__ASSUME_PPOLL): Likewise.
19910         (__ASSUME_O_CLOEXEC): Likewise.
19911         (__ASSUME_SOCK_CLOEXEC): Likewise.
19912         (__ASSUME_IN_NONBLOCK): Likewise.
19913         (__ASSUME_PIPE2): Likewise.
19914         (__ASSUME_EVENTFD2): Likewise.
19915         (__ASSUME_SIGNALFD4): Likewise.
19916         (__ASSUME_DUP3): Likewise.
19917         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19918         (__ASSUME_UTIMES): Likewise.
19919         (__ASSUME_O_CLOEXEC): Likewise.
19920         (__ASSUME_SOCK_CLOEXEC): Likewise.
19921         (__ASSUME_IN_NONBLOCK): Likewise.
19922         (__ASSUME_PIPE2): Likewise.
19923         (__ASSUME_EVENTFD2): Likewise.
19924         (__ASSUME_SIGNALFD4): Likewise.
19925         (__ASSUME_DUP3): Likewise.
19926         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19927         (__ASSUME_UTIMES): Likewise.
19928         (__ASSUME_O_CLOEXEC): Likewise.
19929         (__ASSUME_SOCK_CLOEXEC): Likewise.
19930         (__ASSUME_IN_NONBLOCK): Likewise.
19931         (__ASSUME_PIPE2): Likewise.
19932         (__ASSUME_EVENTFD2): Likewise.
19933         (__ASSUME_SIGNALFD4): Likewise.
19934         (__ASSUME_DUP3): Likewise.
19935         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19936         Likewise.
19937         (__ASSUME_UTIMES): Likewise.
19938         (__ASSUME_EVENTFD2): Likewise.
19939         (__ASSUME_SIGNALFD4): Likewise.
19940         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19941         (__ASSUME_O_CLOEXEC): Likewise.
19942         (__ASSUME_SOCK_CLOEXEC): Likewise.
19943         (__ASSUME_IN_NONBLOCK): Likewise.
19944         (__ASSUME_PIPE2): Likewise.
19945         (__ASSUME_EVENTFD2): Likewise.
19946         (__ASSUME_SIGNALFD4): Likewise.
19947         (__ASSUME_DUP3): Likewise.
19948         (__ASSUME_UTIMES): Undefine.
19950         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19951         feclearexcept.  Remove symbol versioning code.
19952         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
19953         symbol versioning code.
19954         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
19955         symbol versioning code.
19956         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19957         feupdateenv.  Remove symbol versioning code.
19958         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19959         fegetexceptflag.  Remove symbol versioning code.
19960         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19961         fesetexceptflag.  Remove symbol versioning code.
19962         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19963         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
19964         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19965         (__posix_fadvise64_l32): Remove prototype.
19966         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19967         code.
19969 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19971         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19972         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19973         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19974         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19976 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
19978         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19979         current working directory
19981 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19983         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
19984         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
19985         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
19986         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19987         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
19988         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
19989         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
19990         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
19991         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
19992         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
19993         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
19994         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
19995         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
19996         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
19997         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
19998         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
19999         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20000         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20001         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20002         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20003         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20004         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20005         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20006         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20007         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20008         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20009         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20010         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20011         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20012         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20013         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20014         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20015         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20016         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20017         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20018         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20019         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20020         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20021         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20022         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20023         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20024         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20026         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20027         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20029         * sysdeps/unix/sysv/linux/arm/Makefile
20030         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20031         Add rt-aeabi_unwind_cpp_pr1.
20032         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20033         Add nptl-aeabi_unwind_cpp_pr1.
20034         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20035         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20036         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20037         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20038         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20039         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20041         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20042         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20043         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20044         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20046         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20047         Deconditionalize the code that was previously under [RESET_PID].
20048         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20050         * sysdeps/generic/exit-thread.h: New file.
20051         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20052         * include/unistd.h (__exit_thread): Remove declaration.
20053         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20054         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20055         * csu/libc-start.c: Include <exit-thread.h>.
20056         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20057         * nptl/pthread_create.c: Include <exit-thread.h>.
20058         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20059         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20060         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20061         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20062         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20063         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20064         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20065         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20066         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20067         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20068         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20069         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20070         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20071         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20072         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20073         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20074         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20076 2014-05-13  Andreas Schwab  <schwab@suse.de>
20078         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20080 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20082         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20083         (__ASSUME_UTIMES): Do not condition on kernel version.
20084         (__ASSUME_PSELECT): Define unconditionally.
20085         (__ASSUME_PPOLL): Likewise.
20086         (__ASSUME_ATFCTS): Likewise.
20087         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20088         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20089         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20090         (__ASSUME_UTIMENSAT): Define unconditionally.
20091         (__ASSUME_PRIVATE_FUTEX): Likewise.
20092         (__ASSUME_FALLOCATE): Likewise.
20093         (__ASSUME_O_CLOEXEC): Likewise.
20094         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20095         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20096         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20097         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20098         (__ASSUME_IN_NONBLOCK): Likewise.
20099         (__ASSUME_PIPE2): Likewise.
20100         (__ASSUME_EVENTFD2): Likewise.
20101         (__ASSUME_SIGNALFD4): Likewise.
20102         (__ASSUME_DUP3): Likewise.
20103         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20104         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20105         (__ASSUME_AT_RANDOM): Likewise.
20106         (__ASSUME_PREADV): Likewise.
20107         (__ASSUME_PWRITEV): Likewise.
20108         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20109         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20110         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20111         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20112         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20113         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20114         (__ASSUME_O_CLOEXEC): Define unconditionally.
20115         (__ASSUME_PSELECT): Do not undefine conditionally.
20116         (__ASSUME_PPOLL): Likewise.
20117         (__ASSUME_ATFCTS): Likewise.
20118         (__ASSUME_SET_ROBUST_LIST): Likewise.
20119         (__ASSUME_UTIMENSAT): Likewise.
20120         (__ASSUME_FDATASYNC): Define unconditionally.
20121         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20122         (__ASSUME_SIGFRAME_V2): Likewise.
20123         )__ASSUME_EVENTFD2): Likewise.
20124         (__ASSUME_SIGNALFD4): Likewise.
20125         (__ASSUME_PSELECT): Do not undefine conditionally.
20126         (__ASSUME_PPOLL): Likewise.
20127         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20128         (__ASSUME_PSELECT): Define unconditionally.
20129         (__ASSUME_PPOLL): Likewise.
20130         (__ASSUME_O_CLOEXEC): Likewise.
20131         (__ASSUME_SOCK_CLOEXEC): Likewise.
20132         (__ASSUME_IN_NONBLOCK): Likewise.
20133         (__ASSUME_PIPE2): Likewise.
20134         (__ASSUME_EVENTFD2): Likewise.
20135         (__ASSUME_SIGNALFD4): Likewise.
20136         (__ASSUME_DUP3): Likewise.
20137         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20138         (__ASSUME_O_CLOEXEC): Likewise.
20139         (__ASSUME_SOCK_CLOEXEC): Likewise.
20140         (__ASSUME_IN_NONBLOCK): Likewise.
20141         (__ASSUME_PIPE2): Likewise.
20142         (__ASSUME_EVENTFD2): Likewise.
20143         (__ASSUME_SIGNALFD4): Likewise.
20144         (__ASSUME_DUP3): Likewise.
20145         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20146         (__ASSUME_EVENTFD2): Likewise.
20147         (__ASSUME_SIGNALFD4): Likewise.
20148         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20150 2014-05-12  Andreas Schwab  <schwab@suse.de>
20152         [BZ #16932]
20153         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20154         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20155         than maximum RPC packet size.
20156         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20157         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20158         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20159         (_nss_nis_getservbyport_r): Likewise.
20161 2014-05-12  Will Newton  <will.newton@linaro.org>
20163         * malloc/Makefile (tests): Add tst-mallopt.
20164         * malloc/tst-mallopt.c: New file.
20166 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20168         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20169         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20171 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20173         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20174         (tst-tlsmod6.so): Likewise.
20176 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20178         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20180 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20182         [BZ #16064]
20183         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20184         and <dl-procinfo.h>.
20185         (__fegetenv): Save SSE state in envp->__eip if supported.
20186         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20187         envp->__eip if supported.
20188         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20189         and <dl-procinfo.h>.
20190         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20191         __data_offset and __data_selector in environment to 0.  Set SSE
20192         state if supported.
20193         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20194         test-fenv-sse.
20195         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20196         -mfpmath=sse.
20197         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20199 2014-05-09  Will Newton  <will.newton@linaro.org>
20201         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20202         and libc_relro_required for ARM.
20203         * sysdeps/arm/preconfigure: Regenerate.
20205 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20206             Stefan Liebler  <stli@linux.vnet.ibm.com>
20208         * config.make.in (enable-lock-elision): New Makefile variable.
20209         * configure.ac: Likewise.
20210         * configure: Regenerate.
20211         * sysdeps/s390/configure.ac:
20212         Add check for gcc transactions support.
20213         * sysdeps/s390/configure: Regenerate.
20214         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20215         Build elision files if enabled.
20216         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20217         Add lock elision support for s390.
20218         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20219         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20220         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20221         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20222         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20223         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20224         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20225         Likewise.
20226         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20227         Likewise.
20228         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20229         Likewise.
20230         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20231         Likewise.
20232         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20233         (__lll_timedlock_elision, __lll_lock_elision)
20234         (__lll_unlock_elision, __lll_trylock_elision)
20235         (lll_timedlock_elision, lll_lock_elision)
20236         (lll_unlock_elision, lll_trylock_elision): Add.
20237         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20238         (pthread_mutex_t): Add lock elision support for s390.
20240 2014-05-14  Wilco  <wdijkstr@arm.com>
20242         * sysdeps/arm/fclrexcpt.c: Cleanup.
20243         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20244         * sysdeps/arm/feenablxcpt.c: Cleanup.
20245         * sysdeps/arm/fegetenv.c: Cleanup.
20246         * sysdeps/arm/fegetexcept.c: Cleanup.
20247         * sysdeps/arm/fegetround.c: Cleanup.
20248         * sysdeps/arm/feholdexcpt.c: Cleanup.
20249         * sysdeps/arm/fesetenv.c: Cleanup.
20250         * sysdeps/arm/fesetround.c: Cleanup.
20251         * sysdeps/arm/feupdateenv.c: Cleanup.
20252         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20253         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20254         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20255         * sysdeps/arm/ftestexcept.c: Cleanup.
20256         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20257         * sysdeps/arm/setfpucw.c: Cleanup.
20259 2014-05-09  Will Newton  <will.newton@linaro.org>
20261         * sysdeps/arm/armv7/strcmp.S: New file.
20262         * NEWS: Mention addition of ARMv7 optimized strcmp.
20264 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20266         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20267         look for %.ac rather than %.in.
20269         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20270         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20271         * sysdeps/mach/hurd/configure: Regenerated.
20272         * sysdeps/unix/sysv/linux/configure: Regenerated.
20274         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20276 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20278         [BZ# 16922]
20279         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20280         (LONG_SUB): Ditto.
20281         (PTR_SUB): Ditto.
20283 2014-05-07  Andreas Schwab  <schwab@suse.de>
20285         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20286         when skipping over non-matching result from nscd.
20288 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20290         [BZ #16876]
20291         * nptl/sockperf.c (client): Check socket return value.
20293         [BZ #16877]
20294         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20295         nscd security class.
20297 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20299         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20300         * sysdeps/arm/unwind.h: ... here.
20302 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20304         [BZ# 16916]
20305         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20306         Define.
20308 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20310         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20311         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20312         multiarch strncpy for PPC64.
20313         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20314         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20315         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20316         multiarch optimizations.
20317         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20318         (__libc_ifunc_impl_list): Likewise.
20319         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20320         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20321         multiarch stpncpy for PPC64.
20322         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20323         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20325 2014-05-06  Andreas Schwab  <schwab@suse.de>
20327         [BZ #16912]
20328         * gmon/mcount.c (_MCOUNT_DECL): Use
20329         atomic_compare_and_exchange_bool_acq instead of
20330         catomic_compare_and_exchange_bool_acq.
20332 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20334         * elf/Makefile (others, install-bin): Remove pldd.
20335         (pldd-modules): Variable removed.
20336         ($(objpfx)pldd): Target removed.
20337         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20338         (others, install-bin): Append pldd here.
20339         ($(objpfx)pldd): New target.
20341         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20342         to 0, so the first #if test emitted later doesn't see it undefined.
20343         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20344         * sysdeps/gnu/errlist.c: Regenerated.
20346 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20348         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20349         [libc_hidden_builtin_def]: Define to empty value.
20350         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20351         [libc_hidden_builtin_def]: Likewise.
20352         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20353         [libc_hidden_builtin_def]: Likewise.
20354         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20355         [libc_hidden_builtin_def]: Likewise.
20356         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20357         __redirect_memcpy and define ifunc as default hidden symbol.
20358         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20359         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20361 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20363         * locale/iso-4217.def: Reintroduce XDR currency.
20365 2014-05-04  Allan McRae  <allan@archlinux.org>
20367         * po/eo.po: Update Esperanto translation from translation project.
20369 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20371         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20372         and FEATURE_INDEX_MAX to 1.
20373         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20375 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20377         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20378         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20379         * iconvdata/big5.c (ONE_DIRECTION): Define.
20380         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20381         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20382         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20383         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20384         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20385         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20386         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20387         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20388         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20389         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20390         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20391         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20392         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20393         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20394         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20395         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20396         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20397         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20398         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20399         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20400         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20401         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20402         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20403         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20404         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20405         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20406         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20407         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20408         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20409         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20410         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20411         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20412         * iconvdata/johab.c (ONE_DIRECTION): Define.
20413         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20414         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20415         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20416         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20417         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20418         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20419         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20420         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20421         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20422         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20424 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20426         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20427         (_IO_JUMPS_OFFSET): Define to 0.
20429         * nptl/sysdeps/pthread/bits/libc-lock.h
20430         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20431         (__libc_lock_define_initialized_recursive): Always define using
20432         initializer.  Modern compilers treat uninitialized (implicit zero) and
20433         explicit zero initializers the same (i.e. put the datum in bss).
20435 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20437         * nscd/nscd-client.h: Include <string.h>.
20439 2014-05-01  David S. Miller  <davem@davemloft.net>
20441         [BZ #16885]
20442         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20443         multiple zero bytes exist at the end of a string.
20444         Reported by Aurelien Jarno <aurelien@aurel32.net>
20446         * string/test-strcmp.c (check): Add explicit test for situations where
20447         there are multiple zero bytes after the first.
20449 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20451         [BZ #16890]
20452         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20453         when compiling wprintf.
20454         * stdio-common/tstdiomisc.c (t3): New function.
20455         (main): Call it.
20457 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20459         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20460         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20461         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20462         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20464 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20466         * stdlib/longlong.h: Updated from GCC.
20468 2014-05-01  Will Newton  <will.newton@linaro.org>
20469             Bernard Ogden  <bernie.ogden@linaro.org>
20471         * NEWS: Update fixed bug list.
20473         [BZ #15119]
20474         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20476 2014-04-30  David S. Miller  <davem@davemloft.net>
20478         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20479         (libc_feholdexcept_setround_sparc_ctx): New function.
20480         (libc_fesetenv_sparc_ctx): Likewise.
20481         (libc_feupdateenv_sparc_ctx): Likewise.
20482         (libc_feholdsetround_sparc_ctx): Likewise.
20483         (libc_feholdexcept_setround_ctx): Define.
20484         (libc_feholdexcept_setroundf_ctx): Likewise.
20485         (libc_feholdexcept_setroundl_ctx): Likewise.
20486         (libc_fesetenv_ctx): Likewise.
20487         (libc_fesetenvf_ctx): Likewise.
20488         (libc_fesetenvl_ctx): Likewise.
20489         (libc_feupdateenv_ctx): Likewise.
20490         (libc_feupdateenvf_ctx): Likewise.
20491         (libc_feupdateenvl_ctx): Likewise.
20492         (libc_feresetround_ctx): Likewise.
20493         (libc_feresetroundf_ctx): Likewise.
20494         (libc_feresetroundl_ctx): Likewise.
20495         (libc_feholdsetround_ctx): Likewise.
20496         (libc_feholdsetroundf_ctx): Likewise.
20497         (libc_feholdsetroundl_ctx): Likewise.
20499         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20500         with __USE_GNU instead of XOPEN cpp guards.
20502         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20503         0.
20505         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20506         with XOPEN cpp guards.
20508 2014-04-30  Julian Brown  <julian@codesourcery.com>
20510         [BZ #16888]
20511         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20512         handling.
20514 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
20516         [BZ #9894]
20517         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20518         Change to 2.6.32.
20519         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20520         * sysdeps/unix/sysv/linux/configure: Regenerated.
20521         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20522         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20523         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20524         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20525         * README: Update reference to required Linux kernel version.
20526         * manual/install.texi (Linux): Update reference to required Linux
20527         kernel headers version.
20528         * INSTALL: Regenerated.
20530         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20531         header inclusion.
20532         [POSIX] (limits.h): Likewise.
20533         [POSIX] (math.h): Likewise.
20534         [POSIX] (sys/wait.h): Likewise.
20535         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20536         function.
20537         [POSIX] (stddef.h): Do not allow header inclusion.
20539 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20541         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20543 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
20545         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20546         Return immediately after lll_futex_wake.
20548 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20550         [BZ #16791]
20551         * nscd/nscd-client.h (datahead_init_common): Initialize entire
20552         structure.
20553         (datahead_init_pos): Call datahead_init_common early.
20554         (datahead_init_neg): Likewise.
20556         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20557         datahead_init_neg): New functions.
20558         * nscd/aicache.c (addhstaiX): Use them.
20559         * nscd/grpcache.c (cache_addgr): Likewise.
20560         * nscd/hstcache.c (cache_addhst): Likewise.
20561         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20562         * nscd/netgroupcache.c (do_notfound): Likewise.
20563         (addgetnetgrentX): Likewise.
20564         (addinnetgrX): Likewise.
20565         * nscd/pwdcache.c (cache_addpw): Likewise.
20566         * nscd/servicescache.c (cache_addserv): Likewise.
20568 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20569             Atsushi Onoe  <atsushi@onoe.org>
20571         [BZ #14308]
20572         [BZ #12994]
20573         [BZ #13651]
20574         * resolv/res_query.c (__libc_res_nsearch): Return if at least
20575         one response is valid.
20576         * resolv/res_send.c (send_dg): Check for validity of other
20577         response if the current response is a referral.
20579 2014-04-29  Steve Ellcey  <sellcey@mips.com>
20581         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20583 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
20585         [BZ #16823]
20586         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20587         Always divide by positive zero when computing -Inf result.
20588         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20589         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20591 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20593         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20594         FPSCR if value do not change.
20595         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20596         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20597         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20598         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20599         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20600         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20601         function.
20603 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
20605         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
20606         * sysdeps/unix/sysv/linux/hppa: Move directory from
20607         ports/systeps/unix/sysv/linux/hppa.
20608         * README: Update listing for hppa-*-linux-gnu.
20610 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
20612         [BZ #16754]
20613         * manual/stdio.texi (Hook functions): Fix types of stream hook
20614         functions.
20615         [BZ #16854]
20616         * socket/sys/socket.h: Fix typo in comment.
20618 2014-04-28  Wilco  <wdijkstr@arm.com>
20620         * sysdeps/arm/fenv_private.h: New file.
20621         * sysdeps/arm/math_private.h: New file.
20622         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
20624 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
20626         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
20627         with __int128_t.
20628         (La_x86_64_retval): Likewise.
20630 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
20632         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
20633         fpsr if value didn't change.
20634         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
20635         to fpcr if value didn't change.
20636         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20637         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
20638         fpsr or fpcr if value didn't change.
20639         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20640         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
20641         fpcr if value didn't change.
20642         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20643         to fpsr if value didn't change.
20645 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20647         * nptl/tst-sem3.c: Use test-skeleton.c
20648         (main): Rename to do_test.  Use return instead of
20649         exit.
20650         * nptl/tst-sem4.c: Use test-skeleton.c
20651         (main): Rename to do_test.
20653 2014-04-22  David S. Miller  <davem@davemloft.net>
20655         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
20656         (struct sigaction): New struct member __glibc_reserved0, change
20657         type of sa_flags to int.
20659 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
20661         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
20662         (COUNT_LEADING_ZEROS_0): Define for AArch64.
20664 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20666         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20667         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20669 2014-04-22  Will Newton  <will.newton@linaro.org>
20670             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
20672         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20673         (__longjmp): Add longjmp and longjmp_target SystemTap
20674         probes.
20675         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20676         (__sigsetjmp): Add setjmp SystemTap probe.
20678 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
20680         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20681         match manual order.
20683 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20685         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20687         * sysdeps/powerpc/fpu/fenv_private.h
20688         (libc_feholdexcept_setroundl_ctx): Define to
20689         libc_feholdexcept_setround_ppc_ctx.
20690         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20691         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20692         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20693         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20695 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20697         * sysdeps/aarch64/math-tests.h: New file.
20699 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
20701         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20702         New.
20703         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20704         Check and set bit_AVX2_Usable.
20705         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20706         macro.
20707         (bit_AVX2): Likewise.
20708         (index_AVX2_Usable): Likewise.
20709         (CPUID_AVX2): Likewise.
20710         (HAS_AVX2): Likewise.
20712 2014-04-17  Will Newton  <will.newton@linaro.org>
20714         * manual/setjmp.texi (System V contexts): Add note that
20715         calling setcontext on a context created by a call to a
20716         signal handler is undefined.  Update text to note that
20717         setcontext from a signal handler is possible but not
20718         recommended.
20720         [BZ #16629]
20721         * stdlib/tst-setcontext.c: Include signal.h.
20722         (main): Check that the signal stack before and
20723         after swapcontext is the same.
20725         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20726         Re-implement to restore registers in user code and avoid
20727         rt_sigreturn system call.
20729 2014-04-17  Wilco  <wdijkstr@arm.com>
20731         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20732         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20733         * math/test-fenv.c: Skip exception trap tests on targets which only
20734         support non-stop mode.
20736 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20737             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20739         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20740         (libc_feholdsetround_aarch64_ctx)
20741         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20742         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20743         (libc_feresetround_ctx, libc_feresetroundf_ctx)
20744         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20745         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20746         (libc_feresetround_noexl_ctx): Define.
20748 2014-04-16  Richard Henderson  <rth@redhat.com>
20750         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20752         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20753         unwind tables.
20755         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20756         const from the non-libc, non-ldso copy.
20758         * sysdeps/alpha/libm-test-ulps: Regenerate.
20760 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
20761             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20763         * sysdeps/aarch64/fpu/math_private.h: New file.
20765 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20767         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20769 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
20771         [BZ #16275]
20772         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20773         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20774         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20775         Intel MPX bound registers before _dl_profile_fixup.
20776         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20777         registers after _dl_profile_fixup.  Save and restore bound
20778         registers bnd0/bnd1 when calling _dl_call_pltexit.
20779         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20780         (LR_BND_OFFSET): Likewise.
20781         (LRV_BND0_OFFSET): Likewise.
20782         (LRV_BND1_OFFSET): Likewise.
20784 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20786         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20787         to...
20788         * sysdeps/mach/hurd/i386/tls.h: ... here.
20789         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20790         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20791         fields.
20793 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20795         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20797 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20799         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20801 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20803         [BZ #14770]
20804         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20805         * sysdeps/s390/configure: Regenerate.
20807         [BZ #16824]
20808         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20809         Set round-to-nearest internally to reduce error accumulation.
20811 2014-04-16  Alan Modra  <amodra@gmail.com>
20813         [BZ #16740]
20814         [BZ #16619]
20815         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20816         * math/libm-test.inc (frexp_test_data): Add tests.
20817         * NEWS: Update fixed bug list.
20819 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20821         * benchtests/Makefile: Depend on libraries in build directory.
20822         (bench-math): Separate out math tests.
20823         (bench-pthread): Separate out pthread tests.
20824         (bench): Include math and pthread tests.
20826 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
20828         [BZ #16831]
20829         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20830         _dl_debug_initialize.
20832         * configure.ac: Remove SELinux header check.
20833         * configure: Regenerate.
20834         * nscd/selinux.c (perms): Array of const char* to permission names.
20835         (nscd_request_avc_has_perm): Call security_deny_unknown to find
20836         default policy. Call string_to_security_class and string_to_av_perm to
20837         translate strings. Enforce default policy and call avs_has_perm with
20838         results of translated strings.
20840 2014-04-13  David S. Miller  <davem@davemloft.net>
20842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20844 2014-04-12  Allan McRae  <allan@archlinux.org>
20846         [BZ #16838]
20847         * manual/string.texi (Collation Functions): Fix qsort argument
20848         order in example.
20849         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20851 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
20853         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20854         Make the test a no-op if there are no exceptions defined.
20856 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20858         * elf/Makefile (tests): make tst-dlopen-aout conditional on
20859         enable-hardcoded-path-in-tests
20861 2014-04-11  Will Newton  <will.newton@linaro.org>
20863         * benchtests/Makefile (extra-objs): Add json-lib.o.
20864         (bench-func): Tidy up JSON output.
20865         * benchtests/bench-skeleton.c: Include json-lib.h.
20866         (main): Use JSON library functions to do output of
20867         benchmark results.
20868         * benchtests/bench-timing-type.c (main): Output the
20869         timing type simply, leaving formatting to the user.
20870         * benchtests/json-lib.c: New file.
20871         * benchtests/json-lib.h: Likewise.
20873 2014-04-11  Torvald Riegel  <triegel@redhat.com>
20875         [BZ #15215]
20876         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20877         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
20878         memory barriers.  Add comments.
20879         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20880         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20881         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20882         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20883         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20884         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20886 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20888         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20889         * sysdeps/s390/s390-64/configure.ac: ... this ...
20890         * sysdeps/s390/configure.ac: ... to here.
20891         * sysdeps/s390/s390-32/configure: Delete file.
20892         * sysdeps/s390/s390-64/configure: Delete file.
20893         * sysdeps/s390/configure: Regenerate.
20895 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
20897         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20899 2014-04-11  Will Newton  <will.newton@linaro.org>
20901         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20902         to zero if it is not defined elsewhere.  (mtrim): Test
20903         the value of MALLOC_DEBUG with #if rather than #ifdef.
20905 2014-04-10 Torvald Riegel  <triegel@redhat.com>
20907         * benchtests/pthread_once-inputs: New file.
20908         * benchtests/pthread_once-source.c: New file.
20909         * benchtests/README: Update documentation.
20911 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20912             H.J. Lu  <hongjiu.lu@intel.com>
20914         [BZ #16275]
20915         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20916         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20917         * sysdeps/x86_64/configure: Regenerated.
20918         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20919         macro.
20920         (REGISTER_SAVE_RAX): Likewise.
20921         (REGISTER_SAVE_RCX): Likewise.
20922         (REGISTER_SAVE_RDX): Likewise.
20923         (REGISTER_SAVE_RSI): Likewise.
20924         (REGISTER_SAVE_RDI): Likewise.
20925         (REGISTER_SAVE_R8): Likewise.
20926         (REGISTER_SAVE_R9): Likewise.
20927         (REGISTER_SAVE_BND0): Likewise.
20928         (REGISTER_SAVE_BND1): Likewise.
20929         (REGISTER_SAVE_BND2): Likewise.
20930         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
20931         bound registers when calling _dl_fixup.
20933 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20935         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20936         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20937         of its definition.
20938         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20939         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20940         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20941         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20942         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20943         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20944         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20946 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
20948         [BZ #15514]
20949         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20950         pathconf(_PC_NAME_MAX).
20952 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20954         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20955         Remove macro usage.
20956         (__PTHREAD_SPINS): Move definition to ...
20957         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20958         (__PTHREAD_SPINS): ... here.
20959         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20960         (__PTHREAD_SPIN): Likewise.
20961         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20962         (__PTHREAD_SPIN): Likewise.
20963         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20964         (__PTHREAD_SPIN): Likewise.
20965         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20966         (__PTHREAD_SPIN): Likewise.
20967         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20968         (__PTHREAD_SPIN): Likewise.
20969         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20970         (__PTHREAD_SPIN): Likewise.
20971         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20972         (__PTHREAD_SPIN): Likewise.
20973         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20974         (__PTHREAD_SPIN): Likewise.
20975         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20976         (__PTHREAD_SPIN): Likewise.
20977         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20978         (__PTHREAD_SPIN): Likewise.
20979         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20980         (__PTHREAD_SPIN): Likewise.
20981         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
20982         (__PTHREAD_SPIN): Likewise.
20984         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
20985         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
20986         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
20987         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
20988         imply folder.
20989         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
20990         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
20991         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
20992         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
20993         correct imply path.
20994         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
20995         strlen symbol for non multi-arch builds.
20996         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
20997         missing hidden_def and weak_alias.
20999 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21001         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21003 2014-04-07  Will Newton  <will.newton@linaro.org>
21005         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21006         and contents.  [!_LIBC] Remove #ifndef and contents.
21007         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21008         * string/memccpy.c (__memccpy): Use ANSI prototype.
21009         * string/memfrob.c (memfrob): Likewise.
21010         * string/strcoll.c (STRCOLL): Likewise.
21011         * string/strlen.c (strlen): Likewise.
21012         * string/strtok.c (STRTOK): Likewise.
21013         * string/strcat.c: Remove unused #include of memcopy.h.
21014         (strcat): Use ANSI prototype.
21015         * string/strchr.c: Remove unused #include of memcopy.h.
21016         (strchr): Use ANSI prototype.
21017         * string/strcmp.c: Remove unused #include of memcopy.h.
21018         (strcmp): Use ANSI prototype.
21019         * string/strcpy.c: Remove unused #include of memcopy.h.
21020         (strcpy): Use ANSI prototype.
21022 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21024         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21025         * config.make.in (config-extra-cppflags): Set it from
21026         libc_extra_cppflags.
21027         * configure.ac (libc_extra_cflags): Make it accumulate over
21028         configure fragments.
21029         (libc_extra_cppflags): New flag.
21030         * configure. Regenerate.
21031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21032         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21033         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21036         [BZ #16815]
21037         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21038         result for FE_DOWNWARD rounding mode.
21039         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21040         Likewise.
21041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21043 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21045         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21046         in function argument name.
21048 2014-04-03  David Svoboda  <svoboda@cert.org>
21050         [BZ #5666]
21051         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21052         explicitly.
21054 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21056         * elf/dl-unmap-segments.h: New file.
21057         * sysdeps/generic/ldsodefs.h
21058         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21059         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21060         * elf/dl-fptr.c: Likewise.
21061         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21062         * sysdeps/aarch64/tlsdesc.c: Likewise.
21063         * sysdeps/arm/tlsdesc.c: Likewise.
21064         * sysdeps/i386/tlsdesc.c: Likewise.
21065         * sysdeps/tile/dl-runtime.c: Likewise.
21066         * sysdeps/x86_64/tlsdesc.c: Likewise.
21067         * elf/dl-load.h: New file.
21068         * elf/dl-load.c: Include it.
21069         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21070         Macros moved to dl-load.h.
21071         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21072         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21073         Use _dl_unmap_segments in place of __munmap.
21074         Break out segment-mapping loop into ...
21075         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21077 2014-04-03  Will Newton  <will.newton@linaro.org>
21079         * elf/dl-lookup.c (do_lookup_x): Remove comment
21080         referring to nested function and move variable
21081         declarations down to before first use.
21083 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21085         [BZ #16799]
21086         [BZ #16800]
21087         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21088         with 0 numerator.
21089         * math/s_catanf.c (__catanf): Likewise.
21090         * math/s_catanh.c (__catanh): Likewise.
21091         * math/s_catanhf.c (__catanhf): Likewise.
21092         * math/s_catanhl.c (__catanhl): Likewise.
21093         * math/s_catanl.c (__catanl): Likewise.
21094         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21095         by positive zero when computing -Inf result.
21096         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21097         (catanh_test): Likewise.
21098         * sysdeps/i386/fpu/libm-test-ulps: Update.
21099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21101         [BZ #16789]
21102         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21103         instead of using underflowing value in computing result.
21104         * math/s_clog10.c (__clog10): Likewise.
21105         * math/s_clog10f.c (__clog10f): Likewise.
21106         * math/s_clog10l.c (__clog10l): Likewise.
21107         * math/s_clogf.c (__clogf): Likewise.
21108         * math/s_clogl.c (__clogl): Likewise.
21109         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21110         (clog10_test): Likewise.
21111         * sysdeps/i386/fpu/libm-test-ulps: Update.
21112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21114 2014-04-02  Alan Modra  <amodra@gmail.com>
21116         [BZ #16739]
21117         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21118         output when value is near a power of two.  Use int64_t for lx and
21119         remove casts.  Use decimal rather than hex exponent constants.
21120         Don't use long double multiplication when double will suffice.
21121         * math/libm-test.inc (nextafter_test_data): Add tests.
21122         * NEWS: Add 16739 and 16786 to bug list.
21124         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21126         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21128 2014-04-01  Will Newton  <will.newton@linaro.org>
21130         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21131         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21133 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21135         [BZ #13347]
21136         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21137         * nptl/tst-setuid2.c: New file.
21138         * nptl/Makefile (xtests): Add tst-setuid2.
21140 2014-04-01  Alan Modra  <amodra@gmail.com>
21142         [BZ #16786]
21143         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21145 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21147         [BZ #6803]
21148         [BZ #6804]
21149         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21150         set errno as appropriate.
21151         * math/w_scalbf.c (__scalbf): Likewise.
21152         * math/w_scalbl.c (__scalbl): Likewise.
21153         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21154         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21155         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21156         Add more NaN tests.
21158         [BZ #16349]
21159         * math/w_atan2.c: Include <errno.h>.
21160         (__atan2): Set errno for result underflowing to zero.
21161         * math/w_atan2f.c: Include <errno.h>.
21162         (__atan2f): Set errno for result underflowing to zero.
21163         * math/w_atan2l.c: Include <errno.h>.
21164         (__atan2l): Set errno for result underflowing to zero.
21165         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21166         tests.
21167         * math/auto-libm-test-out: Regenerated.
21169 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21171         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21172         Encode instruction correctly in little endian.
21173         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21174         Likewise.
21175         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21176         Likewise.
21177         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21178         Likewise.
21179         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21180         Likewise.
21182 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21184         [BZ #9894]
21185         * sysdeps/unix/sysv/linux/kernel-features.h
21186         [__sparc__ && !__arch64__ && !__sparc_v9__]
21187         (__ASSUME_SET_ROBUST_LIST): Do not define.
21188         [__sparc__ && !__arch64__ && !__sparc_v9__]
21189         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21190         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21191         Likewise.
21192         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21193         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21194         (__ASSUME_REQUEUE_PI): Likewise.
21195         (__ASSUME_SET_ROBUST_LIST): Likewise.
21196         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21197         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21198         Undefine.
21199         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21200         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21201         Likewise.
21202         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21203         Likewise.
21204         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21205         Likewise.
21206         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21207         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21208         Undefine.
21209         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21210         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21211         Likewise.
21213         [BZ #16648]
21214         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21215         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21216         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21218 2014-03-31  Will Newton  <will.newton@linaro.org>
21220         * benchtests/Makefile (bench): Add ffs and ffsll to list
21221         of tests.
21222         * benchtests/ffs-inputs: New file.
21223         * benchtests/ffsll-inputs: Likewise.
21225 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21227         [BZ #16770]
21228         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21229         too large before casting to int.
21230         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21231         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21232         * math/libm-test.inc (scalb_test_data): Add more tests.
21234 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21236         * benchtests/Makefile (DETAILED_OPT): New make option.
21237         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21238         set.
21239         * benchtests/bench-skeleton.c: Include stdbool.h.
21240         (main): Store and print timings per input.
21241         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21242         member to each argument value.
21243         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21244         (_print_arg_data): Initialize per-input timing to 0.
21246         * benchtests/Makefile (timing-type): New binary.
21247         (bench-clean): Also remove bench-timing-type.
21248         (bench): New target for timing-type.
21249         (bench-func): Print output in JSON format.
21250         * benchtests/bench-skeleton.c (main): Print output in JSON
21251         format.
21252         * benchtests/bench-timing-type.c: New file.
21253         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21254         (TIMING_PRINT_STATS): Remove.
21255         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21256         name separately.
21258         * benchtests/bench-modf.c: Remove.
21259         * benchtests/modf-inputs: New inputs file.
21261 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21263         [BZ #16362]
21264         * math/s_clog10.c (M_PI_LOG10E): New macro.
21265         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21266         imaginary parts are 0.
21267         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21268         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21269         imaginary parts are 0.
21270         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21271         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21272         imaginary parts are 0.
21273         * math/libm-test.inc (clog10_test_data): Update expected results
21274         for when real and imaginary parts are 0.
21276 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21278         * elf/dl-load.c: Finish conversion of __builtin_expect into
21279         __glibc_{un}likely.
21281 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21283         [BZ #16348]
21284         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21285         1+x for argument with exponent below -67.
21286         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21287         Likewise.
21288         * math/auto-libm-test-in: Add more tests of exp.
21289         * math/auto-libm-test-out: Regenerated.
21291 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21293         [BZ #16759]
21294         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21295         (nscd_getnetgrent): Use it.
21297         [BZ #16760]
21298         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21299         of stpcpy.
21301 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21303         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21304         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21305         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21306         (lll_robust_unlock): Remove out of line section. Use cfi
21307         intrinsics.
21308         (LLL_STUB_UNWIND_INFO*): Remove.
21309         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21310         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21311         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21312         (lll_robust_unlock): Remove out of line section. Use cfi
21313         intrinsics.
21314         (LLL_STUB_UNWIND_INFO*): Remove.
21316 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21318         [BZ #16758]
21319         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21320         blank values.
21322 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21324         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21326 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21328         [BZ #16198]
21329         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21330         fnstenv.
21331         * math/test-fenv-preserve.c: New file.
21332         * math/Makefile (tests): Add test-fenv-preserve.
21334 2014-03-26  Will Newton <will.newton@linaro.org>
21336         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21338 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21340         * scripts/versionlist.awk: Partition the version sets and emit all
21341         GLIBC_* (sorted) before all others (sorted).
21343 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21345         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21346         GLIBC_2.2.5 version.
21348 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21350         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21351         calls.
21353         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21354         previous change.
21356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21358 2014-03-25  Andreas Schwab  <schwab@suse.de>
21360         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21361         label to be used after in6ailist is initialized.
21363 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21365         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21366         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21368 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21370         [BZ #16357]
21371         [BZ #16599]
21372         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21373         min_plus_half.
21374         (fp_formats): Update initializers.
21375         (init_fp_formats): Initialize new field.
21376         (output_for_one_input_case): Allow underflow for results up to
21377         min_plus_half.
21378         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21379         * math/auto-libm-test-in: Don't mark some underflows from asin and
21380         atanh as spurious.
21381         * math/auto-libm-test-out: Regenerated.
21382         * sysdeps/i386/fpu/libm-test-ulps: Update.
21383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21385 2014-03-25  Andreas Schwab  <schwab@suse.de>
21387         * libio/Makefile (tst-ftell-partial-wide-ENV)
21388         (tst-ftell-active-handler-ENV): Define.
21390 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21392         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21394 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21396         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21398 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21400         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21401         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21402         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21404 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21406         [BZ #16634]
21407         * elf/dl-load.c (open_verify): Add mode parameter.
21408         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21409         (open_path): Change from boolean 'secure' to complete flag 'mode'
21410         (_dl_map_object): Adjust.
21411         * elf/Makefile (tests): Add tst-dlopen-aout.
21412         * elf/tst-dlopen-aout.c: New test.
21414 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21416         [BZ #16714]
21417         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21418         (struct stat): Rename member pad0 to __glibc_reserved0.
21420         [BZ #16712]
21421         * sysdeps/s390/s390-32/bits/wordsize.h
21422         (__WORDSIZE32_SIZE_ULONG): New define.
21423         * sysdeps/s390/s390-64/bits/wordsize.h
21424         (__WORDSIZE32_SIZE_ULONG): Likewise.
21425         * sysdeps/generic/stdint.h (SIZE_MAX):
21426         Define as UL if __WORDSIZE32_SIZE_ULONG.
21428         [BZ #16713]
21429         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21430         (__glibc_reserved0): New variable.
21431         (sa_flags): Change type to int.
21433         * posix/Makefile (before-compile): Use += before-compile instead
21434         of a :=.
21436         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21437         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21439 2014-03-20  Andreas Schwab  <schwab@suse.de>
21441         [BZ #16743]
21442         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21443         non-matching result from nscd.
21445 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21447         * scripts/bench.py: Moved to ...
21448         * benchtests/scripts/bench.py: ... here.
21449         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21451 2014-03-24  Andreas Schwab  <schwab@suse.de>
21453         [BZ #16002]
21454         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21455         alloca_account and account alloca use for struct in6ailist.
21457 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21459         [BZ #16284]
21460         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21461         rounding mode to recompute results that overflow to infinity or
21462         underflow to zero.
21463         * math/auto-libm-test-in: Don't mark tests as expected to fail for
21464         bug 16284.
21465         * math/auto-libm-test-out: Regenerated.
21466         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21467         (ccosh_test): Likewise.
21468         (csin_test_data): Use plus_oflow.
21469         (csin_test): Use ALL_RM_TEST.
21470         (csinh_test_data): Use plus_oflow.
21471         (csinh_test): Use ALL_RM_TEST.
21472         * sysdeps/i386/fpu/libm-test-ulps: Update.
21473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21475 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
21477         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21478         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21479         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21481         [BZ #16731]
21482         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21483         when x - 1 is zero.
21484         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21485         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21486         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21487         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21488         argument is 1.
21489         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21490         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21491         zero.
21492         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21493         * sysdeps/i386/fpu/libm-test-ulps: Update.
21494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21496 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21498         * scripts/bench.pl: Remove file.
21499         * scripts/bench.py: New benchmark script.
21500         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21501         * benchtests/README: Mention python dependency.
21502         * scripts/pylintrc: New file.
21503         * scripts/pylint: New file.
21505         * bits/mathdef.h: Use #ifdef instead of #if.
21506         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21507         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21508         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21509         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21510         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21511         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21513 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21514             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21516         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21517         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21518         and strpbrk-ppc64 objects.
21519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21520         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21521         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21522         multiarch strpbrk for POWER7.
21523         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21524         multiarch strpbrk for PPC64.
21525         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21526         ifunc selector.
21527         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21528         strpbrk for POWER7.
21530 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21532         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21533         (atan_test): Likewise.
21534         (atanh_test_data): Use NO_TEST_INLINE for two tests.
21535         (atanh_test): Use ALL_RM_TEST.
21536         (atan2_test_data): Likewise.
21537         (cabs_test): Likewise.
21538         (cacosh_test): Likewise.
21539         (carg_test): Likewise.
21540         (casin_test): Likewise.
21541         (casinh_test): Likewise.
21542         (cbrt_test): Likewise.
21543         (csqrt_test): Likewise.
21544         (erf_test): Likewise.
21545         (erfc_test): Likewise.
21546         (pow10_test): Likewise.
21547         (exp2_test): Likewise.
21548         (hypot_test): Likewise.
21549         (j0_test): Likewise.
21550         (j1_test): Likewise.
21551         (lgamma_test): Likewise.
21552         (gamma_test): Likewise.
21553         (sincos_test): Likewise.
21554         (tanh_test): Likewise.
21555         (y0_test): Likewise.
21556         (y1_test): Likewise.
21557         * sysdeps/i386/fpu/libm-test-ulps: Update.
21558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21560 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21562         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21563         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21564         and strcspn-ppc64 objects.
21565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21566         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21567         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21568         multiarch strcspn for POWER7.
21569         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21570         multiarch strcspn for PPC64.
21571         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21572         ifunc selector.
21573         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21574         strcspn for POWER7.
21576 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21578         * math/gen-libm-test.pl (generate_testfile): Expect only function
21579         name as argument to AUTO_TESTS_* and pass results for all rounding
21580         modes to parse_args.
21581         (parse_auto_input): Separate inputs of automatic tests from
21582         outputs before storing in %auto_tests.
21583         * math/libm-test.inc (acos_test_data): Update call to
21584         AUTO_TESTS_f_f.
21585         (acos_test): Use ALL_RM_TEST.
21586         (acos_tonearest_test_data): Remove.
21587         (acos_test_tonearest): Likewise.
21588         (acos_towardzero_test_data): Likewise.
21589         (acos_test_towardzero): Likewise.
21590         (acos_downward_test_data): Likewise.
21591         (acos_test_downward): Likewise.
21592         (acos_upward_test_data): Likewise.
21593         (acos_test_upward): Likewise.
21594         (acosh_test_data): Update call to AUTO_TESTS_f_f.
21595         (asin_test_data): Likewise.
21596         (asin_test): Use ALL_RM_TEST.
21597         (asin_tonearest_test_data): Remove.
21598         (asin_test_tonearest): Likewise.
21599         (asin_towardzero_test_data): Likewise.
21600         (asin_test_towardzero): Likewise.
21601         (asin_downward_test_data): Likewise.
21602         (asin_test_downward): Likewise.
21603         (asin_upward_test_data): Likewise.
21604         (asin_test_upward): Likewise.
21605         (asinh_test_data): Update call to AUTO_TESTS_f_f.
21606         (atan_test_data): Likewise.
21607         (atanh_test_data): Likewise.
21608         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
21609         (cabs_test_data): Update call to AUTO_TESTS_c_f.
21610         (carg_test_data): Likewise.
21611         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
21612         (ccos_test_data): Update call to AUTO_TESTS_c_c.
21613         (ccosh_test_data): Likewise.
21614         (cexp_test_data): Likewise.
21615         (clog_test_data): Likewise.
21616         (clog10_test_data): Likewise.
21617         (cos_test_data): Update call to AUTO_TESTS_f_f.
21618         (cos_test): Use ALL_RM_TEST.
21619         (cos_tonearest_test_data): Remove.
21620         (cos_test_tonearest): Likewise.
21621         (cos_towardzero_test_data): Likewise.
21622         (cos_test_towardzero): Likewise.
21623         (cos_downward_test_data): Likewise.
21624         (cos_test_downward): Likewise.
21625         (cos_upward_test_data): Likewise.
21626         (cos_test_upward): Likewise.
21627         (cosh_test_data): Update call to AUTO_TESTS_f_f.
21628         (cosh_test): Use ALL_RM_TEST.
21629         (cosh_tonearest_test_data): Remove.
21630         (cosh_test_tonearest): Likewise.
21631         (cosh_towardzero_test_data): Likewise.
21632         (cosh_test_towardzero): Likewise.
21633         (cosh_downward_test_data): Likewise.
21634         (cosh_test_downward): Likewise.
21635         (cosh_upward_test_data): Likewise.
21636         (cosh_test_upward): Likewise.
21637         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
21638         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
21639         (ctan_test_data): Likewise.
21640         (ctan_test): Use ALL_RM_TEST.
21641         (ctan_tonearest_test_data): Remove.
21642         (ctan_test_tonearest): Likewise.
21643         (ctan_towardzero_test_data): Likewise.
21644         (ctan_test_towardzero): Likewise.
21645         (ctan_downward_test_data): Likewise.
21646         (ctan_test_downward): Likewise.
21647         (ctan_upward_test_data): Likewise.
21648         (ctan_test_upward): Likewise.
21649         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
21650         (ctanh_test): Use ALL_RM_TEST.
21651         (ctanh_tonearest_test_data): Remove.
21652         (ctanh_test_tonearest): Likewise.
21653         (ctanh_towardzero_test_data): Likewise.
21654         (ctanh_test_towardzero): Likewise.
21655         (ctanh_downward_test_data): Likewise.
21656         (ctanh_test_downward): Likewise.
21657         (ctanh_upward_test_data): Likewise.
21658         (ctanh_test_upward): Likewise.
21659         (erf_test_data): Update call to AUTO_TESTS_f_f.
21660         (erfc_test_data): Likewise.
21661         (exp_test_data): Likewise.
21662         (exp_test): Use ALL_RM_TEST.
21663         (exp_tonearest_test_data): Remove.
21664         (exp_test_tonearest): Likewise.
21665         (exp_towardzero_test_data): Likewise.
21666         (exp_test_towardzero): Likewise.
21667         (exp_downward_test_data): Likewise.
21668         (exp_test_downward): Likewise.
21669         (exp_upward_test_data): Likewise.
21670         (exp_test_upward): Likewise.
21671         (exp10_test_data): Update call to AUTO_TESTS_f_f.
21672         (exp10_test): Use ALL_RM_TEST.
21673         (exp10_tonearest_test_data): Remove.
21674         (exp10_test_tonearest): Likewise.
21675         (exp10_towardzero_test_data): Likewise.
21676         (exp10_test_towardzero): Likewise.
21677         (exp10_downward_test_data): Likewise.
21678         (exp10_test_downward): Likewise.
21679         (exp10_upward_test_data): Likewise.
21680         (exp10_test_upward): Likewise.
21681         (exp2_test_data): Update call to AUTO_TESTS_f_f.
21682         (expm1_test_data): Likewise.
21683         (expm1_test): Use ALL_RM_TEST.
21684         (expm1_tonearest_test_data): Remove.
21685         (expm1_test_tonearest): Likewise.
21686         (expm1_towardzero_test_data): Likewise.
21687         (expm1_test_towardzero): Likewise.
21688         (expm1_downward_test_data): Likewise.
21689         (expm1_test_downward): Likewise.
21690         (expm1_upward_test_data): Likewise.
21691         (expm1_test_upward): Likewise.
21692         (fma_test_data): Update call to AUTO_TESTS_fff_f.
21693         (fma_test): Use ALL_RM_TEST.
21694         (fma_towardzero_test_data): Remove.
21695         (fma_test_towardzero): Likewise.
21696         (fma_downward_test_data): Likewise.
21697         (fma_test_downward): Likewise.
21698         (fma_upward_test_data): Likewise.
21699         (fma_test_upward): Likewise.
21700         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21701         (j0_test_data): Update call to AUTO_TESTS_f_f.
21702         (j1_test_data): Likewise.
21703         (jn_test_data): Update call to AUTO_TESTS_if_f.
21704         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21705         (log_test_data): Update call to AUTO_TESTS_f_f.
21706         (log10_test_data): Likewise.
21707         (log1p_test_data): Likewise.
21708         (log2_test_data): Likewise.
21709         (pow_test_data): Update call to AUTO_TESTS_ff_f.
21710         (pow_tonearest_test_data): Likewise.
21711         (sin_test_data): Update call to AUTO_TESTS_f_f.
21712         (sin_test): Use ALL_RM_TEST.
21713         (sin_tonearest_test_data): Remove.
21714         (sin_test_tonearest): Likewise.
21715         (sin_towardzero_test_data): Likewise.
21716         (sin_test_towardzero): Likewise.
21717         (sin_downward_test_data): Likewise.
21718         (sin_test_downward): Likewise.
21719         (sin_upward_test_data): Likewise.
21720         (sin_test_upward): Likewise.
21721         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21722         (sinh_test_data): Update call to AUTO_TESTS_f_f.
21723         (sinh_test): Use ALL_RM_TEST.
21724         (sinh_tonearest_test_data): Remove.
21725         (sinh_test_tonearest): Likewise.
21726         (sinh_towardzero_test_data): Likewise.
21727         (sinh_test_towardzero): Likewise.
21728         (sinh_downward_test_data): Likewise.
21729         (sinh_test_downward): Likewise.
21730         (sinh_upward_test_data): Likewise.
21731         (sinh_test_upward): Likewise.
21732         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21733         (sqrt_test): Use ALL_RM_TEST.
21734         (sqrt_tonearest_test_data): Remove.
21735         (sqrt_test_tonearest): Likewise.
21736         (sqrt_towardzero_test_data): Likewise.
21737         (sqrt_test_towardzero): Likewise.
21738         (sqrt_downward_test_data): Likewise.
21739         (sqrt_test_downward): Likewise.
21740         (sqrt_upward_test_data): Likewise.
21741         (sqrt_test_upward): Likewise.
21742         (tan_test_data): Update call to AUTO_TESTS_f_f.
21743         (tan_test): Use ALL_RM_TEST.
21744         (tan_tonearest_test_data): Remove.
21745         (tan_test_tonearest): Likewise.
21746         (tan_towardzero_test_data): Likewise.
21747         (tan_test_towardzero): Likewise.
21748         (tan_downward_test_data): Likewise.
21749         (tan_test_downward): Likewise.
21750         (tan_upward_test_data): Likewise.
21751         (tan_test_upward): Likewise.
21752         (tanh_test_data): Update call to AUTO_TESTS_f_f.
21753         (tgamma_test_data): Likewise.
21754         (y0_test_data): Likewise.
21755         (y1_test_data): Likewise.
21756         (yn_test_data): Update call to AUTO_TESTS_if_f.
21757         (main): Do not call removed functions.
21759 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21761         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21762         (ldexp_test_data): Remove.
21763         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
21764         scalbn_test_data.
21765         (scalb_test): Use ALL_RM_TEST.
21767 2014-03-19  Andreas Schwab  <schwab@suse.de>
21769         * nscd/nscd.service: Also invalidate netgroup cache on reload.
21771 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21773         [BZ #16649]
21774         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21775         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21776         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21777         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21778         (__ASSUME_PREADV): Undefine.
21779         (__ASSUME_PWRITEV): Likewise.
21781 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21783         * bits/mman-linux.h: Add comment about non-Linux use.
21784         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21785         bits/mman-linux.h resting place.
21787         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21788         * bits/mman-linux.h: ... here.
21790 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21792         * conform/conformtest.pl: Add standard definition when calling C
21793         preprocessor on data files.
21794         (checknamespace): Remove unused variable.
21796 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21798         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21799         minus_oflow, plus_uflow and minus_uflow in expected results.
21800         * math/libm-test.inc (scalbn_test_data): Add more tests of
21801         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
21802         minus_uflow.
21803         (scalbn_test): Use ALL_RM_TEST.
21804         (scalbln_test_data): Add more tests of negative arguments.  Use
21805         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21806         (scalbln_test): Use ALL_RM_TEST.
21808 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21810         * scripts/abilist.awk: Ignore symbols marked with .hidden.
21812 2014-03-18  Will Newton  <will.newton@linaro.org>
21814         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21815         inaccurate comment.
21817 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21819         * Makerules [!subdir] (check-abi): Exit with error status if a
21820         test failed.
21822 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21824         * math/libm-test.inc (nearbyint_test_data): Include all tests used
21825         for rint.  Include results for all rounding modes.
21826         (nearbyint_test): Use ALL_RM_TEST.
21827         (rint_test_data): Include all tests used for nearbyint.
21829 2014-03-17  Will Newton  <will.newton@linaro.org>
21831         * nptl/sysdeps/pthread/pthread.h: Revert previous
21832         change.
21834         * sysdeps/generic/ldsodefs.h: Revert previous
21835         change.
21837         * libio/genops.c: Revert previous change.
21838         * libio/libioP.h: Likewise.
21839         * stdio-common/vfprintf.c: Likewise.
21841         * sysdeps/generic/math_private.h: Revert previous
21842         change.
21844         * sysdeps/generic/math_private.h: Check whether
21845         HAVE_RM_CTX is defined with #ifdef rather
21846         than #if.
21848         * argp/argp-fmtstream.h: Check whether
21849         __STRICT_ANSI__ is defined with #ifdef rather
21850         than #if.
21851         * argp/argp.h: Likewise.
21853         * libio/genops.c: Check whether
21854         _IO_JUMPS_OFFSET is defined with #ifdef rather
21855         than #if.
21856         * libio/libioP.h: Likewise.
21857         * stdio-common/vfprintf.c: Likewise.
21859         * sysdeps/generic/ldsodefs.h: Check whether
21860         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21861         than #if.
21863         * nptl/sysdeps/pthread/pthread.h: Check
21864         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21865         its value.
21867 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21869         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21870         setting O_APPEND.
21871         * libio/tst-ftell-active-handler.c (do_append_test): Add a
21872         test case.
21874         [BZ #16680]
21875         * libio/fileops.c (_IO_file_open): Seek to end of file but
21876         don't cache the offset.
21877         (get_file_offset): Remove function.
21878         (do_ftell): Use cached offset when available.
21879         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21880         don't cache the offset.
21881         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21882         case.
21883         (do_one_test): Call it.
21884         (do_ftell_test): Fix up expected old offset for a+ mode.
21885         * libio/wfileops.c (do_ftell_wide): Used cached offset when
21886         available.
21888         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21889         up test status with function return status.
21890         (do_write_test): Likewise.
21891         (do_append_test): Likewise.
21893         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21894         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21895         Remove.
21897 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21899         * math/gen-libm-test.pl (parse_args): Handle results specified for
21900         each rounding mode separately.
21901         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21902         tests and results from lrint_tonearest_test_data,
21903         lrint_towardzero_test_data, lrint_downward_test_data and
21904         lrint_upward_test_data.
21905         (lrint_test): Use ALL_RM_TEST.
21906         (lrint_tonearest_test_data): Remove.
21907         (lrint_test_tonearest): Likewise.
21908         (lrint_towardzero_test_data): Likewise.
21909         (lrint_test_towardzero): Likewise.
21910         (lrint_downward_test_data): Likewise.
21911         (lrint_test_downward): Likewise.
21912         (lrint_upward_test_data): Likewise.
21913         (lrint_test_upward): Likewise.
21914         (llrint_test_data): Merge in per-rounding-mode tests and results
21915         from llrint_tonearest_test_data, llrint_towardzero_test_data,
21916         llrint_downward_test_data and llrint_upward_test_data.
21917         (llrint_test): Use ALL_RM_TEST.
21918         (llrint_tonearest_test_data): Remove.
21919         (llrint_test_tonearest): Likewise.
21920         (llrint_towardzero_test_data): Likewise.
21921         (llrint_test_towardzero): Likewise.
21922         (llrint_downward_test_data): Likewise.
21923         (llrint_test_downward): Likewise.
21924         (llrint_upward_test_data): Likewise.
21925         (llrint_test_upward): Likewise.
21926         (rint_test_data): Merge in per-rounding-mode tests and results
21927         from rint_tonearest_test_data, rint_towardzero_test_data,
21928         rint_downward_test_data and rint_upward_test_data.  Add
21929         per-rounding-mode results for tests not in those arrays.
21930         (rint_test): Use ALL_RM_TEST.
21931         (rint_tonearest_test_data): Remove.
21932         (rint_test_tonearest): Likewise.
21933         (rint_towardzero_test_data): Likewise.
21934         (rint_test_towardzero): Likewise.
21935         (rint_downward_test_data): Likewise.
21936         (rint_test_downward): Likewise.
21937         (rint_upward_test_data): Likewise.
21938         (rint_test_upward): Likewise.
21939         (main): Don't call removed functions.
21941 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21943         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21944         "Compiled on ..." crapola.  It is anti-useful.
21946 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
21948         * scripts/evaluate-test.sh: Handle fourth argument to determine
21949         whether test run should stop on failure.
21950         * Makeconfig (stop-on-test-failure): New variable.
21951         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21952         $(stop-on-test-failure).
21953         * Makefile (tests): Give a summary of results from testing and
21954         exit with failure status if they include an ERROR or FAIL.
21955         (xtests): Likewise.
21956         * manual/install.texi (Configuring and compiling): Mention
21957         stop-on-test-failure=y.
21958         * INSTALL: Regenerated.
21960 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21962         * scripts/versionlist.awk: New file.
21963         * Makerules [$(build-shared) = yes]
21964         (postclean-generated): Add Versions.def, not Versions.def.v and
21965         Versions.def.v.i.
21966         ($(common-objpfx)Versions.def.v.i): Target removed.
21967         ($(common-objpfx)Versions.def): New target.
21968         ($(common-objpfx)Versions.all): Depend on that rather that
21969         $(common-objpfx)Versions.def.v.
21970         * Versions.def: File removed.
21972         * Makeconfig (+gccwarn): Add -Wundef.
21973         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21974         a dl-sysdep.h breaking its contract.
21975         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21976         * include/stackinfo.h: New file.
21977         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21978         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21979         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21980         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
21981         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
21982         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
21983         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21984         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21985         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21986         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21987         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21988         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
21989         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21990         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21991         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21993 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21995         [BZ #16707]
21996         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
21997         implementation.
21998         * math/libm-test.inc (round_test_data): Add more tests.
22000         [BZ #16706]
22001         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22002         implementation.
22003         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22005         [BZ #16701]
22006         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22007         implementation.
22008         * math/libm-test.inc (ceil_test_data): Add more tests.
22010         * math/libm-test.inc (trunc_test_data): Add more tests related to
22011         BZ#16414.
22013 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22015         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22016         with #if rather than #ifdef.
22017         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22019 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22021         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22022         first.  Disable AVX-512 GCC support if assembler doesn't support
22023         it.
22024         * sysdeps/x86_64/configure: Regenerated.
22026 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22028         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22029         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22030         (__old_pthread_attr_setstack): Likewise.
22031         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22032         [!_STACK_GROWS_DOWN]: Likewise.
22034 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22036         * config.make.in (have-bash2): Delete.
22037         * configure.ac (libc_cv_have_bash2): Delete.
22038         * configure: Regenerate.
22039         * elf/Makefile (common-ldd-rewrite): Rename to ...
22040         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22041         (sh-ldd-rewrite): Delete.
22042         (bash-ldd-rewrite): Delete.
22043         (have-bash2): Delete checks.
22044         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22045         ldd-rewrite.
22047         * config.make.in (have-ksh): Delete.
22048         (KSH): Delete.
22049         * configure.ac (libc_cv_have_ksh): Delete.
22050         * configure: Regenerate.
22052         * elf/Makefile: Delete $(have-ksh) check.
22053         ($(objpfx)sotruss): Change KSH to BASH.
22054         * elf/sotruss.ksh: Rename to ...
22055         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22056         function style to match POSIX.  Drop ksh vim mode setting.
22058         * manual/time.texi (Specifying the Time Zone with TZ): Change
22059         Tuesday to Thursday.
22061         * debug/tst-longjmp_chk2.c: Update header comment.
22062         (stackoverflow_handler): Add comment.  Call assert on pass value.
22064 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22066         [BZ #16194]
22067         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22068         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22069         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22070         (La_x86_64_vector): Add zmm.
22071         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22072         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22073         ($(objpfx)tst-audit10): New target.
22074         ($(objpfx)tst-audit10.out): Likewise.
22075         (tst-audit10-ENV): New.
22076         (AVX512-CFLAGS): Likewise.
22077         (CFLAGS-tst-audit10.c): Likewise.
22078         (CFLAGS-tst-auditmod10a.c): Likewise.
22079         (CFLAGS-tst-auditmod10b.c): Likewise.
22080         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22081         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22082         * sysdeps/x86_64/configure: Regenerated.
22083         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22084         AVX-512 zmm register support.
22085         (_dl_x86_64_save_sse): Likewise.
22086         (_dl_x86_64_restore_sse): Likewise.
22087         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22088         size vector registers.
22089         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22090         (ZMM_SIZE): Likewise.
22091         * sysdeps/x86_64/tst-audit10.c: New file.
22092         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22093         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22095 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22097         * configure.ac (HAVE_EHDR_START): New check.
22098         * configure: Regenerated.
22099         * config.h.in (HAVE_EHDR_START): New #undef.
22100         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22101         assuming the lowest-addressed segment maps the start of the file.
22103 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22105         * INSTALL: Regenerated.
22107 2014-03-13  Will Newton  <will.newton@linaro.org>
22109         * manual/setjmp.texi (System V contexts): Improve
22110         clarity and grammar of documentation.
22112 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22114         [BZ #16381]
22115         * elf/Makefile (tests): Add tst-pie2.
22116         (tests-pie): Add tst-pie2.
22117         * elf/tst-pie2.c: New file.
22118         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22119         for ET_EXEC.
22120         * elf/rtld.c (map_doit): Load executable as lt_executable.
22121         (dl_main): Likewise.
22123 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22125         [BZ #16642]
22126         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22127         (__ASSUME_PSELECT): Undefine.
22129 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22131         [BZ #16689]
22132         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22133         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22134         static build.
22135         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22136         selector for static builds.
22138 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22140         [BZ #16695]
22141         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22142         key in the buffer.
22144 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22146         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22147         IFUNC selector for static builds.
22149 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22151         * sysdeps/mips/math_private.h [__mips_hard_float]
22152         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22153         libc_feresetround_mips_ctx.
22154         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22155         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22156         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22158         [BZ #16677]
22159         * math/s_nextafter.c (__nextafter): Do not return value from
22160         overflowing computation.
22161         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22162         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22163         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22164         Likewise.
22165         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22166         Likewise.
22167         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22168         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22170 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22172         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22173         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22174         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22175         the new mov targetting sp.
22177 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22179         [BZ #16683]
22180         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22181         Define it for static builds as well.
22182         (NO_BZERO_IMPL): Likewise.
22184 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22186         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22187         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22188         multiarch strspn for PPC64.
22189         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22190         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22192         (__libc_ifunc_impl_list): Likewise.
22193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22194         multiarch optimizations
22195         * string/strspn.c (strspn): Using macro to redefine symbol name.
22197 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22198             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22200         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22201         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22202         multiarch strncat for PPC64.
22203         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22204         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22206         (__libc_ifunc_impl_list): Likewise.
22207         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22208         multiarch optimizations
22210 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22212         [BZ #16639]
22213         * nscd/nscd.service: Make service type forking.
22215 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22217         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22218         sign in non default rounding modes.
22219         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22221 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22223         * math/libm-test.inc (ALL_RM_TEST): New macro.
22224         (ceil_test): Use ALL_RM_TEST.
22225         (cimag_test): Likewise.
22226         (conj_test): Likewise.
22227         (copysign_test): Likewise.
22228         (cproj_test): Likewise.
22229         (creal_test): Likewise.
22230         (fabs_test): Likewise.
22231         (floor_test): Likewise.
22232         (fmax_test): Likewise.
22233         (fmin_test): Likewise.
22234         (fmod_test): Likewise.
22235         (fpclassify_test): Likewise.
22236         (frexp_test): Likewise.
22237         (ilogb_test): Likewise.
22238         (isfinite_test): Likewise.
22239         (finite_test): Likewise.
22240         (isgreater_test): Likewise.
22241         (isgreaterequal_test): Likewise.
22242         (isinf_test): Likewise.
22243         (isless_test): Likewise.
22244         (islessequal_test): Likewise.
22245         (islessgreater_test): Likewise.
22246         (isnan_test): Likewise.
22247         (isnormal_test): Likewise.
22248         (issignaling_test): Likewise.
22249         (isunordered_test): Likewise.
22250         (logb_test): Likewise.
22251         (logb_downward_test_data): Remove.
22252         (logb_test_downward): Likewise.
22253         (lround_test): Use ALL_RM_TEST.
22254         (llround_test): Likewise.
22255         (modf_test): Likewise.
22256         (nexttoward_test): Likewise.
22257         (remainder_test): Likewise.
22258         (drem_test): Likewise.
22259         (remainder_tonearest_test_data): Likewise.
22260         (remainder_test_tonearest): Likewise.
22261         (drem_test_tonearest): Likewise.
22262         (remainder_towardzero_test_data): Likewise.
22263         (remainder_test_towardzero): Likewise.
22264         (drem_test_towardzero): Likewise.
22265         (remainder_downward_test_data): Likewise.
22266         (remainder_test_downward): Likewise.
22267         (drem_test_downward): Likewise.
22268         (remainder_upward_test_data): Likewise.
22269         (remainder_test_upward): Likewise.
22270         (drem_test_upward): Likewise.
22271         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22272         (round_test): Use ALL_RM_TEST.
22273         (signbit_test): Likewise.
22274         (trunc_test): Likewise.
22275         (significand_test): Likewise.
22276         (main): Don't call removed functions.
22278 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22280         [BZ #16674]
22281         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22282         || __USE_XOPEN2K8].
22283         (ILL_ILLOPN): Likewise.
22284         (ILL_ILLADR): Likewise.
22285         (ILL_ILLTRP): Likewise.
22286         (ILL_PRVOPC): Likewise.
22287         (ILL_PRVREG): Likewise.
22288         (ILL_COPROC): Likewise.
22289         (ILL_BADSTK): Likewise.
22290         (FPE_INTDIV): Likewise.
22291         (FPE_INTOVF): Likewise.
22292         (FPE_FLTDIV): Likewise.
22293         (FPE_FLTOVF): Likewise.
22294         (FPE_FLTUND): Likewise.
22295         (FPE_FLTRES): Likewise.
22296         (FPE_FLTINV): Likewise.
22297         (FPE_FLTSUB): Likewise.
22298         (SEGV_MAPERR): Likewise.
22299         (SEGV_ACCERR): Likewise.
22300         (BUS_ADRALN): Likewise.
22301         (BUS_ADRERR): Likewise.
22302         (BUS_OBJERR): Likewise.
22303         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22304         (TRAP_TRACE): Likewise.
22305         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22306         __USE_XOPEN2K8].
22307         (CLD_KILLED): Likewise.
22308         (CLD_DUMPED): Likewise.
22309         (CLD_TRAPPED): Likewise.
22310         (CLD_STOPPED): Likewise.
22311         (CLD_CONTINUED): Likewise.
22312         (POLL_IN): Likewise.
22313         (POLL_OUT): Likewise.
22314         (POLL_MSG): Likewise.
22315         (POLL_ERR): Likewise.
22316         (POLL_PRI): Likewise.
22317         (POLL_HUP): Likewise.
22318         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22319         Likewise.
22320         (ILL_ILLOPN): Likewise.
22321         (ILL_ILLADR): Likewise.
22322         (ILL_ILLTRP): Likewise.
22323         (ILL_PRVOPC): Likewise.
22324         (ILL_PRVREG): Likewise.
22325         (ILL_COPROC): Likewise.
22326         (ILL_BADSTK): Likewise.
22327         (FPE_INTDIV): Likewise.
22328         (FPE_INTOVF): Likewise.
22329         (FPE_FLTDIV): Likewise.
22330         (FPE_FLTOVF): Likewise.
22331         (FPE_FLTUND): Likewise.
22332         (FPE_FLTRES): Likewise.
22333         (FPE_FLTINV): Likewise.
22334         (FPE_FLTSUB): Likewise.
22335         (SEGV_MAPERR): Likewise.
22336         (SEGV_ACCERR): Likewise.
22337         (BUS_ADRALN): Likewise.
22338         (BUS_ADRERR): Likewise.
22339         (BUS_OBJERR): Likewise.
22340         (BUS_MCEERR_AR): Likewise.
22341         (BUS_MCEERR_AO): Likewise.
22342         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22343         (TRAP_TRACE): Likewise.
22344         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22345         __USE_XOPEN2K8].
22346         (CLD_KILLED): Likewise.
22347         (CLD_DUMPED): Likewise.
22348         (CLD_TRAPPED): Likewise.
22349         (CLD_STOPPED): Likewise.
22350         (CLD_CONTINUED): Likewise.
22351         (POLL_IN): Likewise.
22352         (POLL_OUT): Likewise.
22353         (POLL_MSG): Likewise.
22354         (POLL_ERR): Likewise.
22355         (POLL_PRI): Likewise.
22356         (POLL_HUP): Likewise.
22357         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22358         (ILL_ILLOPN): Likewise.
22359         (ILL_ILLADR): Likewise.
22360         (ILL_ILLTRP): Likewise.
22361         (ILL_PRVOPC): Likewise.
22362         (ILL_PRVREG): Likewise.
22363         (ILL_COPROC): Likewise.
22364         (ILL_BADSTK): Likewise.
22365         (FPE_INTDIV): Likewise.
22366         (FPE_INTOVF): Likewise.
22367         (FPE_FLTDIV): Likewise.
22368         (FPE_FLTOVF): Likewise.
22369         (FPE_FLTUND): Likewise.
22370         (FPE_FLTRES): Likewise.
22371         (FPE_FLTINV): Likewise.
22372         (FPE_FLTSUB): Likewise.
22373         (SEGV_MAPERR): Likewise.
22374         (SEGV_ACCERR): Likewise.
22375         (BUS_ADRALN): Likewise.
22376         (BUS_ADRERR): Likewise.
22377         (BUS_OBJERR): Likewise.
22378         (BUS_MCEERR_AR): Likewise.
22379         (BUS_MCEERR_AO): Likewise.
22380         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22381         (TRAP_TRACE): Likewise.
22382         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22383         __USE_XOPEN2K8].
22384         (CLD_KILLED): Likewise.
22385         (CLD_DUMPED): Likewise.
22386         (CLD_TRAPPED): Likewise.
22387         (CLD_STOPPED): Likewise.
22388         (CLD_CONTINUED): Likewise.
22389         (POLL_IN): Likewise.
22390         (POLL_OUT): Likewise.
22391         (POLL_MSG): Likewise.
22392         (POLL_ERR): Likewise.
22393         (POLL_PRI): Likewise.
22394         (POLL_HUP): Likewise.
22395         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22396         Likewise.
22397         (ILL_ILLOPN): Likewise.
22398         (ILL_ILLADR): Likewise.
22399         (ILL_ILLTRP): Likewise.
22400         (ILL_PRVOPC): Likewise.
22401         (ILL_PRVREG): Likewise.
22402         (ILL_COPROC): Likewise.
22403         (ILL_BADSTK): Likewise.
22404         (ILL_BADIADDR): Likewise.
22405         (ILL_BREAK): Likewise.
22406         (FPE_INTDIV): Likewise.
22407         (FPE_INTOVF): Likewise.
22408         (FPE_FLTDIV): Likewise.
22409         (FPE_FLTOVF): Likewise.
22410         (FPE_FLTUND): Likewise.
22411         (FPE_FLTRES): Likewise.
22412         (FPE_FLTINV): Likewise.
22413         (FPE_FLTSUB): Likewise.
22414         (FPE_DECOVF): Likewise.
22415         (FPE_DECDIV): Likewise.
22416         (FPE_DECERR): Likewise.
22417         (FPE_INVASC): Likewise.
22418         (FPE_INVDEC): Likewise.
22419         (SEGV_MAPERR): Likewise.
22420         (SEGV_ACCERR): Likewise.
22421         (SEGV_PSTKOVF): Likewise.
22422         (BUS_ADRALN): Likewise.
22423         (BUS_ADRERR): Likewise.
22424         (BUS_OBJERR): Likewise.
22425         (BUS_MCEERR_AR): Likewise.
22426         (BUS_MCEERR_AO): Likewise.
22427         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22428         (TRAP_TRACE): Likewise.
22429         (TRAP_BRANCH): Likewise.
22430         (TRAP_HWBKPT): Likewise.
22431         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22432         __USE_XOPEN2K8].
22433         (CLD_KILLED): Likewise.
22434         (CLD_DUMPED): Likewise.
22435         (CLD_TRAPPED): Likewise.
22436         (CLD_STOPPED): Likewise.
22437         (CLD_CONTINUED): Likewise.
22438         (POLL_IN): Likewise.
22439         (POLL_OUT): Likewise.
22440         (POLL_MSG): Likewise.
22441         (POLL_ERR): Likewise.
22442         (POLL_PRI): Likewise.
22443         (POLL_HUP): Likewise.
22444         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22445         (ILL_ILLOPN): Likewise.
22446         (ILL_ILLADR): Likewise.
22447         (ILL_ILLTRP): Likewise.
22448         (ILL_PRVOPC): Likewise.
22449         (ILL_PRVREG): Likewise.
22450         (ILL_COPROC): Likewise.
22451         (ILL_BADSTK): Likewise.
22452         (FPE_INTDIV): Likewise.
22453         (FPE_INTOVF): Likewise.
22454         (FPE_FLTDIV): Likewise.
22455         (FPE_FLTOVF): Likewise.
22456         (FPE_FLTUND): Likewise.
22457         (FPE_FLTRES): Likewise.
22458         (FPE_FLTINV): Likewise.
22459         (FPE_FLTSUB): Likewise.
22460         (SEGV_MAPERR): Likewise.
22461         (SEGV_ACCERR): Likewise.
22462         (BUS_ADRALN): Likewise.
22463         (BUS_ADRERR): Likewise.
22464         (BUS_OBJERR): Likewise.
22465         (BUS_MCEERR_AR): Likewise.
22466         (BUS_MCEERR_AO): Likewise.
22467         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22468         (TRAP_TRACE): Likewise.
22469         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22470         __USE_XOPEN2K8].
22471         (CLD_KILLED): Likewise.
22472         (CLD_DUMPED): Likewise.
22473         (CLD_TRAPPED): Likewise.
22474         (CLD_STOPPED): Likewise.
22475         (CLD_CONTINUED): Likewise.
22476         (POLL_IN): Likewise.
22477         (POLL_OUT): Likewise.
22478         (POLL_MSG): Likewise.
22479         (POLL_ERR): Likewise.
22480         (POLL_PRI): Likewise.
22481         (POLL_HUP): Likewise.
22482         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
22483         (ILL_ILLOPN): Likewise.
22484         (ILL_ILLADR): Likewise.
22485         (ILL_ILLTRP): Likewise.
22486         (ILL_PRVOPC): Likewise.
22487         (ILL_PRVREG): Likewise.
22488         (ILL_COPROC): Likewise.
22489         (ILL_BADSTK): Likewise.
22490         (FPE_INTDIV): Likewise.
22491         (FPE_INTOVF): Likewise.
22492         (FPE_FLTDIV): Likewise.
22493         (FPE_FLTOVF): Likewise.
22494         (FPE_FLTUND): Likewise.
22495         (FPE_FLTRES): Likewise.
22496         (FPE_FLTINV): Likewise.
22497         (FPE_FLTSUB): Likewise.
22498         (SEGV_MAPERR): Likewise.
22499         (SEGV_ACCERR): Likewise.
22500         (BUS_ADRALN): Likewise.
22501         (BUS_ADRERR): Likewise.
22502         (BUS_OBJERR): Likewise.
22503         (BUS_MCEERR_AR): Likewise.
22504         (BUS_MCEERR_AO): Likewise.
22505         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22506         (TRAP_TRACE): Likewise.
22507         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22508         __USE_XOPEN2K8].
22509         (CLD_KILLED): Likewise.
22510         (CLD_DUMPED): Likewise.
22511         (CLD_TRAPPED): Likewise.
22512         (CLD_STOPPED): Likewise.
22513         (CLD_CONTINUED): Likewise.
22514         (POLL_IN): Likewise.
22515         (POLL_OUT): Likewise.
22516         (POLL_MSG): Likewise.
22517         (POLL_ERR): Likewise.
22518         (POLL_PRI): Likewise.
22519         (POLL_HUP): Likewise.
22520         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22521         (ILL_ILLOPN): Likewise.
22522         (ILL_ILLADR): Likewise.
22523         (ILL_ILLTRP): Likewise.
22524         (ILL_PRVOPC): Likewise.
22525         (ILL_PRVREG): Likewise.
22526         (ILL_COPROC): Likewise.
22527         (ILL_BADSTK): Likewise.
22528         (FPE_INTDIV): Likewise.
22529         (FPE_INTOVF): Likewise.
22530         (FPE_FLTDIV): Likewise.
22531         (FPE_FLTOVF): Likewise.
22532         (FPE_FLTUND): Likewise.
22533         (FPE_FLTRES): Likewise.
22534         (FPE_FLTINV): Likewise.
22535         (FPE_FLTSUB): Likewise.
22536         (SEGV_MAPERR): Likewise.
22537         (SEGV_ACCERR): Likewise.
22538         (BUS_ADRALN): Likewise.
22539         (BUS_ADRERR): Likewise.
22540         (BUS_OBJERR): Likewise.
22541         (BUS_MCEERR_AR): Likewise.
22542         (BUS_MCEERR_AO): Likewise.
22543         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22544         (TRAP_TRACE): Likewise.
22545         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22546         __USE_XOPEN2K8].
22547         (CLD_KILLED): Likewise.
22548         (CLD_DUMPED): Likewise.
22549         (CLD_TRAPPED): Likewise.
22550         (CLD_STOPPED): Likewise.
22551         (CLD_CONTINUED): Likewise.
22552         (POLL_IN): Likewise.
22553         (POLL_OUT): Likewise.
22554         (POLL_MSG): Likewise.
22555         (POLL_ERR): Likewise.
22556         (POLL_PRI): Likewise.
22557         (POLL_HUP): Likewise.
22558         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22559         (ILL_ILLOPN): Likewise.
22560         (ILL_ILLADR): Likewise.
22561         (ILL_ILLTRP): Likewise.
22562         (ILL_PRVOPC): Likewise.
22563         (ILL_PRVREG): Likewise.
22564         (ILL_COPROC): Likewise.
22565         (ILL_BADSTK): Likewise.
22566         (ILL_DBLFLT): Likewise.
22567         (ILL_HARDWALL): Likewise.
22568         (FPE_INTDIV): Likewise.
22569         (FPE_INTOVF): Likewise.
22570         (FPE_FLTDIV): Likewise.
22571         (FPE_FLTOVF): Likewise.
22572         (FPE_FLTUND): Likewise.
22573         (FPE_FLTRES): Likewise.
22574         (FPE_FLTINV): Likewise.
22575         (FPE_FLTSUB): Likewise.
22576         (SEGV_MAPERR): Likewise.
22577         (SEGV_ACCERR): Likewise.
22578         (BUS_ADRALN): Likewise.
22579         (BUS_ADRERR): Likewise.
22580         (BUS_OBJERR): Likewise.
22581         (BUS_MCEERR_AR): Likewise.
22582         (BUS_MCEERR_AO): Likewise.
22583         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22584         (TRAP_TRACE): Likewise.
22585         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22586         __USE_XOPEN2K8].
22587         (CLD_KILLED): Likewise.
22588         (CLD_DUMPED): Likewise.
22589         (CLD_TRAPPED): Likewise.
22590         (CLD_STOPPED): Likewise.
22591         (CLD_CONTINUED): Likewise.
22592         (POLL_IN): Likewise.
22593         (POLL_OUT): Likewise.
22594         (POLL_MSG): Likewise.
22595         (POLL_ERR): Likewise.
22596         (POLL_PRI): Likewise.
22597         (POLL_HUP): Likewise.
22598         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
22599         (ILL_ILLOPN): Likewise.
22600         (ILL_ILLADR): Likewise.
22601         (ILL_ILLTRP): Likewise.
22602         (ILL_PRVOPC): Likewise.
22603         (ILL_PRVREG): Likewise.
22604         (ILL_COPROC): Likewise.
22605         (ILL_BADSTK): Likewise.
22606         (FPE_INTDIV): Likewise.
22607         (FPE_INTOVF): Likewise.
22608         (FPE_FLTDIV): Likewise.
22609         (FPE_FLTOVF): Likewise.
22610         (FPE_FLTUND): Likewise.
22611         (FPE_FLTRES): Likewise.
22612         (FPE_FLTINV): Likewise.
22613         (FPE_FLTSUB): Likewise.
22614         (SEGV_MAPERR): Likewise.
22615         (SEGV_ACCERR): Likewise.
22616         (BUS_ADRALN): Likewise.
22617         (BUS_ADRERR): Likewise.
22618         (BUS_OBJERR): Likewise.
22619         (BUS_MCEERR_AR): Likewise.
22620         (BUS_MCEERR_AO): Likewise.
22621         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22622         (TRAP_TRACE): Likewise.
22623         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22624         __USE_XOPEN2K8].
22625         (CLD_KILLED): Likewise.
22626         (CLD_DUMPED): Likewise.
22627         (CLD_TRAPPED): Likewise.
22628         (CLD_STOPPED): Likewise.
22629         (CLD_CONTINUED): Likewise.
22630         (POLL_IN): Likewise.
22631         (POLL_OUT): Likewise.
22632         (POLL_MSG): Likewise.
22633         (POLL_ERR): Likewise.
22634         (POLL_PRI): Likewise.
22635         (POLL_HUP): Likewise.
22636         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
22637         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22639         [BZ #16670]
22640         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
22641         before #include of <time.h>.
22642         [!__USE_XOPEN2K] (__need_timespec): Likewise.
22643         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
22644         (test-xfail-UNIX98/sched.h/conform): Likewise.
22646 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22648         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
22649         error absence of trapping exception support.
22650         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22652 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22654         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
22655         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
22656         * timezone/Makefile (testdata): Move definition above include of
22657         Rules.
22658         (test-zones): New variable.
22659         (tests-special): Add zone files.
22660         (build-testdata): Use $(evaluate-test).
22662         * elf/Makefile (tests-special): Rename tests to end with .out.
22663         ($(objpfx)noload-mem): Likewise.
22664         ($(objpfx)tst-leaks1-mem): Likewise.
22665         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22666         * iconv/Makefile (xtests-special): Change test-iconvconfig to
22667         $(objpfx)test-iconvconfig.out.
22668         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
22669         set -e inside subshell and redirect output to file.
22670         * iconvdata/Makefile (generated): Rename tests to end with .out.
22671         Correct type.
22672         (tests-special): Rename tests to end with .out.
22673         ($(objpfx)mtrace-tst-loading): Likewise.
22674         * intl/Makefile (generated): Likewise.
22675         (tests-special): Likewise.
22676         ($(objpfx)mtrace-tst-gettext): Likewise.
22677         * misc/Makefile (generated): Likewise.
22678         (tests-special): Likewise.
22679         ($(objpfx)tst-error1-mem): Likewise.
22680         * nptl/Makefile (tests-special): Likewise.
22681         ($(objpfx)tst-stack3-mem): Likewise.
22682         (generated): Likewise.
22683         * posix/Makefile (generated): Likewise.
22684         (tests-special): Likewise.
22685         (xtests-special): Likewise.
22686         ($(objpfx)tst-fnmatch-mem): Likewise.
22687         ($(objpfx)bug-regex2-mem): Likewise.
22688         ($(objpfx)bug-regex14-mem): Likewise.
22689         ($(objpfx)bug-regex21-mem): Likewise.
22690         ($(objpfx)bug-regex31-mem): Likewise.
22691         ($(objpfx)tst-vfork3-mem): Likewise.
22692         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22693         ($(objpfx)tst-pcre-mem): Likewise.
22694         ($(objpfx)tst-boost-mem): Likewise.
22695         ($(objpfx)bug-ga2-mem): Likewise.
22696         ($(objpfx)bug-glob2-mem): Likewise.
22697         * resolv/Makefile (generate): Likewise.
22698         (tests-special): Likewise.
22699         (xtests-special): Likewise.
22700         (generated): Likewise.
22701         ($(objpfx)mtrace-tst-leaks): Likewise.
22702         ($(objpfx)mtrace-tst-leaks2): Likewise.
22704         * scripts/merge-test-results.sh: New file.
22705         * Makefile (tests-special-notdir): New variable.
22706         (tests): Run merge-test-results.sh.
22707         (xtests): Likewise.
22708         * Rules (tests-special-notdir): New variable.
22709         (xtests-special-notdir): Likewise.
22710         (tests): Run merge-test-results.sh
22711         (xtests): Likewise.
22713         * Makeconfig (test-xfail-name): New variable.
22714         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22715         compute variable name for expected failures.
22716         * conform/Makefile (conformtest-headers-data): New variable.
22717         (conformtest-standards): Likewise.
22718         (conformtest-headers-ISO): Likewise.
22719         (conformtest-headers-ISO99): Likewise.
22720         (conformtest-headers-ISO11): Likewise.
22721         (conformtest-headers-POSIX): Likewise.
22722         (conformtest-headers-XPG3): Likewise.
22723         (conformtest-headers-XPG4): Likewise.
22724         (conformtest-headers-UNIX98): Likewise.
22725         (conformtest-headers-XOPEN2K): Likewise.
22726         (conformtest-headers-POSIX2008): Likewise.
22727         (conformtest-headers-XOPEN2K8): Likewise.
22728         (conformtest-header-list-base): Likewise.
22729         (conformtest-header-list-tests): Likewise.
22730         (conformtest-header-base): Likewise.
22731         (conformtest-header-tests): Likewise.
22732         (tests-special): Add $(conformtest-header-list-tests).  If
22733         [$(fast-check) && !$(cross-compiling)], add
22734         $(conformtest-header-tests) instead of
22735         $(objpfx)run-conformtest.out.
22736         (generated): Add $(conformtest-header-list-base).  If
22737         [$(fast-check) && !$(cross-compiling)], add
22738         $(conformtest-header-base).  Remove previous setting.
22739         ($(conformtest-header-list-tests)): New target.
22740         (test-xfail-run-conformtest): Remove variable.
22741         ($(objpfx)run-conformtest.out): Remove target.
22742         (test-xfail-ISO11/complex.h/conform): New variable.
22743         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22744         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22745         (test-xfail-XPG3/varargs.h/conform): Likewise.
22746         (test-xfail-XPG4/varargs.h/conform): Likewise.
22747         (test-xfail-UNIX98/varargs.h/conform): Likewise.
22748         (test-xfail-XPG4/ndbm.h/conform): Likewise.
22749         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22750         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22751         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22752         (test-xfail-XPG3/fcntl.h/conform): Likewise.
22753         (test-xfail-XPG3/ftw.h/conform): Likewise.
22754         (test-xfail-XPG3/grp.h/conform): Likewise.
22755         (test-xfail-XPG3/langinfo.h/conform): Likewise.
22756         (test-xfail-XPG3/limits.h/conform): Likewise.
22757         (test-xfail-XPG3/pwd.h/conform): Likewise.
22758         (test-xfail-XPG3/search.h/conform): Likewise.
22759         (test-xfail-XPG3/signal.h/conform): Likewise.
22760         (test-xfail-XPG3/stdio.h/conform): Likewise.
22761         (test-xfail-XPG3/stdlib.h/conform): Likewise.
22762         (test-xfail-XPG3/string.h/conform): Likewise.
22763         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22764         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22765         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22766         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22767         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22768         (test-xfail-XPG3/sys/types.h/conform): Likewise.
22769         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22770         (test-xfail-XPG3/termios.h/conform): Likewise.
22771         (test-xfail-XPG3/time.h/conform): Likewise.
22772         (test-xfail-XPG3/unistd.h/conform): Likewise.
22773         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22774         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22775         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22776         (test-xfail-XPG4/netdb.h/conform): Likewise.
22777         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22778         (test-xfail-XPG4/signal.h/conform): Likewise.
22779         (test-xfail-XPG4/stdio.h/conform): Likewise.
22780         (test-xfail-XPG4/stdlib.h/conform): Likewise.
22781         (test-xfail-XPG4/stropts.h/conform): Likewise.
22782         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22783         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22784         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22785         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22786         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22787         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22788         (test-xfail-XPG4/sys/time.h/conform): Likewise.
22789         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22790         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22791         (test-xfail-XPG4/termios.h/conform): Likewise.
22792         (test-xfail-XPG4/ucontext.h/conform): Likewise.
22793         (test-xfail-XPG4/unistd.h/conform): Likewise.
22794         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22795         (test-xfail-POSIX/sched.h/conform): Likewise.
22796         (test-xfail-POSIX/signal.h/conform): Likewise.
22797         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22798         (test-xfail-POSIX/tar.h/conform): Likewise.
22799         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22800         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22801         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22802         (test-xfail-UNIX98/netdb.h/conform): Likewise.
22803         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22804         (test-xfail-UNIX98/sched.h/conform): Likewise.
22805         (test-xfail-UNIX98/signal.h/conform): Likewise.
22806         (test-xfail-UNIX98/stdio.h/conform): Likewise.
22807         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22808         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22809         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22810         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22811         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22812         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22813         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22814         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22815         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22816         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22817         (test-xfail-UNIX98/unistd.h/conform): Likewise.
22818         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22819         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22820         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22821         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22822         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22823         (test-xfail-XOPEN2K/math.h/conform): Likewise.
22824         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22825         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22826         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22827         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22828         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22829         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22830         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22831         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22832         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22833         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22834         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22835         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22836         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22837         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22838         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22839         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22840         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22841         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22842         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22843         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22844         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22845         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22846         (test-xfail-POSIX2008/signal.h/conform): Likewise.
22847         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22848         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22849         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22850         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22851         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22852         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22853         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22854         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22855         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22856         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22857         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22858         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22859         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22860         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22861         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22862         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22863         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22864         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22865         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22866         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22867         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22868         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22869         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22870         (conformtest-cc-flags): Likewise.
22871         ($(conformtest-header-tests): New target.
22872         * conform/check-header-lists.sh: New file.
22873         * conform/run-conformtest.sh: Remove.
22875         * conform/conformtest.pl: Allow ' and \ in values given for
22876         constants.
22877         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22878         inclusion.
22879         [POSIX] (sys/types.h): Likewise.
22880         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22881         inclusion.
22882         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22883         inclusion.
22884         * conform/data/signal.h-data (SIGIO): Remove expectation.
22885         [XPG3] (SIGBUS): Do not expect.
22886         [POSIX || XPG3] (SIGPOLL): Likewise.
22887         [POSIX || XPG3] (SIGPROF): Likewise.
22888         [POSIX || XPG3] (SIGSYS): Likewise.
22889         [XPG3] (SIGTRAP): Likewise.
22890         [POSIX || XPG3] (SIGURG): Likewise.
22891         [POSIX || XPG3] (SIGVTALRM): Likewise.
22892         [POSIX || XPG3] (SIGXCPU): Likewise.
22893         [POSIX || XPG3] (SIGXFSZ): Likewise.
22894         [POSIX] (SA_SIGINFO): Expect.
22895         [XPG3] (siginfo_t): Do not expect type or contents.
22896         [POSIX] (si_pid): Do not expect element.
22897         [POSIX] (si_uid): Likewise.
22898         [POSIX] (si_addr): Likewise.
22899         [POSIX] (si_status): Likewise.
22900         [POSIX] (si_band): Likewise.
22901         [XPG4] (si_value): Likewise.
22902         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22903         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22904         [POSIX || XPG3] (ILL_ILLADR): Likewise.
22905         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22906         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22907         [POSIX || XPG3] (ILL_PRVREG): Likewise.
22908         [POSIX || XPG3] (ILL_COPROC): Likewise.
22909         [POSIX || XPG3] (ILL_BADSTK): Likewise.
22910         [POSIX || XPG3] (FPE_INTDIV): Likewise.
22911         [POSIX || XPG3] (FPE_INTOVF): Likewise.
22912         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22913         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22914         [POSIX || XPG3] (FPE_FLTUND): Likewise.
22915         [POSIX || XPG3] (FPE_FLTRES): Likewise.
22916         [POSIX || XPG3] (FPE_FLTINV): Likewise.
22917         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22918         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22919         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22920         [POSIX || XPG3] (BUS_ADRALN): Likewise.
22921         [POSIX || XPG3] (BUS_ADRERR): Likewise.
22922         [POSIX || XPG3] (BUS_OBJERR): Likewise.
22923         [POSIX || XPG3] (CLD_EXITED): Likewise.
22924         [POSIX || XPG3] (CLD_KILLED): Likewise.
22925         [POSIX || XPG3] (CLD_DUMPED): Likewise.
22926         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22927         [POSIX || XPG3] (CLD_STOPPED): Likewise.
22928         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22929         [POSIX || XPG3] (POLL_IN): Likewise.
22930         [POSIX || XPG3] (POLL_OUT): Likewise.
22931         [POSIX || XPG3] (POLL_MSG): Likewise.
22932         [POSIX || XPG3] (POLL_ERR): Likewise.
22933         [POSIX || XPG3] (POLL_PRI): Likewise.
22934         [POSIX || XPG3] (POLL_HUP): Likewise.
22935         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22936         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22937         (SIG*): Do not allow.
22938         [XPG3] (si_*): Likewise.
22939         [XPG3] (SI_*): Likewise.
22940         [XPG3 || XPG4] (sigev_*): Likewise.
22941         [XPG3 || XPG4] (SIGEV_*): Likewise.
22942         [XPG3 || XPG4] (sival_*): Likewise.
22943         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22944         [POSIX || XPG3] (BUS_*): Likewise.
22945         [POSIX || XPG3] (CLD_*): Likewise.
22946         [POSIX || XPG3] (FPE_*): Likewise.
22947         [POSIX || XPG3] (ILL_*): Likewise.
22948         [POSIX || XPG3] (POLL_*): Likewise.
22949         [POSIX || XPG3] (SEGV_*): Likewise.
22950         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22951         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22952         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22953         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22954         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22955         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22956         Specify type and value.
22957         (TVERSLEN): Likewise.
22958         (REGTYPE): Likewise.
22959         (AREGTYPE): Likewise.
22960         (LNKTYPE): Likewise.
22961         (SYMTYPE): Likewise.
22962         (CHRTYPE): Likewise.
22963         (BLKTYPE): Likewise.
22964         (DIRTYPE): Likewise.
22965         (FIFOTYPE): Likewise.
22966         (CONTTYPE): Likewise.
22967         (TSUID): Likewise.
22968         (TSGID): Likewise.
22969         (TSVTX): Likewise.
22970         (TUREAD): Likewise.
22971         (TUWRITE): Likewise.
22972         (TUEXEC): Likewise.
22973         (TGREAD): Likewise.
22974         (TGWRITE): Likewise.
22975         (TGEXEC): Likewise.
22976         (TOREAD): Likewise.
22977         (TOWRITE): Likewise.
22978         (TOEXEC): Likewise.
22979         [POSIX] (TSVTX): Expect constant.
22981 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
22983         * Makefile (tests): Change dependencies to ....
22984         (tests-special): ... additions to this variable.
22985         (tests): Depend on $(tests-special).
22986         * Makerules (check-abi-list): New variable.
22987         (check-abi): Depend on $(check-abi-list).
22988         [$(subdir) = elf] (tests-special): Add
22989         $(objpfx)check-abi-libc.out.
22990         [$(build-shared) = yes && subdir] (tests-special): Add
22991         $(check-abi-list).
22992         [$(build-shared) = yes && subdir] (tests): Do not depend on
22993         check-abi.
22994         * Rules (tests): Depend on $(tests-special).
22995         (xtests): Depend on $(xtests-special).
22996         * catgets/Makefile (tests): Change dependencies to ....
22997         (tests-special): ... additions to this variable.
22998         * conform/Makefile (tests): Change dependencies to ....
22999         (tests-special): ... additions to this variable.
23000         * elf/Makefile (tests): Change dependencies to ....
23001         (tests-special): ... additions to this variable.
23002         * grp/Makefile (tests): Change dependencies to ....
23003         (tests-special): ... additions to this variable.
23004         * iconv/Makefile (xtests): Change dependencies to ....
23005         (xtests-special): ... additions to this variable.
23006         * iconvdata/Makefile (tests): Change dependencies to ....
23007         (tests-special): ... additions to this variable.
23008         * intl/Makefile (tests): Change dependencies to ....
23009         (tests-special): ... additions to this variable.  Also add
23010         $(objpfx)tst-gettext.out.
23011         * io/Makefile (tests): Change dependencies to ....
23012         (tests-special): ... additions to this variable.
23013         * libio/Makefile (tests): Change dependencies to ....
23014         (tests-special): ... additions to this variable.
23015         * malloc/Makefile (tests): Change dependencies to ....
23016         (tests-special): ... additions to this variable.
23017         * misc/Makefile (tests): Change dependencies to ....
23018         (tests-special): ... additions to this variable.
23019         * nptl/Makefile (tests): Change dependencies to ....
23020         (tests-special): ... additions to this variable.
23021         * nptl_db/Makefile (tests): Change dependencies to ....
23022         (tests-special): ... additions to this variable.
23023         * posix/Makefile (tests): Change dependencies to ....
23024         (tests-special): ... additions to this variable.
23025         (xtests): Change dependencies to ....
23026         (xtests-special): ... additions to this variable.
23027         * resolv/Makefile (tests): Change dependencies to ....
23028         (tests-special): ... additions to this variable.
23029         (xtests): Change dependencies to ....
23030         (xtests-special): ... additions to this variable.
23031         * stdio-common/Makefile (tests): Change dependencies to ....
23032         (tests-special): ... additions to this variable.
23033         (do-tst-unbputc): Remove target.
23034         (do-tst-printf): Likewise.
23035         * stdlib/Makefile (tests): Change dependencies to ....
23036         (tests-special): ... additions to this variable.
23037         * string/Makefile (tests): Change dependencies to ....
23038         (tests-special): ... additions to this variable.
23039         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23040         (tests-special): ... additions to this variable.
23042         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23043         whole file.
23044         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23045         whole file.
23046         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23047         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23049         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23050         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23051         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23052         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23053         * conform/data/libgen.h-data [XPG3]: Likewise.
23054         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23055         * conform/data/ndbm.h-data [XPG3]: Likewise.
23056         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23057         * conform/data/netdb.h-data [XPG3]: Likewise.
23058         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23059         * conform/data/poll.h-data [XPG3]: Likewise.
23060         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23061         * conform/data/strings.h-data [XPG3]: Likewise.
23062         * conform/data/stropts.h-data [XPG3]: Likewise.
23063         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23064         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23065         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23066         Likewise.
23067         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23068         * conform/data/sys/time.h-data [XPG3]: Likewise.
23069         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23070         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23071         * conform/data/sys/un.h-data [XPG3]: Likewise.
23072         * conform/data/syslog.h-data [XPG3]: Likewise.
23073         * conform/data/ucontext.h-data [XPG3]: Likewise.
23074         * conform/data/utmpx.h-data [XPG3]: Likewise.
23075         * conform/data/varargs.h-data [UNIX98]: Enable file.
23077         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23079         * math/libm-test.inc (struct test_f_f_data): Move expected results
23080         into structure for each rounding mode.
23081         (struct test_ff_f_data): Likewise.
23082         (struct test_ff_f_data_nexttoward): Likewise.
23083         (struct test_fi_f_data): Likewise.
23084         (struct test_fl_f_data): Likewise.
23085         (struct test_if_f_data): Likewise.
23086         (struct test_fff_f_data): Likewise.
23087         (struct test_c_f_data): Likewise.
23088         (struct test_f_f1_data): Likewise.
23089         (struct test_fF_f1_data): Likewise.
23090         (struct test_ffI_f1_data): Likewise.
23091         (struct test_c_c_data): Likewise.
23092         (struct test_cc_c_data): Likewise.
23093         (struct test_f_i_data): Likewise.
23094         (struct test_ff_i_data): Likewise.
23095         (struct test_f_l_data): Likewise.
23096         (struct test_f_L_data): Likewise.
23097         (struct test_fFF_11_data): Likewise.
23098         (RM_): New macro.
23099         (RM_FE_DOWNWARD): Likewise.
23100         (RM_FE_TONEAREST): Likewise.
23101         (RM_FE_TOWARDZERO): Likewise.
23102         (RM_FE_UPWARD): Likewise.
23103         (RUN_TEST_LOOP_f_f): Update references to expected results.
23104         (RUN_TEST_LOOP_2_f): Likewise.
23105         (RUN_TEST_LOOP_fff_f): Likewise.
23106         (RUN_TEST_LOOP_c_f): Likewise.
23107         (RUN_TEST_LOOP_f_f1): Likewise.
23108         (RUN_TEST_LOOP_fF_f1): Likewise.
23109         (RUN_TEST_LOOP_fI_f1): Likewise.
23110         (RUN_TEST_LOOP_ffI_f1): Likewise.
23111         (RUN_TEST_LOOP_c_c): Likewise.
23112         (RUN_TEST_LOOP_cc_c): Likewise.
23113         (RUN_TEST_LOOP_f_i): Likewise.
23114         (RUN_TEST_LOOP_f_i_tg): Likewise.
23115         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23116         (RUN_TEST_LOOP_f_b): Likewise.
23117         (RUN_TEST_LOOP_f_b_tg): Likewise.
23118         (RUN_TEST_LOOP_f_l): Likewise.
23119         (RUN_TEST_LOOP_f_L): Likewise.
23120         (RUN_TEST_LOOP_fFF_11): Likewise.
23121         * math/gen-libm-test.pl (parse_args): Output four copies of
23122         expected results for each test.
23124         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23125         (__ASSUME_UTIMES): Remove.
23126         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23127         (__ASSUME_UTIMES): Likewise.
23129         * math/gen-auto-libm-tests.c: Update comment on output format.
23130         (output_for_one_input_case): Generate before-rounding and
23131         after-rounding information as conditions on output flags not
23132         floating-point format.
23133         * math/auto-libm-test-out: Regenerated.
23134         * math/gen-libm-test.pl (cond_value): New function.
23135         (or_cond_value): Use cond_value.
23136         (generate_testfile): Handle conditional exceptions.
23138 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23140         * math/libm-test.inc (max_valid_error): New variable.
23141         (init_max_error): Take new argument specifying whether function
23142         results are exactly determined.  Set max_valid_error and bound
23143         other variables for errors based on this argument.
23144         (set_max_error): Do not record results above max_valid_error.
23145         (check_float_internal): Only accept errors of up to 0.5ulps if
23146         also at most max_valid_error.
23147         (START): Take new argument EXACT and pass it to init_max_error.
23148         (acos_test): Update call to START.
23149         (acos_test_tonearest): Likewise.
23150         (acos_test_towardzero): Likewise.
23151         (acos_test_downward): Likewise.
23152         (acos_test_upward): Likewise.
23153         (acosh_test): Likewise.
23154         (asin_test): Likewise.
23155         (asin_test_tonearest): Likewise.
23156         (asin_test_towardzero): Likewise.
23157         (asin_test_downward): Likewise.
23158         (asin_test_upward): Likewise.
23159         (asinh_test): Likewise.
23160         (atan_test): Likewise.
23161         (atanh_test): Likewise.
23162         (atan2_test): Likewise.
23163         (cabs_test): Likewise.
23164         (cacos_test): Likewise.
23165         (cacosh_test): Likewise.
23166         (carg_test): Likewise.
23167         (casin_test): Likewise.
23168         (casinh_test): Likewise.
23169         (catan_test): Likewise.
23170         (catanh_test): Likewise.
23171         (cbrt_test): Likewise.
23172         (ccos_test): Likewise.
23173         (ccosh_test): Likewise.
23174         (ceil_test): Likewise.
23175         (cexp_test): Likewise.
23176         (cimag_test): Likewise.
23177         (clog_test): Likewise.
23178         (clog10_test): Likewise.
23179         (conj_test): Likewise.
23180         (copysign_test): Likewise.
23181         (cos_test): Likewise.
23182         (cos_test_tonearest): Likewise.
23183         (cos_test_towardzero): Likewise.
23184         (cos_test_downward): Likewise.
23185         (cos_test_upward): Likewise.
23186         (cosh_test): Likewise.
23187         (cosh_test_tonearest): Likewise.
23188         (cosh_test_towardzero): Likewise.
23189         (cosh_test_downward): Likewise.
23190         (cosh_test_upward): Likewise.
23191         (cpow_test): Likewise.
23192         (cproj_test): Likewise.
23193         (creal_test): Likewise.
23194         (csin_test): Likewise.
23195         (csinh_test): Likewise.
23196         (csqrt_test): Likewise.
23197         (ctan_test): Likewise.
23198         (ctan_test_tonearest): Likewise.
23199         (ctan_test_towardzero): Likewise.
23200         (ctan_test_downward): Likewise.
23201         (ctan_test_upward): Likewise.
23202         (ctanh_test): Likewise.
23203         (ctanh_test_tonearest): Likewise.
23204         (ctanh_test_towardzero): Likewise.
23205         (ctanh_test_downward): Likewise.
23206         (ctanh_test_upward): Likewise.
23207         (erf_test): Likewise.
23208         (erfc_test): Likewise.
23209         (exp_test): Likewise.
23210         (exp_test_tonearest): Likewise.
23211         (exp_test_towardzero): Likewise.
23212         (exp_test_downward): Likewise.
23213         (exp_test_upward): Likewise.
23214         (exp10_test): Likewise.
23215         (exp10_test_tonearest): Likewise.
23216         (exp10_test_towardzero): Likewise.
23217         (exp10_test_downward): Likewise.
23218         (exp10_test_upward): Likewise.
23219         (pow10_test): Likewise.
23220         (exp2_test): Likewise.
23221         (expm1_test): Likewise.
23222         (expm1_test_tonearest): Likewise.
23223         (expm1_test_towardzero): Likewise.
23224         (expm1_test_downward): Likewise.
23225         (expm1_test_upward): Likewise.
23226         (fabs_test): Likewise.
23227         (fdim_test): Likewise.
23228         (floor_test): Likewise.
23229         (fma_test): Likewise.
23230         (fma_test_towardzero): Likewise.
23231         (fma_test_downward): Likewise.
23232         (fma_test_upward): Likewise.
23233         (fmax_test): Likewise.
23234         (fmin_test): Likewise.
23235         (fmod_test): Likewise.
23236         (fpclassify_test): Likewise.
23237         (frexp_test): Likewise.
23238         (hypot_test): Likewise.
23239         (ilogb_test): Likewise.
23240         (isfinite_test): Likewise.
23241         (finite_test): Likewise.
23242         (isgreater_test): Likewise.
23243         (isgreaterequal_test): Likewise.
23244         (isinf_test): Likewise.
23245         (isless_test): Likewise.
23246         (islessequal_test): Likewise.
23247         (islessgreater_test): Likewise.
23248         (isnan_test): Likewise.
23249         (isnormal_test): Likewise.
23250         (issignaling_test): Likewise.
23251         (isunordered_test): Likewise.
23252         (j0_test): Likewise.
23253         (j1_test): Likewise.
23254         (jn_test): Likewise.
23255         (ldexp_test): Likewise.
23256         (lgamma_test): Likewise.
23257         (gamma_test): Likewise.
23258         (lrint_test): Likewise.
23259         (lrint_test_tonearest): Likewise.
23260         (lrint_test_towardzero): Likewise.
23261         (lrint_test_downward): Likewise.
23262         (lrint_test_upward): Likewise.
23263         (llrint_test): Likewise.
23264         (llrint_test_tonearest): Likewise.
23265         (llrint_test_towardzero): Likewise.
23266         (llrint_test_downward): Likewise.
23267         (llrint_test_upward): Likewise.
23268         (log_test): Likewise.
23269         (log10_test): Likewise.
23270         (log1p_test): Likewise.
23271         (log2_test): Likewise.
23272         (logb_test): Likewise.
23273         (logb_test_downward): Likewise.
23274         (lround_test): Likewise.
23275         (llround_test): Likewise.
23276         (modf_test): Likewise.
23277         (nearbyint_test): Likewise.
23278         (nextafter_test): Likewise.
23279         (nexttoward_test): Likewise.
23280         (pow_test): Likewise.
23281         (pow_test_tonearest): Likewise.
23282         (pow_test_towardzero): Likewise.
23283         (pow_test_downward): Likewise.
23284         (pow_test_upward): Likewise.
23285         (remainder_test): Likewise.
23286         (drem_test): Likewise.
23287         (remainder_test_tonearest): Likewise.
23288         (drem_test_tonearest): Likewise.
23289         (remainder_test_towardzero): Likewise.
23290         (drem_test_towardzero): Likewise.
23291         (remainder_test_downward): Likewise.
23292         (drem_test_downward): Likewise.
23293         (remainder_test_upward): Likewise.
23294         (drem_test_upward): Likewise.
23295         (remquo_test): Likewise.
23296         (rint_test): Likewise.
23297         (rint_test_tonearest): Likewise.
23298         (rint_test_towardzero): Likewise.
23299         (rint_test_downward): Likewise.
23300         (rint_test_upward): Likewise.
23301         (round_test): Likewise.
23302         (scalb_test): Likewise.
23303         (scalbn_test): Likewise.
23304         (scalbln_test): Likewise.
23305         (signbit_test): Likewise.
23306         (sin_test): Likewise.
23307         (sin_test_tonearest): Likewise.
23308         (sin_test_towardzero): Likewise.
23309         (sin_test_downward): Likewise.
23310         (sin_test_upward): Likewise.
23311         (sincos_test): Likewise.
23312         (sinh_test): Likewise.
23313         (sinh_test_tonearest): Likewise.
23314         (sinh_test_towardzero): Likewise.
23315         (sinh_test_downward): Likewise.
23316         (sinh_test_upward): Likewise.
23317         (sqrt_test): Likewise.
23318         (sqrt_test_tonearest): Likewise.
23319         (sqrt_test_towardzero): Likewise.
23320         (sqrt_test_downward): Likewise.
23321         (sqrt_test_upward): Likewise.
23322         (tan_test): Likewise.
23323         (tan_test_tonearest): Likewise.
23324         (tan_test_towardzero): Likewise.
23325         (tan_test_downward): Likewise.
23326         (tan_test_upward): Likewise.
23327         (tanh_test): Likewise.
23328         (tgamma_test): Likewise.
23329         (trunc_test): Likewise.
23330         (y0_test): Likewise.
23331         (y1_test): Likewise.
23332         (yn_test): Likewise.
23333         (significand_test): Likewise.
23335         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23336         individual tests in comment.
23337         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23338         (prev_max_error): New variable.
23339         (prev_real_max_error): Likewise.
23340         (prev_imag_max_error): Likewise.
23341         (compare_ulp_data): Don't refer to test names in comment.
23342         (find_test_ulps): Remove function.
23343         (find_function_ulps): Likewise.
23344         (find_complex_function_ulps): Likewise.
23345         (init_max_error): Take function name as argument.  Look up ulps
23346         for that function.
23347         (print_ulps): Remove function.
23348         (print_max_error): Use prev_max_error instead of calling
23349         find_function_ulps.
23350         (print_complex_max_error): Use prev_real_max_error and
23351         prev_imag_max_error instead of calling find_complex_function_ulps.
23352         (check_float_internal): Take max_ulp parameter instead of calling
23353         find_test_ulps.  Don't call print_ulps.
23354         (check_float): Update call to check_float_internal.
23355         (check_complex): Update calls to check_float_internal.
23356         (START): Pass argument to init_max_error.
23357         * math/gen-libm-test.pl (%results): Don't include "kind"
23358         information.
23359         (parse_ulps): Don't handle ulps of individual tests.
23360         (print_ulps_file): Likewise.
23361         (output_ulps): Likewise.
23362         * math/README.libm-test: Update.
23363         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23364         individual tests.
23365         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23366         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23367         * sysdeps/arm/libm-test-ulps: Likewise.
23368         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23369         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23370         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23371         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23372         * sysdeps/microblaze/libm-test-ulps: Likewise.
23373         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23374         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23375         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23376         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23377         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23378         * sysdeps/sh/libm-test-ulps: Likewise.
23379         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23380         * sysdeps/tile/libm-test-ulps: Likewise.
23381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23383 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23385         * math/libm-test.inc (print_complex_max_error): Check separately
23386         whether real and imaginary errors are within allowed range and
23387         pass 0 to print_complex_function_ulps instead of value within
23388         allowed range.
23390 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23392         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23393         formatting.
23394         (get_handles_fopen): Likewise.
23395         (do_write_test): Likewise.
23397         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23399         * libio/fileops.c (do_ftell): Use cached offset when
23400         available.
23401         * libio/iofwide.c (do_ftell_wide): Likewise.
23402         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23403         _IO_file_attach.
23404         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23406         [BZ #16532]
23407         * libio/libioP.h (get_file_offset): New function.
23408         * libio/fileops.c (get_file_offset): Likewise.
23409         (do_ftell): Likewise.
23410         (_IO_new_file_seekoff): Split out ftell logic.
23411         * libio/wfileops.c (do_ftell_wide): Likewise.
23412         (_IO_wfile_seekoff): Split out ftell logic.
23413         * libio/tst-ftell-active-handler.c: New test case.
23414         * libio/Makefile (tests): Add it.
23416 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23418         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23419         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23421 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23423         [BZ #16639]
23424         * nscd/connections.c (nscd_init): Call do_exit.
23425         (start_threads): Call do_exit and notify_parent.
23426         (begin_drop_privileges): Call do_exit.
23427         (finish_drop_privileges): Likewise.
23428         * nscd/selinux.c (preserve_capabilities): Likewise.
23429         (install_real_capabilities): Likewise.
23430         (nscd_selinux_enabled): Likewise.
23431         (avc_create_thread): Likewise.
23432         (avc_alloc_lock): Likewise.
23433         (nscd_avc_init): Likewise.
23434         * nscd/nscd.c (parent_fd): New static variable.
23435         (main): Create a pipe between parent and child processes.
23436         Skip closing parent_fd.
23437         (monitor_child): New function.
23438         (do_exit): Likewise.
23439         (notify_parent): Likewise.
23440         * nscd/nscd.h (notify_parent): Likewise.
23441         (do_exit): Likewise.
23443 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
23445         * malloc/malloc.c (__libc_calloc): Revert last change.
23447 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23451 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23453         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23454         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23455         implementation.
23456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23457         (__libc_ifunc_impl_list): Likewise.
23458         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23459         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23460         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23461         * string/strrchr.c: Define STRRCHR.
23463 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
23465         * benchtest/bench-strtok.c (simple_strtok): Delete.
23466         (strtok_string): Use as benchmark.
23467         * string/strtok (STRTOK): New macro.
23469 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
23471         * manual/threads.texi: Add header and standard comments to all
23472         functions.
23474         * elf/dl-lookup.c (check_match): New function.
23475         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23476         (do_lookup_x): Remove nested function check_match. Use non-nested
23477         function check_match.
23479 2014-02-28  Roland McGrath  <roland@hack.frob.com>
23481         * csu/Makefile (generated, before-compile): Use += rather than =.
23482         * catgets/Makefile (generated, generated-dirs): Likewise.
23483         * debug/Makefile (generated): Likewise.
23484         * dlfcn/Makefile (generated): Likewise.
23485         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23486         * iconvdata/Makefile (before-compile, generated): Likewise.
23487         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23488         * libio/Makefile (generated): Likewise.
23489         * malloc/Makefile (generated): Likewise.
23490         * manual/Makefile (generated, generated-dirs): Likewise.
23491         * misc/Makefile (generated): Likewise.
23492         * posix/Makefile (generated): Likewise.
23493         * resolv/Makefile (generated): Likewise.
23494         * sunrpc/Makefile (generated, generated-dirs): Likewise.
23495         * timezone/Makefile (generated, generated-dirs): Likewise.
23497         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23499 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23501         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23502         power8 implementation.
23503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23504         file: POWER8 llround ifunc implementation.
23505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23506         (__lllround): Add POWER8 implementation.
23507         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23508         POWER8 llround implementation.
23510         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23511         power8 implementation.
23512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23513         file: POWER8 llrint ifunc implementation.
23514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23515         Add POWER8 implementation.
23516         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23517         POWER8 llrint implementation.
23519         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23520         power8 implementation.
23521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23522         file: POWER8 finite ifunc implementation.
23523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23524         Add POWER8 implementation.
23525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23526         Likewise.
23527         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23528         POWER8 finite implementation.
23529         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23531         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23532         power8 implementation.
23533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23534         file: POWER8 isinf ifunc implementation.
23535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23536         POWER8 implementation.
23537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23538         Likewise.
23539         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23540         isinf implementation.
23541         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23543         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23544         (INIT_ARCH): Add hwcap2 initialization.
23545         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23546         power8 implementation.
23547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23548         file: POWER8 isnan ifunc implementation.
23549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23550         POWER8 implementation.
23551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23552         Likewise.
23553         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23554         isnan implementation.
23555         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23557 2014-02-27  Joey Ye  <joey.ye@arm.com>
23559         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23560         (_FP_NANFRAC_Q): Set to zero.
23562 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23564         [BZ #16623]
23565         * math/auto-libm-test-in: New test inputs.
23566         * math/auto-libm-test-out: Regenerate.
23567         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23568         and DA.
23569         (__cos): Likewise.
23570         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23572 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
23574         * scripts/evaluate-test.sh: Take new argument indicating whether
23575         failure is expected.
23576         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23577         indicating whether failure is expected.
23578         * conform/Makefile (test-xfail-run-conformtest): New variable.
23579         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23580         level.
23581         * posix/Makefile (test-xfail-annexc): New variable.
23582         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23584 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
23586         * argp/Makefile: Include Makeconfig immediately after defining
23587         subdir.
23588         * assert/Makefile: Likewise.
23589         * benchtests/Makefile: Likewise.
23590         * catgets/Makefile: Likewise.
23591         * conform/Makefile: Likewise.
23592         * crypt/Makefile: Likewise.
23593         * csu/Makefile: Likewise.
23594         (all): Remove target.
23595         * ctype/Makefile: Include Makeconfig immediately after defining
23596         subdir.
23597         * debug/Makefile: Likewise.
23598         * dirent/Makefile: Likewise.
23599         * dlfcn/Makefile: Likewise.
23600         * gmon/Makefile: Likewise.
23601         * gnulib/Makefile: Likewise.
23602         * grp/Makefile: Likewise.
23603         * gshadow/Makefile: Likewise.
23604         * hesiod/Makefile: Likewise.
23605         * hurd/Makefile: Likewise.
23606         (all): Remove target.
23607         * iconvdata/Makefile: Include Makeconfig immediately after
23608         defining subdir.
23609         * inet/Makefile: Likewise.
23610         * intl/Makefile: Likewise.
23611         * io/Makefile: Likewise.
23612         * libio/Makefile: Likewise.
23613         (all): Remove target.
23614         * locale/Makefile: Include Makeconfig immediately after defining
23615         subdir.
23616         * login/Makefile: Likewise.
23617         * mach/Makefile: Likewise.
23618         (all): Remove target.
23619         * malloc/Makefile: Include Makeconfig immediately after defining
23620         subdir.
23621         (all): Remove target.
23622         * manual/Makefile: Include Makeconfig immediately after defining
23623         subdir.
23624         * math/Makefile: Likewise.
23625         * misc/Makefile: Likewise.
23626         * nis/Makefile: Likewise.
23627         * nss/Makefile: Likewise.
23628         * po/Makefile: Likewise.
23629         (all): Remove target.
23630         * posix/Makefile: Include Makeconfig immediately after defining
23631         subdir.
23632         * pwd/Makefile: Likewise.
23633         * resolv/Makefile: Likewise.
23634         * resource/Makefile: Likewise.
23635         * rt/Makefile: Likewise.
23636         * setjmp/Makefile: Likewise.
23637         * shadow/Makefile: Likewise.
23638         * signal/Makefile: Likewise.
23639         * socket/Makefile: Likewise.
23640         * soft-fp/Makefile: Likewise.
23641         * stdio-common/Makefile: Likewise.
23642         * stdlib/Makefile: Likewise.
23643         * streams/Makefile: Likewise.
23644         * string/Makefile: Likewise.
23645         * sunrpc/Makefile: Likewise.
23646         (all): Remove target.
23647         * sysvipc/Makefile: Include Makeconfig immediately after defining
23648         subdir.
23649         * termios/Makefile: Likewise.
23650         * time/Makefile: Likewise.
23651         * timezone/Makefile: Likewise.
23652         (all): Remove target.
23653         * wcsmbs/Makefile: Include Makeconfig immediately after defining
23654         subdir.
23655         * wctype/Makefile: Likewise.
23657 2014-02-26  Steve Ellcey  <sellcey@mips.com>
23659         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
23660         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
23661         (libc_feholdexcept_setround_mips): Ditto.
23662         (libc_feholdsetround): New.
23663         (libc_feholdsetroundf): New.
23664         (libc_feholdsetroundl): New.
23665         (libc_feupdateenv_test_mips): New.
23666         (libc_feupdateenv_test): New.
23667         (libc_feupdateenv_testf): New.
23668         (libc_feupdateenv_testl): New.
23669         (libc_feresetround): New.
23670         (libc_feresetroundf): New.
23671         (libc_feresetroundl): New.
23672         (libc_fetestexcept_mips): New.
23673         (libc_fetestexcept): New.
23674         (libc_fetestexceptf): New.
23675         (libc_fetestexceptl): New.
23676         (HAVE_RM_CTX): New.
23677         (libc_feholdexcept_setround_mips_ctx): New.
23678         (libc_feholdexcept_setround_ctx): New.
23679         (libc_feholdexcept_setroundf_ctx): New.
23680         (libc_feholdexcept_setroundl_ctx): New.
23681         (libc_fesetenv_mips_ctx): New.
23682         (libc_fesetenv_ctx): New.
23683         (libc_fesetenv_ctxf): New.
23684         (libc_fesetenv_ctxl): New.
23685         (libc_feupdateenv_mips_ctx): New.
23686         (libc_feupdateenv_ctx): New.
23687         (libc_feupdateenvf_ctx): New.
23688         (libc_feupdateenvl_ctx): New.
23689         (libc_feholdsetround_mips_ctx): New.
23690         (libc_feholdsetround_ctx): New.
23691         (libc_feholdsetroundf_ctx): New.
23692         (libc_feholdsetroundl_ctx): New.
23693         (libc_feresetround_mips_ctx): New.
23694         (libc_feresetround_ctx): New.
23695         (libc_feresetroundf_ctx): New.
23696         (libc_feresetroundl_ctx): New.
23698 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
23700         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23702         * manual/ipc.texi: New file.
23703         * manual/Makefile (chapters): Add ipc.
23704         * manual/job.texi: Add "Inter-Process Communication" to next.
23705         * manual/process.texi: Add "Inter-Process Communication" to prev.
23707 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23711 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
23713         * malloc/malloc.c (__libc_calloc): Simplify implementation.
23715         * manual/arith.texi: Fix spaces after sentences.
23716         * manual/charset.texi: Likewise.
23717         * manual/errno.texi: Likewise.
23718         * manual/install.texi: Likewise.
23719         * manual/llio.texi: Likewise.
23720         * manual/locale.texi: Likewise.
23721         * manual/maint.texi: Likewise.
23722         * manual/math.texi: Likewise.
23723         * manual/memory.texi: Likewise.
23724         * manual/message.texi: Likewise.
23725         * manual/probes.texi: Likewise.
23726         * manual/resource.texi: Likewise.
23727         * manual/signal.texi: Likewise.
23728         * manual/socket.texi: Likewise.
23729         * manual/stdio.texi: Likewise.
23730         * manual/string.texi: Likewise.
23731         * manual/time.texi: Likewise.
23732         * manual/users.texi: Likewise.
23734 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
23736         [BZ #16632]
23737         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23738         _DEFAULT_SOURCE is defined.
23740 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
23741             Carlos O'Donell  <carlos@redhat.com>
23743         [BZ #16613]
23744         * elf/dl-tls.c (_dl_count_modids): New function.
23745         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23746         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23747         audit library and increment generation counter.
23748         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23749         * elf/tst-audit9.c: New file.
23750         * elf/tst-auditmod9a.c: New file.
23751         * elf/tst-auditmod9b.c: New file.
23752         * elf/Makefile: Add rules to build and run tst-audit9.
23754 2014-02-25  Florian Weimer  <fweimer@redhat.com>
23756         [BZ #15347]
23757         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23759 2014-02-25  Will Newton  <will.newton@linaro.org>
23761         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23762         (__longjmp): Restore sp and lr before restoring callee
23763         saved registers.  Add longjmp and longjmp_target
23764         SystemTap probe point.
23765         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23766         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23767         Define to zero to match jmpbuf layout.
23768         * sysdeps/arm/setjmp.S: Include stap-probe.h.
23769         (__sigsetjmp): Save sp and lr before saving callee
23770         saved registers.  Add setjmp SystemTap probe point.
23772 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23774         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23776 2014-02-24  Andreas Schwab  <schwab@suse.de>
23778         [BZ #15804]
23779         * elf/pldd.c (wait_for_ptrace_stop): New function.
23780         (main): Call it after attaching.
23782 2014-02-22  Roland McGrath  <roland@hack.frob.com>
23784         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23785         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23786         Versions files is now verboten.
23787         * hurd/Versions (libc: GLIBC_2.0):
23788         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23789         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23790         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23791         * mach/Versions: Likewise.
23793         * csu/Versions: Remove unused %include.
23794         * resolv/Versions: Likewise.
23796 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
23798         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23799         ($(objpfx)check-local-headers.out): Likewise.
23800         ($(objpfx)begin-end-check.out): Likewise.
23801         * Makerules (check-abi-%.out): Likewise.
23802         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23803         ($(objpfx)test2.cat): Likewise.
23804         ($(objpfx)de/libc.cat): Likewise.
23805         ($(objpfx)test-gencat.out): Likewise.
23806         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23807         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23808         ($(objpfx)noload-mem): Likewise.
23809         ($(objpfx)tst-pathopt.out): Likewise.
23810         ($(objpfx)tst-rtld-load-self.out): Likewise.
23811         ($(objpfx)tst-array1-cmp.out): Likewise.
23812         ($(objpfx)tst-array1-static-cmp.out): Likewise.
23813         ($(objpfx)tst-array2-cmp.out): Likewise.
23814         ($(objpfx)tst-array3-cmp.out): Likewise.
23815         ($(objpfx)tst-array4-cmp.out): Likewise.
23816         ($(objpfx)tst-array5-cmp.out): Likewise.
23817         ($(objpfx)tst-array5-static-cmp.out): Likewise.
23818         ($(objpfx)check-textrel.out): Likewise.
23819         ($(objpfx)check-execstack.out): Likewise.
23820         ($(objpfx)check-localplt.out): Likewise.
23821         ($(objpfx)order2-cmp.out): Likewise.
23822         ($(objpfx)tst-leaks1-mem): Likewise.
23823         ($(objpfx)tst-leaks1-static-mem): Likewise.
23824         ($(objpfx)tst-initorder-cmp.out): Likewise.
23825         ($(objpfx)tst-initorder2-cmp.out): Likewise.
23826         ($(objpfx)tst-unused-dep.out): Likewise.
23827         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23828         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23829         * iconv/Makefile (test-iconvconfig): Likewise.
23830         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23831         ($(objpfx)iconv-test.out): Likewise.
23832         ($(objpfx)tst-tables.out): Likewise.
23833         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23834         ($(objpfx)tst-gettext.out): Likewise.
23835         ($(objpfx)tst-translit.out): Likewise.
23836         ($(objpfx)tst-gettext2.out): Likewise.
23837         ($(objpfx)tst-gettext4.out): Likewise.
23838         ($(objpfx)tst-gettext6.out): Likewise.
23839         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23840         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23841         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23842         ($(objpfx)tst-fopenloc-mem.out): Likewise.
23843         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23844         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23845         * posix/Makefile ($(objpfx)globtest.out): Likewise.
23846         ($(objpfx)wordexp-tst.out): Likewise.
23847         ($(objpfx)annexc.out): Likewise.
23848         ($(objpfx)tst-fnmatch-mem): Likewise.
23849         ($(objpfx)bug-regex2-mem): Likewise.
23850         ($(objpfx)bug-regex14-mem): Likewise.
23851         ($(objpfx)bug-regex21-mem): Likewise.
23852         ($(objpfx)bug-regex31-mem): Likewise.
23853         ($(objpfx)tst-vfork3-mem): Likewise.
23854         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23855         ($(objpfx)tst-pcre-mem): Likewise.
23856         ($(objpfx)tst-boost-mem): Likewise.
23857         ($(objpfx)tst-getconf.out): Likewise.
23858         ($(objpfx)bug-ga2-mem): Likewise.
23859         ($(objpfx)bug-glob2-mem): Likewise.
23860         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23861         ($(objpfx)mtrace-tst-leaks2): Likewise.
23862         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23863         ($(objpfx)tst-printf.out): Likewise.
23864         ($(objpfx)tst-setvbuf1.out): Likewise.
23865         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23866         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23867         ($(objpfx)tst-fmtmsg.out): Likewise.
23868         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23869         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23871         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23872         * bits/sigaction.h [__USE_MISC]: Likewise.
23873         * bits/waitstatus.h: Update #endif comments.
23874         * ctype/ctype.h: Likewise.
23875         * dirent/dirent.h: Likewise.
23876         [__USE_MISC]: Remove redundant conditionals.
23877         * grp/grp.h: Update #endif comments.
23878         [__USE_GNU]: Remove redundant conditionals.
23879         [__USE_MISC]: Likewise.
23880         * inet/netinet/in.h [__USE_GNU]: Likewise.
23881         * io/sys/stat.h [__USE_MISC]: Likewise.
23882         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23883         * libio/bits/stdio.h: Update #endif comments.
23884         [__USE_MISC]: Remove redundant conditionals.
23885         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23886         * libio/stdio.h: Update #endif comments.
23887         [__USE_MISC]: Remove redundant conditionals.
23888         * math/bits/math-finite.h [__USE_MISC]: Likewise.
23889         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23890         * math/math.h: Update #else and #endif comments.
23891         [__USE_MISC]: Remove redundant conditionals.
23892         * misc/sys/uio.h: Update #endif comments.
23893         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23894         * posix/glob.h [__USE_MISC]: Likewise.
23895         * posix/sys/types.h: Update #endif comments.
23896         [__USE_MISC]: Remove redundant conditionals.
23897         * posix/sys/wait.h: Update #endif comments.
23898         [__USE_MISC]: Remove redundant conditionals.
23899         * posix/unistd.h: Update #endif comments.
23900         [__USE_MISC]: Remove redundant conditionals.
23901         * pwd/pwd.h [__USE_GNU]: Likewise.
23902         [__USE_MISC]: Likewise.
23903         * resolv/netdb.h [__USE_GNU]: Likewise.
23904         * signal/signal.h: Update #endif comments.
23905         [__USE_MISC]: Remove redundant conditionals.
23906         * stdlib/stdlib.h: Update #else and #endif comments.
23907         [__USE_MISC]: Remove redundant conditionals.
23908         [__USE_GNU]: Likewise.
23909         * string/bits/string2.h [__USE_MISC]: Likewise.
23910         * string/string.h: Update #endif comments.
23911         [__USE_MISC]: Remove redundant conditionals.
23912         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23913         Likewise.
23914         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23915         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23916         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23917         Likewise.
23918         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23919         Likewise.
23920         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23921         comments.
23922         [__USE_MISC]: Remove redundant conditionals.
23923         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23924         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23925         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23926         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23927         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23928         Likewise.
23929         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23930         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23931         Likewise.
23932         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23933         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23934         Likewise.
23935         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23936         Likewise.
23937         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23938         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23939         Likewise.
23940         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23941         Likewise.
23942         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23943         * sysdeps/x86/bits/string.h: Update #endif comments.
23944         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23945         conditionals.
23946         * time/sys/time.h: Update #endif comments.
23947         * time/time.h: Likewise.
23948         [__USE_MISC]: Remove redundant conditionals.
23950 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
23952         [BZ #16600]
23953         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23955 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
23957         * Versions.def (librt): Add GLIBC_2.17.
23959 2014-02-21  Adam Conrad  <adconrad@0c3.net>
23961         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23962         synonym for _SYS_AUXV_H to allow direct inclusion.
23963         * sysdeps/sparc/bits/hwcap.h: Likewise.
23964         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23965         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23966         * sysdeps/sparc/sysdep.h: Likewise.
23968 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23970         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23972 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23974         * benchtests/bench-strrchr.c: Print length instead of position.
23976 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
23978         [BZ #16611]
23979         * sysdeps/unix/sysv/linux/kernel-features.h
23980         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23981         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
23982         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
23983         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
23984         Likewise.
23985         [__i386__ || __powerpc__ || __sh__ || __sparc__]
23986         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23987         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
23988         (__ASSUME_SENDMMSG): Define instead of using previous
23989         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23990         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23991         (__ASSUME_SENDMMSG_SYSCALL): Define.
23992         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23993         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23994         Likewise.
23995         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23996         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23997         Likewise.
23998         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23999         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24000         Likewise.
24001         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24002         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24003         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24004         [__ASSUME_SENDMMSG]: Change conditionals to
24005         [__ASSUME_SENDMMSG_SOCKETCALL].
24006         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24007         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24008         Define.
24009         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24010         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24011         Likewise.
24012         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24013         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24014         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24015         [!__ASSUME_SENDMMSG]: Change conditional to
24016         [!__ASSUME_SENDMMSG_SOCKETCALL].
24017         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24018         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24019         Define.
24021         [BZ #16610]
24022         * sysdeps/unix/sysv/linux/kernel-features.h
24023         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24024         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24025         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24026         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24027         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24028         [__i386__ || __sparc__]
24029         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24030         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24031         (__ASSUME_RECVMMSG): Define instead of using previous
24032         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24033         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24034         (__ASSUME_RECVMMSG_SYSCALL): Define.
24035         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24036         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24037         Likewise.
24038         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24039         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24040         Likewise.
24041         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24042         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24043         Likewise.
24044         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24045         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24046         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24047         [__ASSUME_RECVMMSG]: Change condition to
24048         [__ASSUME_RECVMMSG_SOCKETCALL].
24049         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24050         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24051         Define.
24052         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24053         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24054         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24055         Likewise.
24056         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24057         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24058         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24059         [!__ASSUME_RECVMMSG]: Change condition to
24060         [!__ASSUME_RECVMMSG_SOCKETCALL].
24061         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24062         (__ASSUME_RECVMMSG_SYSCALL): Define.
24064         [BZ #16609]
24065         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24066         __powerpc__ || __s390__ || __sh__ || __sparc__]
24067         (__ASSUME_SOCKETCALL): Define.
24068         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24069         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24070         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24071         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24072         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24073         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24074         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24075         (__ASSUME_ACCEPT4): Define instead of using previous
24076         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24077         __powerpc__ || __sparc__ || __s390__)] condition.
24078         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24079         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24080         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24081         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24082         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24083         [!__ASSUME_ACCEPT4]: Change condition to
24084         [!__ASSUME_ACCEPT4_SOCKETCALL].
24085         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24086         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24087         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24088         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24089         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24090         __ASSUME_ACCEPT4_SYSCALL.
24091         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24092         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24093         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24094         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24095         __ASSUME_ACCEPT4_SYSCALL.
24096         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24097         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24098         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24099         [__ASSUME_ACCEPT4]: Change condition to
24100         [__ASSUME_ACCEPT4_SOCKETCALL].
24101         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24102         (__ASSUME_SOCKETCALL): Define.
24103         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24104         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24105         (__ASSUME_SOCKETCALL): Define.
24106         (__ASSUME_ACCEPT4): Remove.
24107         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24108         Define.
24109         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24110         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24111         Likewise.
24112         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24113         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24115         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24116         macro.
24117         (HWCAP_ARM_LPAE): Likewise.
24118         (HWCAP_ARM_EVTSTRM): Likewise.
24119         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24120         Add vpfd32, lpae and evtstrm.
24121         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24122         Increase to 22.
24124 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24126         * math/auto-libm-test-in: Add tests of clog10.
24127         * math/auto-libm-test-out: Regenerated.
24128         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24129         * sysdeps/i386/fpu/libm-test-ulps: Update.
24130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24132 2014-02-18  Andreas Schwab  <schwab@suse.de>
24134         [BZ #16574]
24135         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24136         Store non-zero if the second buffer was newly allocated.
24137         (send_dg): Likewise.
24138         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24139         to send_vc and send_dg.
24140         (res_nsend): Pass NULL for ansp2_malloced.
24141         * resolv/res_query.c (__libc_res_nquery): Add parameter
24142         answerp2_malloced and pass it down to __libc_res_nsend.
24143         (res_nquery): Pass additional NULL to __libc_res_nquery.
24144         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24145         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24146         second answer buffer if answerp2_malloced was set.
24147         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24148         (__libc_res_nquerydomain): Add parameter
24149         answerp2_malloced and pass it down to __libc_res_nquery.
24150         (res_nquerydomain): Pass additional NULL to
24151         __libc_res_nquerydomain.
24152         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24153         additional NULL to __libc_res_nsend and __libc_res_nquery.
24154         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24155         additional NULL to __libc_res_nsearch.
24156         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24157         parameter of __libc_res_nsearch to check for separately allocated
24158         second buffer.
24159         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24160         __libc_res_nquery.
24161         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24162         additional NULL to __libc_res_nquery.
24163         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24164         __libc_res_nsearch.
24165         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24166         * include/resolv.h: Update prototypes of __libc_res_nquery,
24167         __libc_res_nsearch, __libc_res_nsend.
24169 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24171         * math/auto-libm-test-in: Add tests of fma.
24172         * math/auto-libm-test-out: Regenerated.
24173         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24174         (fma_towardzero_test_data): Likewise.
24175         (fma_downward_test_data): Likewise.
24176         (fma_upward_test_data): Likewise.
24177         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24178         mpc_mode.
24179         (rounding_modes): Add values for new field.
24180         (func_calc_method): Add value mpfr_fff_f.
24181         (func_calc_desc): Add mpfr_fff_f union field.
24182         (test_function): Add field exact_args.
24183         (FUNC): Add macro argument EXACT_ARGS.
24184         (FUNC_mpfr_f_f): Update call to FUNC.
24185         (FUNC_mpfr_f_f): Likewise.
24186         (FUNC_mpfr_ff_f): Likewise.
24187         (FUNC_mpfr_if_f): Likewise.
24188         (FUNC_mpc_c_f): Likewise.
24189         (FUNC_mpc_c_c): Likewise.
24190         (test_functions): Add fma.  Update calls to FUNC.
24191         (handle_input_arg): Add argument exact_args.
24192         (add_test): Update call to handle_input_arg.
24193         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24194         (output_for_one_input_case): Update call to calc_generic_results.
24195         Recalculate exact zero results in each rounding mode.
24197         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24198         non-negative before setting low bit.
24199         * math/auto-libm-test-in: Mark one asin test possibly having
24200         spurious underflow.
24201         * math/auto-libm-test-out: Regenerated.
24202         * sysdeps/i386/fpu/libm-test-ulps: Update.
24203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24205 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24207         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24208         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24209         ports/sysdeps/unix/sysv/linux/microblaze.
24210         * README: Add missing listing for microblaze*-*-linux-gnu.
24212 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24214         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24215         duplicate code
24217 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24219         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24220         * sysdeps/unix/sysv/linux/ia64: Move directory from
24221         ports/sysdeps/unix/sysv/linux/ia64.
24222         * README: Update listing for ia64-*-linux-gnu.
24224 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24225             Joseph Myers  <joseph@codesourcery.com>
24227         * Makeconfig (test-name): New variable.
24228         (evaluate-test): Likewise.
24229         * Makerules (do-test-clean): Remove .test-result files.
24230         (common-mostlyclean): Likewise.
24231         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24232         * scripts/evaluate-test.sh: New file.
24234 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24236         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24237         separate $(objpfx)tst-fopenloc-cmp.out and
24238         $(objpfx)tst-fopenloc-mem.out targets.
24239         (tests): Update dependencies.
24240         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24241         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24242         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24243         (tst-rxspencer-no-utf8-ARGS): New variable.
24244         (tst-rxspencer-no-utf8-ENV): Likewise.
24245         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24246         instead of $(objpfx)tst-rxspencer-mem.
24247         ($(objpfx)tst-rxspencer-mem): Change target to
24248         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24249         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24250         * posix/tst-rxspencer-no-utf8.c: New file.
24252         * elf/Makefile ($(objpfx)order.out): Remove rule.
24253         [$(run-built-tests) = yes] (tests): Depend on
24254         $(objpfx)order-cmp.out.
24255         ($(objpfx)order-cmp.out): New rule.
24256         [$(run-built-tests) = yes] (tests): Depend on
24257         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24258         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24259         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24260         $(objpfx)tst-array5-static-cmp.out.
24261         ($(objpfx)tst-array1.out): Remove rule.
24262         ($(objpfx)tst-array1-cmp.out): New rule.
24263         ($(objpfx)tst-array1-static.out): Remove rule.
24264         ($(objpfx)tst-array1-static-cmp.out): New rule.
24265         ($(objpfx)tst-array2.out): Remove rule.
24266         ($(objpfx)tst-array2-cmp.out): New rule.
24267         ($(objpfx)tst-array3.out): Remove rule.
24268         ($(objpfx)tst-array3-cmp.out): New rule.
24269         ($(objpfx)tst-array4.out): Remove rule.
24270         ($(objpfx)tst-array4-cmp.out): New rule.
24271         ($(objpfx)tst-array5.out): Remove rule.
24272         ($(objpfx)tst-array5-cmp.out): New rule.
24273         ($(objpfx)tst-array5-static.out): Remove rule.
24274         ($(objpfx)tst-array5-static-cmp.out): New rule.
24275         [$(run-built-tests) = yes] (tests): Depend on
24276         $(objpfx)order2-cmp.out.
24277         ($(objpfx)order2.out): Remove rule.
24278         ($(objpfx)order2-cmp.out): New rule.
24279         ($(objpfx)tst-initorder.out): Remove rule.
24280         [$(run-built-tests) = yes] (tests): Depend on
24281         $(objpfx)tst-initorder-cmp.out.
24282         ($(objpfx)tst-initorder-cmp.out): New rule.
24283         ($(objpfx)tst-initorder2.out): Remove rule.
24284         [$(run-built-tests) = yes] (tests): Depend on
24285         $(objpfx)tst-initorder2-cmp.out.
24286         ($(objpfx)tst-initorder2-cmp.out): New rule.
24287         [$(run-built-tests) = yes] (tests): Depend on
24288         $(objpfx)tst-unused-dep-cmp.out.
24289         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24290         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24291         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24292         on $(objpfx)tst-setvbuf1-cmp.out.
24293         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24294         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24295         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24296         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24297         ($(objpfx)tst-svc.out): Remove rule.
24298         ($(objpfx)tst-svc-cmp.out): New rule.
24300 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24302         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24303         * ctype/ctype.h [__USE_MISC]: Likewise.
24304         * dirent/dirent.h [__USE_MISC]: Likewise.
24305         * grp/grp.h [__USE_MISC]: Likewise.
24306         * io/fcntl.h [__USE_MISC]: Likewise.
24307         * io/sys/stat.h [__USE_MISC]: Likewise.
24308         * libio/stdio.h [__USE_MISC]: Likewise.
24309         * posix/unistd.h [__USE_MISC]: Likewise.
24310         * pwd/pwd.h [__USE_MISC]: Likewise.
24311         * stdlib.h [__USE_MISC]: Likewise.
24312         * string/bits/string2.h [__USE_MISC]: Likewise.
24313         * string/string.h [__USE_MISC]: Likewise.
24314         * time/time.h [__USE_MISC]: Likewise.
24316 2014-02-13  Andreas Schwab  <schwab@suse.de>
24318         [BZ #16574]
24319         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24320         second answer buffer if it was separately allocated.
24322 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24324         * sysdeps/mips/math-tests.h: Include <features.h>.
24325         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24326         (ROUNDING_TESTS_long_double): Do not define.
24327         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24328         (EXCEPTION_TESTS_long_double): Likewise.
24329         * sysdeps/mips/mips64/libm-test-ulps: Update.
24331         * include/features.h (__USE_BSD): Remove macro definitions.
24332         (__USE_SVID): Likewise.
24333         (_BSD_SOURCE): Likewise.
24334         (_SVID_SOURCE): Likewise.
24335         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24336         from definition of _DEFAULT_SOURCE.
24337         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24338         [_DEFAULT_SOURCE].
24339         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24340         * bits/mman.h [__USE_BSD]: Likewise.
24341         * bits/termios.h [__USE_BSD]: Likewise.
24342         * bits/waitstatus.h [__USE_BSD]: Likewise.
24343         * ctype/ctype.h [__USE_SVID]: Likewise.
24344         * dirent/dirent.h [__USE_BSD]: Likewise.
24345         * grp/grp.h [__USE_SVID]: Likewise.
24346         [__USE_BSD]: Likewise.
24347         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24348         * io/fcntl.h [__USE_BSD]: Likewise.
24349         * io/ftw.h [__USE_BSD]: Likewise.
24350         * io/sys/stat.h [__USE_BSD]: Likewise.
24351         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24352         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24353         * libio/stdio.h [__USE_SVID]: Likewise.
24354         [__USE_BSD]: Likewise.
24355         * math/math.h [__USE_SVID]: Likewise.
24356         [__USE_BSD]: Likewise.
24357         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24358         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24359         * misc/search.h [__USE_SVID]: Likewise.
24360         * misc/sys/mman.h [__USE_BSD]: Likewise.
24361         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24362         * misc/sys/uio.h [__USE_BSD]: Likewise.
24363         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24364         * posix/glob.h [__USE_BSD]: Likewise.
24365         * posix/regex.h [__USE_BSD]: Likewise.
24366         * posix/sys/types.h [__USE_BSD]: Likewise.
24367         [__USE_SVID]: Likewise.
24368         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24369         * posix/sys/wait.h [__USE_BSD]: Likewise.
24370         [__USE_SVID]: Likewise.
24371         * posix/unistd.h [__USE_BSD]: Likewise.
24372         [__USE_SVID]: Likewise.
24373         * pwd/pwd.h [__USE_SVID]: Likewise.
24374         * resolv/netdb.h [__USE_BSD]: Likewise.
24375         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24376         * signal/signal.h [__USE_BSD]: Likewise.
24377         [__USE_SVID]: Likewise.
24378         * socket/sys/socket.h [__USE_BSD]: Likewise.
24379         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24380         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24381         [__USE_SVID]: Likewise.
24382         * string/bits/string2.h [__USE_BSD]: Likewise.
24383         [__USE_SVID]: Likewise.
24384         * string/bits/string3.h [__USE_BSD]: Likewise.
24385         * string/endian.h [__USE_BSD]: Likewise.
24386         * string/string.h [__USE_SVID]: Likewise.
24387         [__USE_BSD]: Likewise.
24388         * string/strings.h [__USE_BSD]: Likewise.
24389         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24390         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24391         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24392         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24393         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24394         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24395         Likewise.
24396         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24397         Likewise.
24398         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24399         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24400         Likewise.
24401         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24402         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24403         Likewise.
24404         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24405         Likewise.
24406         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24407         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24408         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24409         Likewise.
24410         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24411         Likewise.
24412         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24413         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24414         * termios/termios.h [__USE_BSD]: Likewise.
24415         * time/sys/time.h [__USE_BSD]: Likewise.
24416         * time/time.h [__USE_BSD]: Likewise.
24417         [__USE_SVID]: Likewise.
24419         * Makefile (subdir_targets): Remove subdir_lint.out.
24421         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24422         (do-tst-printf): Likewise.
24423         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24424         $(objpfx)tst-printf.out.
24426         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24428         * Makerules (check-abi-%): Change target to
24429         $(objpfx)check-abi-%.out.
24430         (check-abi target): Update dependencies.
24431         (check-abi-pattern variable): Redirect output of diff to $@.
24432         (check-abi variable): Likewise.
24433         * elf/Makefile (check-abi): Update dependencies.
24435         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24436         unused.
24437         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24438         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24439         subnormal range.
24440         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24441         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24442         value has largest subnormal exponent.
24443         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24444         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24445         * sysdeps/aarch64/soft-fp/sfp-machine.h
24446         (_FP_TININESS_AFTER_ROUNDING): New macro.
24447         * sysdeps/alpha/soft-fp/sfp-machine.h
24448         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24449         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24450         Likewise.
24451         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24452         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24453         * sysdeps/mips/soft-fp/sfp-machine.h
24454         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24455         * sysdeps/powerpc/soft-fp/sfp-machine.h
24456         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24457         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24458         Likewise.
24459         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24460         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24461         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24462         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24463         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24464         Likewise.
24466 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
24468         [BZ #16545]
24469         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24470         model 1.
24472 2014-02-12  Richard Henderson  <rth@redhat.com>
24474         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24475         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24476         * sysdeps/unix/sysv/linux/alpha: Move directory from
24477         ports/sysdeps/unix/sysv/linux/alpha.
24478         * README: Update listing for alpha-*-linux-gnu.
24480 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
24482         * include/features.h: Update comment documenting feature test
24483         macros.
24484         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
24485         _DEFAULT_SOURCE.
24486         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24487         (_SVID_SOURCE): Likewise.
24488         (_DEFAULT_SOURCE): Update description of default features.
24489         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24490         with _GNU_SOURCE.
24491         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24492         (S_ISVTX): Likewise.
24493         * manual/math.texi (Mathematical Constants): Likewise.
24494         * manual/signal.texi (Interrupted Primitives): Likewise.
24495         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24496         * math/test-matherr.c (_SVID_SOURCE): Do not define.
24497         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24498         Don't refer to _SVID_SOURCE in warning text.
24500         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24502         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24503         already defined.
24504         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24505         * sysdeps/mips/dl-lookup.c: Remove.
24506         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24508 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24510         [BZ #16447]
24511         * math/auto-libm-test-in: Add testcase for expl.
24512         * math/auto-libm-test-out: Regenerate.
24513         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24514         calculation of unsafe.
24515         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24517 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24519         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24520         * sysdeps/unix/sysv/linux/aarch64: Move directory from
24521         ports/sysdeps/unix/sysv/linux/aarch64.
24522         * README: Update listing for aarch64*-*-linux-gnu.
24524 2014-02-11  Will Newton  <will.newton@linaro.org>
24526         * manual/probes.texi (Mathematical Function Probes): Use
24527         "triggered" instead of "hit".
24529         * manual/probes.texi (Internal Probes): Add documentation
24530         of setjmp, longjmp and longjmp_target probes.
24532         * include/stap-probe.h: Add comment about probe argument
24533         format.
24535         * malloc/mtrace.c (attribute_hidden): Remove unused macro
24536         definition.  (tr_where, tr_freehook, tr_mallochook,
24537         tr_reallochook, tr_memalignhook): Use ANSI protoype.
24539 2014-02-11  David S. Miller  <davem@davemloft.net>
24541         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24542         processing int_tests.
24544 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
24546         * sysdeps/mips: Move directory from ports/sysdeps/mips.
24547         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24548         * sysdeps/unix/sysv/linux/mips: Move directory from
24549         ports/sysdeps/unix/sysv/linux/mips.
24550         * README: Update listing for mips-*-linux-gnu and
24551         mips64-*-linux-gnu.
24553 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
24555         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24556         * sysdeps/unix/sysv/linux/m68k: Move directory from
24557         ports/sysdeps/unix/sysv/linux/m68k.
24558         * README: Update listing for m68k-*-linux-gnu.
24560 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
24562         * sysdeps/tile: Move directory from ports/sysdeps/tile.
24563         * sysdeps/unix/sysv/linux/generic: Move directory from
24564         ports/sysdeps/unix/sysv/linux/generic.
24565         * sysdeps/unix/sysv/linux/tile: Move directory from
24566         ports/sysdeps/unix/sysv/linux/tile.
24567         * README: Update listing for tile*-*-linux-gnu.
24569 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
24571         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24572         __builtin_expect.
24573         * benchtests/bench-memmem.c (simple_memmem): Likewise.
24574         * catgets/open_catalog.c (__open_catalog): Likewise.
24575         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24576         * debug/confstr_chk.c: Likewise.
24577         * debug/fread_chk.c (__fread_chk): Likewise.
24578         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24579         * debug/getgroups_chk.c: Likewise.
24580         * debug/mbsnrtowcs_chk.c: Likewise.
24581         * debug/mbsrtowcs_chk.c: Likewise.
24582         * debug/mbstowcs_chk.c: Likewise.
24583         * debug/memcpy_chk.c: Likewise.
24584         * debug/memmove_chk.c: Likewise.
24585         * debug/mempcpy_chk.c: Likewise.
24586         * debug/memset_chk.c: Likewise.
24587         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24588         * debug/strcat_chk.c (__strcat_chk): Likewise.
24589         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24590         * debug/strncat_chk.c (__strncat_chk): Likewise.
24591         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24592         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24593         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24594         * debug/wcpncpy_chk.c: Likewise.
24595         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24596         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24597         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24598         * debug/wcsncpy_chk.c: Likewise.
24599         * debug/wcsnrtombs_chk.c: Likewise.
24600         * debug/wcsrtombs_chk.c: Likewise.
24601         * debug/wcstombs_chk.c: Likewise.
24602         * debug/wmemcpy_chk.c: Likewise.
24603         * debug/wmemmove_chk.c: Likewise.
24604         * debug/wmempcpy_chk.c: Likewise.
24605         * debug/wmemset_chk.c: Likewise.
24606         * dirent/scandirat.c (SCANDIRAT): Likewise.
24607         * dlfcn/dladdr1.c (dladdr1): Likewise.
24608         * dlfcn/dladdr.c (dladdr): Likewise.
24609         * dlfcn/dlclose.c (dlclose_doit): Likewise.
24610         * dlfcn/dlerror.c (__dlerror): Likewise.
24611         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
24612         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
24613         * dlfcn/dlopen.c (dlopen_doit): Likewise.
24614         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24615         * dlfcn/dlsym.c (dlsym_doit): Likewise.
24616         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
24617         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
24618         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
24619         Likewise.
24620         * elf/dl-conflict.c: Likewise.
24621         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
24622         * elf/dl-dst.h: Likewise.
24623         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
24624         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
24625         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
24626         * elf/dl-init.c (call_init, _dl_init): Likewise.
24627         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
24628         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
24629         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
24630         Likewise.
24631         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
24632         Likewise.
24633         * elf/dl-minimal.c (__libc_memalign): Likewise.
24634         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
24635         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24636         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
24637         * elf/dl-sym.c (do_sym): Likewise.
24638         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
24639         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
24640         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
24641         * elf/dl-writev.h (_dl_writev): Likewise.
24642         * elf/ldconfig.c (search_dir): Likewise.
24643         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
24644         (dl_main): Likewise.
24645         * elf/setup-vdso.h (setup_vdso): Likewise.
24646         * grp/compat-initgroups.c (compat_call): Likewise.
24647         * grp/fgetgrent.c (fgetgrent): Likewise.
24648         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
24649         * grp/putgrent.c (putgrent): Likewise.
24650         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24651         Likewise.
24652         * hurd/hurdinit.c: Likewise.
24653         * iconvdata/8bit-gap.c (struct): Likewise.
24654         * iconvdata/ansi_x3.110.c : Likewise.
24655         * iconvdata/big5.c : Likewise.
24656         * iconvdata/big5hkscs.c : Likewise.
24657         * iconvdata/cp1255.c: Likewise.
24658         * iconvdata/cp1258.c : Likewise.
24659         * iconvdata/cp932.c : Likewise.
24660         * iconvdata/euc-cn.c: Likewise.
24661         * iconvdata/euc-jisx0213.c : Likewise.
24662         * iconvdata/euc-jp.c: Likewise.
24663         * iconvdata/euc-jp-ms.c : Likewise.
24664         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24665         * iconvdata/gb18030.c : Likewise.
24666         * iconvdata/gbbig5.c (const): Likewise.
24667         * iconvdata/gbgbk.c: Likewise.
24668         * iconvdata/gbk.c : Likewise.
24669         * iconvdata/ibm1364.c : Likewise.
24670         * iconvdata/ibm930.c : Likewise.
24671         * iconvdata/ibm932.c: Likewise.
24672         * iconvdata/ibm933.c : Likewise.
24673         * iconvdata/ibm935.c : Likewise.
24674         * iconvdata/ibm937.c : Likewise.
24675         * iconvdata/ibm939.c : Likewise.
24676         * iconvdata/ibm943.c: Likewise.
24677         * iconvdata/iso_11548-1.c: Likewise.
24678         * iconvdata/iso-2022-cn.c : Likewise.
24679         * iconvdata/iso-2022-cn-ext.c : Likewise.
24680         * iconvdata/iso-2022-jp-3.c: Likewise.
24681         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24682         * iconvdata/iso-2022-kr.c : Likewise.
24683         * iconvdata/iso646.c (gconv_end): Likewise.
24684         * iconvdata/iso_6937-2.c : Likewise.
24685         * iconvdata/iso_6937.c : Likewise.
24686         * iconvdata/iso8859-1.c: Likewise.
24687         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24688         * iconvdata/shift_jisx0213.c : Likewise.
24689         * iconvdata/sjis.c : Likewise.
24690         * iconvdata/t.61.c : Likewise.
24691         * iconvdata/tcvn5712-1.c : Likewise.
24692         * iconvdata/tscii.c: Likewise.
24693         * iconvdata/uhc.c : Likewise.
24694         * iconvdata/unicode.c (gconv_end): Likewise.
24695         * iconvdata/utf-16.c (gconv_end): Likewise.
24696         * iconvdata/utf-32.c (gconv_end): Likewise.
24697         * iconvdata/utf-7.c (base64): Likewise.
24698         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24699         * iconv/gconv_close.c (__gconv_close): Likewise.
24700         * iconv/gconv_open.c (__gconv_open): Likewise.
24701         * iconv/gconv_simple.c (internal_ucs4_loop_single)
24702         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24703         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24704         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24705         (ucs4le_internal_loop_single): Likewise.
24706         * iconv/iconv.c (iconv): Likewise.
24707         * iconv/iconv_close.c: Likewise.
24708         * iconv/loop.c (SINGLE): Likewise.
24709         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24710         * include/atomic.h: Likewise.
24711         * inet/inet6_option.c (option_alloc): Likewise.
24712         * intl/bindtextdom.c (set_binding_values): Likewise.
24713         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24714         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24715         * intl/localealias.c (read_alias_file): Likewise.
24716         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24717         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24718         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24719         * libio/fmemopen.c (fmemopen): Likewise.
24720         * libio/iofgets.c (_IO_fgets): Likewise.
24721         * libio/iofgets_u.c (fgets_unlocked): Likewise.
24722         * libio/iofgetws.c (fgetws): Likewise.
24723         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24724         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24725         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24726         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24727         * locale/findlocale.c (_nl_find_locale): Likewise.
24728         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24729         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24730         Likewise.
24731         * locale/setlocale.c (setlocale): Likewise.
24732         * login/programs/pt_chown.c (main): Likewise.
24733         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24734         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24735         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24736         (mmap, mmap64, mremap, munmap): Likewise.
24737         * math/e_exp2l.c: Likewise.
24738         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24739         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24740         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24741         * math/s_catan.c (__catan): Likewise.
24742         * math/s_catanf.c (__catanf): Likewise.
24743         * math/s_catanh.c (__catanh): Likewise.
24744         * math/s_catanhf.c (__catanhf): Likewise.
24745         * math/s_catanhl.c (__catanhl): Likewise.
24746         * math/s_catanl.c (__catanl): Likewise.
24747         * math/s_ccosh.c (__ccosh): Likewise.
24748         * math/s_ccoshf.c (__ccoshf): Likewise.
24749         * math/s_ccoshl.c (__ccoshl): Likewise.
24750         * math/s_cexp.c (__cexp): Likewise.
24751         * math/s_cexpf.c (__cexpf): Likewise.
24752         * math/s_cexpl.c (__cexpl): Likewise.
24753         * math/s_clog10.c (__clog10): Likewise.
24754         * math/s_clog10f.c (__clog10f): Likewise.
24755         * math/s_clog10l.c (__clog10l): Likewise.
24756         * math/s_clog.c (__clog): Likewise.
24757         * math/s_clogf.c (__clogf): Likewise.
24758         * math/s_clogl.c (__clogl): Likewise.
24759         * math/s_csin.c (__csin): Likewise.
24760         * math/s_csinf.c (__csinf): Likewise.
24761         * math/s_csinh.c (__csinh): Likewise.
24762         * math/s_csinhf.c (__csinhf): Likewise.
24763         * math/s_csinhl.c (__csinhl): Likewise.
24764         * math/s_csinl.c (__csinl): Likewise.
24765         * math/s_csqrt.c (__csqrt): Likewise.
24766         * math/s_csqrtf.c (__csqrtf): Likewise.
24767         * math/s_csqrtl.c (__csqrtl): Likewise.
24768         * math/s_ctan.c (__ctan): Likewise.
24769         * math/s_ctanf.c (__ctanf): Likewise.
24770         * math/s_ctanh.c (__ctanh): Likewise.
24771         * math/s_ctanhf.c (__ctanhf): Likewise.
24772         * math/s_ctanhl.c (__ctanhl): Likewise.
24773         * math/s_ctanl.c (__ctanl): Likewise.
24774         * math/w_pow.c: Likewise.
24775         * math/w_powf.c: Likewise.
24776         * math/w_powl.c: Likewise.
24777         * math/w_scalb.c (sysv_scalb): Likewise.
24778         * math/w_scalbf.c (sysv_scalbf): Likewise.
24779         * math/w_scalbl.c (sysv_scalbl): Likewise.
24780         * misc/error.c (error_tail): Likewise.
24781         * misc/pselect.c (__pselect): Likewise.
24782         * nis/nis_callback.c (__nis_create_callback): Likewise.
24783         * nis/nis_call.c (__nisfind_server): Likewise.
24784         * nis/nis_creategroup.c (nis_creategroup): Likewise.
24785         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24786         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24787         * nis/nis_getservlist.c (nis_getservlist): Likewise.
24788         * nis/nis_lookup.c (nis_lookup): Likewise.
24789         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24790         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24791         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24792         * nis/nis_xdr.c (xdr_endpoint): Likewise.
24793         * nis/nss_compat/compat-grp.c (getgrent_next_file)
24794         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24795         * nis/nss_compat/compat-initgroups.c (add_group)
24796         (internal_getgrent_r): Likewise.
24797         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24798         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24799         * nis/nss_compat/compat-spwd.c (getspent_next_file)
24800         (internal_getspnam_r): Likewise.
24801         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24802         (_nss_nis_getaliasbyname_r): Likewise.
24803         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24804         (_nss_nis_getntohost_r): Likewise.
24805         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24806         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24807         (_nss_nis_getgrgid_r): Likewise.
24808         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24809         (internal_nis_gethostent_r, internal_gethostbyname2_r)
24810         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24811         (_nss_nis_gethostbyname4_r): Likewise.
24812         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24813         (initgroups_netid): Likewise.
24814         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24815         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24816         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24817         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24818         (_nss_nis_getprotobynumber_r): Likewise.
24819         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24820         (_nss_nis_getsecretkey): Likewise.
24821         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24822         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24823         (_nss_nis_getpwuid_r): Likewise.
24824         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24825         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24826         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24827         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24828         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24829         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24830         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24831         Likewise.
24832         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24833         (_nss_nisplus_getntohost_r): Likewise.
24834         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24835         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24836         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24837         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24838         Likewise.
24839         * nis/nss_nisplus/nisplus-initgroups.c
24840         (_nss_nisplus_initgroups_dyn): Likewise.
24841         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24842         (_nss_nisplus_getnetbyaddr_r): Likewise.
24843         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24844         (_nss_nisplus_getprotobynumber_r): Likewise.
24845         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24846         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24847         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24848         Likewise.
24849         * nis/nss_nisplus/nisplus-service.c
24850         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24851         (_nss_nisplus_getservbyport_r): Likewise.
24852         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24853         (_nss_nisplus_getspnam_r): Likewise.
24854         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24855         Likewise.
24856         * nscd/aicache.c (addhstaiX): Likewise.
24857         * nscd/cache.c (cache_search, prune_cache): Likewise.
24858         * nscd/connections.c (register_traced_file, send_ro_fd)
24859         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24860         (main_loop_epoll): Likewise.
24861         * nscd/grpcache.c (addgrbyX): Likewise.
24862         * nscd/hstcache.c (addhstbyX): Likewise.
24863         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24864         * nscd/mem.c (gc, mempool_alloc): Likewise.
24865         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24866         (addinnetgrX): Likewise.
24867         * nscd/nscd-client.h (__nscd_acquire_maplock)
24868         (__nscd_drop_map_ref): Likewise.
24869         * nscd/nscd_getai.c (__nscd_getai): Likewise.
24870         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24871         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24872         Likewise.
24873         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24874         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24875         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24876         (__nscd_get_map_ref): Likewise.
24877         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24878         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24879         Likewise.
24880         * nscd/pwdcache.c (addpwbyX): Likewise.
24881         * nscd/selinux.c (preserve_capabilities): Likewise.
24882         * nscd/servicescache.c (addservbyX): Likewise.
24883         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24884         * posix/fnmatch.c (fnmatch): Likewise.
24885         * posix/getopt.c (_getopt_internal_r): Likewise.
24886         * posix/glob.c (glob, glob_in_dir): Likewise.
24887         * posix/wordexp.c (exec_comm_child): Likewise.
24888         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24889         (getanswer_r, gaih_getanswer_slice): Likewise.
24890         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24891         * resolv/res_init.c: Likewise.
24892         * resolv/res_mkquery.c (res_nmkquery): Likewise.
24893         * resolv/res_query.c (__libc_res_nquery): Likewise.
24894         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24895         Likewise.
24896         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24897         * stdio-common/perror.c (perror): Likewise.
24898         * stdio-common/printf_fp.c (___printf_fp): Likewise.
24899         * stdio-common/tmpnam.c (tmpnam): Likewise.
24900         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24901         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24902         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24903         Likewise.
24904         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24905         * stdlib/putenv.c (putenv): Likewise.
24906         * stdlib/setenv.c (__add_to_environ): Likewise.
24907         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24908         * stdlib/strtol_l.c (INTERNAL): Likewise.
24909         * string/memmem.c (memmem): Likewise.
24910         * string/strerror.c (strerror): Likewise.
24911         * string/strnlen.c (__strnlen): Likewise.
24912         * string/test-memmem.c (simple_memmem): Likewise.
24913         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24914         * sunrpc/pm_getport.c (__get_socket): Likewise.
24915         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24916         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24917         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24918         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24919         Likewise.
24920         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24921         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24922         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24923         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24924         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24925         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24926         Likewise.
24927         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24928         Likewise.
24929         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24930         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24931         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24932         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24933         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24934         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24935         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24936         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24937         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24938         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24939         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24940         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24941         Likewise.
24942         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24943         Likewise.
24944         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24945         Likewise.
24946         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24947         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24948         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24949         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24950         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24951         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24952         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24953         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24954         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24955         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24956         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24957         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24958         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24959         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24960         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24961         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24962         Likewise.
24963         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24964         Likewise.
24965         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24966         Likewise.
24967         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24968         Likewise.
24969         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24970         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24971         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24972         Likewise.
24973         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24974         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24975         * sysdeps/posix/opendir.c (__opendirat): Likewise.
24976         * sysdeps/posix/sleep.c: Likewise.
24977         * sysdeps/posix/tempname.c: Likewise.
24978         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24979         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24980         Likewise.
24981         * sysdeps/powerpc/powerpc32/dl-machine.h
24982         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
24983         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24984         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24985         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
24986         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
24987         Likewise.
24988         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
24989         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
24990         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24991         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
24992         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24993         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
24994         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
24995         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
24996         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24997         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
24998         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
24999         (elf_machine_lazy_rel): Likewise.
25000         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25001         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25002         (elf_machine_lazy_rel): Likewise.
25003         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25004         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25005         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25006         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25007         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25008         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25009         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25010         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25011         Likewise.
25012         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25013         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25014         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25015         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25016         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25017         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25018         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25019         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25020         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25021         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25022         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25023         Likewise.
25024         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25025         (__posix_fallocate64_l64): Likewise.
25026         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25027         (posix_fallocate): Likewise.
25028         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25029         Likewise.
25030         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25031         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25032         (getifaddrs_internal): Likewise.
25033         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25034         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25035         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25036         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25037         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25038         (__posix_fallocate64_l64): Likewise.
25039         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25040         Likewise.
25041         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25042         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25043         (__get_clockfreq): Likewise.
25044         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25045         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25046         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25047         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25048         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25049         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25050         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25051         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25052         Likewise.
25053         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25054         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25055         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25056         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25057         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25058         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25059         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25060         Likewise.
25061         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25062         (posix_fallocate): Likewise.
25063         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25064         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25065         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25066         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25067         (elf_machine_rela, elf_machine_rela_relative)
25068         (elf_machine_lazy_rel): Likewise.
25069         * time/asctime.c (asctime_internal): Likewise.
25070         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25071         * time/tzset.c (__tzset_parse_tz): Likewise.
25072         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25073         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25074         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25075         * wcsmbs/wcsmbsload.h: Likewise.
25077         [BZ #15894]
25078         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25080         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25081         (arena_get2): Remove THREAD_STATS conditionals.
25082         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25083         (__malloc_stats, int): Likewise.
25085 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25087         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25088         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25090         * manual/setjmp.texi: Fix typos/grammar errors.
25092         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25093         Only return early when n is <= 0.  Delete unused return statement.
25095         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25096         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25097         * debug/tst-longjmp_chk3.c: New file.
25099         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25100         (test_main): Replace code with set_fortify_handler call.
25101         * debug/test-strcpy_chk.c: Likewise.
25102         * debug/tst-chk1.c: Likewise.
25103         * debug/tst-longjmp_chk.c: Likewise.
25104         * test-skeleton.c: Include fcntl.h & paths.h
25105         (set_fortify_handler): Define.
25107         * debug/tst-longjmp_chk.c: Add header comment and include
25108         ../test-skeleton.c.
25109         (do_test): Mark static.
25110         (TEST_FUNCTION): Define.
25112         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25113         (IP_PMTUDISC_INTERFACE): Likewise.
25114         (IP_MULTICAST_IF): Likewise.
25115         (IP_MULTICAST_TTL): Likewise.
25116         (IP_MULTICAST_LOOP): Likewise.
25117         (IP_ADD_MEMBERSHIP): Likewise.
25118         (IP_DROP_MEMBERSHIP): Likewise.
25119         (IP_UNBLOCK_SOURCE): Likewise.
25120         (IP_BLOCK_SOURCE): Likewise.
25121         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25122         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25123         (IP_MSFILTER): Likewise.
25124         (MCAST_JOIN_GROUP): Likewise.
25125         (MCAST_BLOCK_SOURCE): Likewise.
25126         (MCAST_UNBLOCK_SOURCE): Likewise.
25127         (MCAST_LEAVE_GROUP): Likewise.
25128         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25129         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25130         (MCAST_MSFILTER): Likewise.
25131         (IP_MULTICAST_ALL): Likewise.
25132         (IP_UNICAST_IF): Likewise.
25134         * timezone/Makefile: Delete $(have-ksh) check.
25135         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25136         * timezone/tzselect.ksh: Add +x mode bits.
25138         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25139         (ANON_INODE_FS_MAGIC): Likewise.
25140         (BDEVFS_MAGIC): Likewise.
25141         (BINFMTFS_MAGIC): Likewise.
25142         (BTRFS_TEST_MAGIC): Likewise.
25143         (CRAMFS_MAGIC_WEND): Likewise.
25144         (DEBUGFS_MAGIC): Likewise.
25145         (ECRYPTFS_SUPER_MAGIC): Likewise.
25146         (EXT3_SUPER_MAGIC): Likewise.
25147         (EXT4_SUPER_MAGIC): Likewise.
25148         (FUTEXFS_SUPER_MAGIC): Likewise.
25149         (HOSTFS_SUPER_MAGIC): Likewise.
25150         (HUGETLBFS_MAGIC): Likewise.
25151         (MINIX3_SUPER_MAGIC): Likewise.
25152         (MTD_INODE_FS_MAGIC): Likewise.
25153         (NILFS_SUPER_MAGIC): Likewise.
25154         (OPENPROM_SUPER_MAGIC): Likewise.
25155         (PIPEFS_MAGIC): Likewise.
25156         (PSTOREFS_MAGIC): Likewise.
25157         (QNX6_SUPER_MAGIC): Likewise.
25158         (RAMFS_MAGIC): Likewise.
25159         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25160         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25161         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25162         (SECURITYFS_MAGIC): Likewise.
25163         (SELINUX_MAGIC): Likewise.
25164         (SMACK_MAGIC): Likewise.
25165         (SOCKFS_MAGIC): Likewise.
25166         (SQUASHFS_MAGIC): Likewise.
25167         (STACK_END_MAGIC): Likewise.
25168         (TMPFS_MAGIC): Likewise.
25169         (USBDEVICE_SUPER_MAGIC): Likewise.
25170         (V9FS_MAGIC): Likewise.
25171         (XENFS_SUPER_MAGIC): Likewise.
25172         (CRAMFS_MAGIC): Fix typo in comment.
25173         (EXT2_SUPER_MAGIC): Update comment.
25174         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25176 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25178         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25179         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25180         * sysdeps/unix/sysv/linux/arm: Move directory from
25181         ports/sysdeps/unix/sysv/linux/arm.
25182         * README: Update listing for arm-*-linux-gnueabi.
25184         * README: Remove mention of am33.
25186 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25188         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25189         than the comma operator, to avoid "rhs of comma has no effect"
25190         compiler warnings.
25191         (__sigfillset, __sigandset, __sigorset): Likewise.
25192         * include/signal.h (__sigemptyset): Likewise.
25193         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25195 2014-02-07  Allan McRae  <allan@archlinux.org>
25197         * version.h (RELEASE): Set to "development".
25198         (VERSION): Set to "2.19.90"
25199         * NEWS: Add 2.20 section.
25201 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25203         [BZ #16529]
25204         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25206 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25208         * manual/contrib.texi: Update entry for Carlos O'Donell,
25209         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25211 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25213         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25215         * sysdeps/unix/sysv/linux/kernel-features.h
25216         [__LINUX_KERNEL_VERSION >= 0x020621]
25217         (__ASSUME_PROC_PID_TASK_COMM): Define.
25219 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25221         [BZ #16398]
25222         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25223         conversion when destination buffer does not have enough space.
25224         * libio/tst-ftell-partial-wide.c: New test case.
25225         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25227         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25228         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25229         Leonard and Allan McRae.
25231 2014-02-04  David S. Miller  <davem@davemloft.net>
25233         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25234         32-bit.
25236 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25239         New file
25240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25241         New file
25242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25243         New file.
25244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25245         New file.
25246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25247         New file.
25248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25249         New file.
25250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25251         New file.
25252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25253         New file.
25254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25255         New file.
25256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25257         New file.
25258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25259         New file.
25260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25261         New file.
25262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25263         New file.
25265 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25267         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25268         * shlib-versions: Likewise.
25270 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25271             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25273         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25274         (abilist-pattern): New variable, set to %-le.abilist.
25276         * Makerules (abilist-pattern): New variable.
25277         (vpath): Use $(abilist-pattern) in place of %.abilist.
25278         (check-abi-% pattern rule): Likewise.
25279         (check-abi, update-abi): Likewise.
25281 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25283         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25285 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25287         * manual/startup.texi: Add next, previous, and top entries for
25288         the `Program Arguments' and `Environment Variables' nodes.
25290 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25292         * manual/macros.texi: Add comments before MTASC-safety macros.
25294         * manual/users.texi: Document MTASC-safety properties.
25296         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25297         (pthread_getspecific, pthread_setspecific): Format with
25298         @deftypefun, and add @safety note.
25299         * manual/signal.texi: Move comments that analyze the above
25300         functions to their home place.
25302 2014-02-03  Allan McRae  <allan@archlinux.org>
25304         * po/sl.po: Update Slovenian translation from translation project.
25306 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25308         * manual/time.texi (timegm): Add missing blank after @c.
25309         Reported by Joseph Myers <joseph@codesourcery.com>.
25311 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25313         * manual/check-safety.sh: New.
25314         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25316         * manual/terminal.texi: Document MTASC-safety properties.
25318         * manual/filesys.texi: Document MTASC-safety properties.
25320         * manual/errno.texi: Document MTASC-safety properties.
25322         * manual/intro.texi: Document safety identifiers and
25323         conditionals.
25325         * manual/string.texi (wcstok): Fix prototype.
25326         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25328         * manual/time.texi: Document MTASC-safety properties.
25330         * manual/string.texi: Document MTASC-safety properties.
25332         * manual/threads.texi: Document MTASC-safety properties.
25334         * manual/stdio.texi: Document MTASC-safety properties.
25336         * manual/syslog.texi: Document MTASC-safety properties.
25338         * manual/sysinfo.texi: Document MTASC-safety properties.
25340         * manual/startup.texi: Document MTASC-safety properties.
25342         * manual/socket.texi: Document MTASC-safety properties.
25344         * manual/signal.texi: Document MTASC-safety properties.
25346 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25348         * manual/setjmp.texi: Document MTASC-safety properties.
25350         * manual/search.texi: Document MTASC-safety properties.
25352         * manual/resource.texi: Document MTASC-safety properties.
25354         * manual/process.texi: Document MTASC-safety properties.
25356         * manual/platform.texi: Document MTASC-safety properties.
25358         * manual/pipe.texi: Document MTASC-safety properties.
25360         * manual/pattern.texi: Document MTASC-safety properties.
25362         * manual/message.texi: Document MTASC-safety properties.
25364         [BZ #12751]
25365         * manual/memory.texi: Document MTASC-safety properties.
25367         * manual/math.texi: Document MTASC-safety properties.
25369         * manual/locale.texi: Document MTASC-safety properties.
25371         * manual/llio.texi: Document MTASC-safety properties.
25373         * manual/libdl.texi: New.
25375         * manual/lang.texi: Document MTASC-safety properties.
25377         * manual/job.texi: Document MTASC-safety properties.
25379         * manual/getopt.texi: Document MTASC-safety properties.
25381         * manual/ctype.texi: Document MTASC-safety properties.
25383 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25385         [BZ #16046]
25386         * csu/libc-tls.c (static_map): Remove variable.
25387         (__libc_setup_tls): Use main executable's link map for TLS data.
25388         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25389         casing for LM_ID_BASE and GL(dl_nns).
25390         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25391         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25392         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25393         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25394         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25395         member.
25396         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25397         l_phnum members.
25399 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25401         * manual/debug.texi: Document MTASC-safety properties.
25403 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25405         [BZ #16510]
25406         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25407         of __x86_64__ when disabling x87 inline functions.
25409 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25411         * manual/charset.texi: Document MTASC-safety properties.
25413         * manual/crypt.texi: Document MTASC-safety properties.
25415         * manual/conf.texi: Document MTASC-safety properties.
25417         * manual/arith.texi: Document MTASC-safety properties.
25419         * manual/argp.texi: Document MTASC-safety properties.
25421         * manual/macros.texi: Introduce macros to document multi
25422         thread, asynchronous signal and asynchronous cancellation
25423         safety properties.
25424         * manual/intro.texi: Introduce the properties themselves.
25426 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25428         * sysdeps/sh/sh4/Makefile: New file.
25430 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25432         * math/gen-libm-test.pl ($srcdir): New variable.
25433         ($auto_input): Use it.
25435 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25437         [BZ #16506]
25438         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25439         access beyond array bounds when parsing netgroups file.
25441         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25442         the old buffer before realloc.
25444 2014-01-27  Allan McRae  <allan@archlinux.org>
25446         * po/fr.po: Update French translation from translation project.
25448 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25450         * sysdeps/sh/libm-test-ulps: Regenerate.
25452 2014-01-24  David S. Miller  <davem@davemloft.net>
25454         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25456 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25458         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25459         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25461 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25463         [BZ #16474]
25464         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25465         string pointers after reallocation.
25467 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25469         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25470         __SH4A__ instead of __SH_FPU_ANY__.
25472 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25474         * sysdeps/sh/fpu_control.h: New file.
25475         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25476         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25477         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25478         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25479         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25480         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25481         * sysdeps/sh/sys/ucontext.h: Remove.
25482         * sysdeps/sh/sys: Remove directory.
25484 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25486         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25487         s390/sys/ucontext.h.
25488         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25489         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25491 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
25493         [BZ #15605]
25494         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25496 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25498         [BZ#16431]
25499         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25500         Adjust the vDSO correctly for internal calls.
25501         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25503 2014-01-20  Allan McRae  <allan@archlinux.org>
25505         * po/ca.po: Update Catalan translation from translation project.
25507 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
25509         * sysdeps/s390/sotruss-lib.c: New file.
25511 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25513         [BZ#16430]
25514         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25515         (__GI___gettimeofday): Alias for a different internal symbol to avoid
25516         local calls issues by not having a PLT stub required for IFUNC calls.
25517         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25519 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
25521         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25522         * math/test-fpucw-static.c: Likewise.
25524 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25526         [BZ #16453]
25527         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25529 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25531         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25532         implementation for powerpc.
25534 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
25536         [BZ #14782]
25537         * sysdeps/posix/system.c (__libc_system): Do not enable
25538         asynchronous cancellation.
25540 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25542         [BZ #16427]
25543         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25544         handling only for numbers special also in the IEEE case.
25546 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25548         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25550 2014-01-11  Allan McRae  <allan@archlinux.org>
25552         * po/bg.po: Update Bulgarian translation from translation project.
25554         * po/de.po: Update German translation from translation project.
25556 2014-01-10  Roland McGrath  <roland@hack.frob.com>
25558         * sysdeps/generic/gcc-compat.h: New file.
25560 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25562         * benchtests/asin-inputs: Correct slow inputs.
25563         * benchtests/acos-inputs: Likewise.
25565 2014-01-10  Allan McRae  <allan@archlinux.org>
25567         * po:sv.po: Update Swedish translation from translation project.
25569         * po/vi.po: Update Vietnamese translation from translation project.
25571         * po/eo.po: Update Esperanto translation from translation project.
25573         * po/cs.po: Update Czech translation from translation project.
25575         * po/nl.po: Update Dutch translation from translation project.
25577         * po/pl.po: Update Polish translation from translation project.
25579         * po/ru.po: Update Russian translation from translation project.
25581         * po/uk.po: Update Ukrainian translation from translation project.
25583 2014-01-08  Brooks Moses  <bmoses@google.com>
25585         * elf/dl-load.c: Fix comment typo.
25587 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
25589         * po/header.pot: Rename to...
25590         * po/pot.header: ... this.
25591         * po/Makefile: Use pot.header.
25593 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
25594             Maxim Kuvyrkov  <maxim@kugelworks.com>
25596         [BZ #16394]
25597         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25598         SRC and DEST against LEN.
25600 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25602         [BZ #16414]
25603         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
25604         implementation.
25605         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
25607 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25611 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
25613         [BZ #16408]
25614         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
25615         for large positive arguments.
25617 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
25619         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25621         * math/auto-libm-test-in: Mark various tests with
25622         xfail-rounding:ldbl-128ibm.
25623         * math/auto-libm-test-out: Regenerated.
25625         [BZ #16407]
25626         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25627         Increase overflow threshold.
25629 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
25631         [BZ #14286]
25632         * stdio-common/vfprintf.c: Check for integer overflow.
25634 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25636         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
25637         the first argument and return value of __tls_get_addr_internal.
25639 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25641         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
25642         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
25644 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25646         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25647         * sysdeps/s390/rtld-global-offsets.sym: New file.
25648         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
25649         GLIBC_2.19 symbol.
25650         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
25651         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
25652         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25653         ... this.
25654         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
25655         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25656         ... this.
25657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25658         Regenerate.
25659         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25660         Regenerate.
25661         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
25662         halfs of GPRs for high_gprs contexts.
25663         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
25664         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
25665         field.
25666         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25667         uc_flags field.
25668         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25669         64 bit versions:
25670         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25671         for high GPRs (uc_high_gprs) and for future extensions
25672         (__reserved).
25673         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25674         for future extensions (__reserved).
25675         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25676         64 bit versions:
25677         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25678         SC_HIGHGPRS offset definition.
25679         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25680         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25682         * Versions.def: Add GLIBC_2.19 for libpthread.
25683         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25684         siglongjmp for libpthread with GLIBC_2.19 symver.
25685         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25686         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25687         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25688         * sysdeps/s390/__longjmp.c: New file.
25689         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25690         * sysdeps/s390/longjmp.c: New file.
25691         * sysdeps/s390/setjmp.S: New file.
25692         * sysdeps/s390/sigjmp.S: New file.
25693         * sysdeps/s390/v1-longjmp.c: New file.
25694         * sysdeps/s390/v1-setjmp.h: New file.
25695         * sysdeps/s390/v1-sigjmp.c: New file.
25696         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25697         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25698         GLIBC_2.19 version.
25699         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25700         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25701         versioned symbols for ____longjmp_chk.
25702         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25703         Likewise.
25704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25705         Regenerate.
25706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25707         Regenerate.
25708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25709         Regenerate.
25710         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25711         Regenerate.
25712         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25713         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25714         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25715         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25716         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25717         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25718         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25719         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25720         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25721         * sysdeps/s390/rtld-__longjmp.c: New file.
25722         * sysdeps/s390/rtld-setjmp.S: New file.
25724 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
25726         [BZ #16400]
25727         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25728         Return -__logl (x) for small positive arguments without evaluating
25729         a polynomial.
25731 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
25733         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25734         Rename to ...
25735         (__ptrace_peeksiginfo_args): ... this.
25736         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25737         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25738         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25740 2014-01-06  Allan McRae  <allan@archlinux.org>
25742         * inet/netinet/in.h: Fix typo in comment.
25744 2014-01-05  Andreas Jaeger  <aj@suse.de>
25746         * sysdeps/i386/fpu/libm-test-ulps: Update.
25748 2014-01-05  Allan McRae  <allan@archlinux.org>
25750         * po/libc.pot: Regenerated.
25752         * malloc/memusagestat.c: Fix gettext call formatting.
25754 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
25756         * nscd/nscd.c: Improve usage() output.
25758 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
25760         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25761         * sysdeps/unix/sysv/linux/configure: Regenerated.
25762         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25763         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25765 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25767         [BZ #16390]
25768         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25769         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25771 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25773         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25774         extra tokens at end of #undef directive.
25775         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25776         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25777         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25779 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25781         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25783         * math/auto-libm-test-in: Mark various tests with
25784         xfail-rounding:ldbl-128ibm.
25785         * math/auto-libm-test-out: Regenerated.
25787 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
25789         [BZ #16386]
25790         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25791         numbers with subnormal high part when calculating exponent.
25793         [BZ #16385]
25794         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25795         fabs.
25797         [BZ #16384]
25798         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25799         M_LN2l.
25800         (__ieee754_acoshl): Use __log1pl not __log1p.
25802 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
25804         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25805         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25806         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25807         (grow_heap, heap_trim, _int_new_arena, get_free_list)
25808         (reused_arena, arena_get2): Convert to GNU style.
25809         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25810         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25811         (memalign_check, __malloc_set_state): Likewise.
25812         * malloc/mallocbug.c (main): Likewise.
25813         * malloc/malloc.c (__malloc_assert, malloc_init_state)
25814         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25815         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25816         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25817         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25818         (__posix_memalign, malloc_info): Likewise.
25819         * malloc/malloc.h: Likewise.
25820         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25821         (mallochook, memalignhook, reallochook, mabort): Likewise.
25822         * malloc/mcheck.h: Likewise.
25823         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25824         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25825         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25826         * malloc/morecore.c (__default_morecore): Likewise.
25827         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25828         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25829         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25830         (print_and_abort): Likewise.
25831         * malloc/obstack.h: Likewise.
25832         * malloc/set-freeres.c (__libc_freeres): Likewise.
25833         * malloc/tst-mallocstate.c (main): Likewise.
25834         * malloc/tst-mtrace.c (main): Likewise.
25835         * malloc/tst-realloc.c (do_test): Likewise.
25837 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25839         [BZ #16366]
25840         * nscd/netgroupcache.c (do_notfound): New function.
25841         (addgetnetgrentX): Use it.
25843         [BZ # 16365]
25844         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25845         NSS_STATUS_NOTFOUND.
25847 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
25849         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25852 2014-01-01  Allan McRae  <allan@archlinux.org>
25854         * scripts/update-copyrights: Update configure input file suffix.
25856         * NEWS: Update copyright year.
25857         * catgets/gencat.c: Likewise.
25858         * csu/version.c: Likewise.
25859         * debug/catchsegv.sh: Likewise.
25860         * debug/pcprofiledump.c: Likewise.
25861         * debug/xtrace.sh: Likewise.
25862         * elf/ldconfig.c: Likewise.
25863         * elf/ldd.bash.in: Likewise.
25864         * elf/pldd.c: Likewise.
25865         * elf/sotruss.ksh: Likewise.
25866         * elf/sprof.c: Likewise.
25867         * iconv/iconv_prog.c: Likewise.
25868         * iconv/iconvconfig.c: Likewise.
25869         * locale/programs/locale.c: Likewise.
25870         * locale/programs/localedef.c: Likewise.
25871         * login/programs/pt_chown.c: Likewise.
25872         * malloc/memusage.sh: Likewise.
25873         * malloc/memusagestat.c: Likewise.
25874         * malloc/mtrace.pl: Likewise.
25875         * manual/libc.texinfo: Likewise.
25876         * nscd/nscd.c: Likewise.
25877         * nss/getent.c: Likewise.
25878         * nss/makedb.c: Likewise.
25879         * posix/getconf.c: Likewise.
25880         * scripts/test-installation.pl: Likewise.
25882         * All files with FSF copyright notices: Update copyright dates
25883         using scripts/update-copyrights.
25884         * intl/plural.c: Regenerated.
25885         * locale/programs/charmap-kw.h: Likewise.
25886         * locale/programs/locfile-kw.h: Likewise.
25888 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
25890         * sysdeps/unix/sysv/linux/configure: Regenerated.
25891         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25892         the linux/fanotify.h header.
25893         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25894         HAVE_LINUX_FANOTIFY_H is defined.
25896 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25898         * benchtests/cos-inputs: New inputs.
25899         * benchtests/sin-inputs: Likewise.
25901         * benchtests/atan-inputs: New inputs. Fix name of multiple
25902         precision fallback inputs.
25904         * benchtests/atanh-inputs: New inputs.
25905         * benchtests/tanh-inputs: Likewise.
25907         * benchtests/acosh-inputs: New inputs.
25908         * benchtests/asinh-inputs: Likewise.
25910         * benchtests/cosh-inputs: New inputs.
25911         * benchtests/sinh-inputs: Likewise.
25913         * benchtests/acos-inputs: Add more inputs.
25914         * benchtests/asin-inputs: Likewise.
25916 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
25918         [BZ #16375]
25919         * manual/arith.texi: Fix spelling.
25920         * manual/charset.texi: Likewise.
25921         * manual/errno.texi: Likewise.
25922         * manual/filesys.texi: Likewise.
25923         * manual/lang.texi: Likewise.
25924         * manual/llio.texi: Likewise.
25925         * manual/locale.texi: Likewise.
25926         * manual/message.texi: Likewise.
25927         * manual/resource.texi: Likewise.
25928         * manual/search.texi: Likewise.
25929         * manual/setjmp.texi: Likewise.
25930         * manual/stdio.texi: Likewise.
25931         * manual/string.texi: Likewise.
25932         * manual/sysinfo.texi: Likewise.
25933         * manual/time.texi: Likewise.
25935 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
25937         * po/sl.po: New file.
25939 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
25941         * .gitignore: Add core/.gdbinit/.gdb_history.
25943 2013-12-27  Allan McRae  <allan@archlinux.org>
25945         [BZ #16369]
25946         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25947         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25949 2013-12-24  Brooks Moses  <bmoses@google.com>
25951         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25952         all compilers that claim C++98 compliance, not just GCC.
25953         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25954         Likewise.
25956 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25958         * NEWS: Restore accidentally deleted bug-fix entries.
25960 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25961             Ondřej Bílka  <neleai@seznam.cz>
25963         [BZ #15073]
25964         * malloc/malloc.c (_int_free): Perform sanity check only if we
25965         have_lock.
25967 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
25969         [BZ #12986]
25970         * manual/stdio.texi (String Input Conversions): Clarify that character
25971         classes are not supported.
25973 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25977 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
25979         [BZ #16337]
25980         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25981         Calculate results for small negative arguments directly rather
25982         than using reflection formula with special underflow handling.
25984         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
25985         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
25986         sysdeps/unix/bsd/bsd4.4/syscalls.list.
25987         (fchflags): Likewise.
25988         (revoke): Likewise.
25989         (setlogin): Likewise.
25990         (sigaltstack): Likewise.
25991         (wait4): Likewise.
25992         (sigblock): Remove.
25993         (sigsetmask): Likewise.
25994         (wait3): Likewise.
25995         (waitpid): Likewise.
25996         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
25997         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
25998         file.
25999         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26000         * sysdeps/unix/bsd/Makefile: ... here.
26001         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26002         * sysdeps/unix/bsd/Versions: ... here.
26003         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26004         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26005         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26006         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26007         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26008         * sysdeps/unix/bsd/sigblock.c: ... here.
26009         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26010         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26011         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26012         * sysdeps/unix/bsd/sigvec.c: ... here.
26013         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26014         * sysdeps/unix/bsd/tcdrain.c: ... here.
26015         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26016         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26017         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26018         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26019         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26020         * sysdeps/unix/bsd/wait.c: ... here.
26021         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26022         * sysdeps/unix/bsd/wait3.c: ... here.
26023         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26024         * sysdeps/unix/bsd/waitpid.c: ... here.
26026 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26028         [BZ #16356]
26029         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26030         round-to-nearest for [!USE_AS_EXPM1L].
26031         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26032         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26033         more tests of exp and exp10.  Expect some exp10 tests to miss
26034         exceptions or fail in directed rounding modes.
26035         * math/auto-libm-test-out: Regenerated.
26036         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26037         (exp10_test_tonearest): New function.
26038         (exp10_towardzero_test_data): New array.
26039         (exp10_test_towardzero): New function.
26040         (exp10_downward_test_data): New array.
26041         (exp10_test_downward): New function.
26042         (exp10_upward_test_data): New array.
26043         (exp10_test_upward): New function.
26044         (main): Call the new functions.
26045         * sysdeps/i386/fpu/libm-test-ulps: Update.
26046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26048 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26050         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26051         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26052         * math/auto-libm-test-out: Regenerated.
26053         * math/libm-test.inc (acosh_test_data): Add more tests.
26054         (atanh_test_data): Likewise.
26055         (ceil_test_data): Likewise.
26056         (copysign_test_data): Likewise.
26057         * sysdeps/i386/fpu/libm-test-ulps: Update.
26058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26060         * timezone/checktab.awk: Update from tzcode 2013i.
26061         * timezone/private.h: Likewise.
26062         * timezone/scheck.c: Likewise.
26063         * timezone/tzfile.h: Likewise.
26064         * timezone/tzselect.ksh: Likewise.
26065         * timezone/zdump.c: Likewise.
26066         * timezone/zic.c: Likewise.
26068         * math/auto-libm-test-in: Add tests of cpow.
26069         * math/auto-libm-test-out: Regenerated.
26070         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26071         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26072         mpc_cc_c.
26073         (func_calc_desc): Add mpc_cc_c union field.
26074         (test_functions): Add cpow.
26075         (special_fill_2pi): New function.
26076         (special_real_inputs): Add 2pi.
26077         (calc_generic_results): Handle mpc_cc_c.
26078         * sysdeps/i386/fpu/libm-test-ulps: Update.
26079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26081         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26082         csqrt, ctan and ctanh.
26083         * math/auto-libm-test-out: Regenerated.
26084         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26085         (TEST_COND_x86): Likewise.
26086         (ccos_test_data): Use AUTO_TESTS_c_c.
26087         (ccosh_test_data): Likewise.
26088         (cexp_test_data): Likewise.
26089         (clog_test_data): Likewise.
26090         (csqrt_test_data): Likewise.
26091         (ctan_test_data): Likewise.
26092         (ctan_tonearest_test_data): Likewise.
26093         (ctan_towardzero_test_data): Likewise.
26094         (ctan_downward_test_data): Likewise.
26095         (ctan_upward_test_data): Likewise.
26096         (ctanh_test_data): Likewise.
26097         (ctanh_tonearest_test_data): Likewise.
26098         (ctanh_towardzero_test_data): Likewise.
26099         (ctanh_downward_test_data): Likewise.
26100         (ctanh_upward_test_data): Likewise.
26101         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26102         mpc_c_c.
26103         (func_calc_desc): Add mpc_c_c union field.
26104         (FUNC_mpc_c_c): New macro.
26105         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26106         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26107         ctanh.
26108         (special_fill_min_subnorm_p120): New function.
26109         (special_real_inputs): Add min_subnorm_p120.
26110         (calc_generic_results): Handle mpc_c_c.
26111         * sysdeps/i386/fpu/libm-test-ulps: Update.
26112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26114 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26116         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26117         (do_sin_slow): New functions.
26118         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26119         (cslow2, csloww1, csloww2): Use the new functions.
26121         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26122         Use M to change sign of result instead of X.  Assume X is
26123         positive.
26124         (csloww1): Likewise.
26125         (__sin): Adjust.
26126         (__cos): Adjust.
26128         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26129         arguments A and DA.
26130         (__sin): Adjust.
26131         (__cos): Likewise.
26133         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26134         (__cos): Likewise.
26135         (sloww1): Don't adjust sign of DX.
26136         (csloww1): Likewise.
26137         (sloww2): Use X directly and don't adjust sign of DX.
26138         (csloww2): Likewise.
26140 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26142         * math/auto-libm-test-in: Add tests of cabs and carg.
26143         * math/auto-libm-test-out: Regenerated.
26144         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26145         (carg_test_data): Likewise.
26146         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26147         mpc_c_f.
26148         (func_calc_desc): Add mpc_c_f union field.
26149         (test_functions): Add cabs and carg.
26150         (calc_generic_results): Handle mpc_c_f.
26152         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26153         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26154         as a macro and a compat symbol.
26155         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26156         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26157         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26158         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26159         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26160         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26161         not use .hidden.
26162         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26163         Likewise.
26164         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26165         Likewise.
26166         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26167         Likewise.
26168         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26169         Likewise.
26170         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26171         Likewise.
26172         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26173         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26174         from GLIBC_2.3.2.
26176 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26180 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26182         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26183         trailing whitespace removed.
26184         * scripts/config.guess: Update to version 2013-11-29.
26185         * scripts/config.sub: Update to version 2013-10-01.
26187         * math/auto-libm-test-in: Add tests of sincos.
26188         * math/auto-libm-test-out: Regenerated.
26189         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26190         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26191         mpfr_f_11.
26192         (func_calc_desc): Add mpfr_f_11 union field.
26193         (test_functions): Add sincos.
26194         (calc_generic_results): Handle mpfr_f_11.
26195         * sysdeps/i386/fpu/libm-test-ulps: Update.
26196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26198 2013-12-19  Andreas Schwab  <schwab@suse.de>
26200         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26201         CALL_MCOUNT.
26202         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26203         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26204         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26206 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26208         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26209         * sysdeps/i386/fpu/libm-test-ulps: Update.
26210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26212         [BZ #16293]
26213         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26214         round-to-nearest mode when using frndint.
26215         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26216         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26217         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26218         Likewise.
26219         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26220         sinh test to fail.
26221         * math/auto-libm-test-out: Regenerated.
26222         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26223         (TEST_COND_x86): Likewise.
26224         (expm1_tonearest_test_data): New array.
26225         (expm1_test_tonearest): New function.
26226         (expm1_towardzero_test_data): New array.
26227         (expm1_test_towardzero): New function.
26228         (expm1_downward_test_data): New array.
26229         (expm1_test_downward): New function.
26230         (expm1_upward_test_data): New array.
26231         (expm1_test_upward): New function.
26232         (main): Run the new test functions.
26233         * sysdeps/i386/fpu/libm-test-ulps: Update.
26234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26236         * include/features.h: Update comment documenting feature test
26237         macros.  Mention _DEFAULT_SOURCE in comment.
26238         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26239         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26240         _BSD_SOURCE and _SVID_SOURCE.
26241         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26242         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26243         !_SVID_SOURCE]: Likewise.
26244         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26245         (__USE_POSIX_IMPLICITLY): Define.
26246         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26247         (_POSIX_SOURCE): Undefine and redefine.
26248         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26249         (_POSIX_C_SOURCE): Likewise.
26250         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26251         (Feature Test Macros): Update documentation of default features.
26253 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26255         * benchtests/Makefile: Add bench-strtok.
26256         * benchtests/bench-strtok.c: New file: strtok benchtest.
26258 2013-12-19  Allan McRae  <allan@archlinux.org>
26260         * manual/install.texi: Suppress menu for plain text output.
26261         * INSTALL: Regenerated.
26263 2013-12-18  Brooks Moses  <bmoses@google.com>
26265         [BZ #15846]
26266         * misc/getauxval.c: Include errno.h.
26267         (__getauxval): Set errno to ENOENT if the requested type is not
26268         found.
26269         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26270         don't declare with __attribute_const__.
26271         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26272         * manual/startup.texi: Document that getauxval sets errno.
26274 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26276         * math/auto-libm-test-in: Add tests of jn and yn.
26277         * math/auto-libm-test-out: Regenerated.
26278         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26279         (yn_test_data): Likewise.
26280         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26281         mpfr_if_f.
26282         (func_calc_desc): Add mpfr_if_f union field.
26283         (FUNC_mpfr_if_f): New macro.
26284         (test_functions): Add jn and yn.
26285         (calc_generic_results): Assert type of second input for
26286         mpfr_ff_f.  Handle mpfr_if_f.
26287         (output_for_one_input_case): Disable all checking for arguments
26288         fitting floating-point types in case of an integer argument.
26289         * sysdeps/i386/fpu/libm-test-ulps: Update.
26290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26293         Don't expect fegetround reference in libm.so.
26295 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26297         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26298         $(config-cflags-nofma).
26300 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26302         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26303         * math/auto-libm-test-out: Regenerated.
26305         [BZ #16338]
26306         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26307         to determine exponent and adjust argument to have exponent of -1.
26308         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26309         log2.
26310         * math/auto-libm-test-out: Regenerated.
26311         * sysdeps/i386/fpu/libm-test-ulps: Update.
26312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26314 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26316         * manual/probes.texi: Remove cases when per-thread arenas are
26317         disabled.
26319 2013-12-18  Andreas Schwab  <schwab@suse.de>
26321         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26322         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26323         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26324         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26325         * sysdeps/i386/i686/multiarch/Makefile: Update.
26326         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26328 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26330         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26331         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26333 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26335         [BZ #15968]
26336         Support TZ transition times < 00:00:00.
26337         This is needed for version-3 tz-format files; it supports time
26338         stamps past 2037 for America/Godthab (the only entry in the tz
26339         database for which this change is relevant).
26340         * manual/time.texi (TZ Variable): Document transition times
26341         from -167:59:59 through -00:00:01.
26342         * time/tzset.c (tz_rule): Time of day is now signed.
26343         (__tzset_parse_tz): Parse negative time of day.
26345         Document TZ transition times >= 25:00:00.
26346         * manual/time.texi (TZ Variable): Document transition times from
26347         25:00:00 through 167:59:59.  These are already supported, and this
26348         support will help with version-3 tz-format files.
26350         * manual/time.texi (TZ Variable): Modernize North America example
26351         to reflect current (i.e., 2007-and-later) daylight saving rules.
26353         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26355 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26357         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26358         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26359         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26360         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26361         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26362         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26363         * sysdeps/unix/bsd/clock.c: Likewise.
26364         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26365         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26366         * sysdeps/unix/bsd/init-posix.c: Likewise.
26367         * sysdeps/unix/bsd/poll.c: Likewise.
26368         * sysdeps/unix/bsd/ptsname.c: Likewise.
26369         * sysdeps/unix/bsd/seekdir.c: Likewise.
26370         * sysdeps/unix/bsd/setegid.c: Likewise.
26371         * sysdeps/unix/bsd/seteuid.c: Likewise.
26372         * sysdeps/unix/bsd/setgid.c: Likewise.
26373         * sysdeps/unix/bsd/setrgid.c: Likewise.
26374         * sysdeps/unix/bsd/setruid.c: Likewise.
26375         * sysdeps/unix/bsd/setsid.c: Likewise.
26376         * sysdeps/unix/bsd/setuid.c: Likewise.
26377         * sysdeps/unix/bsd/sigaction.c: Likewise.
26378         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26379         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26380         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26381         * sysdeps/unix/bsd/telldir.c: Likewise.
26382         * sysdeps/unix/bsd/times.c: Likewise.
26383         * sysdeps/unix/bsd/usleep.c: Likewise.
26385         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26386         ($(objpfx)libbsd-compat.a): Remove rule.
26388         * include/features.h (__FAVOR_BSD): Do not define.
26389         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26390         features conflicting with POSIX.
26391         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26392         (_BSD_SOURCE): Remove description of not being a subset of other
26393         feature test macros.
26394         * manual/job.texi (getpgrp): Do not document BSD version.
26395         (getpgid): Do not document by reference to BSD getpgrp.
26396         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26397         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26398         * signal/signal.h [__FAVOR_BSD]: Likewise.
26399         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26400         instead of making contents conditional on [__FAVOR_BSD].
26401         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26403 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26407 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26409         [BZ #16314]
26410         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26411         values below 2**-450, not 2**-500.
26412         * math/auto-libm-test-in: Don't allow spurious underflow from
26413         hypot.
26414         * math/auto-libm-test-out: Regenerated.
26416         [BZ #16316]
26417         [BZ #16330]
26418         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26419         values of ha and hb and sort them after adjusting subnormal
26420         arguments.
26421         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26422         Likewise.
26423         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26424         values of ea and eb and sort them after adjusting subnormal
26425         arguments.
26426         * math/auto-libm-test-in: Do not expect some hypot tests of
26427         subnormals to fail.  Add more hypot tests.
26428         * math/auto-libm-test-out: Regenerated.
26430 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26432         [BZ #13304]
26433         * sysdeps/sh/s_fma.c: New file.
26434         * sysdeps/sh/s_fmaf.c: New file.
26435         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26436         version.
26437         * sysdeps/sh/Implies: Add sh/soft-fp.
26439 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26441         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26442         level of indirection to members `objname', `errstring', `malloced'.
26443         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26444         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
26445         it as the __longjmp argument (just pass 1 instead).
26446         (_dl_catch_error): Initialize C with argument pointers and address of
26447         volatile local ERRCODE rather than copying values out of C at return.
26449 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
26451         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26452         * math/auto-libm-test-out: Regenerated.
26453         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26454         (hypot_test_data): Likewise.
26455         (pow_test_data): Likewise.
26456         (pow_tonearest_test_data): Likewise.
26457         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26458         mpfr_ff_f.
26459         (func_calc_desc): Add mpfr_ff_f union field.
26460         (FUNC_mpfr_ff_f): New macro.
26461         (test_functions): Add atan2, hypot and pow.
26462         (special_fill_min): New function.
26463         (special_fill_minus_min): Likewise.
26464         (special_fill_min_subnorm): Likewise.
26465         (special_fill_minus_min_subnorm): Likewise.
26466         (special_real_inputs): Add min, -min, min_subnorm and
26467         -min_subnorm.
26468         (calc_generic_results): Handle mpfr_ff_f.
26469         * sysdeps/i386/fpu/libm-test-ulps: Update.
26470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26472 2013-12-16  Will Newton  <will.newton@linaro.org>
26474         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26475         (Aligned Memory Blocks): Add documentation for aligned_alloc
26476         and suggest it as an alternative to posix_memalign.
26477         (Hooks for Malloc): Document __memalign_hook is also called
26478         for aligned_alloc.  (Summary of Malloc): Add summary for
26479         aligned alloc.  Document __memalign_hook is also called
26480         for aligned_alloc.
26482 2013-12-16  Will Newton  <will.newton@linaro.org>
26484         * manual/memory.texi (Malloc Examples): Clarify default
26485         alignment documentation.  Suggest posix_memalign rather
26486         than memalign or valloc.
26487         (Aligned Memory Blocks): Remove suggestion to use memalign
26488         or valloc.  Remove obsolete comment about BSD.
26489         Document memalign errno values and mark the function obsolete.
26490         Document posix_memalign returned error codes.  Mark valloc
26491         as obsolete.  (Hooks for Malloc): __memalign_hook is also
26492         called for posix_memalign and valloc.
26493         (Summary of Malloc): Add posix_memalign to function summary.
26494         __memalign_hook is also called for posix_memalign and valloc.
26496 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26498         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26499         TAYLOR_SIN.
26500         (__sin): Adjust.
26501         (__cos): Likewise.
26502         (sloww): Use mynumber union.  Expand ternary operator into
26503         if-else statements.
26504         (cslow): use mynumber union.
26506 2013-12-16  Allan McRae  <allan@archlinux.org>
26508         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26509         * configure: Regenerated.
26511         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26513         [BZ #14120]
26514         * configure.ac: Added --enable-maintainer-mode. Check for
26515         autoconf when enabled.
26516         * configure: Regenerated.
26518         * nscd/nscd.service: New file.
26519         * nscd/nscd.tmpfiles: New file.
26521 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
26523         [BZ #12100]
26524         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26525         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26526         * sysdeps/x86_64/multiarch/strstr.c: ... here.
26527         (strstr): Add __strstr_sse2_unaligned ifunc.
26528         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26529         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26530         (strcasestr): Remove __strcasestr_sse42 ifunc.
26531         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26532         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26533         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26535 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26537         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26538         * sysdeps/sh/bits/fenv.h: ... here.
26539         * sysdeps/sh/sh4/fpu/bits: Remove directory.
26541 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26543         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26545         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26546         hypotf multiarch implementations.
26547         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26548         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26549         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26550         multiarch hypot for PPC64.
26551         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26552         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26553         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26554         multiarch hypotf for PPC64.
26556         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26557         modff multiarch implementations.
26558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26561         multiarch modf for PPC64.
26562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26565         multiarch modff for PPC64.
26567         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26568         and logl multiarch implementations.
26569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26572         multiarch logb for PPC64.
26573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26576         multiarch logb for PPC64.
26577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26580         multiarch logb for PPC64.
26582         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26583         isinff multiarch implementation.
26584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26585         file.
26586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26588         multiarch isinf for PPC64.
26589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26590         file.
26591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26592         multiarch isinff for PPC64.
26594         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26595         finitef multiarch implementation.
26596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26597         file.
26598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26600         multiarch finite for PPC64.
26601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26602         file.
26603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
26604         multiarch finitef for PPC64.
26606         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
26607         lrint multiarch implementation.
26608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
26609         file.
26610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
26611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
26612         multiarch llrint for PPC64.
26613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
26614         multiarch lrint for PPC64.
26616         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
26617         copysignf multiarch implementation.
26618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
26619         file.
26620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
26621         file.
26622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
26623         multiarch copysign for PPC64.
26624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
26625         multiarch copysignf for PPC64.
26627         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
26628         multiarch implementation.
26629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
26630         file.
26631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
26632         file.
26633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
26634         file.
26635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
26636         file.
26637         multiarch llround for PPC64.
26638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
26639         multiarch trunc for PPC64.
26640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
26641         multiarch truncf for PPC64.
26643         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
26644         multiarch implementation.
26645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
26646         file.
26647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
26648         file.
26649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
26650         file.
26651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
26652         file.
26653         multiarch llround for PPC64.
26654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
26655         multiarch round for PPC64.
26656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
26657         multiarch roundf for PPC64.
26659         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
26660         multiarch implementation.
26661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
26662         file.
26663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26664         file.
26665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26666         file.
26667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26668         file.
26669         multiarch llround for PPC64.
26670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26671         multiarch floor for PPC64.
26672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26673         multiarch floorf for PPC64.
26675         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26676         multiarch implementation.
26677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26678         file.
26679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26680         file.
26681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26682         file.
26683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26684         file.
26685         multiarch llround for PPC64.
26686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26687         multiarch ceil for PPC64.
26688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26689         multiarch ceilf for PPC64.
26691         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26692         multiarch implementation.
26693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26694         file.
26695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26696         file.
26697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26698         file.
26699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26700         multiarch llround for PPC64.
26701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26702         multiarch lround for PPC64.
26704         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26705         multiarch implementation.
26706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26709         file.
26710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26713         multiarch isnan for PPC64.
26714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26715         multiarch isnanf for PPC64.
26717         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26718         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26719         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26720         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26721         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26724         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26725         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26726         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26727         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26730         multiarch implementations.
26731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26732         (__libc_ifunc_impl_list): Likewise.
26733         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26734         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26735         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26736         multiarch stpcpy for PPC64.
26738         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26739         multiarch implementations.
26740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26741         (__libc_ifunc_impl_list): Likewise.
26742         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26743         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26744         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26745         multiarch strcpy for PPC64.
26747         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26748         redefine function name.
26749         (_wordcopy_fwd_dest_aligned): Likewise.
26750         (_wordcopy_bwd_aligned): Likewise.
26751         (_wordcopy_bwd_dest_aligned): Likewise.
26752         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26753         multiarch implementations.
26754         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26755         (__libc_ifunc_impl_list): Likewise.
26756         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26757         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26758         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26759         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26760         multiarch wcscpy for PPC64.
26762         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26763         multiarch implementations.
26764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26765         (__libc_ifunc_impl_list): Likewise.
26766         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26767         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26768         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26769         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26770         multiarch wcscpy for PPC64.
26772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26773         multiarch implementations.
26774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26775         (__libc_ifunc_impl_list): Likewise.
26776         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26777         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26778         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26779         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26780         multiarch wcsrchr for PPC64.
26782         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26783         multiarch implementations.
26784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26785         (__libc_ifunc_impl_list): Likewise.
26786         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26787         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26788         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26789         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26790         multiarch wcschr for PPC64.
26792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26793         multiarch implementations.
26794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26795         (__libc_ifunc_impl_list): Likewise.
26796         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26797         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26798         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26799         multiarch strchrnul for PPC64.
26801         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26802         implementations.
26803         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26804         (__libc_ifunc_impl_list): Likewise.
26805         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26806         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26807         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26808         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26809         strchr for PPC64.
26811         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26812         implementations.
26813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26814         (__libc_ifunc_impl_list): Likewise.
26815         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26816         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26817         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26818         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26819         strncmp for PPC64.
26821         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26822         multiarch implementations.
26823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26824         (__libc_ifunc_impl_list): Likewise.
26825         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26826         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26827         strncasecmp for PPC64.
26828         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26829         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26830         multiarch strncasecmp_l for PPC64.
26832         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26833         multiarch implementations.
26834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26835         (__libc_ifunc_impl_list): Likewise.
26836         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26837         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26838         multiarch strcasecmp for PPC64.
26839         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26840         file.
26841         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26842         multiarch strcasecmp_l for PPC64.
26844         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26845         implementations.
26846         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26847         (__libc_ifunc_impl_list): Likewise.
26848         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26849         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26850         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26851         strnlen for PPC64.
26853         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26854         implementations.
26855         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26856         (__libc_ifunc_impl_list): Likewise.
26857         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26858         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26859         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26860         strlen for PPC64.
26862         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26863         implementations.
26864         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26865         (__libc_ifunc_impl_list): Likewise.
26866         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26867         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26868         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26869         rawmemrchr for PPC64.
26871         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26872         implementation.
26873         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26874         (__libc_ifunc_impl_list): Likewise.
26875         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26876         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26877         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26878         memrchr for PPC64.
26880         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26881         implementation.
26882         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26883         (__libc_ifunc_impl_list): Likewise.
26884         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26885         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26886         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26887         memchr for PPC64.
26889         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26890         implementation.
26891         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26892         (__libc_ifunc_impl_list): Likewise.
26893         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26894         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26895         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26896         mempcpy for PPC64.
26898         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26899         avoid cretion of __bzero symbol.
26900         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26901         Likewise.
26902         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26903         Likewise.
26904         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26905         Likewise.
26906         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26907         multiarch implementations.
26908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26909         (__libc_ifunc_impl_list): Likewise.
26910         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26911         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26912         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26913         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26914         bzero for PPC32.
26915         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26916         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26917         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26918         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26919         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26920         memset for PPC64.
26921         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26923         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26925         implementations.
26926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26927         (__libc_ifunc_impl_list): Likewise.
26928         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26929         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26930         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26931         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26932         memcmp for PPC64.
26934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26935         multiarch for POWER/PPC64.
26936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26937         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26938         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26939         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26940         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26941         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26942         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26943         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26944         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26945         memcpy for PPC64.
26947         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26948         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26949         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26950         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26951         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26952         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26953         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26954         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26955         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26956         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26957         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26958         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26959         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26960         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26961         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26970 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26972         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26974 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26976         * benchtests/Makefile (bench): Add exp2 and log2.
26977         (LDLIBS-bench-exp2): Add -lm.
26978         (LDLIBS-bench-log2): Likewise.
26979         * benchtests/exp2-inputs: New inputs file.
26980         * benchtests/log2-inputs: New inputs file.
26981         * benchtests/log-inputs: Add new inputs.
26982         * benchtests/tan-inputs: Likewise.
26984 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26986         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
26987         definition...
26988         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
26989         (csloww2): ... from here.
26991         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
26992         instead of structures.
26993         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
26994         (POLYNOMIAL): Likewise.
26995         (TAYLOR_SLOW): Likewise.
26996         (__sin): Likewise.
26997         (__cos): Likewise.
26998         (slow1): Likewise.
26999         (slow2): Likewise.
27000         (sloww): Likewise.
27001         (sloww1); Likewise.
27002         (sloww2): Likewise.
27003         (bsloww1): Likewise.
27004         (bsloww2): Likewise.
27005         (cslow2): Likewise.
27006         (csloww): Likewise.
27007         (csloww1): Likewise.
27008         (csloww2): Likewise.
27010 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27012         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27013         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27014         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27015         * malloc/hooks.c (realloc_check): Likewise.
27017         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27018         * malloc/arena.c: Remove PER_THREAD conditional.
27019         [!PER_THREAD]: Remove code.
27020         (ptmalloc_unlock_all2): Likewise.
27021         (ptmalloc_init): Likewise.
27022         (_int_new_arena): Likewise.
27023         (arena_get2): Likewise.
27024         * malloc/hooks.c (__malloc_get_state): Likewise.
27025         (__malloc_set_state): Likewise.
27026         * malloc/malloc.c: Likewise.
27027         (struct malloc_state): Likewise.
27028         (struct malloc_par): Likewise.
27029         (__libc_realloc): Likewise.
27030         (__libc_mallopt): Likewise.
27032 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27034         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27036 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27038         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27039         macro to a function.  Check for zero perturb_byte.
27040         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27042         * malloc/malloc.c: (force_reg): Remove.
27043         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27044         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27045         force_reg by atomic_forced_read.
27046         * malloc/arena.c (ptmalloc_init): Likewise.
27047         * malloc/hooks.c (top_check): Likewise.
27049 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27053 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27055         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27057 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27059         * math/auto-libm-test-in: Add tests of lgamma.
27060         * math/auto-libm-test-out: Regenerated.
27061         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27062         (M_LOG_2_SQRT_PIl): Likewise.
27063         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27064         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27065         mpfr_f_f1.
27066         (func_calc_desc): Add mpfr_f_f1 union field.
27067         (ARGS1): New macro.
27068         (ARGS2): Likewise.
27069         (ARGS3): Likewise.
27070         (ARGS4): Likewise.
27071         (RET1): Likewise.
27072         (RET2): Likewise.
27073         (CALC): Likewise.
27074         (FUNC): Likewise.
27075         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27076         (test_functions): Add lgamma.
27077         (calc_generic_results): Handle mpfr_f_f1.
27078         * sysdeps/i386/fpu/libm-test-ulps: Update.
27079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27081 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27083         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27084         __mpn_add_n for PowerPC64/POWER7.
27085         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27086         __mpn_sub_n for PowerPC64/POWER7.
27088         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27089         __mpn_addmul_1 for PowerPC64.
27090         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27091         __mpn_submul_1 for PowerPC64.
27092         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27093         for PowerPC64.
27094         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27095         for PowerPC64.
27097 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27099         [BZ #15089]
27100         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27102 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27104         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27106         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27107         add multiarch folders.
27108         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27109         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27110         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27111         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27112         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27113         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27114         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27115         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27116         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27117         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27118         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27127         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27129         New file.
27130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27131         New file.
27132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27133         multiarch __ieee754_hypot for PowerPC32.
27134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27135         New file.
27136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27137         New file.
27138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27139         multiarch __ieee754_hypotf for PowerPC32.
27141         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27142         long_double_symbol only if __logbl is defined.
27143         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27144         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27145         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27146         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27147         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27148         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27149         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27150         path for implementation.
27151         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27152         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27154         logb, and logbl multiarch implementations for PowerPC32.
27155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27156         file.
27157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27158         file.
27159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27160         multiarch logb for PowerPC32.
27161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27162         file.
27163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27164         file.
27165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27166         multiarch logbf for PowerPC32.
27167         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27169         file.
27170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27171         multiarch logbl implementation for PowerPC32.
27173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27174         and modff multiarch implementations.
27175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27176         New file.
27177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27178         New file.
27179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27180         multiarch modf for PowerPC32.
27181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27182         New file.
27183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27184         New file.
27185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27186         multiarch modff for PowerPC32.
27188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27189         and lrintf multiarch implementations.
27190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27191         New file.
27192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27193         New file.
27194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27195         multiarch lrint for PowerPC32.
27196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27197         file: multiarch lrintf for PowerPC32.
27199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27200         and lroundf multiarch implementations.
27201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27202         New file.
27203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27204         New file.
27205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27206         New file.
27207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27208         multiarch lround for PowerPC32.
27209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27210         file: multiarch lroundf for PowerPC32.
27212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27213         copysign and copysignf multiarch implementations.
27214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27215         New file.
27216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27217         New file.
27218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27219         file: multiarch copysign for PowerPC32.
27220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27221         file: multiarch copysignf for PowerPC32.
27223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27224         and truncf multiarch implementations.
27225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27226         New file.
27227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27228         file.
27229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27230         multiarch trunc for PowerPC32.
27231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27232         New file.
27233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27234         New file.
27235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27236         multiarch truncf for PowerPC32.
27238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27239         and roundf multiarch implementations.
27240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27241         New file.
27242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27243         file.
27244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27245         multiarch round for PowerPC32.
27246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27247         New file.
27248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27249         New file.
27250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27251         multiarch roundf for PowerPC32.
27253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27254         and floorf multiarch implementations.
27255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27256         New file.
27257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27258         file.
27259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27260         multiarch floor for PowerPC32.
27261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27262         New file.
27263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27264         New file.
27265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27266         multiarch floorf for PowerPC32.
27268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27269         and ceilf multiarch implementations.
27270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27271         New file.
27272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27273         file.
27274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27275         multiarch ceil for PowerPC32.
27276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27277         New file.
27278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27279         file.
27280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27281         multiarch ceilf for PowerPC32.
27283         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27284         is defined.
27285         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27286         FINITEF is defined.
27287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27288         and finitef multiarch implementations.
27289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27290         New file.
27291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27292         file.
27293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27294         multiarch finite for PowerPC32.
27295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27296         New file.
27297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27298         file: multiarch finitef for PowerPC32.
27300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27301         and isinff multiarch implementations.
27302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27303         file.
27304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27305         file.
27306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27307         multiarch isinf for PowerPC32.
27308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27309         New file.
27310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27311         multiarch isinff for PowerPC32.
27313         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27314         alias when __isnan is defined.
27315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27316         and isnanf multiarch implementations.
27317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27318         file.
27319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27320         file.
27321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27322         file.
27323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27324         file.
27325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27326         multiarch isnan for PowerPC32.
27327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27328         New file.
27329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27330         New file.
27331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27332         multiarch isnanf for PowerPC32.
27334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27335         and sqrtf multiarch implementations.
27336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27337         file.
27338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27339         file.
27340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27341         multiarch sqrt for PowerPC32.
27342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27343         file.
27344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27345         file.
27346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27347         multiarch sqrtf for PowerPC32.
27349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27350         and llroundf multiarch implementations.
27351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27352         New file.
27353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27354         New file.
27355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27356         New file.
27357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27358         file: multiarch llround for PowerPC32.
27359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27360         file: multiarch llroundf for PowerPC32.
27362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27363         multiarch PowerPC32 fpu implementations.
27364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27365         New file.
27366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27367         New file.
27368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27369         multiarch llrint for PowerPC32.
27370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27371         New file.
27372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27373         New file.
27374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27375         file.
27377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27379         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27380         file.
27381         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27382         file.
27383         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27384         file.
27385         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27386         multiarch wordcopy for PPC32.
27387         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27388         wordcopy objects.
27389         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27390         (__libc_ifunc_impl_list): Likewise.
27391         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27392         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27393         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27394         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27395         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27396         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27398         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27399         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27400         file.
27401         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27402         file.
27403         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27404         file.
27405         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27406         multiarch wcscpy for PPC32.
27407         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27408         multiarch objects.
27409         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27410         (__libc_ifunc_impl_list): Likewise.
27411         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27412         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27413         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27414         sysdeps/powerpc/power6/wcscpy.c.
27416         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27417         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27418         file.
27419         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27420         file.
27421         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27422         file.
27423         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27424         multiarch wcsrchr for PPC32.
27425         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27426         multiarch objects.
27427         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27428         (__libc_ifunc_impl_list): Likewise.
27429         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27430         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27431         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27432         sysdeps/powerpc/power6/wcsrchr.c.
27434         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27435         file.
27436         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27437         file.
27438         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27439         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27440         multiarch wcschr for PPc32.
27441         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27442         multiarch objects.
27443         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27444         (__libc_ifunc_impl_list): Likewise.
27445         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27446         * sysdeps/powerpc/power6/wcschr.c: ... to here.
27447         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27448         sysdeps/powerpc/power6/wcschr.c.
27450         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27451         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27452         file.
27453         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27454         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27455         file: multiarch strchr for PPC32.
27456         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27457         multiarch objects.
27458         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27459         (__libc_ifunc_impl_list): Likewise.
27461         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27462         name.
27463         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27464         file.
27465         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27466         file.
27467         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27468         multiarch strchrnul for PPC32.
27469         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27470         multiarch objects.
27471         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27472         (__libc_ifunc_impl_list): Likewise.
27474         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27475         file.
27476         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27477         multiarch strncasecmp for PPC32.
27478         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27479         file.
27480         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27481         multiarch strncasecmp_l for PPC32.
27482         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27483         strncasecmp multiarch objects.
27484         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27485         (__libc_ifunc_impl_list): Likewise.
27487         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27488         file.
27489         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27490         multiarch strncasecmp for PPC32.
27491         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27492         New file.
27493         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27494         multiarch strcasecmp_l for PPC32.
27495         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27496         multiarch objects.
27497         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27498         (__libc_ifunc_impl_list): Likewise.
27500         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27501         file.
27502         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27503         file.
27504         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27505         multiarch strncmp for PPC32.
27506         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27507         multiarch objects.
27508         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27509         (__libc_ifunc_impl_list): Likewise.
27511         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27512         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27513         file.
27514         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27515         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27516         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27517         multiarch objects.
27518         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27519         (__libc_ifunc_impl_list): Likewise.
27521         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27522         file.
27523         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27524         file.
27525         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27526         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27527         multiarch objects.
27528         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27529         (__libc_ifunc_impl_list): Likewise.
27531         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27532         file.
27533         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27534         file.
27535         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27536         multiarch rawmemchr for PPC32.
27537         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27538         multiarch objects.
27539         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27540         (__libc_ifunc_impl_list): Likewise.
27542         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27543         file.
27544         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27545         file.
27546         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27547         file: memrchr multiarch for PPC32.
27548         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27549         multiarch objects.
27550         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27551         (__libc_ifunc_impl_list): Likewise.
27553         * string/memchr.c (__memchr): Using macro to redefine symbol name.
27554         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27555         file.
27556         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27557         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27558         multiarch memchr for PPC32.
27559         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27560         multiarch objects.
27561         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27562         (__libc_ifunc_impl_list): Likewise.
27564         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27565         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27566         file.
27567         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27568         file.
27569         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27570         file: multiarch mempcpy for PPC32.
27571         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27572         multiarch objects.
27573         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27574         (__libc_ifunc_impl_list): Likewise.
27576         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27577         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27578         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27579         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27580         multiarch bzero for PPC32.
27581         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27582         file.
27583         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27584         file.
27585         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27586         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27587         file: multiarch memset for PPC32.
27588         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27589         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27590         memset multiarch objects.
27591         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27592         (__libc_ifunc_impl_list): Likewise.
27594         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27595         file.
27596         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27597         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27598         memcmp for PPC32.
27599         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27600         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27601         multiarch objects.
27602         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27603         (__libc_ifunc_impl_list): Likewise.
27605         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
27606         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
27607         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
27608         file.
27609         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
27610         file.
27611         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
27612         file.
27613         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
27614         multiarch memcpy for PPC32.
27615         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
27616         multiarch objects.
27617         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27618         (__libc_ifunc_impl_list): Likewise.
27620         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
27621         support multiarch for POWER/PPC32.
27622         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
27623         Likewise.
27624         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
27626         Implies file to make multiarch folder appers before the fpu and
27627         default folder for power4 configuration.
27629 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27631         * scripts/bench.pl: Append volatile keyword to type.
27633 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27635         * sysdeps/sh/sotruss-lib.c: New file.
27636         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
27638 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27642 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
27644         [BZ #6810]
27645         * math/w_tgamma.c: Include <errno.h>.
27646         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
27647         * math/w_tgammaf.c: Include <errno.h>.
27648         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
27649         * math/w_tgammal.c: Include <errno.h>.
27650         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
27651         * math/auto-libm-test-in: Do not allow missing errno on tgamma
27652         underflow.  Add more tgamma tests.
27653         * math/auto-libm-test-out: Regenerated.
27654         * sysdeps/i386/fpu/libm-test-ulps: Update.
27655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27657         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
27658         sin, sinh, tan, tanh, tgamma, y0 and y1.
27659         * math/auto-libm-test-out: Regenerated.
27660         * math/libm-test.inc (TEST_COND_x86_64): New macro.
27661         (TEST_COND_x86): Likewise.
27662         (M_E2l): Remove macro.
27663         (M_E3l): Likewise.
27664         (M_2_SQRT_PIl): Likewise.
27665         (M_SQRT_PIl): Likewise.
27666         (M_1_DIV_El): Likewise.
27667         (log_test_data): Use AUTO_TESTS_f_f.
27668         (log10_test_data): Likewise.
27669         (log1p_test_data): Likewise.
27670         (log2_test_data): Likewise.
27671         (sin_test_data): Likewise.
27672         (sin_tonearest_test_data): Likewise.
27673         (sin_towardzero_test_data): Likewise.
27674         (sin_downward_test_data): Likewise.
27675         (sin_upward_test_data): Likewise.
27676         (sinh_test_data): Likewise.
27677         (sinh_tonearest_test_data): Likewise.
27678         (sinh_towardzero_test_data): Likewise.
27679         (sinh_downward_test_data): Likewise.
27680         (sinh_upward_test_data): Likewise.
27681         (tan_test_data): Likewise.
27682         (tan_tonearest_test_data): Likewise.
27683         (tan_towardzero_test_data): Likewise.
27684         (tan_downward_test_data): Likewise.
27685         (tan_upward_test_data): Likewise.
27686         (tanh_test_data): Likewise.
27687         (tgamma_test_data): Likewise.
27688         (y0_test_data): Likewise.
27689         (y1_test_data): Likewise.
27690         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27691         (special_real_inputs): Add pi/4.
27692         * sysdeps/i386/fpu/libm-test-ulps: Update.
27693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27695 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27697         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27698         "longjmp_target" static probes.
27699         (__longjmp): Rename to __longjmp_symbol.
27700         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27701         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27702         on which longjmp to generate.
27703         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27704         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27705         probe.
27706         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27707         (__sigjmp_save): Rename to __sigjmp_save_symbol.
27708         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27709         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27710         and __sigjmp_save_symbol based on which sigsetjmp to generated.
27711         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27713         __longjmp_symbol based on which __longjmp to generate.
27714         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27715         probe.
27716         (setjmp): Rename to setjmp_symbol.
27717         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27718         (_setjmp): Rename to _setjmp_symbol.
27719         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27720         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27721         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27722         which setjmp to generate.
27723         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27724         "longjmp_target" static probes.
27726 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27728         * benchtests/README: Add note about output arguments.
27729         * benchtests/bench-sincos.c: Remove file.
27730         * benchtests/sincos-inputs: New file.
27731         * scripts/bench.pl: Identify output arguments and define
27732         static variables for them.
27734         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27736         [BZ #15941]
27737         * Makefile (INSTALL): Add install-plain.texi as the primary
27738         dependency.
27739         * manual/install-plain.texi: New file.
27740         * manual/install.texi: Include node directive only for
27741         non-plaintext output.
27743 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
27745         * stdlib/longlong.h: Update from GCC.
27747         [BZ #6807]
27748         [BZ #15901]
27749         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27750         * math/w_j0f.c (y0f): Likewise.
27751         * math/w_j0l.c (__y0l): Likewise.
27752         * math/w_j1.c (y1): Likewise.
27753         * math/w_j1f.c (y1f): Likewise.
27754         * math/w_j1l.c (__y1l): Likewise
27755         * math/w_jn.c (yn): Likewise.
27756         * math/w_jnf.c (ynf): Likewise.
27757         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27758         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
27759         value for Bessel function domain errors outside _SVID_ mode.
27760         Adjust sign of return value for yn (negative integer, 0).
27761         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27762         by zero in return for negative x and set sign appropriately for
27763         negative n.
27764         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27765         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27766         * math/libm-test.inc (y0_test_data): Add more tests and adjust
27767         expectations in error cases.
27768         (y1_test_data): Likewise.
27769         (yn_test_data): Likewise.
27770         * sysdeps/i386/fpu/libm-test-ulps: Update.
27771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27773 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27775         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27776         "64" to "64-v1".  Add "64-v2".
27777         (abi-64-options): Rename to ...
27778         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
27779         (abi-64-condition): Rename to ...
27780         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
27781         (abi-64-ld-soname): Rename to ...
27782         (abi-64-v1-ld-soname): ... this.
27783         (abi-64-v2-options): Define.
27784         (abi-64-v2-condition): Likewise.
27785         (abi-64-v2-ld-soname): Likewise.
27786         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27787         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27792 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27793             Alan Modra  <amodra@gmail.com>
27795         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27796         New versions for use with the ELFv2 ABI.
27797         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27798         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27799         declaration.
27800         (struct La_ppc64v2_retval): Likewise.
27801         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27802         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27803         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27804         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27805         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27806         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27807         Do not save or restore CR.
27808         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27809         (_dl_profile_resolve): Do no save or restore CR.  Support extended
27810         return values for ELFv2 ABI.  Fix location of FPR return registers.
27811         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27812         updated values for _CALL_ELF == 2.
27813         (La_regs, La_retval, int_retval): Likewise.
27815 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27817         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27818         (FRAME_MIN_SIZE_PARM): Likewise.
27819         (FRAME_BACKCHAIN): Likewise.
27820         (FRAME_CR_SAVE): Likewise.
27821         (FRAME_LR_SAVE): Likewise.
27822         (FRAME_TOC_SAVE): Likewise.
27823         (FRAME_PARM_SAVE): Likewise.
27824         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27825         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27826         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27827         (call_mcount_parm_offset): New macro.
27828         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27829         (PROF): Use symbolic stack frame offsets.
27830         (TAIL_CALL_SYSCALL_ERROR): Likewise.
27831         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27832         Redefine in terms of FRAME_MIN_SIZE.
27833         (_dl_runtime_resolve): Use symbolic stack frame offsets.
27834         (_dl_profile_resolve): Likewise.  Update comment.
27835         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27836         symbols stack frame offsets.
27837         (__sigsetjmp): Likewise.
27838         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27839         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27840         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27841         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27844         (FRAME_BACKCHAIN): Remove.
27845         (FRAME_CR_SAVE): Likewise.
27846         (FRAME_LR_SAVE): Likewise.
27847         (FRAME_COMPILER_DW): Likewise.
27848         (FRAME_LINKER_DW): Likewise.
27849         (FRAME_TOC_SAVE): Likewise.
27850         (FRAME_PARM_SAVE): Likewise.
27851         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27852         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27853         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27855         (CHECK_SP): Use symbolic stack frame offsets.
27856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27857         zone" instead of caller's parameter save area for temp storage.
27858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27859         Likewise.  Also, use symbolic stack frame offsets.
27860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27861         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27862         our own stack frame instead of the caller's.
27863         (__socket): Use symbolic stack frame offsets.
27865 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27866             Alan Modra  <amodra@gmail.com>
27868         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27869         Define.
27870         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27871         (PPC64_LOCAL_ENTRY_OFFSET): Define.
27872         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27873         New function.
27874         (elf_machine_fixup_plt): Call it.
27875         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
27876         reloc arguments.
27877         (elf_machine_rela): Update call to elf_machine_plt_conflict.
27878         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27879         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27880         r2 before calling target.
27882 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27883             Alan Modra  <amodra@gmail.com>
27885         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27886         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27887         versions of macros to support ELFv2 ABI.
27888         (LOCALENTRY): New macro.
27889         (ENTRY, EALIGN): Use it.
27890         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27891         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27892         fall through into ENTRY entry point.
27893         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27894         Only define if _CALL_ELF != 2.
27896         (elf_machine_matches_host): Verify ABI version matches.
27897         (RTLD_START): Use LOCALENTRY.
27898         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27899         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27900         (PLT_ENTRY_WORDS): New macro.
27901         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27902         (elf_machine_runtime_setup): Support ELFv2 ABI.
27903         (elf_machine_fixup_plt): Likewise.
27904         (elf_machine_plt_conflict): Likewise.
27905         (resolve_ifunc): Likewise.
27906         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27907         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27908         Likewise.
27909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27910         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27912         (makecontext): Support ELFv2 ABI.
27913         * elf/elf.h (EF_PPC64_ABI): Define.
27915 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27917         * sysdeps/powerpc/powerpc64/sysdep.h
27918         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27919         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27920         (ENTRY) [ASSEMBLER]: ... but instead here ...
27921         (EALIGN) [ASSEMBLER]: ... and here.
27922         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27923         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27924         (ENTRY_2) [!ASSEMBLER]: Use it.
27925         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27926         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
27927         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27928         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27929         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27931         Use PPC64_LOAD_FUNCPTR.
27933         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27935 2013-12-04  Alan Modra  <amodra@gmail.com>
27937         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27938         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27939         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27940         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27942         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27943         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27944         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27945         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27946         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27947         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27949 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27952         (__makecontext): Fix incorrect CFI when backtracing out of
27953         context created via makecontext.
27954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27955         (__setcontext): Fix incorrect CFI during switch to new context.
27956         (__novec_setcontext): Likewise.
27958 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27960         [BZ #4772]
27961         * time/strptime_l.c (__strptime_internal): Allow modifiers
27962         in strptime.
27963         * time/tst-strptime.c (day_tests): Add testcase.
27965 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27967         * scripts/bench.pl: Skip over blank lines.
27969 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
27971         [BZ #926]
27972         * manual/time.texi (Calendar Time): Clarify what timezone functions
27973         use.
27975 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27979 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27981         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
27982         implementation.
27983         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27984         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27985         * debug/memset_chk.c (__memset_chk): Likewise.
27986         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
27987         * debug/strncpy_chk.c: Likewise.
27989 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27991         [BZ #15268]
27992         [BZ #15425]
27993         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
27994         (__ieee754_exp): For possibly underflowing results, check size of
27995         result and force underflow exception if required.
27996         * math/auto-libm-test-in: Add more tests of exp.
27997         * math/auto-libm-test-out: Regenerated.
27998         * sysdeps/i386/fpu/libm-test-ulps: Update.
27999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28001         [BZ #16283]
28002         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28003         * math/w_exp2f.c (__exp2f): Likewise.
28004         * math/w_exp2l.c (__exp2l): Likewise.
28005         * math/auto-libm-test-in: Do not allow missing errno on exp2
28006         underflow.
28007         * math/auto-libm-test-out: Regenerated.
28009 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28011         [BZ #16274]
28012         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28013         handle filename validation.
28014         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28015         (do_open): Delete.
28017 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28019         [BZ #6786]
28020         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28021         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28022         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28023         <float.h>.
28024         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28025         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28026         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28027         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28028         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28029         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28030         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28031         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28032         Add more erfc tests.
28033         * math/auto-libm-test-out: Regenerated.
28034         * sysdeps/i386/fpu/libm-test-ulps: Update.
28035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28037         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28038         exp2, expm1, j0 and j1.
28039         * math/auto-libm-test-out: Regenerated.
28040         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28041         (erfc_test_data): Likewise.
28042         (exp_test_data): Likewise.
28043         (exp_tonearest_test_data): Likewise.
28044         (exp_towardzero_test_data): Likewise.
28045         (exp_downward_test_data): Likewise.
28046         (exp_upward_test_data): Likewise.
28047         (exp10_test_data): Likewise.
28048         (exp2_test_data): Likewise.
28049         (expm1_test_data): Likewise.
28050         (j0_test_data): Likewise.
28051         (j1_test_data): Likewise.
28052         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28053         (input_flag_type): Add flag_xfail_rounding.
28054         (input_flags): Add xfail-rounding.
28055         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28056         (output_for_one_input_case): Handle flag_xfail_rounding.
28057         * sysdeps/i386/fpu/libm-test-ulps: Update.
28058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28060 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28062         [BZ #16289]
28063         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28064         division by 0.
28066 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28068         [BZ #16195]
28069         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28070         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28071         (STAP_PROBE0): New macro.
28072         (STAP_PROBE1): Likewise.
28073         (STAP_PROBE2): Likewise.
28074         (STAP_PROBE3): Likewise.
28075         (STAP_PROBE4): Likewise.
28077 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28079         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28081 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28083         * benchtests/Makefile (bench): Add sqrt.
28084         (LDLIBS-bench-sqrt): New.
28085         * benchtests/sqrt-input: New.
28087 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28089         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28090         (GAIH_EAI): Likewise.
28091         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28092         (gaih_inet): Likewise.
28093         (getaddrinfo): Don't use GAIH_EAI.
28095         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28096         (struct gaih): Remove definition.
28098 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28100         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28101         Use HERRNOP directly.
28103 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28107 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28109         * math/gen-auto-libm-tests.c (test_functions): Add more
28110         single-argument functions.
28111         (special_fill_pi_2): New function.
28112         (special_fill_minus_pi_2): Likewise.
28113         (special_fill_pi_6): Likewise.
28114         (special_fill_minus_pi_6): Likewise.
28115         (special_fill_pi_3): Likewise.
28116         (special_fill_2pi_3): Likewise.
28117         (special_fill_e): Likewise.
28118         (special_fill_1_e): Likewise.
28119         (special_fill_e_minus_1): Likewise.
28120         (special_real_inputs): Add more special inputs.
28121         (output_for_one_input_case): Do not require ERANGE on underflow to
28122         zero if round-to-nearest result does not underflow to zero, unless
28123         exact results required.
28124         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28125         atan, atanh, cbrt, cos and cosh.
28126         * math/auto-libm-test-out: Regenerated.
28127         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28128         (acos_tonearest_test_data): Likewise.
28129         (acos_towardzero_test_data): Likewise.
28130         (acos_downward_test_data): Likewise.
28131         (acos_upward_test_data): Likewise.
28132         (acosh_test_data): Likewise.
28133         (asin_test_data): Likewise.
28134         (asin_tonearest_test_data): Likewise.
28135         (asin_towardzero_test_data): Likewise.
28136         (asin_upward_test_data): Likewise.
28137         (asinh_test_data): Likewise.
28138         (atan_test_data): Likewise.
28139         (atanh_test_data): Likewise.
28140         (cbrt_test_data): Likewise.
28141         (cos_test_data): Likewise.
28142         (cos_tonearest_test_data): Likewise.
28143         (cos_towardzero_test_data): Likewise.
28144         (cos_downward_test_data): Likewise.
28145         (cos_upward_test_data): Likewise.
28146         (cosh_test_data): Likewise.
28147         (cosh_tonearest_test_data): Likewise.
28148         (cosh_towardzero_test_data): Likewise.
28149         (cosh_downward_test_data): Likewise.
28150         (cosh_upward_test_data): Likewise.
28151         * sysdeps/i386/fpu/libm-test-ulps: Update.
28152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28154 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28156         [BZ #6787]
28157         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28158         * math/w_exp10f.c (__exp10f): Likewise.
28159         * math/w_exp10l.c (__exp10l): Likewise.
28160         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28161         errno settings in existing tests.
28163         [BZ #14032]
28164         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28165         precision control set to double precision.
28166         * sysdeps/i386/fpu/w_sqrt.c: New file.
28167         * math/auto-libm-test-in: Add more tests.
28168         * math/auto-libm-test-out: Update.
28170         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28171         (sqrt_test_tonearest): New function.
28172         (sqrt_towardzero_test_data): New variable.
28173         (sqrt_test_towardzero): New function.
28174         (sqrt_downward_test_data): New variable.
28175         (sqrt_test_downward): New function.
28176         (sqrt_upward_test_data): New variable.
28177         (sqrt_test_upward): New function.
28178         (main): Call the new functions.
28180         * math/gen-auto-libm-tests.c: New file.
28181         * math/auto-libm-test-in: Likewise.
28182         * math/auto-libm-test-out: New generated file.
28183         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28184         variables.
28185         (%beautify): Add generated representations of zero.
28186         (top level): Set $auto_input and call parse_auto_input.
28187         (beautify): Remove trailing "f" from hex float constants.
28188         (parse_args): Handle XFAIL_TEST.
28189         (convert_condition): New function.
28190         (or_value): Likewise.
28191         (or_cond_value): Likewise.
28192         (generate_testfile): Handle AUTO_TESTS_* lines.
28193         (parse_auto_input): New function.
28194         * math/libm-test.inc (XFAIL_TEST): New macro.
28195         (ERRNO_UNCHANGED): Update value.
28196         (ERRNO_EDOM): Likewise.
28197         (ERRNO_ERANGE): Likewise.
28198         (IGNORE_RESULT): Likewise.
28199         (TEST_COND_flt_32): New macro.
28200         (TEST_COND_dbl_64): Likewise.
28201         (TEST_COND_ldbl_96_intel): Likewise.
28202         (TEST_COND_ldbl_96_m68k): Likewise.
28203         (TEST_COND_ldbl_128): Likewise.
28204         (TEST_COND_ldbl_128ibm): Likewise.
28205         (TEST_COND_long32): Likewise.
28206         (TEST_COND_long64): Likewise.
28207         (TEST_COND_before_rounding): Likewise.
28208         (TEST_COND_after_rounding): Likewise.
28209         (enable_test): Handle XFAIL_TEST flag.
28210         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28211         with finite results.
28212         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28213         auto-libm-test-out.
28215 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28216             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28218         [BZ #16214]
28219         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28220         __tls_get_addr_internal instead of __tls_get_offset in order to
28221         avoid GOT pointer dependency.  Make rtld export
28222         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28223         __tls_get_addr since we are a __tls_get_offset platform.
28224         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28225         GOT pointer being set up before.
28226         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28228 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28230         * manual/math.texi (Errors in Math Functions): Document accuracy
28231         goals.
28233         [BZ #15004]
28234         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28235         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28236         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28237         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28238         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28239         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28240         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28241         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28242         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28243         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28244         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28245         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28246         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28247         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28248         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28249         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28251         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28252         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28253         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28254         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28255         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28256         Likewise.
28257         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28258         Likewise.
28259         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28260         Likewise.
28261         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28262         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28263         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28264         atomic-feupdateenv and flt-rounds.
28265         * sysdeps/powerpc/nofpu/Versions (libc): Add
28266         __atomic_feholdexcept, __atomic_feclearexcept,
28267         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28268         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28269         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28270         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28271         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28272         here.
28273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28274         Update.
28276         * manual/arith.texi (FP Exceptions): Document that exceptions may
28277         not be raised when matherr is used.
28278         (Math Error Reporting): Document overflow in directed rounding
28279         modes.  Document that errno may not be set when finite values are
28280         returned on overflow.  Document intent to set errno on underflow
28281         only for underflow to zero.
28283         [BZ #16271]
28284         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28285         round-to-nearest then adjust result for other rounding modes.
28286         * include/fenv.h (fegetround): Use libm_hidden_proto.
28287         * math/fegetround.c (fegetround): Use libm_hidden_def.
28288         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28289         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28290         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28291         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28292         Likewise.
28293         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28294         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28295         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28296         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28298 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28300         [BZ #16077]
28301         * nss/Versions (libnss_files): Add
28302         _nss_files_gethostbyname3_r.
28303         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28304         New function.
28305         (HOST_DB_LOOKUP): Remove macro.
28306         (_nss_files_gethostbyname_r): Implement function without the
28307         HOST_DB_LOOKUP macro.
28308         (_nss_files_gethostbyname2_r): Likewise.
28310 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28312         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28314 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28316         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28317         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28318         warning.
28320 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28322         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28323         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28324         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28325         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28326         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28327         __fe_nomask_env_priv and attribute_hidden.
28328         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28329         (libc_feupdateenv_test_ppc): Likewise.
28330         (libc_feresetround_ppc): Likewise.
28331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28332         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28333         compat_symbol macro.
28334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28335         (__fe_nomask_env): Likewise.
28336         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28338 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28340         * string/Makefile: Remove ifunc tests.
28341         * string/test-string.h: Define TEST_IFUNC.
28342         * string/test-bcopy-ifunc.c: Remove.
28343         * string/test-bzero-ifunc.c: Likewise.
28344         * string/test-memccpy-ifunc.c: Likewise.
28345         * string/test-memchr-ifunc.c: Likewise.
28346         * string/test-memcmp-ifunc.c: Likewise.
28347         * string/test-memcpy-ifunc.c: Likewise.
28348         * string/test-memmem-ifunc.c: Likewise.
28349         * string/test-memmove-ifunc.c: Likewise.
28350         * string/test-mempcpy-ifunc.c: Likewise.
28351         * string/test-memrchr-ifunc.c: Likewise.
28352         * string/test-memset-ifunc.c: Likewise.
28353         * string/test-rawmemchr-ifunc.c: Likewise.
28354         * string/test-stpcpy-ifunc.c: Likewise.
28355         * string/test-stpncpy-ifunc.c: Likewise.
28356         * string/test-strcasecmp-ifunc.c: Likewise.
28357         * string/test-strcasestr-ifunc.c: Likewise.
28358         * string/test-strcat-ifunc.c: Likewise.
28359         * string/test-strchr-ifunc.c: Likewise.
28360         * string/test-strchrnul-ifunc.c: Likewise.
28361         * string/test-strcmp-ifunc.c: Likewise.
28362         * string/test-strcpy-ifunc.c: Likewise.
28363         * string/test-strcspn-ifunc.c: Likewise.
28364         * string/test-strlen-ifunc.c: Likewise.
28365         * string/test-strncasecmp-ifunc.c: Likewise.
28366         * string/test-strncat-ifunc.c: Likewise.
28367         * string/test-strncmp-ifunc.c: Likewise.
28368         * string/test-strncpy-ifunc.c: Likewise.
28369         * string/test-strnlen-ifunc.c: Likewise.
28370         * string/test-strpbrk-ifunc.c: Likewise.
28371         * string/test-strrchr-ifunc.c: Likewise.
28372         * string/test-strspn-ifunc.c: Likewise.
28373         * string/test-strstr-ifunc.c: Likewise.
28375 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28377         * benchtests/Makefile: Remove ifunc tests.
28378         * benchtests/bench-string.h: Define TEST_IFUNC.
28379         * benchtests/bench-bcopy-ifunc.c: Remove.
28380         * benchtests/bench-bzero-ifunc.c: Likewise.
28381         * benchtests/bench-memccpy-ifunc.c: Likewise.
28382         * benchtests/bench-memchr-ifunc.c: Likewise.
28383         * benchtests/bench-memcmp-ifunc.c: Likewise.
28384         * benchtests/bench-memcpy-ifunc.c: Likewise.
28385         * benchtests/bench-memmem-ifunc.c: Likewise.
28386         * benchtests/bench-memmove-ifunc.c: Likewise.
28387         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28388         * benchtests/bench-memrchr-ifunc.c: Likewise.
28389         * benchtests/bench-memset-ifunc.c: Likewise.
28390         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28391         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28392         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28393         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28394         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28395         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28396         * benchtests/bench-strcat-ifunc.c: Likewise.
28397         * benchtests/bench-strchr-ifunc.c: Likewise.
28398         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28399         * benchtests/bench-strcmp-ifunc.c: Likewise.
28400         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28401         * benchtests/bench-strcpy-ifunc.c: Likewise.
28402         * benchtests/bench-strcspn-ifunc.c: Likewise.
28403         * benchtests/bench-strlen-ifunc.c: Likewise.
28404         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28405         * benchtests/bench-strncat-ifunc.c: Likewise.
28406         * benchtests/bench-strncmp-ifunc.c: Likewise.
28407         * benchtests/bench-strncpy-ifunc.c: Likewise.
28408         * benchtests/bench-strnlen-ifunc.c: Likewise.
28409         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28410         * benchtests/bench-strrchr-ifunc.c: Likewise.
28411         * benchtests/bench-strsep-ifunc.c: Likewise.
28412         * benchtests/bench-strspn-ifunc.c: Likewise.
28413         * benchtests/bench-strstr-ifunc.c: Likewise.
28415 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28417         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28419 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28421         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28422         * rt/aio.h: Likewise.
28423         * sysdeps/gnu/bits/utmp.h: Likewise.
28424         * sysdeps/gnu/bits/utmpx.h: Likewise.
28425         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28426         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28427         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28428         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28429         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28430         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28431         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28432         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28433         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28434         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28435         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28436         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28437         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28439         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28440         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28441         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28442         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28443         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28444         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28445         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28446         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28447         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28448         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28449         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28450         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28451         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28452         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28453         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28454         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28455         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28456         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28457         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28458         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28459         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28460         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28461         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28462         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28463         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28464         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28465         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28466         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28468 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
28470         [BZ #16245]
28471         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28472         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28474 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
28476         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28477         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28478         Likewise.
28480 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28482         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28483         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28484         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28485         (__fesetround): Remove define.
28486         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28487         rounding and exceptions handling.
28488         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28489         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28490         (__fe_nomask_env): Likewise.
28491         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28492         __fegetround instead of fegetround.
28493         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28494         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28496 2013-11-21  Roland McGrath  <roland@hack.frob.com>
28498         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28499         it's there.
28501         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28503 2013-11-21  Meador Inge  <meadori@codesourcery.com>
28505         [BZ #11157]
28506         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28507         (encrypt_r): Likewise.
28508         * malloc/obstack.h (obstack_free): Likewise.
28509         * posix/unistd.h (encrypt): Likewise.
28511 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
28513         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28514         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28515         DL_CALL_DT_FINI() that call the functions directly.
28516         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28517         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28518         * elf/dl-fini.c: Likewise.
28520 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
28522         * malloc/hooks.c (memalign_check): Add alignment rounding.
28523         * malloc/malloc.c (_mid_memalign): New function.
28524         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28525         Implement by calling _mid_memalign.
28526         * manual/probes.texi (Memory Allocation Probes): Remove
28527         memory_valloc_retry and memory_pvalloc_retry.
28529 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28531         * locale/programs/locarchive.c (open_archive): Add const
28532         qualifier to ARCHIVEFNAME and copy default fname to
28533         DEFAULT_FNAME.
28535         [BZ #15601]
28536         * libio/tst-widetext.input: Rename Oriya to Odia.
28537         * locale/iso-639.def: Likewise.
28539         * manual/probes.texi (Mathematical Function Probes): Add
28540         documentation for sin, cos, asin and acos probes.
28541         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28542         (__sin32): Add slowasin probe.
28543         (__cos32): Add slowacos probe.
28544         (__mpsin): Add slowsin probe.
28545         (__mpcos): Add slowcos probe.
28547 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
28549         [BZ #15483]
28550         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28551         thread-local __sim_exceptions_thread and global
28552         __sim_exceptions_global.
28553         (__sim_disabled_exceptions): Change to thread-local
28554         __sim_disabled_exceptions_thread and global
28555         __sim_disabled_exceptions_global.
28556         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28557         and global __sim_round_mode_global.
28558         (__simulate_exceptions): Use thread-local floating-point state and
28559         set global state from it as needed.
28560         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28561         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28562         __sim_round_mode_thread.
28563         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28564         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28565         and global __sim_exceptions_global.
28566         (__sim_disabled_exceptions): Change to thread-local
28567         __sim_disabled_exceptions_thread and global
28568         __sim_disabled_exceptions_global.
28569         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28570         and global __sim_round_mode_global.
28571         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28572         (SIM_SET_GLOBAL): Likewise.
28573         * sysdeps/powerpc/soft-fp/sfp-machine.h
28574         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28575         __sim_round_mode_thread.
28576         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28577         __sim_disabled_exceptions_thread.
28578         (__sim_exceptions): Change to __sim_exceptions_thread.
28579         (__sim_disabled_exceptions): Change to
28580         __sim_disabled_exceptions_thread.
28581         (__sim_round_mode): Change to __sim_round_mode_thread.
28582         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28583         thread-local floating-point state and set global state from it as
28584         needed.
28585         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28586         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28587         (__sim_disabled_exceptions): Remove extern declaration.
28588         (feenableexcept): Use thread-local floating-point state and set
28589         global state from it as needed.
28590         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28591         extern declaration.
28592         (__sim_disabled_exceptions): Likewise.
28593         (__sim_round_mode): Likewise.
28594         (__fegetenv): Use thread-local floating-point state.
28595         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28596         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28597         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28598         floating-point state and set global state from it as needed.
28599         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28600         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28601         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28602         Likewise.
28603         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28604         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
28605         Likewise.
28606         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
28607         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
28608         Use __sim_round_mode_thread.
28609         * math/test-fenv-tls.c: New file.
28610         * math/Makefile (tests): Add test-fenv-tls.
28611         ($(objpfx)test-fenv-tls): Depend on
28612         $(common-objpfx)nptl/libpthread.so.
28614 2013-11-19  Andreas Schwab  <schwab@suse.de>
28616         * locale/programs/locale.c (show_info): Decode wordarray elements.
28617         * locale/categories.def (LC_MONETARY): Add element for
28618         _NL_MONETARY_CRNCYSTR.
28619         * locale/C-monetary.c (conversion_rate): New variable.
28620         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
28621         element.
28623 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
28625         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
28626         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
28628 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28630         * elf/Makefile (tst-auxv): New test.
28631         * elf/tst-auxv.c: New
28632         * elf/rtld.c (dl_main): Adjust AT_EXECFN
28634 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
28636         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
28637         (hidden_proto): Caller changed.
28638         (hidden_tls_proto): New macro.
28639         (libc_hidden_tls_proto): Likewise.
28640         (rtld_hidden_tls_proto): Likewise.
28641         (libm_hidden_tls_proto): Likewise.
28642         (libresolv_hidden_tls_proto): Likewise.
28643         (librt_hidden_tls_proto): Likewise.
28644         (libdl_hidden_tls_proto): Likewise.
28645         (libnss_files_hidden_tls_proto): Likewise.
28646         (libnsl_hidden_tls_proto): Likewise.
28647         (libnss_nisplus_hidden_tls_proto): Likewise.
28648         (libutil_hidden_tls_proto): Likewise.
28650 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
28652         [BZ #10253]
28653         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
28654         (decompose_rpath): Defer expansion to fillin_rpath.
28655         (_dl_init_paths): Pass linkmap to fillin_rpath.
28657 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28659         * benchtests/Makefile: Add strsep.
28660         * benchtests/bench-strsep.c: New file: strsep benchtest.
28661         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
28663 2013-11-18  Andreas Schwab  <schwab@suse.de>
28665         * locale/programs/locale.c (show_info) [case byte]: Check for
28666         '\377' instead of '\177'.
28667         * locale/C-monetary.c (not_available): Always use "\377".
28668         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28669         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
28670         detect unavailable sign_posn locale elements.
28671         * locale/localeconv.c (__localeconv): For grouping and
28672         mon_grouping handle "\177" and "\377" like no grouping.
28673         (INT_ELEM): New macro.  Use it to set all numeric members.
28674         * locale/programs/ld-monetary.c (monetary_read)
28675         <tok_mon_grouping>: Normalize single -1 to the empty string.
28676         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28677         Likewise.
28679 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28681         [BZ #16055]
28682         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28683         when we match (nil).
28684         * stdio-common/tst-sscanf.c (struct test): Add testcase.
28686 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
28688         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28689         (NO_TEST_INLINE): Update value.
28690         (ERRNO_UNCHANGED): Likewise.
28691         (ERRNO_EDOM): Likewise.
28692         (ERRNO_ERANGE): Likewise.
28693         (IGNORE_RESULT): Likewise.
28694         (check_float_internal): Check signs of NaN results if
28695         TEST_NAN_SIGN used.
28696         (check_complex): Pass TEST_NAN_SIGN flag through to second
28697         check_float_internal call.
28698         (copysign_test_data): Add tests with quiet NaNs as second
28699         argument.  Use TEST_NAN_SIGN.
28700         (fabs_test_data): Add test of negative quiet NaN argument.  Use
28701         TEST_NAN_SIGN.
28702         (signbit_test_data): Add tests of quiet NaN argument.
28703         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28705         * math/gen-libm-test.pl (show_exceptions): Take extra argument
28706         $ignore_result.
28707         (parse_args): Handle function results specified as IGNORE.
28708         * math/libm-test.inc (IGNORE_RESULT): New macro.
28709         (check_float_internal): Do not check numerical result if flag
28710         IGNORE_RESULT set.
28711         (check_complex): Pass through IGNORE_RESULT to second
28712         check_float_internal call.
28713         (check_int): Do not check numerical result if flag IGNORE_RESULT
28714         set.
28715         (check_long): Likewise.
28716         (check_bool): Likewise.
28717         (check_longlong): Likewise.
28718         (lrint_test_data): Add tests of infinite and NaN arguments.
28719         (lrint_tonearest_test_data): Likewise.
28720         (lrint_towardzero_test_data): Likewise.
28721         (lrint_downward_test_data): Likewise.
28722         (lrint_upward_test_data): Likewise.
28723         (llrint_test_data): Likewise.
28724         (llrint_tonearest_test_data): Likewise.
28725         (llrint_towardzero_test_data): Likewise.
28726         (llrint_downward_test_data): Likewise.
28727         (llrint_upward_test_data): Likewise.
28728         (lround_test_data): Likewise.
28729         (llround_test_data): Likewise.
28731         * math/libm-test.inc (NO_TEST_INLINE): New macro.
28732         (ERRNO_UNCHANGED): Update value.
28733         (ERRNO_EDOM): Likewise.
28734         (ERRNO_ERANGE): Likewise.
28735         (NO_TEST_INLINE_FLOAT): New macro.
28736         (NO_TEST_INLINE_DOUBLE): Likewise.
28737         (enable_test): New function.
28738         (RUN_TEST_f_f): Check enable_test before running test.
28739         (RUN_TEST_2_f): Likewise.
28740         (RUN_TEST_fff_f): Likewise.
28741         (RUN_TEST_c_f): Likewise.
28742         (RUN_TEST_f_f1): Likewise.
28743         (RUN_TEST_fF_f1): Likewise.
28744         (RUN_TEST_fI_f1): Likewise.
28745         (RUN_TEST_ffI_f1): Likewise.
28746         (RUN_TEST_c_c): Likewise.
28747         (RUN_TEST_cc_c): Likewise.
28748         (RUN_TEST_f_i): Likewise.
28749         (RUN_TEST_f_i_tg): Likewise.
28750         (RUN_TEST_ff_i_tg): Likewise.
28751         (RUN_TEST_f_b): Likewise.
28752         (RUN_TEST_f_b_tg): Likewise.
28753         (RUN_TEST_f_l): Likewise.
28754         (RUN_TEST_f_L): Likewise.
28755         (RUN_TEST_fFF_11): Likewise.
28756         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28757         conditionals.
28758         (cosh_test_data): Likewise.
28759         (exp_test_data): Likewise.
28760         (expm1_test_data): Likewise.
28761         (hypot_test_data): Likewise.
28762         (pow_test_data): Likewise.
28763         (sinh_test_data): Likewise.
28764         (tanh_test_data): Likewise.
28765         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28766         flags argument.
28768         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28769         tests with quiet NaN input and output.
28770         (acosh_test_data): Likewise.
28771         (asin_test_data): Likewise.
28772         (asinh_test_data): Likewise.
28773         (atan_test_data): Likewise.
28774         (atanh_test_data): Likewise.
28775         (atan2_test_data): Likewise.
28776         (cbrt_test_data): Likewise.
28777         (cos_test_data): Likewise.
28778         (cosh_test_data): Likewise.
28779         (erf_test_data): Likewise.
28780         (erfc_test_data): Likewise.
28781         (exp_test_data): Likewise.
28782         (exp10_test_data): Likewise.
28783         (exp2_test_data): Likewise.
28784         (expm1_test_data): Likewise.
28785         (hypot_test_data): Likewise.
28786         (j0_test_data): Likewise.
28787         (j1_test_data): Likewise.
28788         (jn_test_data): Likewise.
28789         (lgamma_test_data): Likewise.
28790         (log_test_data): Likewise.
28791         (log10_test_data): Likewise.
28792         (log1p_test_data): Likewise.
28793         (log2_test_data): Likewise.
28794         (pow_test_data): Likewise.
28795         (scalb_test_data): Likewise.
28796         (sin_test_data): Likewise.
28797         (sincos_test_data): Likewise.
28798         (sinh_test_data): Likewise.
28799         (tan_test_data): Likewise.
28800         (tanh_test_data): Likewise.
28801         (tgamma_test_data): Likewise.
28802         (y0_test_data): Likewise.
28803         (y1_test_data): Likewise.
28804         (yn_test_data): Likewise.
28806         [BZ #16167]
28807         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28808         argument being NaN and avoid computations with second argument in
28809         that case.
28810         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28811         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28812         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28814 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
28816         * locale/iso-639.def: Add Chitwani Tharu (the).
28818 2013-11-14  Andreas Schwab  <schwab@suse.de>
28820         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28821         word instead of empty string.
28823 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28826         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28828         (__fe_nomask_env): Likewise.
28830 2013-11-13  Steve Ellcey  <sellcey@mips.com>
28832         * benchtests/bench-timing.h: Include time.h.
28834 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
28836         [BZ #15997]
28837         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28838         to 3.4.0 for x32.
28839         * sysdeps/unix/sysv/linux/configure: Regenerated.
28841 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
28843         [BZ #16151]
28844         * stdlib/strtod_l.c (round_and_return): Do not consider
28845         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28846         exponent one less than half the least subnormal exponent.
28847         * stdlib/test-strtod-round-data: Add more tests.
28848         * stdlib/tst-strtod-round.c (tests): Regenerated.
28850 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28852         [BZ #14143]
28853         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28854         (__fe_mask_env): Likewise.
28855         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28856         libm_hidden_proto and add function prototype.
28857         (__fe_mask_env): Add function prototype.
28858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28859         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28861         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28863         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28865 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28867         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28868         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28870 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28872         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28873         of htab_find_slot().
28875 2013-11-11  David S. Miller  <davem@davemloft.net>
28877         [BZ #16150]
28878         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28879         symbol in the non-vis3 case in static builds.
28880         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28881         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28882         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28883         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28885 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
28887         [BZ #387]
28888         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28889         it is empty.
28891 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28893         * benchtests/Makefile: Add bench-strtod.
28894         * benchtests/bench-strtod.c: New file: strtod benchtest
28896 2013-11-11  Andreas Schwab  <schwab@suse.de>
28898         [BZ #16153]
28899         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28900         terminating NUL in key length.
28902 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28904         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28905         Add artificial ODP entry for vDSO symbol for PPC64.
28906         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28907         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28909 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28911         [BZ #15374]
28912         * nss/getent.c (services_keys): Recognize services starting with digit.
28914 2013-11-06  David S. Miller  <davem@davemloft.net>
28916         [BZ #15985]
28917         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28918         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28920 2013-11-06  Will Newton  <will.newton@linaro.org>
28922         * manual/memory.texi (Malloc Examples): Remove register
28923         keyword from examples.
28925 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
28927         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28929 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
28931         [BZ #6981]
28932         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28933         depending on [__GCC_IEC_559 > 0].
28934         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28935         depending on [__GCC_IEC_559_COMPLEX > 0].
28937 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
28939         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28940         to iso-639.def.
28942 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
28944         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28946 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
28948         [BZ #16112]
28949         * malloc/malloc (malloc_info): Do not handle first bin as
28950         special case.
28952 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
28954         * locale/iso-639.def: Add Central Nahuatl (nhn).
28956 2013-11-01  Bruno Haible  <bruno@clisp.org>
28958         [BZ #7003]
28959         * manual/math.texi (BSD Random): Specify range upper bound as
28960         in POSIX.
28962 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
28964         * locale/iso-639.def: Add Meadow Mari (mhr).
28966 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
28968         [BZ #14752], [BZ #15763]
28969         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28970         Validate name.
28971         * rt/tst_shm.c: Add test for escaping directory.
28973 2013-10-31  Andreas Schwab  <schwab@suse.de>
28975         [BZ #15917]
28976         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28977         followed by 'x' as part of digit sequence.
28978         * stdio-common/tst-sscanf.c (double_tests2): New tests.
28980 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
28982         [BZ #16037]
28983         * configure.ac: allow GNU Make 4.0 and greater.
28984         * configure: Regenerated.
28986 2013-10-30  Will Newton  <will.newton@linaro.org>
28988         [BZ #16038]
28989         * malloc/hooks.c (memalign_check): Limit alignment to the
28990         maximum representable power of two.
28991         * malloc/malloc.c (__libc_memalign): Likewise.
28992         * malloc/tst-memalign.c (do_test): Add test for very
28993         large alignment values.
28994         * malloc/tst-posix_memalign.c (do_test): Likewise.
28996 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28998         [BZ #11087]
28999         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29000         (munmap_chunk): Likewise.
29001         (mremap_chunk): Likewise.
29003 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29005         [BZ #15799]
29006         * stdlib/div.c (div): Remove obsolete code.
29007         * stdlib/ldiv.c (ldiv): Likewise.
29008         * stdlib/lldiv.c (lldiv): Likewise.
29010 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29012         [BZ #16071]
29013         * nss/nss_files/files-XXX.c (get_contents_ret): New
29014         enumerator.
29015         (get_contents): New function.
29016         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29018 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29020         * configure.in: Moved to ...
29021         * configure.ac: ... here. Change reference to configure.in
29022         to configure.ac.
29023         * sysdeps/arm/preconfigure.ac: ... here.
29024         configure.in to configure.ac.
29025         * sysdeps/gnu/configure.in: Moved to ...
29026         * sysdeps/gnu/configure.ac: ... here.
29027         * sysdeps/i386/configure.in: Moved to ...
29028         * sysdeps/i386/configure.ac: ... here.
29029         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29030         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29031         * sysdeps/mach/configure.in: Moved to ...
29032         * sysdeps/mach/configure.ac: ... here.
29033         * sysdeps/mach/hurd/configure.in: Moved to ...
29034         * sysdeps/mach/hurd/configure.ac: ... here.
29035         * sysdeps/powerpc/configure.in: Moved to ...
29036         * sysdeps/powerpc/configure.ac: ... here.
29037         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29038         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29039         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29040         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29041         * sysdeps/s390/s390-32/configure.in: Moved to ...
29042         * sysdeps/s390/s390-32/configure.ac: ... here.
29043         * sysdeps/s390/s390-64/configure.in: Moved to ...
29044         * sysdeps/s390/s390-64/configure.ac: ... here.
29045         * sysdeps/sh/configure.in: Moved to ...
29046         * sysdeps/sh/configure.ac: ... here.
29047         * sysdeps/sparc/configure.in: Moved to ...
29048         * sysdeps/sparc/configure.ac: ... here.
29049         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29050         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29051         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29052         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29053         * sysdeps/x86_64/configure.in: Moved to ...
29054         * sysdeps/x86_64/configure.ac: ... here.
29055         * sysdeps/x86_64/preconfigure.in: Moved to ...
29056         * sysdeps/x86_64/preconfigure.ac: ... here.
29057         * aclocal.m4: Change reference to configure.in to configure.ac.
29058         * config.h.in: Likewise.
29059         * manual/install.texi: Likewise.
29060         * manual/maint.texi: Likewise.
29061         * Makefile: Likewise.
29062         * malloc/Makefile: Likewise.
29063         * nscd/Makefile: Likewise.
29064         * Makeconfig: Change reference to configure.in and
29065         preconfigure.in to configure.ac and preconfigure.ac
29066         respectively.
29067         * INSTALL: Regenerated.
29068         * configure: Likewise.
29069         * sysdeps/gnu/configure: Likewise.
29070         * sysdeps/i386/configure: Likewise.
29071         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29072         * sysdeps/mach/configure: Likewise.
29073         * sysdeps/mach/hurd/configure: Likewise.
29074         * sysdeps/powerpc/configure: Likewise.
29075         * sysdeps/powerpc/powerpc32/configure: Likewise.
29076         * sysdeps/powerpc/powerpc64/configure: Likewise.
29077         * sysdeps/s390/s390-32/configure: Likewise.
29078         * sysdeps/s390/s390-64/configure: Likewise.
29079         * sysdeps/sh/configure: Likewise.
29080         * sysdeps/sparc/configure: Likewise.
29081         * sysdeps/unix/sysv/linux/configure: Likewise.
29082         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29083         * sysdeps/x86_64/configure: Likewise.
29084         * sysdeps/x86_64/preconfigure: Likewise.
29086 2013-10-29  Andreas Schwab  <schwab@suse.de>
29088         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29090 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29092         * benchtests/pow-inputs: Add new inputs.
29094         * benchtests/exp-inputs: Add new inputs.
29096         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29097         conditional check for return value.
29098         (__cos32): Likewise.
29100 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29102         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29103         to provide a boost for large inputs with word alignment.
29104         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29105         implementation based on optimized PPC64 strcpy.
29106         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29107         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29108         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29109         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29111 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29113         [BZ #2801]
29114         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29116 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29118         [BZ #14876]
29119         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29120         * time/tst-strptime.c (day_tests): Add testcase.
29122 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29124         [BZ #14029]
29125         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29127 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29129         [BZ #16074]
29130         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29131         MAP_FAILED on error.
29133 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29135         [BZ #16072]
29136         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29137         heap for large requests.
29139 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29141         [BZ #9954]
29142         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29143         result if the result has no associated interface.
29144         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29145         interface for all 127.X.Y.Z addresses.
29147 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29149         * locale/iso-639.def: Add Ligurian (lij)
29151 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29153         [BZ #15825]
29154         * sunrpc/rpc_main.c: Document rpcgen -5.
29156 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29158         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29160 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29162         [BZ #10278]
29163         * posix/glob.c: Match only directories when trailing slash is present.
29164         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29165         (main): Add testcase.
29167 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29169         [BZ #15670]
29170         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29172 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29174         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29175         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29176         AUTH_DES and cindex for FIPS 140-2.
29177         (DES Encryption): Add cindex FIPS 46-3.
29179         * locale/locarchive.h (struct locarhandle): Add fname.
29180         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29181         if an optional argument was specified to --list-archive,
29182         otherwise NULL.
29183         * locale/programs/locarchive.c (show_archive_content): Take new
29184         argument fname and pass it via ah.fname to open_archive.
29185         * locale/programs/localedef.h: Update decl.
29186         (open_archive): If AH->fname is non-null, open that file
29187         rather than the default file name, and don't ignore ENOENT.
29188         (create_archive): Set AH.fname to NULL.
29189         (delete_locales_from_archive): Likewise.
29190         (add_locales_to_archive): Likewise.
29191         * locale/programs/locfile.c (write_all_categories): Likewise.
29193 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29194             Aldy Hernandez  <aldyh@redhat.com>
29196         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29197         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29198         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29199         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29200         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29201         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29202         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29203         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29204         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29205         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29206         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29207         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29208         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29209         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29210         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29211         Likewise.
29212         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29213         Likewise.
29214         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29215         Likewise.
29216         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29217         Likewise.
29218         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29219         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29220         Likewise.
29221         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29222         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29223         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29224         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29225         Likewise.
29226         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29227         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29228         * sysdeps/powerpc/preconfigure: Likewise.
29229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29230         Likewise.
29231         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29232         Replace contents of file by #include of <fenv_libc.h>.
29233         * sysdeps/powerpc/soft-fp/sfp-machine.h
29234         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29235         and <sys/prctl.h>.
29236         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29237         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29238         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29239         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29240         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29241         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29242         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29243         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29244         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29245         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29246         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29247         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29249         Allow copysignl PLT reference to be missing.
29251 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29252             Joseph Myers  <joseph@codesourcery.com
29254         [BZ #15948]
29255         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29256         single character.
29257         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29259 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29261         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29262         * elf/tst-tls1.c: Likewise.
29263         * elf/tst-tls10.h: Likewise.
29264         * elf/tst-tls14.c: Likewise.
29265         * elf/tst-tls2.c: Likewise.
29266         * elf/tst-tls3.c: Likewise.
29267         * elf/tst-tls4.c: Likewise.
29268         * elf/tst-tls5.c: Likewise.
29269         * elf/tst-tls6.c: Likewise.
29270         * elf/tst-tls7.c: Likewise.
29271         * elf/tst-tls8.c: Likewise.
29272         * elf/tst-tls9.c: Likewise.
29273         * elf/tst-tlsmod1.c: Likewise.
29274         * elf/tst-tlsmod13.c: Likewise.
29275         * elf/tst-tlsmod13a.c: Likewise.
29276         * elf/tst-tlsmod14a.c: Likewise.
29277         * elf/tst-tlsmod16a.c: Likewise.
29278         * elf/tst-tlsmod16b.c: Likewise.
29279         * elf/tst-tlsmod2.c: Likewise.
29280         * elf/tst-tlsmod3.c: Likewise.
29281         * elf/tst-tlsmod4.c: Likewise.
29282         * elf/tst-tlsmod5.c: Likewise.
29283         * elf/tst-tlsmod6.c: Likewise.
29285 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29287         [BZ #12486]
29288         * malloc/malloc.c: remove checks for statistics.
29290 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29292         [BZ #15277]
29293         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29294         * inet/tst-network.c: Add testcase.
29296 2013-10-17  Andreas Schwab  <schwab@suse.de>
29298         [BZ #15218]
29299         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29300         to determine canonical name.
29302 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29304         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29305         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29306         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29307         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29308         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29309         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29310         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29311         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29312         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29313         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29314         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29315         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29316         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29317         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29318         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29319         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29320         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29321         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29322         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29323         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29324         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29325         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29326         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29327         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29328         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29329         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29330         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29331         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29332         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29333         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29334         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29335         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29336         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29337         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29338         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29339         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29340         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29341         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29342         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29343         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29344         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29345         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29346         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29347         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29348         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29349         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29350         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29351         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29352         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29353         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29354         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29355         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29356         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29357         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29358         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29359         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29360         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29361         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29363 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29365         [BZ #16041]
29366         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29367         make result into a quiet NaN.
29369 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29371         * soft-fp/adddf3.c: Fix horizontal whitespace.
29372         * soft-fp/addsf3.c: Likewise.
29373         * soft-fp/addtf3.c: Likewise.
29374         * soft-fp/divdf3.c: Likewise.
29375         * soft-fp/divsf3.c: Likewise.
29376         * soft-fp/divtf3.c: Likewise.
29377         * soft-fp/double.h: Likewise.
29378         * soft-fp/eqdf2.c: Likewise.
29379         * soft-fp/eqsf2.c: Likewise.
29380         * soft-fp/eqtf2.c: Likewise.
29381         * soft-fp/extenddftf2.c: Likewise.
29382         * soft-fp/extended.h: Likewise.
29383         * soft-fp/extendsfdf2.c: Likewise.
29384         * soft-fp/extendsftf2.c: Likewise.
29385         * soft-fp/extendxftf2.c: Likewise.
29386         * soft-fp/fixdfdi.c: Likewise.
29387         * soft-fp/fixdfsi.c: Likewise.
29388         * soft-fp/fixdfti.c: Likewise.
29389         * soft-fp/fixsfdi.c: Likewise.
29390         * soft-fp/fixsfsi.c: Likewise.
29391         * soft-fp/fixsfti.c: Likewise.
29392         * soft-fp/fixtfdi.c: Likewise.
29393         * soft-fp/fixtfsi.c: Likewise.
29394         * soft-fp/fixtfti.c: Likewise.
29395         * soft-fp/fixunsdfdi.c: Likewise.
29396         * soft-fp/fixunsdfsi.c: Likewise.
29397         * soft-fp/fixunsdfti.c: Likewise.
29398         * soft-fp/fixunssfdi.c: Likewise.
29399         * soft-fp/fixunssfsi.c: Likewise.
29400         * soft-fp/fixunssfti.c: Likewise.
29401         * soft-fp/fixunstfdi.c: Likewise.
29402         * soft-fp/fixunstfsi.c: Likewise.
29403         * soft-fp/fixunstfti.c: Likewise.
29404         * soft-fp/floatdidf.c: Likewise.
29405         * soft-fp/floatdisf.c: Likewise.
29406         * soft-fp/floatditf.c: Likewise.
29407         * soft-fp/floatsidf.c: Likewise.
29408         * soft-fp/floatsisf.c: Likewise.
29409         * soft-fp/floatsitf.c: Likewise.
29410         * soft-fp/floattidf.c: Likewise.
29411         * soft-fp/floattisf.c: Likewise.
29412         * soft-fp/floattitf.c: Likewise.
29413         * soft-fp/floatundidf.c: Likewise.
29414         * soft-fp/floatundisf.c: Likewise.
29415         * soft-fp/floatunditf.c: Likewise.
29416         * soft-fp/floatunsidf.c: Likewise.
29417         * soft-fp/floatunsisf.c: Likewise.
29418         * soft-fp/floatunsitf.c: Likewise.
29419         * soft-fp/floatuntidf.c: Likewise.
29420         * soft-fp/floatuntisf.c: Likewise.
29421         * soft-fp/floatuntitf.c: Likewise.
29422         * soft-fp/fmadf4.c: Likewise.
29423         * soft-fp/fmasf4.c: Likewise.
29424         * soft-fp/fmatf4.c: Likewise.
29425         * soft-fp/gedf2.c: Likewise.
29426         * soft-fp/gesf2.c: Likewise.
29427         * soft-fp/getf2.c: Likewise.
29428         * soft-fp/ledf2.c: Likewise.
29429         * soft-fp/lesf2.c: Likewise.
29430         * soft-fp/letf2.c: Likewise.
29431         * soft-fp/muldf3.c: Likewise.
29432         * soft-fp/mulsf3.c: Likewise.
29433         * soft-fp/multf3.c: Likewise.
29434         * soft-fp/negdf2.c: Likewise.
29435         * soft-fp/negsf2.c: Likewise.
29436         * soft-fp/negtf2.c: Likewise.
29437         * soft-fp/op-1.h: Likewise.
29438         * soft-fp/op-2.h: Likewise.
29439         * soft-fp/op-4.h: Likewise.
29440         * soft-fp/op-8.h: Likewise.
29441         * soft-fp/op-common.h: Likewise.
29442         * soft-fp/quad.h: Likewise.
29443         * soft-fp/single.h: Likewise.
29444         * soft-fp/soft-fp.h: Likewise.
29445         * soft-fp/sqrtdf2.c: Likewise.
29446         * soft-fp/sqrtsf2.c: Likewise.
29447         * soft-fp/sqrttf2.c: Likewise.
29448         * soft-fp/subdf3.c: Likewise.
29449         * soft-fp/subsf3.c: Likewise.
29450         * soft-fp/subtf3.c: Likewise.
29451         * soft-fp/truncdfsf2.c: Likewise.
29452         * soft-fp/trunctfdf2.c: Likewise.
29453         * soft-fp/trunctfsf2.c: Likewise.
29454         * soft-fp/trunctfxf2.c: Likewise.
29455         * soft-fp/unorddf2.c: Likewise.
29456         * soft-fp/unordsf2.c: Likewise.
29457         * soft-fp/unordtf2.c: Likewise.
29459 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
29461         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29462         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29464 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
29466         * elf/dl-libc.c: Clear initfini list after freeing.
29468 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
29470         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29471         * soft-fp/addsf3.c: Likewise.
29472         * soft-fp/addtf3.c: Likewise.
29473         * soft-fp/divdf3.c: Likewise.
29474         * soft-fp/divsf3.c: Likewise.
29475         * soft-fp/divtf3.c: Likewise.
29476         * soft-fp/double.h: Likewise.
29477         * soft-fp/eqdf2.c: Likewise.
29478         * soft-fp/eqsf2.c: Likewise.
29479         * soft-fp/eqtf2.c: Likewise.
29480         * soft-fp/extenddftf2.c: Likewise.
29481         * soft-fp/extended.h: Likewise.
29482         * soft-fp/extendsfdf2.c: Likewise.
29483         * soft-fp/extendsftf2.c: Likewise.
29484         * soft-fp/extendxftf2.c: Likewise.
29485         * soft-fp/fixdfdi.c: Likewise.
29486         * soft-fp/fixdfsi.c: Likewise.
29487         * soft-fp/fixdfti.c: Likewise.
29488         * soft-fp/fixsfdi.c: Likewise.
29489         * soft-fp/fixsfsi.c: Likewise.
29490         * soft-fp/fixsfti.c: Likewise.
29491         * soft-fp/fixtfdi.c: Likewise.
29492         * soft-fp/fixtfsi.c: Likewise.
29493         * soft-fp/fixtfti.c: Likewise.
29494         * soft-fp/fixunsdfdi.c: Likewise.
29495         * soft-fp/fixunsdfsi.c: Likewise.
29496         * soft-fp/fixunsdfti.c: Likewise.
29497         * soft-fp/fixunssfdi.c: Likewise.
29498         * soft-fp/fixunssfsi.c: Likewise.
29499         * soft-fp/fixunssfti.c: Likewise.
29500         * soft-fp/fixunstfdi.c: Likewise.
29501         * soft-fp/fixunstfsi.c: Likewise.
29502         * soft-fp/fixunstfti.c: Likewise.
29503         * soft-fp/floatdidf.c: Likewise.
29504         * soft-fp/floatdisf.c: Likewise.
29505         * soft-fp/floatditf.c: Likewise.
29506         * soft-fp/floatsidf.c: Likewise.
29507         * soft-fp/floatsisf.c: Likewise.
29508         * soft-fp/floatsitf.c: Likewise.
29509         * soft-fp/floattidf.c: Likewise.
29510         * soft-fp/floattisf.c: Likewise.
29511         * soft-fp/floattitf.c: Likewise.
29512         * soft-fp/floatundidf.c: Likewise.
29513         * soft-fp/floatundisf.c: Likewise.
29514         * soft-fp/floatunsidf.c: Likewise.
29515         * soft-fp/floatunsisf.c: Likewise.
29516         * soft-fp/floatuntidf.c: Likewise.
29517         * soft-fp/floatuntisf.c: Likewise.
29518         * soft-fp/floatuntitf.c: Likewise.
29519         * soft-fp/fmadf4.c: Likewise.
29520         * soft-fp/fmasf4.c: Likewise.
29521         * soft-fp/fmatf4.c: Likewise.
29522         * soft-fp/gedf2.c: Likewise.
29523         * soft-fp/gesf2.c: Likewise.
29524         * soft-fp/getf2.c: Likewise.
29525         * soft-fp/ledf2.c: Likewise.
29526         * soft-fp/lesf2.c: Likewise.
29527         * soft-fp/letf2.c: Likewise.
29528         * soft-fp/muldf3.c: Likewise.
29529         * soft-fp/mulsf3.c: Likewise.
29530         * soft-fp/multf3.c: Likewise.
29531         * soft-fp/negdf2.c: Likewise.
29532         * soft-fp/negsf2.c: Likewise.
29533         * soft-fp/negtf2.c: Likewise.
29534         * soft-fp/op-1.h: Likewise.
29535         * soft-fp/op-2.h: Likewise.
29536         * soft-fp/op-4.h: Likewise.
29537         * soft-fp/op-8.h: Likewise.
29538         * soft-fp/op-common.h: Likewise.
29539         * soft-fp/quad.h: Likewise.
29540         * soft-fp/single.h: Likewise.
29541         * soft-fp/soft-fp.h: Likewise.
29542         * soft-fp/sqrtdf2.c: Likewise.
29543         * soft-fp/sqrtsf2.c: Likewise.
29544         * soft-fp/sqrttf2.c: Likewise.
29545         * soft-fp/subdf3.c: Likewise.
29546         * soft-fp/subsf3.c: Likewise.
29547         * soft-fp/subtf3.c: Likewise.
29548         * soft-fp/truncdfsf2.c: Likewise.
29549         * soft-fp/trunctfdf2.c: Likewise.
29550         * soft-fp/trunctfsf2.c: Likewise.
29551         * soft-fp/trunctfxf2.c: Likewise.
29552         * soft-fp/unorddf2.c: Likewise.
29553         * soft-fp/unordsf2.c: Likewise.
29554         * soft-fp/unordtf2.c: Likewise.
29556 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
29558         [BZ #15672]
29559         * misc/error.c (error_tail): Fix possible buffer overflow.
29561 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
29563         [BZ #13028]
29564         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29565         address.
29567 2013-10-14  P. J. McDermott  <pj@pehjota.net>
29569         [BZ #832]
29570         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
29571         testing pipefail option.
29573 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29575         * soft-fp/double.h: Indent preprocessor directives inside #if.
29576         * soft-fp/extended.h: Likewise.
29577         * soft-fp/op-2.h: Likewise.
29578         * soft-fp/op-4.h: Likewise.
29579         * soft-fp/op-common.h: Likewise.
29580         * soft-fp/quad.h: Likewise.
29581         * soft-fp/single.h: Likewise.
29582         * soft-fp/soft-fp.h: Likewise.
29584 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
29586         * iconv/iconv_prog.c: Fix typos.
29587         * stdio-common/psiginfo-data.h: Likewise.
29589 2013-10-12   Reuben Thomas <rrt@sc3d.org>
29591         [BZ #15764]
29592         * locale/setlocale.c: Fix typo.
29594 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29596         [BZ #16036]
29597         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29598         signaling NaN arguments.
29599         * soft-fp/unordsf2.c (__unordsf2): Likewise.
29600         * soft-fp/unordtf2.c (__unordtf2): Likewise.
29602         [BZ #14910]
29603         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
29604         unordered operands.
29605         * soft-fp/gesf2.c (__gesf2): Likewise.
29606         * soft-fp/getf2.c (__getf2): Likewise.
29607         * soft-fp/ledf2.c (__ledf2): Likewise.
29608         * soft-fp/lesf2.c (__lesf2): Likewise.
29609         * soft-fp/letf2.c (__letf2): Likewise.
29611         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29612         * soft-fp/eqsf2.c (__eqsf2): Likewise.
29613         * soft-fp/eqtf2.c (__eqtf2): Likewise.
29614         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
29615         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
29616         * soft-fp/fixdfti.c (__fixdfti): Likewise.
29617         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
29618         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
29619         * soft-fp/fixsfti.c (__fixsfti): Likewise.
29620         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
29621         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
29622         * soft-fp/fixtfti.c (__fixtfti): Likewise.
29623         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
29624         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
29625         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
29626         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
29627         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
29628         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
29629         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
29630         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
29631         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
29632         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
29633         * soft-fp/floatdisf.c (__floatdisf): Likewise.
29634         * soft-fp/floatsisf.c (__floatsisf): Likewise.
29635         * soft-fp/floattidf.c (__floattidf): Likewise.
29636         * soft-fp/floattisf.c (__floattisf): Likewise.
29637         * soft-fp/floattitf.c (__floattitf): Likewise.
29638         * soft-fp/floatundidf.c (__floatundidf): Likewise.
29639         * soft-fp/floatundisf.c (__floatundisf): Likewise.
29640         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
29641         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
29642         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
29643         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
29644         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
29645         * soft-fp/gesf2.c (__gesf2): Likewise.
29646         * soft-fp/getf2.c (__getf2): Likewise.
29647         * soft-fp/ledf2.c (__ledf2): Likewise.
29648         * soft-fp/lesf2.c (__lesf2): Likewise.
29649         * soft-fp/letf2.c (__letf2): Likewise.
29651         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
29652         Undefine and redefine.
29653         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
29654         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
29655         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
29656         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
29657         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29658         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
29659         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29660         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
29661         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29662         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
29663         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29664         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29665         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29666         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29667         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29669         [BZ #16032]
29670         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29671         without decrementing exponent if mantissa >= that for the
29672         denominator, not >.
29673         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29674         denominator, not >.  Decrement exponent in < case instead of
29675         incrementing in >= case.
29676         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29677         without decrementing exponent if mantissa >= that for the
29678         denominator, not >.
29680         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29681         computing saturated result for unsigned overflow.
29683 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29684             Jeff Law  <law@redhat.com>
29686         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29687         (atan2Mp): Add systemtap probe marker.
29688         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29689         (__ieee754_log): Add systemtap probe marker.
29690         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29691         (atanMp): Add systemtap probe marker.
29692         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29693         (tanMp): Add systemtap probe marker.
29694         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29695         (__slowexp): Add systemtap probe marker.
29696         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29697         (__slowpow): Add systemtap probe marker.
29698         * manual/probes.texi: Document probes.
29700 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
29702         [BZ #15362]
29703         * libio/fileops.c (_IO_new_file_write): Return count of bytes
29704         written.
29705         (_IO_new_file_xsputn): Don't return EOF if nothing has been
29706         written.
29707         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29708         written to buffer but not flushed.
29709         * libio/iofwrite_u.c:  Likewise.
29710         * libio/iopadn.c:  Return bytes returned even if EOF was
29711         encountered.
29712         * libio/iowpadn.c:  Likewise.
29713         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29714         if _IO_padn does not write the whole buffer.
29715         [!COMPILE_WPRINTF] (PAD): Likewise.
29717 2013-10-10  David S. Miller  <davem@davemloft.net>
29719         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29720         directory block.
29722 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29724         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
29725         instead of FSF address.
29726         * soft-fp/fixdfti.c: Likewise.
29727         * soft-fp/fixsfti.c: Likewise.
29728         * soft-fp/fixtfti.c: Likewise.
29729         * soft-fp/fixunsdfti.c: Likewise.
29730         * soft-fp/fixunssfti.c: Likewise.
29731         * soft-fp/fixunstfti.c: Likewise.
29732         * soft-fp/floattidf.c: Likewise.
29733         * soft-fp/floattisf.c: Likewise.
29734         * soft-fp/floattitf.c: Likewise.
29735         * soft-fp/floatuntidf.c: Likewise.
29736         * soft-fp/floatuntisf.c: Likewise.
29737         * soft-fp/floatuntitf.c: Likewise.
29738         * soft-fp/trunctfxf2.c: Likewise.
29740         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
29741         * soft-fp/fixdfti.c: Likewise.
29742         * soft-fp/fixsfti.c: Likewise.
29743         * soft-fp/fixtfti.c: Likewise.
29744         * soft-fp/fixunsdfti.c: Likewise.
29745         * soft-fp/fixunssfti.c: Likewise.
29746         * soft-fp/fixunstfti.c: Likewise.
29747         * soft-fp/floattidf.c: Likewise.
29748         * soft-fp/floattisf.c: Likewise.
29749         * soft-fp/floattitf.c: Likewise.
29750         * soft-fp/floatuntidf.c: Likewise.
29751         * soft-fp/floatuntisf.c: Likewise.
29752         * soft-fp/floatuntitf.c: Likewise.
29753         * soft-fp/trunctfxf2.c: Likewise.
29755 2013-10-10  David S. Miller  <davem@davemloft.net>
29757         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29759 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
29761         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29762         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29763         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29764         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29765         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29766         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29767         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29769         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29770         for NaNs before doing comparisons on argument.
29771         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29772         Likewise.
29774 2013-10-10  Will Newton  <will.newton@linaro.org>
29776         * malloc/hooks.c (memalign_check): Ensure the value of bytes
29777         passed to _int_memalign does not overflow.
29779 2013-10-10  Torvald Riegel  <triegel@redhat.com>
29781         * scripts/bench.pl: Add include-sources directive.
29782         * benchtests/README: Update documentation.
29784 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29786         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29787         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29788         instead of FP_INIT_ROUNDMODE.
29789         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29790         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29792         [BZ #16034]
29793         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
29794         copy class of input value.
29795         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
29796         not handle exceptions.
29797         * soft-fp/negsf2.c (__negsf2): Likewise.
29798         * soft-fp/negtf2.c (__negtf2): Likewise.
29799         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29801 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
29803         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29804         semicolon.  From Linux kernel.
29806 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
29808         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29810 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
29812         [BZ #156]
29813         * manual/socket.texi: Added statement about buffer
29814         for gethostbyname2_r.
29816 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
29818         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29819         Use .p2align directive instead, throughout.
29820         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29821         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29822         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29823         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29824         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29825         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29826         * sysdeps/x86_64/strchr.S: Likewise.
29827         * sysdeps/x86_64/strrchr.S: Likewise.
29829 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29831         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29833         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29835         * sysdeps/generic/math_private.h (__mpsin1): Remove
29836         declaration.
29837         (__mpcos1): Likewise.
29838         (__mpsin): New argument __range_reduce.
29839         (__mpcos): Likewise.
29840         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29841         (slow): Use __mpsin and __mpcos.
29842         (slow1): Likewise.
29843         (slow2): Likewise.
29844         (sloww): Likewise.
29845         (sloww1): Likewise.
29846         (sloww2): Likewise.
29847         (bsloww): Likewise.
29848         (bsloww1): Likewise.
29849         (bsloww2): Likewise.
29850         (cslow2): Likewise.
29851         (csloww): Likewise.
29852         (csloww1): Likewise.
29853         (csloww2): Likewise.
29854         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29855         range_reduce.  Merge in __mpsin1.
29856         (__mpcos): Likewise.
29857         (__mpsin1): Remove.
29858         (__mpcos1): Likewise.
29860 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
29862         * locale/loadlocale.c (_nl_intern_locale_data): Use
29863         LOCFILE_ALIGNED_P.
29864         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29865         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29866         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29867         obstack data is appropriately aligned.
29868         (obstack_int32_grow_fast): Likewise.
29869         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29870         * locale/programs/locfile.c (add_locale_uint32): Likewise.
29871         (add_locale_uint32_array): Likewise.
29873 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29875         * benchtests/Makefile: Remove ARGLIST and RET variables.
29876         ($(objpfx)bench-%.c): Pass only function name to the script.
29877         * benchtests/README: Update documentation.
29878         * benchtests/acos-inputs: Add new directives.
29879         * benchtests/acosh-inputs: Likewise.
29880         * benchtests/asin-inputs: Likewise.
29881         * benchtests/asinh-inputs: Likewise.
29882         * benchtests/atan-inputs: Likewise.
29883         * benchtests/atanh-inputs: Likewise.
29884         * benchtests/cos-inputs: Likewise.
29885         * benchtests/cosh-inputs: Likewise.
29886         * benchtests/exp-inputs: Likewise.
29887         * benchtests/log-inputs: Likewise.
29888         * benchtests/pow-inputs: Likewise.
29889         * benchtests/rint-inputs: Likewise.
29890         * benchtests/sin-inputs: Likewise.
29891         * benchtests/sinh-inputs: Likewise.
29892         * benchtests/tan-inputs: Likewise.
29893         * benchtests/tanh-inputs: Likewise.
29894         * scripts/bench.pl: Add support for new directives.
29896 2013-10-07  Alan Modra  <amodra@gmail.com>
29898         * README: Fix careless merge.
29900 2013-10-05  Alan Modra  <amodra@gmail.com>
29902         * NEWS: Mention powerpc64le support and bugs fixed.
29903         * README: Both big-endian and little-endian powerpc64 supported.
29905 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29907         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29908         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29909         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29910         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29912 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
29914         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29915         match prototype.
29917 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
29919         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29920         Move -mhard-float appending from
29921         ports/sysdeps/powerpc/powerpc32/Makefile.
29922         [$(with-fp) = yes] (ASFLAGS): Likewise.
29923         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29924         * sysdeps/powerpc/nofpu: Move directory from
29925         ports/sysdeps/powerpc/nofpu.
29926         * sysdeps/powerpc/soft-fp: Move directory from
29927         ports/sysdeps/powerpc/soft-fp.
29928         * sysdeps/powerpc/powerpc32/405: Move directory from
29929         ports/sysdeps/powerpc/powerpc32/405.
29930         * sysdeps/powerpc/powerpc32/440: Move directory from
29931         ports/sysdeps/powerpc/powerpc32/440.
29932         * sysdeps/powerpc/powerpc32/464: Move directory from
29933         ports/sysdeps/powerpc/powerpc32/464.
29934         * sysdeps/powerpc/powerpc32/476: Move directory from
29935         ports/sysdeps/powerpc/powerpc32/476.
29936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29937         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29939         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29941         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29943         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29945         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29946         * README: Update for powerpc-*-linux-gnu software floating point
29947         support in libc.
29949         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29950         case to powerpc/powerpc32*.
29951         * sysdeps/unix/sysv/linux/configure: Regenerated.
29953         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29954         (_FPU_MASK_OM): Define as 0x04.
29955         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29956         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29957         0x00c10080.
29958         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29959         0x0000003c.
29960         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29963         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29964         getcontext_e500.
29965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29966         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29967         setcontext_e500.
29968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29969         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29970         and setcontext_e500.
29972 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
29974         * locale/iso-3166.def: Update iso-1366.def and related occurrences
29976 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29978         * manual/threads.texi (Default Thread Attributes): Fix typo.
29980 2013-10-04  Will Newton  <will.newton@linaro.org>
29982         * malloc/Makefile: Add tst-memalign.
29983         * malloc/tst-memalign.c: New file.
29985         * malloc/tst-posix_memalign.c: Add comments.
29986         (do_test): Add comments and call free on all potentially
29987         allocated pointers. Add space after cast.
29989         * malloc/tst-pvalloc.c: Add comments.
29990         (do_test): Add comments and call free on all potentially
29991         allocated pointers. Remove duplicate check for NULL pointer.
29992         Add space after cast.
29994         * malloc/tst-valloc.c: Add comments.
29995         (do_test): Add comments and call free on all potentially
29996         allocated pointers. Remove duplicate check for NULL pointer.
29997         Add space after cast.
29999 2013-10-04  Alan Modra  <amodra@gmail.com>
30001         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30002         Use stdint types in rather than __attribute__((mode())).
30003         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30005 2013-10-04  Alan Modra  <amodra@gmail.com>
30007         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30008         Correct handling of unaligned relocs for little-endian.
30009         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30011 2013-10-04  Alan Modra  <amodra@gmail.com>
30013         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30014         * configure: Regenerate.
30015         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30016         * shlib-versions: Likewise.
30018 2013-10-04  Alan Modra  <amodra@gmail.com>
30020         * string/tester.c (test_memrchr): Increment reported test cycle.
30022 2013-10-04  Alan Modra  <amodra@gmail.com>
30024         * string/test-memcpy.c (do_one_test): When reporting errors, print
30025         string address and don't overrun end of string.
30027 2013-10-04  Alan Modra  <amodra@gmail.com>
30029         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30030         insrdi.  Make better use of reg selection to speed exit slightly.
30031         Schedule entry path a little better.  Remove useless "are we done"
30032         checks on entry to main loop.  Handle wrapping around zero address.
30033         Correct main loop count.  Handle single left-over word from main
30034         loop inline rather than by using loop_small.  Remove extra word
30035         case in loop_small caused by wrong loop count.  Add little-endian
30036         support.
30037         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30038         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30039         cache hint.
30040         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30041         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30042         support.  Avoid rlwimi.
30043         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30045 2013-10-04  Alan Modra  <amodra@gmail.com>
30047         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30048         insrdi.  Formatting.
30049         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30050         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30051         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30052         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30053         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30054         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30056 2013-10-04  Alan Modra  <amodra@gmail.com>
30058         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30059         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30060         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30061         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30062         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30063         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30064         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30065         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30066         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30067         use of regs.  Use power7 mtocrf.  Tidy function tails.
30069 2013-10-04  Alan Modra  <amodra@gmail.com>
30071         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30072         Formatting.  Consistently use rXXX register defines or rN defines.
30073         Use early exit labels that avoid restoring unused non-volatile regs.
30074         Make cr field use more consistent with rWORDn compares.  Rename
30075         regs used as shift registers for unaligned loop, using rN defines
30076         for short lifetime/multiple use regs.
30077         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30078         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30079         addi 1,1,64 to pop stack frame.  Simplify return value code.
30080         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30082 2013-10-04  Alan Modra  <amodra@gmail.com>
30084         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30085         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30086         rather than rlwimi.
30087         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30088         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30089         little-endian support.  Correct typos.
30090         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30091         rather than rlwimi.
30092         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30093         in loop and entry code to keep "and." results.
30094         (strchr): Add little-endian support.  Comment.  Move cntlzd
30095         earlier in tail.
30096         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30098 2013-10-04  Alan Modra  <amodra@gmail.com>
30100         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30101         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30102         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30103         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30105 2013-10-04  Alan Modra  <amodra@gmail.com>
30107         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30108         (rTMP): Define as r11.
30109         (strcmp): Add little-endian support.  Optimise tail.
30110         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30111         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30112         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30113         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30114         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30115         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30116         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30118 2013-10-04  Alan Modra  <amodra@gmail.com>
30120         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30121         little-endian support.  Remove unnecessary "are we done" tests.
30122         Handle "s" wrapping around zero and extremely large "size".
30123         Correct main loop count.  Handle single left-over word from main
30124         loop inline rather than by using small_loop.  Correct comments.
30125         Delete "zero" tail, use "end_max" instead.
30126         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30128 2013-10-04  Alan Modra  <amodra@gmail.com>
30130         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30131         support.  Don't branch over align.
30132         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30133         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30134         support.  Rearrange tmp reg use to suit.  Comment.
30135         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30137 2013-10-04  Alan Modra  <amodra@gmail.com>
30139         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30141 2013-10-04  Alan Modra  <amodra@gmail.com>
30143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30144         conditional form of branch and link when obtaining pc.
30145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30147 2013-10-04  Alan Modra  <amodra@gmail.com>
30149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30150         HIWORD/LOWORD.
30151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30154 2013-10-04  Alan Modra  <amodra@gmail.com>
30156         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30157         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30158         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30159         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30160         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30161         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30162         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30163         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30164         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30165         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30167 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30168             Alistair Popple <alistair@ozlabs.au.ibm.com>
30169             Alan Modra <amodra@gmail.com>
30171         [BZ #15723]
30172         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30173         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30174         _dl_hwcap access for little-endian.
30175         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30176         destroy vmx regs when saving unaligned.
30177         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30178         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30179         destroy vmx regs when saving unaligned.
30181 2013-10-04  Alan Modra  <amodra@gmail.com>
30183         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30184         Don't use a union to pack hi/low value.
30186 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30188         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30189         for little-endian.
30190         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30191         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30192         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30193         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30194         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30196 2013-10-04  Alan Modra  <amodra@gmail.com>
30198         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30199         constants to usual value for .cst8 section, and remove redundant
30200         high address load.
30201         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30202         constant for 0x1p52.  Load little-endian words of double from
30203         correct stack offsets.
30205 2013-10-04  Alan Modra  <amodra@gmail.com>
30207         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30208         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30209         words of double from correct stack offsets.
30210         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30211         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30212         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30213         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30214         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30215         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30216         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30217         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30218         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30219         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30220         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30221         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30222         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30223         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30224         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30225         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30226         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30228 2013-10-04  Alan Modra  <amodra@gmail.com>
30230         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30231         64-bit int/double union.
30232         (_FPU_SETCW): Likewise.
30233         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30234         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30236 2013-10-04  Alan Modra  <amodra@gmail.com>
30238         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30239         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30241 2013-10-04  Alan Modra  <amodra@gmail.com>
30243         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30244         use vector int constants.
30245         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30247 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30249         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30250         array with long long.
30251         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30252         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30253         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30254         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30255         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30256         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30257         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30258         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30259         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30260         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30261         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30262         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30263         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30265 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30267         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30268         (__signbit): Likewise.  Correct for little-endian.
30269         (__signbitl): Call __signbit.
30270         (lrint): Correct for little-endian.
30271         (lrintf): Call lrint.
30273 2013-10-04  Alan Modra  <amodra@gmail.com>
30275         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30276         union 32-bit int array member with 64-bit int array.
30277         (t515, tm256): Double rather than long double.
30278         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30280 2013-10-04  Alan Modra  <amodra@gmail.com>
30282         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30283         Delete.
30284         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30285         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30286         version of math_ldbl.h.
30288 2013-10-04  Alan Modra  <amodra@gmail.com>
30290         [BZ #15734], [BZ #15735]
30291         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30292         all uses of ieee875 long double macros and unions.  Simplify test
30293         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30294         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30295         normalize after ldbl_extract_mantissa, and don't add hidden bit
30296         already handled.  Don't treat low word of ieee854 mantissa like
30297         low word of IBM long double and mask off bit when testing for
30298         zero.
30299         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30300         all uses of ieee875 long double macros and unions.  Simplify tests
30301         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30302         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30303         two1022, instead use their values.  Recognise that tests for large
30304         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30305         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30306         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30307         test for 0.0L and nan.  Correct negation.
30308         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30309         ieee875 long double macros and unions.  Correct output for large
30310         magnitude x.  Correct absolute value calculation.
30311         (__erfcl): Likewise.
30312         * math/libm-test.inc: Add tests for errors discovered in IBM long
30313         double versions of fmodl, remainderl, erfl and erfcl.
30315 2013-10-04  Alan Modra  <amodra@gmail.com>
30317         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30318         all uses of ieee854 long double macros and unions.  Simplify tests
30319         for long doubles that are fully specified by the high double.
30320         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30321         Likewise.
30322         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30323         Remove dead code too.
30324         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30325         (__ieee754_ynl): Likewise.
30326         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30327         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30328         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30329         Remove dead code too.
30330         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30331         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30332         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30333         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30334         Simplify.
30335         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30336         Simplify.
30337         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30338         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30339         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30340         Comment on variable precision.
30341         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30342         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30343         Likewise.
30344         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30345         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30346         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30347         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30348         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30350 2013-10-04  Alan Modra  <amodra@gmail.com>
30352         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30353         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30354         all uses of ieee854 long double macros and unions.
30355         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30356         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30357         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30358         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30359         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30360         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30361         Likewise.
30362         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30363         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30364         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30365         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30366         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30367         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30368         Simplify sign and nan test too.
30369         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30370         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30371         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30372         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30373         Likewise.
30374         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30375         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30376         Likewise.
30377         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30378         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30379         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30380         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30381         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30382         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30384 2013-10-04  Alan Modra  <amodra@gmail.com>
30386         * stdio-common/printf_size.c (__printf_size): Don't use
30387         union ieee854_long_double in fpnum union.
30388         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30389         signbit macro to retrieve sign from long double.
30390         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30391         retrieve sign from long double.
30392         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30393         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30394         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30395         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30396         * math/test-misc.c (main): Don't use union ieee854_long_double.
30398 2013-10-04  Alan Modra  <amodra@gmail.com>
30400         [BZ #15680]
30401         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30402         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30403         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30404         calculation.  Remove unnecessary test for denormal exponent.
30405         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30406         Correct handling of denormals.  Avoid undefined shift behaviour.
30407         Correct normalisation of low mantissa when low double is denormal.
30408         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30409         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30410         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30411         Correct normalisation of low mantissa.  Test for overflow of high
30412         mantissa and normalise.
30413         (ldbl_nearbyint): Use more readable constant for two52.
30414         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30415         (__mpn_construct_long_double): Fix test for overflow of high
30416         mantissa and correct normalisation.  Avoid undefined shift.
30418 2013-10-04  Alan Modra  <amodra@gmail.com>
30420         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30421         (union ibm_extended_long_double): Define as an array of ieee754_double.
30422         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30423         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30424         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30425         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30426         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30427         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30428         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30429         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30430         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30431         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30432         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30434 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30436         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30437         page size instead of calling getpagesize.
30439         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30440         (LOCFILE_ALIGN_MASK): Likewise.
30441         (LOCFILE_ALIGN_UP): Likewise.
30442         (LOCFILE_ALIGNED_P): Likewise.
30443         * locale/programs/ld-collate.c (collate_output): Use the new
30444         macros instead of __alignof__ (int32_t).
30445         * locale/weight.h (findidx): Likewise.
30447 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
30449         [BZ #431]
30450         * manual/string.texi: Fix strncat and wcsncat.
30452 2013-10-03  Brooks Moses  <bmoses@google.com>
30454         [BZ #15915]
30455         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30456         * Makerules: ...here, and adjust associated comments.
30458 2013-10-02  Will Newton  <will.newton@linaro.org>
30460         * malloc/Makefile: Add tst-pvalloc.
30461         * malloc/tst-pvalloc.c: New file.
30463 2013-10-02  Will Newton  <will.newton@linaro.org>
30465         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30466         improve test coverage.
30468 2013-10-02  Will Newton  <will.newton@linaro.org>
30470         * malloc/Makefile: Add tst-posix_memalign.
30471         * malloc/tst-posix_memalign.c: New file.
30473 2013-10-01  Eric Blake  <eblake@redhat.com>
30475         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30476         Use __THROWNL rather than __THROW on static functions.
30478 2013-09-30  Petr Machata  <pmachata@redhat.com>
30480         * elf/elf.h (R_AARCH64_ABS16): New macro.
30481         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30482         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30483         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30484         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30485         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30486         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30487         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30488         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30489         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30490         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30491         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30492         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30493         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30494         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30495         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30496         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30497         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30498         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30499         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30500         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30501         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30502         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30503         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30504         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30505         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30506         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30507         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30508         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30509         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30510         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30511         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30512         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30513         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30514         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30515         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30516         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30517         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30518         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30519         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30520         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30521         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30522         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30523         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30524         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30525         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30526         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30527         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30528         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30529         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30530         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30531         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30532         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30533         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30534         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30535         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30536         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30537         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30538         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30539         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30540         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30541         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30542         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30543         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30544         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30545         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30546         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30547         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30548         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30549         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30550         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30551         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30552         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30553         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30554         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30555         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30556         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30557         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30558         (R_AARCH64_TLSDESC_LDR): Likewise.
30559         (R_AARCH64_TLSDESC_ADD): Likewise.
30560         (R_AARCH64_TLSDESC_CALL): Likewise.
30562 2013-09-30  Andreas Schwab  <schwab@suse.de>
30564         [BZ #15048]
30565         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30566         the nss database lookup.
30567         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30568         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30570 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
30572         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30574 2013-09-28  P. J. McDermott  <pj@pehjota.net>
30576         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30577         ${Bash-specific parameter/pattern/string} parameter expansion.
30578         * sysdeps/unix/make-syscalls.sh: Likewise.
30580 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30582         * sysdeps/sh/stackguard-macros.h: New file.
30584 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
30586         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30587         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30588         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30589         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30590         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30591         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30593 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30595         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30596         Fix thread ID register.
30598 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
30600         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30601         [POSIX || UNIX98]: Require rather than permitting all symbols from
30602         <time.h>.
30603         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
30604         element of struct sched_param.
30605         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
30606         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
30607         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
30608         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
30609         constant.
30611 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
30613         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
30614         argument calculation.
30616 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30618         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
30619         Expect macro.
30620         [POSIX] (pthread_attr_t): Do not require type.
30621         [POSIX] (pthread_cond_t): Likewise.
30622         [POSIX] (pthread_condattr_t): Likewise.
30623         [POSIX] (pthread_key_t): Likewise.
30624         [POSIX] (pthread_mutex_t): Likewise.
30625         [POSIX] (pthread_mutexattr_t): Likewise.
30626         [POSIX] (pthread_once_t): Likewise.
30627         [POSIX] (pthread_t): Likewise.
30628         [POSIX-based standards] (pthread_atfork): Expect function.
30630 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30631             Richard Sandiford  <richard@codesourcery.com>
30633         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
30634         (swap_endianness_p): New extern variable.
30635         (set_big_endian): New inline function.
30636         (maybe_swap_uint32): Likewise.
30637         (maybe_swap_uint32_array): Likewise.
30638         (maybe_swap_uint32_obstack): Likewise.
30639         * locale/programs/locfile.c: Include <stdbool.h>.
30640         (swap_endianness_p): New variable.
30641         (add_locale_uint32): Call maybe_swap_uint32.
30642         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
30643         (write_locale_data): Call maybe_swap_uint32_array.
30644         * locale/programs/ld-collate.c (obstack_int32_grow): Call
30645         maybe_swap_uint32.
30646         (obstack_int32_grow_fast): Likewise.
30647         (output_weightwc): Call maybe_swap_uint32_obstack.
30648         (collate_output): Likewise.
30649         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
30650         (OPT_LITTLE_ENDIAN): Likewise.
30651         (options): Add --little-endian and --big-endian options.
30652         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
30653         * locale/programs/locarchive.c: Include "locfile.h".
30654         (GET): New macro.
30655         (SET): Likewise.
30656         (INC): Likewise.
30657         (create_archive): Use the new macros to access fields of
30658         structures directly mapped from or written to locale archives.
30659         (oldlocrecentcmp): Likewise.
30660         (enlarge_archive): Likewise.
30661         (insert_name): Likewise.
30662         (add_alias): Likewise.
30663         (add_locale): Likewise.
30664         (delete_locales_from_archive): Likewise.
30665         (show_archive_content): Likewise.
30666         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
30667         locale data.
30669 2013-09-24  Roland McGrath  <roland@hack.frob.com>
30671         * manual/freemanuals.texi: Updated from (newly) canonical copy at
30672         http://www.gnu.org/doc/freemanuals.texi.
30673         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30675 2013-09-24  Will Newton  <will.newton@linaro.org>
30677         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30678         macro.
30680 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
30682         * locale/hashval.h (compute_hashval): Interpret bytes of key as
30683         unsigned char.
30685 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
30687         * manual/threads.texi (POSIX Threads): Fix a typo.
30689 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30691         [BZ #14547]
30692         * string/tst-strcoll-overflow.c: New test case.
30693         * string/Makefile (xtests): Add tst-strcoll-overflow.
30694         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30695         cache if string sizes may cause integer overflow.
30697         [BZ #14547]
30698         * string/strcoll_l.c (coll_seq): New members rule, idx,
30699         save_idx and back_us.
30700         (get_next_seq_nocache): New function.
30701         (do_compare_nocache): New function.
30702         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30703         when malloc fails.
30705 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
30707         [BZ #15754]
30708         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30709         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30710         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30712         [BZ #15754]
30713         * elf/Makefile (tests): Add tst-ptrguard1.
30714         (tests-static): Add tst-ptrguard1-static.
30715         (tst-ptrguard1-ARGS): Define.
30716         (tst-ptrguard1-static-ARGS): Define.
30717         * elf/tst-ptrguard1.c: New file.
30718         * elf/tst-ptrguard1-static.c: New file.
30719         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30720         * sysdeps/i386/stackguard-macros.h: Likewise.
30721         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30722         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30723         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30724         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30725         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30726         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30728 2013-09-23  Hector Marco  <hecmargi@upv.es>
30729             Ismael Ripoll  <iripoll@disca.upv.es>
30730             Carlos O'Donell  <carlos@redhat.com>
30732         [BZ #15754]
30733         * sysdeps/generic/stackguard-macros.h: Define
30734         __pointer_chk_guard_local and POINTER_CHK_GUARD.
30735         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30736         Define __pointer_chk_guard_local.
30737         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30738         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30740 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
30742         [BZ #15859]
30743         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30745 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
30747         * include/string.h (__ffs): Declare as hidden.
30748         * string/ffs.c (__ffs): Define as hidden.
30749         * sysdeps/i386/ffs.c (__ffs): Likewise.
30750         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30751         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30752         * sysdeps/s390/ffs.c (__ffs): Likewise.
30753         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30755 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
30757         * NEWS: Mention malloc probes.
30759         * malloc/arena.c (new_heap): New memory_heap_new probe.
30760         (grow_heap): New memory_heap_more probe.
30761         (shrink_heap): New memory_heap_less probe.
30762         (heap_trim): New memory_heap_free probe.
30763         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30764         (systrim): New memory_sbrk_less probe.
30765         * manual/probes.texi: Document them.
30767         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30768         * manual/probes.texi: Document it.
30770         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30771         (__libc_realloc): Add memory_realloc_retry probe.
30772         (__libc_memalign): Add memory_memalign_retry probe.
30773         (__libc_valloc): Add memory_valloc_retry probe.
30774         (__libc_pvalloc): Add memory_pvalloc_retry probe.
30775         (__libc_calloc): Add memory_calloc_retry probe.
30776         * manual/probes.texi: Document them.
30778         * malloc/arena.c (get_free_list): Add probe
30779         memory_arena_reuse_free_list.
30780         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30781         and memory_arena_reuse.
30782         (arena_get2) [!PER_THREAD]: Likewise.
30783         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30784         memory_arena_reuse_realloc.
30785         * manual/probes.texi: Document them.
30787         * malloc/malloc.c (__libc_free): Add
30788         memory_mallopt_free_dyn_thresholds probe.
30789         (__libc_mallopt): Add multiple memory_mallopt probes.
30790         * manual/probes.texi: Document them.
30792         * malloc/malloc.c: Include stap-probe.h.
30793         (__libc_mallopt): Add memory_mallopt probe.
30794         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30795         * manual/probes.texi: New.
30796         * manual/Makefile (chapters): Add probes.
30797         * manual/threads.texi: Set next node.
30799 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
30801         [BZ #15963, #13985]
30802         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30803         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30804         Add `Chinese' to `nan' entry name.
30806 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30808         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30809         (POLYNOMIAL): Likewise.
30810         (TAYLOR_SINCOS): Likewise.
30811         (TAYLOR_SLOW): Likewise.
30812         (__sin): Use TAYLOR_SINCOS.
30813         (__cos): Likewise.
30814         (slow): Use TAYLOR_SLOW.
30815         (sloww): Likewise.
30816         (bsloww): Likewise.
30817         (csloww): Likewise.
30819 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30821         * stdlib/strtod_l.c: Fix buffer overrun.
30823 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30825         * benchtests/Makefile (bench): Add sincos.
30826         * benchtests/bench-sincos.c: New file.
30828         * math/libm-test.inc (cos_test_data): New test inputs.
30829         (sin_test_data): Likewise.
30831         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30832         macro.
30833         (__sin): Use it.
30834         (__cos): Likewise.
30835         (slow1): Likewise.
30836         (slow2): Likewise.
30837         (sloww1): Likewise.
30838         (sloww2): Likewise.
30839         (bsloww1): Likewise.
30840         (bsloww2): Likewise.
30841         (cslow2): Likewise.
30842         (csloww1): Likewise.
30843         (csloww2): Likewise.
30845         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30846         function.
30847         (__sin): Use it.
30848         (__cos): Likewise.
30850         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30851         gotos.
30852         (__cos): Likewise.
30854 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
30856         * config.h.in (HAVE_MIPS_NAN2008): New macro.
30857         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30858         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30859         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30860         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30861         * elf/cache.c (print_entry): Handle the new cache flags.
30863 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30864             Aldy Hernandez  <aldyh@redhat.com>
30866         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30867         Change condition to [_SOFT_FLOAT].
30868         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30869         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30870         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30871         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30872         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30873         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30874         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30875         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30876         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30877         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30878         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30879         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30880         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30881         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30882         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30883         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30884         declaration.
30886 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30888         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30889         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30890         (__longjmp): Use LOAD_GP to load saved GPRs.
30891         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30892         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30893         (__sigsetjmp): Use SAVE_GP to save GPRs.
30895         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30896         Do not append -msoft-float.
30897         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30899 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30901         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30903 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
30905         [BZ #15966]
30906         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30907         (_FPU_GETCW): Use initial "__" on variable and field names but not
30908         on macro parameter name.
30909         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
30910         parentheses around reference to macro parameter.
30912 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
30914         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30915         prototype.
30916         (ctype_startup): Use uint32_t in cast and sizeof for
30917         ctype->charnames.
30919 2013-09-11  Jia Liu  <proljc@gmail.com>
30921         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30922         __daddr_t_defined.
30923         [__FreeBSD__]: Likewise.
30925 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
30927         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30928         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30929         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30930         (strchr): Remove __strchr_sse42 ifunc selection.
30931         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30932         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30934 2013-09-11  Will Newton  <will.newton@linaro.org>
30936         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30937         parameter to RES. Remove hardcoded 1000 value.
30938         * benchtests/bench-skeleton.c (main): Pass RES parameter
30939         to TIMING_INIT and multiply result by 1000.
30941 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30945 2013-09-11  Andreas Schwab  <schwab@suse.de>
30947         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30948         if not defined.
30949         (O_TMPFILE) [__USE_GNU]: Define.
30950         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30951         Define.
30953 2013-09-11  Will Newton  <will.newton@linaro.org>
30955         [BZ #15857]
30956         * malloc/malloc.c (__libc_memalign): Check the value of bytes
30957         does not overflow.
30959 2013-09-11  Will Newton  <will.newton@linaro.org>
30961         [BZ #15856]
30962         * malloc/malloc.c (__libc_valloc): Check the value of bytes
30963         does not overflow.
30965 2013-09-11  Will Newton  <will.newton@linaro.org>
30967         [BZ #15855]
30968         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30969         does not overflow.
30971 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
30973         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30974         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30975         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30976         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30977         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30979 2013-09-10  Allan McRae  <allan@archlinux.org>
30981         [BZ #15748]
30982         * manual/arith.texi (Parsing of Floats): Clarify
30983         cross-reference.
30985         [BZ #15849]
30986         * manual/install.texi (Running make install): Mention
30987         --enable-pt-chown.
30988         * INSTALL: Regenerated.
30990 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
30992         * csu/init-first.c (_init): Remove the !SHARED condition around
30993         FPU control word initialization.
30994         * elf/dl-support.c (_dl_fpu_control): New variable.
30995         (_dl_aux_init) <AT_FPUCW>: Initialize it.
30996         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
30997         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
30998         * math/test-fpucw-static.c: New file.
30999         * math/test-fpucw-ieee.c: New file.
31000         * math/test-fpucw-ieee-static.c: New file.
31001         * math/Makefile (tests): Add `test-fpucw-ieee' and
31002         `$(tests-static)'.
31003         (tests-static): New variable.
31004         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31005         dependency to...
31006         [($(build-shared),yes)]
31007         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31008         ... this.
31009         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31010         New dependency.
31012 2013-09-09  Allan McRae  <allan@archlinux.org>
31014         [BZ #15939]
31015         * manual/string.texi (Collation Functions): Fix typo in
31016         strcoll example.
31017         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31019         [BZ #15893]
31020         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31022         [BZ #15892]
31023         * libio/memstream.c (open_memstream): Fix memory leak.
31024         * libio/wmemstream.c (open_wmemstream): Likewise.
31026         [BZ #15895]
31027         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31029 2013-09-09  Will Newton  <will.newton@linaro.org>
31031         * malloc/Makefile: Add tst-realloc to tests.
31032         * malloc/tst-realloc.c: New file.
31034 2013-09-09  Allan McRae  <allan@archlinux.org>
31036         [BZ #15844]
31037         * COPYING: Update from GNU website to fix FSF address.
31038         * COPYING.LIB: Likewise.
31040 2013-09-06  David S. Miller  <davem@davemloft.net>
31042         * po/zh_TW.po: Update Chinese (traditional) translation from
31043         translation project.
31045 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31046             Joseph Myers  <joseph@codesourcery.com>
31048         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31049         "localeinfo.h".
31050         (obstack_chunk_alloc): New macro.
31051         (obstack_chunk_free): Likewise.
31052         (record_offset): New function.
31053         (init_locale_data): Likewise.
31054         (align_locale_data): Likewise.
31055         (add_locale_empty): Likewise.
31056         (add_locale_raw_data): Likewise.
31057         (add_locale_raw_obstack): Likewise.
31058         (add_locale_string): Likewise.
31059         (add_locale_wstring): Likewise.
31060         (add_locale_uint32): Likewise.
31061         (add_locale_uint32_array): Likewise.
31062         (add_locale_char): Likewise.
31063         (start_locale_structure): Likewise.
31064         (end_locale_structure): Likewise.
31065         (start_locale_prelude): Likewise.
31066         (end_locale_prelude): Likewise.
31067         (write_locale_data): Take locale_file structure rather than an
31068         iovec.
31069         * locale/programs/locfile.h: Include "obstack.h".
31070         (struct locale_file): Change to store locale file contents instead
31071         of header.
31072         (init_locale_data): New prototype.
31073         (align_locale_data): Likewise.
31074         (add_locale_empty): Likewise.
31075         (add_locale_raw_data): Likewise.
31076         (add_locale_raw_obstack): Likewise.
31077         (add_locale_string): Likewise.
31078         (add_locale_wstring): Likewise.
31079         (add_locale_uint32): Likewise.
31080         (add_locale_uint32_array): Likewise.
31081         (add_locale_char): Likewise.
31082         (start_locale_structure): Likewise.
31083         (end_locale_structure): Likewise.
31084         (start_locale_prelude): Likewise.
31085         (end_locale_prelude): Likewise.
31086         (write_locale_data): Update prototype.
31087         * locale/programs/3level.h (struct TABLE): Remove result field.
31088         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31089         Use new locale_file interface.
31090         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31091         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31092         * locale/programs/ld-address.c (address_output): Use new
31093         locale_file interface.
31094         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31095         NO_ADD_LOCALE.
31096         (collate_finish): Don't call collseq_table_finalize.
31097         (collate_output): Use new locale_file interface.
31098         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31099         in file.
31100         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31101         (TABLE): Move defines earlier in file.
31102         (ELEMENT): Likewise.
31103         (DEFAULT): Likewise.
31104         (wctrans_table_add): Move macro and inline function earlier in
31105         file.
31106         (struct wctype_table): Move type earlier in file.
31107         (add_locale_wctype_table): New static prototype.
31108         (struct locale_ctype_t): Use logical types instead of struct iovec
31109         pointers for members.
31110         (ctype_output): Use new locale_file interface.
31111         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31112         new locale_file interface.
31113         (allocate_arrays): Update for use of new locale_file interface.
31114         * locale/programs/ld-identification.c (identification_output): Use
31115         new locale_file interface.
31116         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31117         * locale/programs/ld-messages.c (messages_output): Likewise.
31118         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31119         * locale/programs/ld-name.c (name_output): Likewise.
31120         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31121         * locale/programs/ld-paper.c (paper_output): Likewise.
31122         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31123         * locale/programs/ld-time.c (time_output): Likewise.
31125 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31127         * benchtests/Makefile: Add memrchr benchmark.
31128         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31129         benchmark as memrchr.
31130         * benchtests/bench-memrchr-ifunc.c: New file.
31131         * benchtests/bench-memrchr.c: New file.
31133 2013-09-06   Will Newton  <will.newton@linaro.org>
31135         * benchtests/Makefile (string-bench): Add memcpy.
31137 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31138             Cong Wang  <amwang@redhat.com>
31140         [BZ #15850]
31141         * sysdeps/unix/sysv/linux/bits/in.h
31142         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31143         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31144         before __USE_KERNEL_IPV6_DEFS uses.
31145         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31146         IPPROTO_BEETPH.
31147         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31148         sockaddr_in6, or ipv6_mreq.
31150 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31152         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31153         memory access for final bytes in some large inputs.
31154         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31156 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31158         * string/test-memrchr.c: New file.
31159         * string/test-memrchr-ifunc.c: New file.
31160         * string/Makefile: Add new memrchr testcase.
31162 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31164         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31165         fanotify_init returns EPERM.
31167 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31169         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31170         errors.
31171         (top level): Treat second token from macro or constant entries for
31172         allowed headers as allowed.
31173         * include/complex.h: Condition internal declarations on
31174         [!_ISOMAC].
31175         * include/fenv.h: Condition include of <stdbool.h> and internal
31176         declarations on [!_ISOMAC].
31178 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31180         [BZ #15923]
31181         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31183 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31185         * configure.in (--enable-versioning): Remove configure option.
31186         (libc_cv_asm_symver_directive): Remove configure test.
31187         (libc_cv_ld_version_script_option): Likewise.
31188         (VERSIONING): Remove variable and AC_SUBST.
31189         (DO_VERSIONING): Remove AC_DEFINE.
31190         * configure: Regenerated.
31191         * config.h.in (DO_VERSIONING): Remove macro.
31192         * Makerules [$(versioning) = yes]: Change conditionals to
31193         [$(build-shared) = yes].
31194         * config.make.in (versioning): Remove variable.
31195         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31196         [$(build-shared) = yes].
31197         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31198         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31199         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31200         [$(build-shared) = yes].
31201         * extra-lib.mk [$(versioning) = yes]: Likewise.
31202         * hurd/Makefile [$(versioning) = yes]: Likewise.
31203         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31204         [SHARED].
31205         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31206         [SHARED].
31207         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31208         [SHARED && !NO_HIDDEN].
31209         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31210         [SHARED].
31211         [SHARED && DO_VERSIONING]: Likewise..
31212         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31213         [$(build-shared) = yes].
31214         * manual/install.texi (--disable-versioning): Remove
31215         documentation.
31216         * INSTALL: Regenerated.
31217         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31218         to [SHARED].
31219         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31220         [$(build-shared) = yes].
31221         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31222         * sysdeps/i386/i686/multiarch/strstr-c.c
31223         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31224         [SHARED && !NO_HIDDEN].
31225         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31226         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31227         * sysdeps/powerpc/powerpc32/dl-machine.c
31228         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31229         * sysdeps/powerpc/powerpc32/sysdep.h
31230         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31231         to [SHARED && PIC && !NO_HIDDEN].
31232         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31233         conditional to [SHARED].
31235 2013-09-04   Will Newton  <will.newton@linaro.org>
31237         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31238         * benchtests/bench-string.h: Include bench-timing.h instead
31239         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31240         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31241         call to HP_TIMING_DIFF_INIT.
31242         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31243         instead of hp-timing.h macros.
31244         * benchtests/bench-memchr.c: Likewise.
31245         * benchtests/bench-memcmp.c: Likewise.
31246         * benchtests/bench-memcpy.c: Likewise.
31247         * benchtests/bench-memmem.c: Likewise.
31248         * benchtests/bench-memmove.c: Likewise.
31249         * benchtests/bench-memset.c: Likewise.
31250         * benchtests/bench-rawmemchr.c: Likewise.
31251         * benchtests/bench-strcasecmp.c: Likewise.
31252         * benchtests/bench-strcasestr.c: Likewise.
31253         * benchtests/bench-strcat.c: Likewise.
31254         * benchtests/bench-strchr.c: Likewise.
31255         * benchtests/bench-strcmp.c: Likewise.
31256         * benchtests/bench-strcpy.c: Likewise.
31257         * benchtests/bench-strcpy_chk.c: Likewise.
31258         * benchtests/bench-strlen.c: Likewise.
31259         * benchtests/bench-strncasecmp.c: Likewise.
31260         * benchtests/bench-strncat.c: Likewise.
31261         * benchtests/bench-strncmp.c: Likewise.
31262         * benchtests/bench-strncpy.c: Likewise.
31263         * benchtests/bench-strnlen.c: Likewise.
31264         * benchtests/bench-strpbrk.c: Likewise.
31265         * benchtests/bench-strrchr.c: Likewise.
31266         * benchtests/bench-strspn.c: Likewise.
31267         * benchtests/bench-strstr.c: Likewise.
31269 2013-09-04  Will Newton  <will.newton@linaro.org>
31271         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31273 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31275         [BZ #15427]
31276         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31277         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31278         * math/libm-test.inc (lgamma_test_data): Add more tests.
31279         * sysdeps/i386/fpu/libm-test-ulps: Update.
31280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31282 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31284         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31285         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31286         Add ifunc.
31287         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31288         Add strcmp-sse2-unaligned
31289         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31291 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31293         * Versions.def (libc): Add GLIBC_2.19.
31295 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31297         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31298         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31300 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31302         [BZ #14155]
31303         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31304         intermediate calculations in recurrence.
31305         (__ieee754_ynf): Likewise.
31306         * math/libm-test.inc (jn_test_data): Do not allow spurious
31307         underflow exception.  Add more tests.
31308         (yn_test_data): Add more tests.
31309         * sysdeps/i386/fpu/libm-test-ulps: Update.
31310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31312 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31314         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31316 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31318         * csu/init-first.c: Fix then/than typos.
31319         * locale/programs/ld-collate.c: Likewise.
31320         * locale/programs/linereader.h: Likewise.
31321         * manual/charset.texi: Likewise.
31322         * manual/filesys.texi: Likewise.
31323         * manual/stdio.texi: Likewise.
31324         * manual/string.texi: Likewise.
31325         * stdlib/fmtmsg.c: Likewise.
31326         * sysdeps/i386/stpncpy.S: Likewise.
31327         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31328         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31329         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31330         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31332 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31334         * elf/dl-open.c: Fix typos.
31335         * iconvdata/gbbig5.c: Likewise.
31336         * iconvdata/iso-2022-jp.c: Likewise.
31337         * iconv/gconv_int.h: Likewise.
31338         * iconv/loop.c: Likewise.
31339         * nis/rpcsvc/nis.h: Likewise.
31340         * resolv/ns_name.c: Likewise.
31341         * stdio-common/vfscanf.c: Likewise.
31342         * streams/stropts.h: Likewise.
31343         * sunrpc/rpc_thread.c: Likewise.
31344         * sysdeps/i386/strpbrk.S: Likewise.
31345         * sysdeps/ieee754/k_standard.c: Likewise.
31346         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31347         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31348         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31349         * sysdeps/mach/hurd/profil.c: Likewise.
31350         * sysdeps/s390/dl-procinfo.h: Likewise.
31351         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31352         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31353         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31354         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31355         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31357 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31359         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31360         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31362 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31364         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31365         aix specific files.
31366         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31367         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31368         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31369         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31370         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31371         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31372         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31373         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31375 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31376             Roland McGrath  <roland@hack.frob.com>
31378         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31379         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31381 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31383         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31384         __executable_start symbol instead of _start.
31386 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31388         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31389         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31390         Move macros to...
31391         * sysdeps/gnu/ldsodefs.h: ... this new file.
31393         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31394         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31395         instead of ELFOSABI_LINUX.
31397         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31398         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31399         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31400         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31401         Likewise.
31402         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31403         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31404         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31405         Likewise.
31406         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31407         (ibm_extended_long_double): Add ieee_nan member.
31408         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31409         (do_test): New function.
31411         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31412         TEST_TRUNC.
31413         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31414         functions, renamed from truncdfsf_test, trunctfsf_test,
31415         trunctfdf_test.
31416         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31417         functions.
31418         (do_test): Run all these.
31420 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31422         * argp/argp-help.c: Fix typos.
31423         * argp/argp-parse.c: Likewise.
31424         * debug/backtracesyms.c: Likewise.
31425         * elf/elf.h: Likewise.
31426         * malloc/malloc.c: Likewise.
31427         * nis/nis_print.c: Likewise.
31428         * resolv/res_comp.c: Likewise.
31429         * stdlib/stdlib.h: Likewise.
31430         * sunrpc/clnt_tcp.c: Likewise.
31431         * sunrpc/clnt_udp.c: Likewise.
31432         * sunrpc/clnt_unix.c: Likewise.
31433         * sysdeps/unix/bsd/ptsname.c: Likewise.
31434         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31435         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31437         Likewise.
31438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31439         Likewise.
31440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31441         Likewise.
31442         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31444 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31446         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31447         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31449 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
31451         [BZ #15897]
31452         * dlfcn/Makefile (tests): Add bug-dl-leaf.
31453         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31454         ($(objpfx)bug-dl-leaf): New rule.
31455         ($(objpfx)bug-dl-leaf.so): Likewise.
31456         ($(objpfx)bug-dl-leaf.out): Likewise.
31457         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31458         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31459         * dlfcn/bug-dl-leaf.c: New test.
31460         * dlfcn/bug-dl-leaf-lib.c: Likewise.
31461         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31462         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31463         (dlclose): Likewise.
31464         (dlmopen): Likewise.
31466 2013-08-27  Roland McGrath  <roland@hack.frob.com>
31468         * include/netdb.h [!_ISOMAC]:
31469         Don't include <tls.h>.
31470         (h_errno, __libc_h_errno): Move declaration and macros out of
31471         [_LIBC_REENTRANT].
31473         * include/resolv.h [_RESOLV_H_]:
31474         Don't include <tls.h>.
31475         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31476         * resolv/res_libc.c: Don't include <tls.h>.
31477         (_res): Use __attribute__ ((nocommon)) in place of
31478         __attribute__ ((section (".bss"))).
31480         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31481         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31483         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31485         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31486         only under [SIOCGIFCONF && SIOCGIFNETMASK].
31488         * resolv/res_mkquery.c: Include <sys/time.h>.
31490         * inet/ifreq.c: Moved to ...
31491         * sysdeps/unix/ifreq.c: ... here.
31492         * inet/ifreq.c: New file, true stub version.
31494         * socket/sa_len.c: New file.
31495         * socket/Makefile (aux): Add it.
31496         * sysdeps/unix/sysv/linux/Makefile
31497         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31498         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31499         and #include <socket/sa_len.c>.
31500         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31501         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31503         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31504         * bits/socket.h: ... here.
31506         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31507         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31508         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31510 2013-08-27  Andreas Schwab  <schwab@suse.de>
31512         [BZ #15736]
31513         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31514         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31515         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31516         * string/test-strcasecmp.c (test_main): Run tests in several
31517         locales.
31518         * string/test-strncasecmp.c (test_main): Likewise.
31520         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31521         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31522         to __strcasecmp_nonascii and __strncasecmp_nonascii.
31523         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31524         (__strncasecmp_ssse3) [PIC]: Likewise.
31526 2013-08-26  Roland McGrath  <roland@hack.frob.com>
31528         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31530         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31531         instead of explicitly declaring xdecrypt.
31532         * nis/nss_nis/nis-publickey.c: Likewise.
31534 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31536         [BZ #15890]
31537         * nscd/aicache.c: Include res_hconf.h.
31538         (addhstaiX): Initialize res_hconf.
31540 2013-08-26  Andreas Schwab  <schwab@suse.de>
31542         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31543         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31545 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31547         * nscd/aicache.c (addhstaiX): Fix indentation.
31549 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
31551         * configure.ac: Quote $build_pt_chown test.
31552         * configure: Regenerated.
31554 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
31556         [BZ #15532]
31557         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31558         * math/s_cexpf.c (__cexpf): Likewise.
31559         * math/s_cexpl.c (__cexpl): Likewise.
31560         * math/libm-test.inc (cexp_test_data): Correct expected return
31561         value for NaN + i0.  Add another test.
31563 2013-08-22  David S. Miller  <davem@davemloft.net>
31565         * po/ca.po: Update Catalan translation from translation project.
31566         * po/uk.po: Add Ukrainian translations from translation project.
31568 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
31570         [BZ #15797]
31571         * math/s_fdim.c (__fdim): Check for infinite arguments if result
31572         is infinite, not alongside NaN test.
31573         * math/s_fdimf.c (__fdimf): Likewise.
31574         * math/s_fdiml.c (__fdiml): Likewise.
31575         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
31576         errno is unchanged.
31578 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
31580         * argp/argp-help.c: Fix typos.
31581         * crypt/speeds.c: Likewise.
31582         * csu/check_fds.c: Likewise.
31583         * elf/dl-load.c: Likewise.
31584         * elf/dl-open.c: Likewise.
31585         * elf/reldep3.c: Likewise.
31586         * elf/reldep.c: Likewise.
31587         * elf/sprof.c: Likewise.
31588         * iconv/iconv_charmap.c: Likewise.
31589         * iconv/skeleton.c: Likewise.
31590         * iconv/strtab.c: Likewise.
31591         * io/lockf64.c: Likewise.
31592         * libio/libioP.h: Likewise.
31593         * resolv/gai_notify.c: Likewise.
31594         * resolv/ns_name.c: Likewise.
31595         * resolv/ns_samedomain.c: Likewise.
31596         * resolv/res_send.c: Likewise.
31597         * stdlib/random.c: Likewise.
31598         * sunrpc/rpc/xdr.h: Likewise.
31599         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31600         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31601         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31602         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31603         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31604         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31605         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31606         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31607         * sysdeps/mach/hurd/check_fds.c: Likewise.
31608         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31609         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31610         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31611         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31612         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31613         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31614         * sysdeps/pthread/aio_notify.c: Likewise.
31615         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
31616         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
31617         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
31618         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31619         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31621 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31623         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
31624         version if bit_Slow_SSE4_2 is set.
31625         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31626         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31628 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31630         [BZ #15867]
31631         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
31632         trampoline stack frame information.
31633         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
31634         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
31635         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
31636         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
31637         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
31638         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31639         (_libc_vdso_platform_setup): Initialize the signal trampolines.
31640         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
31641         sa_flags value.
31642         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
31643         interrupting a syscall and set with option SA_SIGINFO.
31645 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31647         [BZ #15531]
31648         * math/s_cproj.c (__cproj): Only return an infinity if one part of
31649         argument is infinite.
31650         * math/s_cprojf.c (__cprojf): Likewise.
31651         * math/s_cprojl.c (__cprojl): Likewise.
31652         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
31653         * math/libm-test.inc (cproj_test_data): Add more tests.
31655         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
31657         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31658         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
31659         size.  Use __ffs to determine corresponding shift.
31661 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31662             Roland McGrath  <roland@hack.frob.com>
31664         * Makefile (INSTALL): Remove trailing blank lines from output of
31665         makeinfo.
31667 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31669         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31670         Align 32 bit compat elf_greg to 8 bytes.
31672 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
31674         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31676 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31678         * string/strcoll_l.c (coll_seq): New structure.
31679         (get_next_seq_cached): New function.
31680         (get_next_seq): New function.
31681         (do_compare): New function.
31682         (STRCOLL): Use GNU style definition.  Simplify implementation
31683         by using get_next_seq, get_next_seq_cached and do_compare.
31685 2013-08-16  Florian Weimer  <fweimer@redhat.com>
31687         [BZ #14699]
31688         CVE-2013-4237
31689         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31690         member.
31691         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31692         member.
31693         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31694         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31695         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
31696         conditional.
31697         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31698         GETDENTS_64BIT_ALIGNED.
31699         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31700         * manual/filesys.texi (Reading/Closing Directory): Document
31701         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
31702         strongly.
31703         * manual/conf.texi (Limits for Files): Add portability note to
31704         NAME_MAX, PATH_MAX.
31705         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31707 2013-08-13  Andreas Schwab  <schwab@suse.de>
31709         [BZ #15749]
31710         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31711         of fabs.
31712         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31713         LDBL_MAX_EXP >= 16384]: Add tests for it.
31715 2013-08-12  David S. Miller  <davem@davemloft.net>
31717         * version.h (RELEASE): Set to "development".
31718         (VERSION): Set to "2.18.90".
31719         * NEWS: Add 2.19 section.
31721 2013-08-03  David S. Miller  <davem@davemloft.net>
31723         * po/ko.po: Update Korean translation from translation project.
31725 2013-08-01  David S. Miller  <davem@davemloft.net>
31727         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
31728         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31729         Bilka.
31731 2013-07-30  David S. Miller  <davem@davemloft.net>
31733         * po/fr.po: Update French translation from translation project.
31735 2013-07-28  David S. Miller  <davem@davemloft.net>
31737         * po/cs.po: Update Czech translation from translation project.
31739         * po/sv.po: Update Swedish translation from translation project.
31741 2013-07-27  David S. Miller  <davem@davemloft.net>
31743         * po/eo.po: Update Esperanto translation from translation project.
31745         * po/vi.po: Update Vietnamese translation from translation project.
31747         * po/de.po: Update German translation from translation project.
31749 2013-07-26  David S. Miller  <davem@davemloft.net>
31751         * po/bg.po: Update Bulgarian translation from translation project.
31753         * po/nl.po: Update Dutch translation from translation project.
31754         * po/pl.po: Update Polish translation from translation project.
31755         * po/ru.po: Update Russian translation from translation project.
31757 2013-07-24  David S. Miller  <davem@davemloft.net>
31759         * po/libc.pot: Update.
31761 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31763         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31764         variable page size.
31765         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31766         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31767         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31769 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31771         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31773 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31774             Andreas Schwab  <schwab@suse.de>
31775             Roland McGrath  <roland@hack.frob.com>
31776             Joseph Myers  <joseph@codesourcery.com>
31777             Carlos O'Donell  <carlos@redhat.com>
31779         [BZ #15755]
31780         * config.h.in: Define HAVE_PT_CHOWN.
31781         * config.make.in (build-pt-chown): New variable.
31782         * configure.in (--enable-pt_chown): New configure option.
31783         * configure: Regenerate.
31784         * login/Makefile: Include Makeconfig.  Build pt_chown only if
31785         build-pt-chown is enabled.
31786         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31787         pt_chown to fix pty ownership.
31788         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31789         CLOSE_ALL_FDS.
31790         * manual/install.texi (Configuring and compiling): Mention
31791         --enable-pt_chown. Add @findex for grantpt.
31792         * INSTALL: Regenerate.
31794 2013-07-20  David S. Miller  <davem@davemloft.net>
31796         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31797         difference between 32-bit and 64-bit.
31799 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
31801         [BZ #15711]
31802         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31803         Avoid system header dependency with -ffreestanding.
31804         ($(objpfx)bits/syscall%d): Likewise.
31806 2013-07-13  David S. Miller  <davem@davemloft.net>
31808         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31809         underflows from atanl/atan2l due to bug 15319.
31810         (casinh_test_data): Likewise.
31812 2013-07-07  David S. Miller  <davem@davemloft.net>
31814         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31816 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
31818         * sysdeps/i386/fpu/libm-test-ulps: Update.
31819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31821 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31823         * configure.in (--enable-lock-elision): Fix message text.
31824         * INSTALL: Regenerate.
31825         * configure: Regenerate.
31827 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31831 2013-07-03  Andreas Jaeger  <aj@suse.de>
31833         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31834         define.
31835         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31836         (ptrace_peeksiginfo_args): Add.
31837         (__ptrace_peeksiginfo_flags): Add.
31838         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31839         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31840         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31842 2013-07-03  Allan McRae  <allan@archlinux.org>
31844         * sysdeps/i386/fpu/libm-test-ulps: Update.
31846 2013-07-02  David S. Miller  <davem@davemloft.net>
31848         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31850 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
31852         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31854 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31856         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31859 2013-07-02  Andi Kleen <ak@linux.intel.com>
31861         * config.h.in (ENABLE_LOCK_ELISION): Add.
31862         * configure.in (--enable-lock-elision): Add option.
31863         * manual/install.texi: Document --enable lock elision.
31864         * configure: Regenerate
31865         * INSTALL: Regenerate.
31867 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
31869         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31870         SSE4.2 strcasecmp for libc.a.
31871         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31873 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31875         [BZ #13304]
31876         * soft-fp/op-common.h (_FP_FMA): New macro.
31877         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31878         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
31879         (_FP_MUL_MEAT_1_imm): ... here.
31880         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
31881         (_FP_MUL_MEAT_1_wide): ... here.
31882         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
31883         (_FP_MUL_MEAT_1_hard): ... here.
31884         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31885         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
31886         (_FP_MUL_MEAT_2_wide): ... here.
31887         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
31888         (_FP_MUL_MEAT_2_wide_3mul): ... here.
31889         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
31890         (_FP_MUL_MEAT_2_gmp): ... here.
31891         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31892         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
31893         (_FP_MUL_MEAT_4_wide): ... here.
31894         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
31895         (_FP_MUL_MEAT_4_gmp): ... here.
31896         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31897         (_FP_WFRACBITS_DW_S): Likewise.
31898         (_FP_WFRACXBITS_DW_S): Likewise.
31899         (_FP_HIGHBIT_DW_S): Likewise.
31900         (FP_FMA_S): Likewise.
31901         (_FP_FRAC_HIGH_DW_S): Likewise.
31902         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31903         (_FP_WFRACBITS_DW_D): Likewise.
31904         (_FP_WFRACXBITS_DW_D): Likewise.
31905         (_FP_HIGHBIT_DW_D): Likewise.
31906         (FP_FMA_D): Likewise.
31907         (_FP_FRAC_HIGH_DW_D): Likewise.
31908         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31909         (_FP_WFRACBITS_DW_E): Likewise.
31910         (_FP_WFRACXBITS_DW_E): Likewise.
31911         (_FP_HIGHBIT_DW_E): Likewise.
31912         (FP_FMA_E): Likewise.
31913         (_FP_FRAC_HIGH_DW_E): Likewise.
31914         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31915         (_FP_WFRACBITS_DW_Q): Likewise.
31916         (_FP_WFRACXBITS_DW_Q): Likewise.
31917         (_FP_HIGHBIT_DW_Q): Likewise.
31918         (FP_FMA_Q): Likewise.
31919         (_FP_FRAC_HIGH_DW_Q): Likewise.
31920         * soft-fp/fmasf4.c: New file.
31921         * soft-fp/fmadf4.c: Likewise.
31922         * soft-fp/fmatf4.c: Likewise.
31924 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31926         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31927         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31928         Silvermont.
31929         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31930         macro.
31931         (index_Slow_SSE4_2): Likewise.
31932         (index_Prefer_PMINUB_for_stringop): Likewise.
31933         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31934         bit_Slow_SSE4_2 is set.
31935         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31936         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31938 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31940         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31941         rtld_global._dl_hwcap2.
31942         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31943         POWER8.
31944         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31945         POWER8 feature descriptions defined in _dl_hwcap2.
31946         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31947         string handling for POWER8 feature bits.
31948         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31949         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31950         _dl_powerpc_cap_flags.
31951         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31952         * sysdeps/powerpc/rtld-global-offsets.sym
31953         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31954         _dl_hwcap2 in the rtld_global_ro structure.
31956 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31958         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31959         hardware capabilities in support of AT_HWCAP2.
31960         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31961         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31962         GLRO(dl_hwcap2).
31963         (_dl_show_auxv): Add support for calling _dl_procinfo to display
31964         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
31965         explicitly the unknown a_type display mechanism is used.
31966         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31967         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31968         struct member.
31969         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31970         to macro prototype for AT_HWCAP2 support.
31971         * sysdeps/i386/dl-procinfo.h: Likewise.
31972         * sysdeps/s390/dl-procinfo.h: Likewise.
31973         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31974         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
31975         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
31976         return -1 for unknown a_type display fallback.
31977         * sysdeps/sparc/dl-procinfo.h: Likewise.
31978         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31979         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
31981 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
31983         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
31984         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31986 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
31988         [BZ #12492]
31989         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
31990         mprotect making __stack_prot writable.
31992 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
31993             Joseph Myers  <joseph@codesourcery.com>
31995         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
31996         as being properly aligned.
31998 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32000         * dlfcn/modstatic5.c: New file.
32001         * dlfcn/tststatic5.c: New file.
32002         * dlfcn/Makefile (tests): Add tststatic5.
32003         (tests-static): Likewise.
32004         (modules-names): Add modstatic5.
32005         (tststatic5-ENV): New variable.
32006         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32008         [BZ #15022]
32009         * elf/dl-support.c (_dl_main_map): New variable.
32010         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32011         (_dl_nns, _dl_load_adds): Set to 1.
32012         (_dl_initial_searchlist): Refer to _dl_main_map.
32013         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32014         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32015         call to _dl_get_origin.
32016         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32017         around call_map.
32018         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32019         * dlfcn/modstatic3.c: New file.
32020         * dlfcn/tststatic3.c: New file.
32021         * dlfcn/tststatic4.c: New file.
32022         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32023         (tests-static): Likewise.
32024         (modules-names): Add modstatic3.
32025         (tststatic3-ENV, tststatic4-ENV): New variables.
32026         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32027         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32029 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32031         * configure.in (CC): Require GCC version 4.4 or later.
32032         * configure: Regenerated.
32033         * manual/install.texi (Tools for Compilation): Update GCC version
32034         requirement.
32035         * INSTALL: Regenerated.
32037 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32039         [BZ #15674]
32040         * string/test-memcmp.c (check2): New.
32041         (main): Call check2.
32043         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32045 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32047         [BZ #15022]
32048         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32049         over to...
32050         (dl_open_worker) [!SHARED]: ... here.
32052 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32054         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32056 2013-06-25  Richard Henderson  <rth@redhat.com>
32058         * locale/programs/locarchive.c: Include <libc-internal.h>
32060 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32062         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32063         trailing whitespace removed.
32065 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32067         [BZ #10283]
32068         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32069         * locale/programs/locarchive.c: Include libc-mmap.h.
32070         (prepare_address_space): Take two new outputs (the mmap base and len).
32071         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32072         values.
32073         (create_archive): Declare new mmap base and len values for
32074         prepare_address_space, and store the result in ah.
32075         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32076         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32077         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32078         Declare new mmap base and len values for
32079         prepare_address_space, and store the result in new_ah.
32080         (open_archive): Declare new mmap base and len values for
32081         prepare_address_space, and store the result in ah.
32082         (close_archive): If ah->mmap_base is not NULL, use that and
32083         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32084         * sysdeps/generic/libc-mmap.h: New file.
32086 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32088         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32089         (ALIGN_UP): Likewise.
32090         (PTR_ALIGN_DOWN): Likewise.
32091         (PTR_ALIGN_UP): Likewise.
32093 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32095         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32096         entry mapped to PPC_PLATFORM_POWER8.
32097         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32098         POWER8.
32099         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32100         (_dl_string_platform): Add case for exporting platform position for
32101         POWER8.
32102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32103         search path to sysdeps/powerpc/powerpc32/power8 directory.
32104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32105         search path to sysdeps/powerpc/powerpc64/power8 directory.
32106         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32107         power7 directories.
32108         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32109         power7 directories.
32111 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32113         * INSTALL: Regenerate.
32115         * nscd/connections.c (nscd_init): Fix comment.
32117 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32119         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32121         [BZ #15667]
32122         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32123         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32125 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32127         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32128         DL_DST_REQ_STATIC.
32129         (DL_DST_REQ_STATIC): Remove macro.
32131 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32133         [BZ #7006]
32134         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32135         with a shift of 0 bits.
32137 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32139         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32140         $(tststatic-ENV).
32142 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32144         [BZ #15655]
32145         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32147 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32149         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32150         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32151         accepts -fno-tree-loop-distribute-patterns.
32152         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32153         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32154         recursive call.
32155         * string/memset.c (memset): Likewise.
32156         * string/test-memmove.c (simple_memmove): Disable loop transformation
32157         to library calls.
32158         * string/test-memset.c (simple_memset): Likewise.
32159         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32160         * benchtests/bench-memset.c (simple_memset): Likewise.
32161         * configure: Regenerated.
32163 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32165         * math/test-misc.c (main): Ignore fesetround failure when failures
32166         of subsequent rounding tests would be ignored.
32168         [BZ #15654]
32169         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32170         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32171         * math/fegetenv.c (__fegetenv): Return 0.
32172         * math/fegetexcept.c (fegetexcept): Return 0.
32173         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32174         FE_TONEAREST.
32175         * math/feholdexcpt.c (feholdexcept): Return 0.
32176         * math/fesetenv.c (__fesetenv): Return 0.
32177         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32178         argument FE_TONEAREST.
32179         * math/feupdateenv.c (__feupdateenv): Return 0.
32180         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32182 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32184         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32185         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32186         ($(objpfx)rtld-%.os rules): Use them.
32188 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32190         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32191         fields.
32193 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32195         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32196         length of target pattern, then descending length of dependency pattern.
32197         * configure.in (AWK): Require gawk 3.1.2 or newer.
32198         * manual/install.texi (Tools for Compilation): Say that we do.
32199         * configure: Regenerated.
32201         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32202         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32203         * scripts/sysd-rules.awk: ... this new script.
32204         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32205         than a glob-style pattern.
32207 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32209         * math/test-misc.c (main): Do not treat incorrectly rounded
32210         conversions as failure unless ROUNDING_TESTS passes.
32212 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32214         [BZ #15631]
32215         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32216         restore exception state around main square root computation, then
32217         check for inexactness explicitly.
32219         * math/libm-test.inc (fma_test_data): Add another test.
32221 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32223         * manual/threads.texi (Non-POSIX Extensions): New document
32224         node.  Document pthread_getattr_default_np and
32225         pthread_setattr_default_np.
32227         * Versions.def (libpthread): Add GLIBC_2.18.
32228         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32230         Likewise.
32231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32232         Likewise.
32233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32234         Likewise.
32235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32236         Likewise.
32237         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32238         Likewise.
32239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32240         Likewise.
32241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32242         Likewise.
32243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32244         Likewise.
32245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32246         Likewise.
32248 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32250         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32251         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32253 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32254             H.J. Lu  <hjl.tools@gmail.com>
32256         [BZ #15627]
32257         * sysdeps/x86_64/rtld-memset.c: Remove file.
32258         * sysdeps/x86_64/rtld-memset.S: New file.
32260 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32262         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32263         (test_in_one_mode): Take arguments for whether the rounding mode
32264         is supported for each floating-point type.
32265         (do_test): Pass new arguments to test_in_one_mode using
32266         ROUNDING_TESTS.
32268 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32270         * posix/tst-waitid.c (do_test): Distinguish different instances of
32271         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32272         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32273         before entering the kernel for waitpid.
32275 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32277         * NEWS: Fix note on clock function precision.  Text by Roland
32278         McGrath.
32280 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32282         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32283         it into place only when and if the sanity check passes.
32285 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32287         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32288         output for whether conversion result is exact.  Take argument
32289         indicating whether type is IBM long double.
32290         (round_for_all): Change need_exact field to ibm_ld.
32291         * stdlib/tst-strtod-round.c (struct exactness): New type.
32292         (struct test): Change bool ld_ok field to struct exactness exact.
32293         (TEST): Update all definitions for change to field.
32294         (tests): Regenerate array contents.
32295         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32296         field value.  Check for IBM long double here.
32297         (do_test): Update calls to test_in_one_mode.
32299 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32301         [BZ #12515]
32302         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32303         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32305 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32307         [BZ #15605]
32308         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32309         generated by the compiler on loop optimizations.
32310         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32311         general definitions.
32313 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32315         * math/bug-nextafter.c: Include <math-tests.h>.
32316         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32317         the relevant type.
32318         * math/bug-nexttoward.c: Include <math-tests.h>.
32319         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32320         the relevant type.
32321         * math/test-misc.c: Include <math-tests.h>.
32322         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32323         the relevant type.
32325 2013-06-12  Andreas Jaeger  <aj@suse.de>
32327         * po/ia.po: Update Interlingua translation from translation
32328         project.
32330 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32332         * include/fenv.h: Include stdbool.h.
32333         (struct rm_ctx): New structure.
32334         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32335         Define macro.
32336         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32337         (SET_RESTORE_ROUNDF): Likewise.
32338         (SET_RESTORE_ROUNDL): Likewise.
32339         (SET_RESTORE_ROUND_NOEX): Likewise.
32340         (SET_RESTORE_ROUND_NOEXF): Likewise.
32341         (SET_RESTORE_ROUND_NOEXL): Likewise.
32342         (SET_RESTORE_ROUND_53BIT): Likewise.
32343         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32344         (libc_feresetround_noexf_ctx): Likewise.
32345         (libc_feresetround_noexl_ctx): Likewise.
32346         (libc_feholdsetround_53bit_ctx): Likewise.
32347         (libc_feresetround_53bit_ctx): Likewise.
32348         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32349         (libc_feholdexcept_setround_sse_ctx): New function.
32350         (libc_fesetenv_sse_ctx): Likewise.
32351         (libc_feupdateenv_sse_ctx): Likewise.
32352         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32353         (libc_feholdexcept_setround_387_ctx): Likewise.
32354         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32355         (libc_feholdsetround_387_prec_ctx): Likewise.
32356         (libc_feholdsetround_387_ctx): Likewise.
32357         (libc_feholdsetround_387_53bit_ctx): Likewise.
32358         (libc_feholdsetround_sse_ctx): Likewise.
32359         (libc_feresetround_sse_ctx): Likewise.
32360         (libc_feresetround_387_ctx): Likewise.
32361         (libc_feupdateenv_387_ctx): Likewise.
32362         (libc_feholdexcept_setroundf_ctx): Define macro.
32363         (libc_fesetenvf_ctx): Likewise.
32364         (libc_feupdateenvf_ctx): Likewise.
32365         (libc_feholdsetroundf_ctx): Likewise.
32366         (libc_feresetroundf_ctx): Likewise.
32367         (libc_feholdexcept_setround_ctx): Likewise.
32368         (libc_fesetenv_ctx): Likewise.
32369         (libc_feupdateenv_ctx): Likewise.
32370         (libc_feholdsetround_ctx): Likewise.
32371         (libc_feresetround_ctx): Likewise.
32372         (libc_feholdexcept_setroundl_ctx): Likewise.
32373         (libc_feupdateenvl_ctx): Likewise.
32374         (libc_feholdsetroundl_ctx): Likewise.
32375         (libc_feresetroundl_ctx): Likewise.
32376         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32377         (libc_feresetround_53bit_ctx): Likewise.
32379 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32381         * locale/iso-639.def: Convert to UTF-8.
32383 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32385         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32386         (EXCEPTION_TESTS_double): Likewise.
32387         (EXCEPTION_TESTS_long_double): Likewise.
32388         (EXCEPTION_TESTS): Likewise.
32389         * math/libm-test.inc (test_exceptions): Only test exceptions if
32390         EXCEPTION_TESTS (FLOAT).
32392 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32394         * benchtests/Makefile (string-bench): Add strcpy_chk and
32395         stpcpy_chk.
32396         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32397         * benchtests/bench-stpcpy_chk.c: New file.
32398         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32399         * benchtests/bench-strcpy_chk.c: New file.
32400         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32401         code.
32402         (do_test): Likewise.
32404 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32406         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32407         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32408         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32409         with tabs where appropriate.
32410         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32411         dl-procinfo.h.
32412         [PPC_PLATFORM_PPC440]: Likewise.
32413         [PPC_PLATFORM_PPC464]: Likewise.
32414         [PPC_PLATFORM_PPC476]: Likewise.
32415         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32416         ppc464, and ppc476 platform strings merging from ports/
32417         dl-procinfo.h.
32419 2013-06-11  Andreas Schwab  <schwab@suse.de>
32421         [BZ #14991]
32422         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32423         (from_ucs4_idx): Regenerate.
32424         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32425         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32426         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32427         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32428         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32429         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32430         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32431         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32432         from FROM_LOOP and TO_LOOP specific macros.
32433         (BODY): Handle combining characters.
32434         * iconvdata/BIG5HKSCS.irreversible: Update.
32435         * iconvdata/BIG5HKSCS.precomposed: New file.
32436         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32437         characters.
32438         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32440 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32442         * include/sys/time.h: Fix indentation and add copyright header.
32444         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32445         (do_test): Likewise.
32446         * string/test-memchr.c (do_one_test): Likewise.
32447         (do_test): Likewise.
32448         * string/test-memcmp.c (do_one_test): Likewise.
32449         (do_test): Likewise.
32450         * string/test-memcpy.c (do_one_test): Likewise.
32451         (do_test): Likewise.
32452         * string/test-memmem.c (do_one_test): Likewise.
32453         (do_test): Likewise.
32454         (do_random_tests): Likewise.
32455         * string/test-memmove.c (do_one_test): Likewise.
32456         (do_test): Likewise.
32457         * string/test-memset.c (do_one_test): Likewise.
32458         (do_test): Likewise.
32459         * string/test-rawmemchr.c (do_one_test): Likewise.
32460         (do_test): Likewise.
32461         * string/test-strcasecmp.c (do_one_test): Likewise.
32462         (do_test): Likewise.
32463         * string/test-strcasestr.c (do_one_test): Likewise.
32464         (do_test): Likewise.
32465         * string/test-strcat.c (do_one_test): Likewise.
32466         (do_test): Likewise.
32467         * string/test-strchr.c (do_one_test): Likewise.
32468         (do_test): Likewise.
32469         * string/test-strcmp.c (do_one_test): Likewise.
32470         (do_test): Likewise.
32471         * string/test-strcpy.c (do_one_test): Likewise.
32472         (do_test): Likewise.
32473         * string/test-string.h: Likewise.
32474         (test_init): Likewise.
32475         * string/test-strlen.c (do_one_test): Likewise.
32476         (do_test): Likewise.
32477         * string/test-strncasecmp.c (do_one_test): Likewise.
32478         (do_test): Likewise.
32479         * string/test-strncat.c (do_one_test): Likewise.
32480         (do_test): Likewise.
32481         * string/test-strncmp.c (do_one_test): Likewise.
32482         (do_test_limit): Likewise.
32483         (do_test): Likewise.
32484         * string/test-strncpy.c (do_one_test): Likewise.
32485         (do_test): Likewise.
32486         * string/test-strnlen.c (do_one_test): Likewise.
32487         (do_test): Likewise.
32488         * string/test-strpbrk.c (do_one_test): Likewise.
32489         (do_test): Likewise.
32490         * string/test-strrchr.c (do_one_test): Likewise.
32491         (do_test): Likewise.
32492         * string/test-strspn.c (do_one_test): Likewise.
32493         (do_test): Likewise.
32494         * string/test-strstr.c (do_one_test): Likewise.
32495         (do_test): Likewise.
32497         * benchtests/Makefile (string-bench): Add string benchmarks.
32498         * benchtests/bench-bcopy-ifunc.c: New file.
32499         * benchtests/bench-bcopy.c: New file.
32500         * benchtests/bench-bzero-ifunc.c: New file.
32501         * benchtests/bench-bzero.c: New file.
32502         * benchtests/bench-memccpy-ifunc.c: New file.
32503         * benchtests/bench-memccpy.c: New file.
32504         * benchtests/bench-memchr-ifunc.c: New file.
32505         * benchtests/bench-memchr.c: New file.
32506         * benchtests/bench-memcmp-ifunc.c: New file.
32507         * benchtests/bench-memcmp.c: New file.
32508         * benchtests/bench-memmem-ifunc.c: New file.
32509         * benchtests/bench-memmem.c: New file.
32510         * benchtests/bench-memmove-ifunc.c: New file.
32511         * benchtests/bench-memmove.c: New file.
32512         * benchtests/bench-mempcpy-ifunc.c: New file.
32513         * benchtests/bench-mempcpy.c: New file.
32514         * benchtests/bench-memset-ifunc.c: New file.
32515         * benchtests/bench-memset.c: New file.
32516         * benchtests/bench-rawmemchr-ifunc.c: New file.
32517         * benchtests/bench-rawmemchr.c: New file.
32518         * benchtests/bench-stpcpy-ifunc.c: New file.
32519         * benchtests/bench-stpcpy.c: New file.
32520         * benchtests/bench-stpncpy-ifunc.c: New file.
32521         * benchtests/bench-stpncpy.c: New file.
32522         * benchtests/bench-strcasecmp-ifunc.c: New file.
32523         * benchtests/bench-strcasecmp.c: New file.
32524         * benchtests/bench-strcasestr-ifunc.c: New file.
32525         * benchtests/bench-strcasestr.c: New file.
32526         * benchtests/bench-strcat-ifunc.c: New file.
32527         * benchtests/bench-strcat.c: New file.
32528         * benchtests/bench-strchr-ifunc.c: New file.
32529         * benchtests/bench-strchr.c: New file.
32530         * benchtests/bench-strchrnul-ifunc.c: New file.
32531         * benchtests/bench-strchrnul.c: New file.
32532         * benchtests/bench-strcmp-ifunc.c: New file.
32533         * benchtests/bench-strcmp.c: New file.
32534         * benchtests/bench-strcpy-ifunc.c: New file.
32535         * benchtests/bench-strcpy.c: New file.
32536         * benchtests/bench-strcspn-ifunc.c: New file.
32537         * benchtests/bench-strcspn.c: New file.
32538         * benchtests/bench-strlen-ifunc.c: New file.
32539         * benchtests/bench-strlen.c: New file.
32540         * benchtests/bench-strncasecmp-ifunc.c: New file.
32541         * benchtests/bench-strncasecmp.c: New file.
32542         * benchtests/bench-strncat-ifunc.c: New file.
32543         * benchtests/bench-strncat.c: New file.
32544         * benchtests/bench-strncmp-ifunc.c: New file.
32545         * benchtests/bench-strncmp.c: New file.
32546         * benchtests/bench-strncpy-ifunc.c: New file.
32547         * benchtests/bench-strncpy.c: New file.
32548         * benchtests/bench-strnlen-ifunc.c: New file.
32549         * benchtests/bench-strnlen.c: New file.
32550         * benchtests/bench-strpbrk-ifunc.c: New file.
32551         * benchtests/bench-strpbrk.c: New file.
32552         * benchtests/bench-strrchr-ifunc.c: New file.
32553         * benchtests/bench-strrchr.c: New file.
32554         * benchtests/bench-strspn-ifunc.c: New file.
32555         * benchtests/bench-strspn.c: New file.
32556         * benchtests/bench-strstr-ifunc.c: New file.
32557         * benchtests/bench-strstr.c: New file.
32559         * benchtests/Makefile: Disable parallel execution of targets.
32560         (string-bench): Add memcpy.
32561         (benchset): New variable to store a list of benchmark sets.
32562         (bench-func): Renamed from bench.
32563         (bench-set): New target.
32564         (bench): Depend on bench-func and bench-set.
32565         * benchtests/README: Add section on benchmark sets.
32566         * benchtests/bench-memcpy-ifunc.c: New file.
32567         * benchtests/bench-memcpy.c: New file.
32568         * benchtests/bench-string.h: New file.
32570 2013-06-11  Andreas Schwab  <schwab@suse.de>
32572         [BZ #15577]
32573         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32574         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32575         values in the triple.
32576         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32577         terminator in the group key.
32579 2013-06-11  Andreas Jaeger  <aj@suse.de>
32581         * po/zh_TW.po: Update Chinese (traditional) translation from
32582         translation project.
32584 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32586         * include/time.h (__clock_gettime): Add libc_hidden_proto.
32587         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32588         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
32589         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32590         (clock_getcpuclockid): Likewise.
32591         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32592         Add weak_alias and libc_hidden_def.
32593         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32594         * rt/clock_gettime.c (clock_gettime): Rename to
32595         __clock_gettime.  Add weak_alias and libc_hidden_def.
32596         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32597         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32598         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
32599         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32600         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32601         Likewise.
32602         * rt/clock_settime.c (clock_settime): Rename to
32603         __clock_settime.  Add weak_alias and libc_hidden_def.
32604         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
32606 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
32608         * mach/err_boot.sub: Remove trailing whitespace.
32609         * mach/err_ipc.sub: Likewise.
32610         * mach/err_mach.sub: Likewise.
32612         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
32613         (ROUNDING_TESTS_double): Likewise.
32614         (ROUNDING_TESTS_long_double): Likewise.
32615         (ROUNDING_TESTS): Likewise.
32616         * math/libm-test.inc: Include <math-tests.h>.
32617         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
32618         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32619         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32620         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32622 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32624         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
32625         of assigning.
32627 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
32629         * sysdeps/gnu/errlist.awk: Do not generate space at end of
32630         otherwise empty TRANS lines.
32631         * sysdeps/gnu/errlist.c: Regenerated.
32633         * catgets/gencat.c (error_print): Use (void) in function
32634         definition.
32635         * crypt/crypt_util.c (__init_des): Likewise.
32636         * crypt/speeds.c (Stop): Likewise.
32637         (main): Likewise.
32638         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
32639         * inet/ruserpass.c (token): Likewise.
32640         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
32641         * intl/localealias.c (extend_alias_table): Likewise.
32642         * intl/plural-exp.c (init_germanic_plural): Likewise.
32643         * libio/fcloseall.c (__fcloseall): Likewise.
32644         * libio/genops.c (_IO_flush_all): Likewise.
32645         (_IO_flush_all_linebuffered): Likewise.
32646         (_IO_cleanup): Likewise.
32647         (_IO_iter_begin): Likewise.
32648         (_IO_iter_end): Likewise.
32649         (_IO_list_lock): Likewise.
32650         (_IO_list_unlock): Likewise.
32651         (_IO_list_resetlock): Likewise.
32652         * libio/getchar.c (getchar): Likewise.
32653         * libio/getchar_u.c (getchar_unlocked): Likewise.
32654         * libio/getwchar.c (getwchar): Likewise.
32655         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
32656         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
32657         * login/getpt.c (__getpt): Likewise.
32658         * login/tst-utmp.c (main): Likewise.
32659         * malloc/hooks.c (__malloc_check_init): Likewise.
32660         * malloc/malloc.c (__malloc_stats): Likewise.
32661         * malloc/mtrace.c (tr_break): Likewise.
32662         (mtrace): Likewise.
32663         (muntrace): Likewise.
32664         * misc/fstab.c (endfsent): Likewise.
32665         * misc/getclktck.c (__getclktck): Likewise.
32666         * misc/getdtsz.c (__getdtablesize): Likewise.
32667         * misc/gethostid.c (gethostid): Likewise.
32668         * misc/getpagesize.c (__getpagesize): Likewise.
32669         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32670         (__get_nprocs): Likewise.
32671         (__get_phys_pages): Likewise.
32672         (__get_avphys_pages): Likewise.
32673         * misc/getttyent.c (getttyent): Likewise.
32674         (setttyent): Likewise.
32675         (endttyent): Likewise.
32676         * misc/getusershell.c (getusershell): Likewise.
32677         (endusershell): Likewise.
32678         (setusershell): Likewise.
32679         (initshells): Likewise.
32680         * misc/hsearch.c (__hdestroy): Likewise.
32681         * misc/sync.c (sync): Likewise.
32682         * misc/syslog.c (closelog_internal): Likewise.
32683         (closelog): Likewise.
32684         * misc/ttyslot.c (ttyslot): Likewise.
32685         * misc/vhangup.c (vhangup): Likewise.
32686         * posix/fork.c (__fork): Likewise.
32687         * posix/getegid.c (__getegid): Likewise.
32688         * posix/geteuid.c (__geteuid): Likewise.
32689         * posix/getgid.c (__getgid): Likewise.
32690         * posix/getpid.c (__getpid): Likewise.
32691         * posix/getppid.c (__getppid): Likewise.
32692         * posix/getuid.c (__getuid): Likewise.
32693         * posix/pause.c (pause): Likewise.
32694         * posix/setpgrp.c (setpgrp): Likewise.
32695         * posix/setsid.c (__setsid): Likewise.
32696         * posix/test-vfork.c (noop): Likewise.
32697         * resolv/gethnamaddr.c (_endhtent): Likewise.
32698         (_gethtent): Likewise.
32699         (ht_endhostent): Likewise.
32700         (gethostent): Likewise.
32701         (dns_service): Likewise.
32702         * stdlib/drand48.c (drand48): Likewise.
32703         * stdlib/lrand48.c (lrand48): Likewise.
32704         * stdlib/mrand48.c (mrand48): Likewise.
32705         * stdlib/rand.c (rand): Likewise.
32706         * stdlib/random.c (__random): Likewise.
32707         * stdlib/setenv.c (clearenv): Likewise.
32708         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32709         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32710         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32711         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32712         (__get_nprocs): Likewise.
32713         (__get_phys_pages): Likewise.
32714         (__get_avphys_pages): Likewise.
32715         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32716         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32717         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32718         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32719         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32720         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32721         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32722         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32723         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32724         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32725         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32726         * sysdeps/mach/hurd/sync.c (sync): Likewise.
32727         * sysdeps/posix/clock.c (clock): Likewise.
32728         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32729         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32730         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32731         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32732         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32733         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32734         (__get_nprocs_conf): Likewise.
32735         (__get_phys_pages): Likewise.
32736         (__get_avphys_pages): Likewise.
32737         * time/clock.c (clock): Likewise.
32738         * time/tzset.c (__tzname_max): Likewise.
32740 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
32742         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32743         (__bswap_32): Do not use "register".
32744         * crypt/crypt.c (_ufc_doit_r): Likewise.
32745         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32746         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32747         * gmon/gmon.c (__monstartup): Likewise.
32748         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32749         * hurd/hurdmalloc.c (more_memory): Likewise.
32750         (malloc): Likewise.
32751         (free): Likewise.
32752         (realloc): Likewise.
32753         (malloc_fork_prepare): Likewise.
32754         (malloc_fork_parent): Likewise.
32755         (malloc_fork_child): Likewise.
32756         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32757         (_svcauth_des): Likewise.
32758         * inet/inet_lnaof.c (inet_lnaof): Likewise.
32759         * inet/inet_net.c (inet_network): Likewise.
32760         * inet/inet_netof.c (inet_netof): Likewise.
32761         * inet/rcmd.c (__validuser2_sa): Likewise.
32762         * io/fts.c (fts_open): Likewise.
32763         (fts_load): Likewise.
32764         (fts_close): Likewise.
32765         (fts_read): Likewise.
32766         (fts_children): Likewise.
32767         (fts_build): Likewise.
32768         (fts_stat): Likewise.
32769         (fts_sort): Likewise.
32770         (fts_alloc): Likewise.
32771         (fts_lfree): Likewise.
32772         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32773         (_IO_file_xsgetn): Likewise.
32774         (_IO_file_xsgetn_mmap): Likewise.
32775         * libio/iofopncook.c (_IO_cookie_read): Likewise.
32776         (_IO_cookie_write): Likewise.
32777         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32778         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32779         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32780         * malloc/obstack.c (_obstack_begin): Likewise.
32781         (_obstack_begin_1): Likewise.
32782         (_obstack_newchunk): Likewise.
32783         (_obstack_allocated_p): Likewise.
32784         (obstack_free): Likewise.
32785         (_obstack_memory_used): Likewise.
32786         * misc/getttyent.c (getttynam): Likewise.
32787         (getttyent): Likewise.
32788         (skip): Likewise.
32789         (value): Likewise.
32790         * misc/getusershell.c (initshells): Likewise.
32791         * misc/syslog.c (__vsyslog_chk): Likewise.
32792         * misc/ttyslot.c (ttyslot): Likewise.
32793         * nis/nis_hash.c (__nis_hash): Likewise.
32794         * posix/fnmatch_loop.c (FCT): Likewise.
32795         * posix/getconf.c (print_all): Likewise.
32796         (main): Likewise.
32797         * posix/getopt.c (exchange): Likewise.
32798         * posix/glob.c (globfree): Likewise.
32799         (prefix_array): Likewise.
32800         (__glob_pattern_type): Likewise.
32801         * resolv/arpa/nameser.h (NS_GET16): Likewise.
32802         (NS_GET32): Likewise.
32803         (NS_PUT16): Likewise.
32804         (NS_PUT32): Likewise.
32805         * resolv/gethnamaddr.c (getanswer): Likewise.
32806         (gethostbyname2): Likewise.
32807         (gethostbyaddr): Likewise.
32808         (_gethtent): Likewise.
32809         (_gethtbyname2): Likewise.
32810         (_gethtbyaddr): Likewise.
32811         * resolv/ns_print.c (dst_s_get_int16): Likewise.
32812         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32813         * resolv/res_init.c (__res_vinit): Likewise.
32814         (net_mask): Likewise.
32815         * resolv/res_mkquery.c (outchar): Likewise.
32816         (PRINT): Likewise.
32817         * stdio-common/printf_fp.c (outchar): Likewise.
32818         (PRINT): Likewise.
32819         * stdio-common/printf_fphex.c (outchar): Likewise.
32820         (PRINT): Likewise.
32821         * stdio-common/printf_size.c (outchar): Likewise.
32822         (PRINT): Likewise.
32823         * stdio-common/test_rdwr.c (main): Likewise.
32824         * stdio-common/tfformat.c (matches): Likewise.
32825         * stdio-common/vfprintf.c (outchar): Likewise.
32826         (printf_unknown): Likewise.
32827         (buffered_vfprintf): Likewise.
32828         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32829         * stdio-common/xbug.c (AppendToBuffer): Likewise.
32830         (ReadFile): Likewise.
32831         * stdlib/qsort.c (SWAP): Likewise.
32832         (_quicksort): Likewise.
32833         * stdlib/setenv.c (__add_to_environ): Likewise.
32834         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32835         * stdlib/strtol_l.c (__strtol_l): Likewise.
32836         * stdlib/tst-strtod.c (main): Likewise.
32837         * stdlib/tst-strtol.c (main): Likewise.
32838         * stdlib/tst-strtoll.c (main): Likewise.
32839         * string/bits/string2.h (__strcmp_cc): Likewise.
32840         (__strcmp_cg): Likewise.
32841         (__strcspn_c1): Likewise.
32842         (__strcspn_c2): Likewise.
32843         (__strcspn_c3): Likewise.
32844         (__strspn_c1): Likewise.
32845         (__strspn_c2): Likewise.
32846         (__strspn_c3): Likewise.
32847         (__strsep_1c): Likewise.
32848         (__strsep_2c): Likewise.
32849         (__strsep_3c): Likewise.
32850         * string/memccpy.c (__memccpy): Likewise.
32851         * string/stpcpy.c (__stpcpy): Likewise.
32852         * string/strcmp.c (strcmp): Likewise.
32853         * string/strrchr.c (strrchr): Likewise.
32854         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32855         Likewise.
32856         * sysdeps/mach/hurd/getcwd.c
32857         (_hurd_canonicalize_directory_name_internal): Likewise.
32858         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32859         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32860         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32861         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32862         Likewise, in both definitions.
32863         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32864         definitions.
32865         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32866         64] (__bswap_64): Likewise.
32867         * time/test_time.c (main): Likewise.
32868         * time/tzfile.c (__tzfile_read): Likewise.
32869         (__tzfile_compute): Likewise.
32870         * time/tzset.c (__tzset_parse_tz): Likewise.
32871         (tzset_internal): Likewise.
32872         (compute_change): Likewise.
32873         * wcsmbs/wcscat.c (__wcscat): Likewise.
32874         * wcsmbs/wcschr.c (wcschr): Likewise.
32875         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32876         * wcsmbs/wcscspn.c (wcscspn): Likewise.
32877         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32878         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32879         * wcsmbs/wcsspn.c (wcsspn): Likewise.
32880         * wcsmbs/wcsstr.c (wcsstr): Likewise.
32881         * wcsmbs/wmemchr.c (wmemchr): Likewise.
32882         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32883         * wcsmbs/wmemset.c (wmemset): Likewise.
32885 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
32887         * scripts/config.guess: Update to version 2013-05-16.
32888         * scripts/config.sub: Update to version 2013-04-24.
32889         * scripts/install-sh: Update to version 2011-11-20.07.
32890         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32891         * scripts/move-if-change: Update to version 2012-01-06 07:23.
32893 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
32895         * debug/fgetws_u_chk.c: Fix leading whitespaces.
32896         * elf/sln.c: Likewise.
32897         * hurd/hurd/ioctl.h: Likewise.
32898         * hurd/hurdmalloc.c: Likewise.
32899         * hurd/xattr.c: Likewise.
32900         * include/shlib-compat.h: Likewise.
32901         * inet/ruserpass.c: Likewise.
32902         * libio/iofgets_u.c: Likewise.
32903         * libio/iofgetws_u.c: Likewise.
32904         * locale/programs/ld-identification.c: Likewise.
32905         * locale/programs/ld-time.c: Likewise.
32906         * mach/msg-destroy.c: Likewise.
32907         * nss/nss_files/files-netgrp.c: Likewise.
32908         * resolv/res_data.c: Likewise.
32909         * soft-fp/op-1.h: Likewise.
32910         * soft-fp/op-2.h: Likewise.
32911         * soft-fp/op-4.h: Likewise.
32912         * soft-fp/op-common.h: Likewise.
32913         * stdio-common/printf_fphex.c: Likewise.
32914         * stdlib/strtod_l.c: Likewise.
32915         * sunrpc/rpc/clnt.h: Likewise.
32916         * sysdeps/generic/framestate.c: Likewise.
32917         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32918         * sysdeps/i386/bsd-setjmp.S: Likewise.
32919         * sysdeps/i386/__longjmp.S: Likewise.
32920         * sysdeps/i386/setjmp.S: Likewise.
32921         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32922         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32923         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32924         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32925         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32926         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32927         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32928         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32929         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32930         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32931         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32932         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32933         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32934         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32935         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32936         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32937         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32938         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32939         * sysdeps/ieee754/support.c: Likewise.
32940         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32941         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32942         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32943         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32944         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32945         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32946         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32947         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32948         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32949         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32950         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32951         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32952         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32953         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32954         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32955         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32956         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32959 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
32961         * posix/transbug.c: Remove executable mode.
32963 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
32965         * crypt/speeds.c: Remove trailing whitespace.
32966         * dlfcn/default.c: Likewise.
32967         * elf/ifuncdep2.c: Likewise.
32968         * elf/ifuncmain1.c: Likewise.
32969         * elf/ifuncmain1vis.c: Likewise.
32970         * elf/testobj.h: Likewise.
32971         * elf/tst-stackguard1.c: Likewise.
32972         * gmon/sys/gmon.h: Likewise.
32973         * hurd/hurdmsg.c: Likewise.
32974         * hurd/new-fd.c: Likewise.
32975         * hurd/ports-get.c: Likewise.
32976         * iconvdata/ibm1008_420.c: Likewise.
32977         * inet/tst-getni1.c: Likewise.
32978         * inet/tst-getni2.c: Likewise.
32979         * libio/ioungetc.c: Likewise.
32980         * libio/wfiledoalloc.c: Likewise.
32981         * manual/libm-err-tab.pl: Likewise.
32982         * math/w_dremf.c: Likewise.
32983         * misc/ftruncate.c: Likewise.
32984         * posix/bug-glob2.c: Likewise.
32985         * posix/tst-pcre.c: Likewise.
32986         * posix/wait4.c: Likewise.
32987         * resolv/README: Likewise.
32988         * resolv/res_debug.h: Likewise.
32989         * resolv/tst-inet_ntop.c: Likewise.
32990         * setjmp/bug269-setjmp.c: Likewise.
32991         * soft-fp/extended.h: Likewise.
32992         * soft-fp/op-1.h: Likewise.
32993         * soft-fp/op-2.h: Likewise.
32994         * soft-fp/op-4.h: Likewise.
32995         * soft-fp/op-8.h: Likewise.
32996         * soft-fp/testit.c: Likewise.
32997         * stdio-common/bug16.c: Likewise.
32998         * stdlib/random.c: Likewise.
32999         * sunrpc/rpcsvc/rquota.x: Likewise.
33000         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33001         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33002         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33003         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33004         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33005         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33006         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33007         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33008         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33009         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33010         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33011         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33012         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33013         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33014         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33015         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33016         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33017         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33018         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33019         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33020         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33021         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33022         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33023         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33024         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33025         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33026         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33027         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33028         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33029         * sysdeps/ieee754/s_lib_version.c: Likewise.
33030         * sysdeps/mach/hurd/check_fds.c: Likewise.
33031         * sysdeps/mach/hurd/getsockname.c: Likewise.
33032         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33033         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33034         * sysdeps/powerpc/bits/link.h: Likewise.
33035         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33036         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33037         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33038         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33039         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33040         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33041         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33042         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33043         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33044         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33045         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33046         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33047         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33048         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33049         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33050         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33051         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33052         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33053         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33054         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33055         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33056         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33057         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33058         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33059         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33060         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33061         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33062         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33063         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33064         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33065         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33066         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33067         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33068         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33069         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33070         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33071         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33072         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33073         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33074         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33075         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33076         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33077         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33078         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33079         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33080         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33081         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33082         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33083         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33084         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33085         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33086         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33087         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33088         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33089         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33090         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33091         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33092         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33093         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33094         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33095         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33096         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33097         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33098         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33099         * sysdeps/powerpc/sysdep.h: Likewise.
33100         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33101         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33102         * sysdeps/sh/dl-trampoline.S: Likewise.
33103         * sysdeps/sh/memset.S: Likewise.
33104         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33105         * sysdeps/sh/strlen.S: Likewise.
33106         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33107         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33108         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33109         * sysdeps/sparc/sparc32/rem.S: Likewise.
33110         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33111         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33112         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33113         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33114         * sysdeps/sparc/sparc32/urem.S: Likewise.
33115         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33116         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33117         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33118         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33119         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33120         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33121         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33122         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33123         * sysdeps/unix/bsd/times.c: Likewise.
33124         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33125         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33129         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33130         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33131         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33132         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33133         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33134         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33135         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33136         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33137         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33138         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33139         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33140         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33141         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33142         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33143         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33144         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33145         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33146         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33147         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33148         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33149         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33150         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33151         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33152         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33153         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33154         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33155         * sysdeps/x86_64/strcspn.S: Likewise.
33157 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33159         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33160         generated file.  Regenerate properly from gen-translit.pl.
33161         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33162         locale/C-translit.h.
33164 2013-06-05  Andreas Schwab  <schwab@suse.de>
33166         [BZ #15100]
33167         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33168         week as 6 instead of -1.
33169         * time/tst-strptime.c (day_tests): Add test case.
33171 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33173         * sysdeps/generic/math_private.h
33174         (libc_feholdexcept_setround_53bit): Replace with
33175         libc_feholdsetround_53bit.
33176         (libc_feupdateenv_53bit): Replace with
33177         libc_feresetround_53bit.
33178         (SET_RESTORE_ROUND_53BIT): Adjust.
33180 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33182         * string/test-strchrnul.c: Add copyright header.
33184         * posix/tst-getaddrinfo4.c: Increase test timeout.
33186 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33188         [BZ #15536]
33189         * math/libm-test.inc (MAX_EXP): Remove
33190         (MIN_EXP): Define.
33191         (ulp): Use MIN_EXP - MANT_DIG.
33192         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33194 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33196         * po/be.po: Revert last change.
33197         * po/zh_CN.po: Likewise.
33198         * po/header.pot: Likewise.
33200 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33202         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33203         link-libc-deps to empty as target-specific variable.
33204         * Makerules (link-libc-args): New variable.
33205         (libc-for-link): Likewise.
33206         (link-libc-deps): Likewise.
33207         (lib%.so): Depend on $(link-libc-deps).  Link with
33208         $(link-libc-args).
33209         (build-module): Link with $(link-libc-args).
33210         (build-module-asneeded): Likewise.
33211         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33212         list of objects.
33213         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33214         target-specific variable.
33215         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33216         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33217         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33218         libc.
33219         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33220         libc and ld.so.
33221         ($(objpfx)libpcprofile.so): Likewise.
33222         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33223         libc_nonshared.a.
33224         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33225         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33226         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33227         $(link-libc-deps).
33228         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33229         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33230         * login/Makefile ($(objpfx)libutil.so): Likewise.
33231         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33232         * math/Makefile ($(objpfx)libm.so): Likewise.
33233         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33234         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33235         variable instead of depending directly on libc.
33236         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33237         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33238         $(link-libc-deps).
33239         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33240         libc.
33241         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33242         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33243         ($(objpfx)libanl.so): Likewise.
33244         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33245         ld.so.
33246         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33247         $(link-libc-deps).
33248         * sysdeps/i386/fpu/Makefile: Remove file.
33249         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33250         ($(objpfx)libm.so): Remove dependency on ld.so.
33252 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33254         [BZ # 15553]
33255         * nis/yp_xdr.c (XDRMAXNAME): Define.
33256         (XDRMAXRECORD): Define.
33257         (xdr_domainname): Use XDRMAXNAME.
33258         (xdr_mapname): Likewise.
33259         (xdr_peername): Likewise.
33260         (xdr_keydat): Use XDRMAXRECORD.
33261         (xdr_valdat): Likewise.
33263 2013-05-30  Jeff Law  <law@redhat.com>
33265         [BZ #14256]
33266         * manual/errno.texi (ESTALE): Update to account for more than
33267         just NFS file systems.
33268         * sysdeps/gnu/errlist.c: Regenerated.
33270 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33272         [BZ #15465]
33273         * elf/Makefile (tests): Add tst-null-argv.
33274         (modules-names):  Add tst-null-argv-lib.
33275         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33276         (tst-null-argv-ENV): Set environment for tst-null-argv.
33277         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33278         (RTLD_PROGNAME): New macro.
33279         * elf/tst-null-argv.c: New test case.
33280         * elf/tst-null-argv-lib.c: Library for test case.
33281         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33282         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33283         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33284         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33285         * elf/dl-init.c (call_init): Likewise.
33286         (_dl_init): Likewise.
33287         * elf/dl-load.c (print_search_path): Likewise.
33288         (_dl_map_object): Likewise.
33289         * elf/dl-lookup.c (do_lookup_x): Likewise.
33290         (add_dependency): Likewise.
33291         (_dl_lookup_symbol_x): Likewise.
33292         (_dl_debug_bindings): Likewise.
33293         * elf/dl-open.c (_dl_show_scope): Likewise.
33294         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33295         * elf/dl-version.c (match_symbol): Likewise.
33296         (_dl_check_map_versions): Likewise.
33297         * elf/rtld.c (dl_main): Likewise.
33298         (print_unresolved): Use RTLD_PROGNAME.
33299         (print_missing_version): Likewise.
33300         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33301         (elf_machine_rela): Likewise.
33302         * sysdeps/powerpc/powerpc32/dl-machine.c
33303         (__process_machine_rela): Likewise.
33304         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33305         Likewise.
33306         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33307         Likewise.
33308         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33309         Likewise.
33310         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33311         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33312         Likewise.
33313         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33314         Likewise.
33315         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33317 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33319         * po/be.po: Add descriptive title.
33320         * po/zh_CN.po: Likewise.
33321         * po/header.pot: Likewise.
33323 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33325         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33326         error message.
33327         (enlarge_archive): Likewise.
33329 2013-05-28  Ben North  <ben@redfrontdoor.org>
33331         * manual/arith.texi (frexp): It is the magnitude of the return
33332         value which lies in [0.5, 1), not the return value itself.
33334 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33338 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33340         * stdio-common/bug26.c (main): Correct fscanf template.
33342         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33343         declare _dl_skip_args.
33345         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33346         Don't declare.
33348         * manual/platform.texi: Add missing @end deftypefun.
33350 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33352         [BZ #15529]
33353         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33354         bit of mantissa of 2^16382.
33355         * math/libm-test.inc (hypot_test_data): Add more tests.
33357         * math/libm-test.inc: Add drem and pow10 to list of tested
33358         functions.
33359         (pow10_test): New function.
33360         (drem_test): Likewise.
33361         (drem_test_tonearest): Likewise.
33362         (drem_test_towardzero): Likewise.
33363         (drem_test_downward): Likewise.
33364         (drem_test_upward): Likewise.
33365         (main): Call the new functions.
33367         * math/libm-test.inc (finite_test_data): Remove.
33368         (finite_test): Run tests from isfinite_test_data.
33369         (gamma_test_data): Remove.
33370         (gamma_test): Run tests from lgamma_test_data.
33371         * sysdeps/i386/fpu/libm-test-ulps: Update.
33372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33374 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33376         * manual/platform.texi: Add PowerPC PPR function set documentation.
33377         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33378         implementation.
33380 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33382         * math/libm-test.inc (MAX_EXP): Define.
33383         (ULPDIFF): Define.
33384         (ulp): New function.
33385         (check_float_internal): Use ULPDIFF.
33386         (cpow_test): Disable failing test.
33387         (check_ulp): Test ulp() implemetnation.
33388         (main): Call check_ulp before starting tests.
33390 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33392         * math/gen-libm-test.pl (generate_testfile): Do not handle
33393         START_DATA and END_DATA.
33394         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33395         END_DATA.
33396         (acos_tonearest_test_data): Likewise.
33397         (acos_towardzero_test_data): Likewise.
33398         (acos_downward_test_data): Likewise.
33399         (acos_upward_test_data): Likewise.
33400         (acosh_test_data): Likewise.
33401         (asin_test_data): Likewise.
33402         (asin_tonearest_test_data): Likewise.
33403         (asin_towardzero_test_data): Likewise.
33404         (asin_downward_test_data): Likewise.
33405         (asin_upward_test_data): Likewise.
33406         (asinh_test_data): Likewise.
33407         (atan_test_data): Likewise.
33408         (atanh_test_data): Likewise.
33409         (atan2_test_data): Likewise.
33410         (cabs_test_data): Likewise.
33411         (cacos_test_data): Likewise.
33412         (cacosh_test_data): Likewise.
33413         (carg_test_data): Likewise.
33414         (casin_test_data): Likewise.
33415         (casinh_test_data): Likewise.
33416         (catan_test_data): Likewise.
33417         (catanh_test_data): Likewise.
33418         (cbrt_test_data): Likewise.
33419         (ccos_test_data): Likewise.
33420         (ccosh_test_data): Likewise.
33421         (ceil_test_data): Likewise.
33422         (cexp_test_data): Likewise.
33423         (cimag_test_data): Likewise.
33424         (clog_test_data): Likewise.
33425         (clog10_test_data): Likewise.
33426         (conj_test_data): Likewise.
33427         (copysign_test_data): Likewise.
33428         (cos_test_data): Likewise.
33429         (cos_tonearest_test_data): Likewise.
33430         (cos_towardzero_test_data): Likewise.
33431         (cos_downward_test_data): Likewise.
33432         (cos_upward_test_data): Likewise.
33433         (cosh_test_data): Likewise.
33434         (cosh_tonearest_test_data): Likewise.
33435         (cosh_towardzero_test_data): Likewise.
33436         (cosh_downward_test_data): Likewise.
33437         (cosh_upward_test_data): Likewise.
33438         (cpow_test_data): Likewise.
33439         (cproj_test_data): Likewise.
33440         (creal_test_data): Likewise.
33441         (csin_test_data): Likewise.
33442         (csinh_test_data): Likewise.
33443         (csqrt_test_data): Likewise.
33444         (ctan_test_data): Likewise.
33445         (ctan_tonearest_test_data): Likewise.
33446         (ctan_towardzero_test_data): Likewise.
33447         (ctan_downward_test_data): Likewise.
33448         (ctan_upward_test_data): Likewise.
33449         (ctanh_test_data): Likewise.
33450         (ctanh_tonearest_test_data): Likewise.
33451         (ctanh_towardzero_test_data): Likewise.
33452         (ctanh_downward_test_data): Likewise.
33453         (ctanh_upward_test_data): Likewise.
33454         (erf_test_data): Likewise.
33455         (erfc_test_data): Likewise.
33456         (exp_test_data): Likewise.
33457         (exp_tonearest_test_data): Likewise.
33458         (exp_towardzero_test_data): Likewise.
33459         (exp_downward_test_data): Likewise.
33460         (exp_upward_test_data): Likewise.
33461         (exp10_test_data): Likewise.
33462         (exp2_test_data): Likewise.
33463         (expm1_test_data): Likewise.
33464         (fabs_test_data): Likewise.
33465         (fdim_test_data): Likewise.
33466         (finite_test_data): Likewise.
33467         (floor_test_data): Likewise.
33468         (fma_test_data): Likewise.
33469         (fma_towardzero_test_data): Likewise.
33470         (fma_downward_test_data): Likewise.
33471         (fma_upward_test_data): Likewise.
33472         (fmax_test_data): Likewise.
33473         (fmin_test_data): Likewise.
33474         (fmod_test_data): Likewise.
33475         (fpclassify_test_data): Likewise.
33476         (frexp_test_data): Likewise.
33477         (gamma_test_data): Likewise.
33478         (hypot_test_data): Likewise.
33479         (ilogb_test_data): Likewise.
33480         (isfinite_test_data): Likewise.
33481         (isgreater_test_data): Likewise.
33482         (isgreaterequal_test_data): Likewise.
33483         (isinf_test_data): Likewise.
33484         (isless_test_data): Likewise.
33485         (islessequal_test_data): Likewise.
33486         (islessgreater_test_data): Likewise.
33487         (isnan_test_data): Likewise.
33488         (isnormal_test_data): Likewise.
33489         (issignaling_test_data): Likewise.
33490         (isunordered_test_data): Likewise.
33491         (j0_test_data): Likewise.
33492         (j1_test_data): Likewise.
33493         (jn_test_data): Likewise.
33494         (ldexp_test_data): Likewise.
33495         (lgamma_test_data): Likewise.
33496         (lrint_test_data): Likewise.
33497         (lrint_tonearest_test_data): Likewise.
33498         (lrint_towardzero_test_data): Likewise.
33499         (lrint_downward_test_data): Likewise.
33500         (lrint_upward_test_data): Likewise.
33501         (llrint_test_data): Likewise.
33502         (llrint_tonearest_test_data): Likewise.
33503         (llrint_towardzero_test_data): Likewise.
33504         (llrint_downward_test_data): Likewise.
33505         (llrint_upward_test_data): Likewise.
33506         (log_test_data): Likewise.
33507         (log10_test_data): Likewise.
33508         (log1p_test_data): Likewise.
33509         (log2_test_data): Likewise.
33510         (logb_test_data): Likewise.
33511         (logb_downward_test_data): Likewise.
33512         (lround_test_data): Likewise.
33513         (llround_test_data): Likewise.
33514         (modf_test_data): Likewise.
33515         (nearbyint_test_data): Likewise.
33516         (nextafter_test_data): Likewise.
33517         (nexttoward_test_data): Likewise.
33518         (pow_test_data): Likewise.
33519         (pow_tonearest_test_data): Likewise.
33520         (pow_towardzero_test_data): Likewise.
33521         (pow_downward_test_data): Likewise.
33522         (pow_upward_test_data): Likewise.
33523         (remainder_test_data): Likewise.
33524         (remainder_tonearest_test_data): Likewise.
33525         (remainder_towardzero_test_data): Likewise.
33526         (remainder_downward_test_data): Likewise.
33527         (remainder_upward_test_data): Likewise.
33528         (remquo_test_data): Likewise.
33529         (rint_test_data): Likewise.
33530         (rint_tonearest_test_data): Likewise.
33531         (rint_towardzero_test_data): Likewise.
33532         (rint_downward_test_data): Likewise.
33533         (rint_upward_test_data): Likewise.
33534         (round_test_data): Likewise.
33535         (scalb_test_data): Likewise.
33536         (scalbn_test_data): Likewise.
33537         (scalbln_test_data): Likewise.
33538         (signbit_test_data): Likewise.
33539         (sin_test_data): Likewise.
33540         (sin_tonearest_test_data): Likewise.
33541         (sin_towardzero_test_data): Likewise.
33542         (sin_downward_test_data): Likewise.
33543         (sin_upward_test_data): Likewise.
33544         (sincos_test_data): Likewise.
33545         (sinh_test_data): Likewise.
33546         (sinh_tonearest_test_data): Likewise.
33547         (sinh_towardzero_test_data): Likewise.
33548         (sinh_downward_test_data): Likewise.
33549         (sinh_upward_test_data): Likewise.
33550         (sqrt_test_data): Likewise.
33551         (tan_test_data): Likewise.
33552         (tan_tonearest_test_data): Likewise.
33553         (tan_towardzero_test_data): Likewise.
33554         (tan_downward_test_data): Likewise.
33555         (tan_upward_test_data): Likewise.
33556         (tanh_test_data): Likewise.
33557         (tgamma_test_data): Likewise.
33558         (trunc_test_data): Likewise.
33559         (y0_test_data): Likewise.
33560         (y1_test_data): Likewise.
33561         (yn_test_data): Likewise.
33562         (significand_test_data): Likewise.
33564         * math/gen-libm-test.pl (@functions): Remove variable.
33565         (generate_testfile): Don't handle START and END lines.
33566         * math/libm-test.inc (START): New macro.
33567         (END): Likewise.
33568         (END_COMPLEX): Likewise.
33569         (acos_test): Use END macro without arguments.
33570         (acos_test_tonearest): Likewise.
33571         (acos_test_towardzero): Likewise.
33572         (acos_test_downward): Likewise.
33573         (acos_test_upward): Likewise.
33574         (acosh_test): Likewise.
33575         (asin_test): Likewise.
33576         (asin_test_tonearest): Likewise.
33577         (asin_test_towardzero): Likewise.
33578         (asin_test_downward): Likewise.
33579         (asin_test_upward): Likewise.
33580         (asinh_test): Likewise.
33581         (atan_test): Likewise.
33582         (atanh_test): Likewise.
33583         (atan2_test): Likewise.
33584         (cabs_test): Likewise.
33585         (cacos_test): Use END_COMPLEX macro without arguments.
33586         (cacosh_test): Likewise.
33587         (carg_test): Use END macro without arguments.
33588         (casin_test): Use END_COMPLEX macro without arguments.
33589         (casinh_test): Likewise.
33590         (catan_test): Likewise.
33591         (catanh_test): Likewise.
33592         (cbrt_test): Use END macro without arguments.
33593         (ccos_test): Use END_COMPLEX macro without arguments.
33594         (ccosh_test): Likewise.
33595         (ceil_test): Use END macro without arguments.
33596         (cexp_test): Use END_COMPLEX macro without arguments.
33597         (cimag_test): Use END macro without arguments.
33598         (clog_test): Use END_COMPLEX macro without arguments.
33599         (clog10_test): Likewise.
33600         (conj_test): Likewise.
33601         (copysign_test): Use END macro without arguments.
33602         (cos_test): Likewise.
33603         (cos_test_tonearest): Likewise.
33604         (cos_test_towardzero): Likewise.
33605         (cos_test_downward): Likewise.
33606         (cos_test_upward): Likewise.
33607         (cosh_test): Likewise.
33608         (cosh_test_tonearest): Likewise.
33609         (cosh_test_towardzero): Likewise.
33610         (cosh_test_downward): Likewise.
33611         (cosh_test_upward): Likewise.
33612         (cpow_test): Use END_COMPLEX macro without arguments.
33613         (cproj_test): Likewise.
33614         (creal_test): Use END macro without arguments.
33615         (csin_test): Use END_COMPLEX macro without arguments.
33616         (csinh_test): Likewise.
33617         (csqrt_test): Likewise.
33618         (ctan_test): Likewise.
33619         (ctan_test_tonearest): Likewise.
33620         (ctan_test_towardzero): Likewise.
33621         (ctan_test_downward): Likewise.
33622         (ctan_test_upward): Likewise.
33623         (ctanh_test): Likewise.
33624         (ctanh_test_tonearest): Likewise.
33625         (ctanh_test_towardzero): Likewise.
33626         (ctanh_test_downward): Likewise.
33627         (ctanh_test_upward): Likewise.
33628         (erf_test): Use END macro without arguments.
33629         (erfc_test): Likewise.
33630         (exp_test): Likewise.
33631         (exp_test_tonearest): Likewise.
33632         (exp_test_towardzero): Likewise.
33633         (exp_test_downward): Likewise.
33634         (exp_test_upward): Likewise.
33635         (exp10_test): Likewise.
33636         (exp2_test): Likewise.
33637         (expm1_test): Likewise.
33638         (fabs_test): Likewise.
33639         (fdim_test): Likewise.
33640         (finite_test): Likewise.
33641         (floor_test): Likewise.
33642         (fma_test): Likewise.
33643         (fma_test_towardzero): Likewise.
33644         (fma_test_downward): Likewise.
33645         (fma_test_upward): Likewise.
33646         (fmax_test): Likewise.
33647         (fmin_test): Likewise.
33648         (fmod_test): Likewise.
33649         (fpclassify_test): Likewise.
33650         (frexp_test): Likewise.
33651         (gamma_test): Likewise.
33652         (hypot_test): Likewise.
33653         (ilogb_test): Likewise.
33654         (isfinite_test): Likewise.
33655         (isgreater_test): Likewise.
33656         (isgreaterequal_test): Likewise.
33657         (isinf_test): Likewise.
33658         (isless_test): Likewise.
33659         (islessequal_test): Likewise.
33660         (islessgreater_test): Likewise.
33661         (isnan_test): Likewise.
33662         (isnormal_test): Likewise.
33663         (issignaling_test): Likewise.
33664         (isunordered_test): Likewise.
33665         (j0_test): Likewise.
33666         (j1_test): Likewise.
33667         (jn_test): Likewise.
33668         (ldexp_test): Likewise.
33669         (lgamma_test): Likewise.
33670         (lrint_test): Likewise.
33671         (lrint_test_tonearest): Likewise.
33672         (lrint_test_towardzero): Likewise.
33673         (lrint_test_downward): Likewise.
33674         (lrint_test_upward): Likewise.
33675         (llrint_test): Likewise.
33676         (llrint_test_tonearest): Likewise.
33677         (llrint_test_towardzero): Likewise.
33678         (llrint_test_downward): Likewise.
33679         (llrint_test_upward): Likewise.
33680         (log_test): Likewise.
33681         (log10_test): Likewise.
33682         (log1p_test): Likewise.
33683         (log2_test): Likewise.
33684         (logb_test): Likewise.
33685         (logb_test_downward): Likewise.
33686         (lround_test): Likewise.
33687         (llround_test): Likewise.
33688         (modf_test): Likewise.
33689         (nearbyint_test): Likewise.
33690         (nextafter_test): Likewise.
33691         (nexttoward_test): Likewise.
33692         (pow_test): Likewise.
33693         (pow_test_tonearest): Likewise.
33694         (pow_test_towardzero): Likewise.
33695         (pow_test_downward): Likewise.
33696         (pow_test_upward): Likewise.
33697         (remainder_test): Likewise.
33698         (remainder_test_tonearest): Likewise.
33699         (remainder_test_towardzero): Likewise.
33700         (remainder_test_downward): Likewise.
33701         (remainder_test_upward): Likewise.
33702         (remquo_test): Likewise.
33703         (rint_test): Likewise.
33704         (rint_test_tonearest): Likewise.
33705         (rint_test_towardzero): Likewise.
33706         (rint_test_downward): Likewise.
33707         (rint_test_upward): Likewise.
33708         (round_test): Likewise.
33709         (scalb_test): Likewise.
33710         (scalbn_test): Likewise.
33711         (scalbln_test): Likewise.
33712         (signbit_test): Likewise.
33713         (sin_test): Likewise.
33714         (sin_test_tonearest): Likewise.
33715         (sin_test_towardzero): Likewise.
33716         (sin_test_downward): Likewise.
33717         (sin_test_upward): Likewise.
33718         (sincos_test): Likewise.
33719         (sinh_test): Likewise.
33720         (sinh_test_tonearest): Likewise.
33721         (sinh_test_towardzero): Likewise.
33722         (sinh_test_downward): Likewise.
33723         (sinh_test_upward): Likewise.
33724         (sqrt_test): Likewise.
33725         (tan_test): Likewise.
33726         (tan_test_tonearest): Likewise.
33727         (tan_test_towardzero): Likewise.
33728         (tan_test_downward): Likewise.
33729         (tan_test_upward): Likewise.
33730         (tanh_test): Likewise.
33731         (tgamma_test): Likewise.
33732         (trunc_test): Likewise.
33733         (y0_test): Likewise.
33734         (y1_test): Likewise.
33735         (yn_test): Likewise.
33736         (significand_test): Likewise.
33738 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
33740         [BZ #15381]
33741         * libio/genops.c (_IO_no_init): Initialize wide struct info.
33743 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33745         [BZ #14894]
33746         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33747         __ppc_mdoio and __ppc_mdoom.
33748         * manual/platform.texi: Document new functions __ppc_yield,
33749         __ppc_mdoio and __ppc_mdoom.
33751 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
33753         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33754         (main): Mention "tls" pseudo-hwcap is legacy.
33755         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33757 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33759         * math/gen-libm-test.pl (parse_args): Output only string of
33760         arguments as text for test name, not full call or descriptions of
33761         tests for extra outputs.
33762         (generate_testfile): Do not pass function name to parse_args.
33763         Generate this_func variable from START.
33764         * math/libm-test.inc (struct test_f_f_data): Rename test_name
33765         field to arg_str.
33766         (struct test_ff_f_data): Likewise.
33767         (test_ff_f_data_nexttoward): Likewise.
33768         (struct test_fi_f_data): Likewise.
33769         (struct test_fl_f_data): Likewise.
33770         (struct test_if_f_data): Likewise.
33771         (struct test_fff_f_data): Likewise.
33772         (struct test_c_f_data): Likewise.
33773         (struct test_f_f1_data): Likewise.  Remove field extra_name.
33774         (struct test_fF_f1_data): Likewise.
33775         (struct test_ffI_f1_data): Likewise.
33776         (struct test_c_c_data): Rename test_name field to arg_str.
33777         (struct test_cc_c_data): Likewise.
33778         (struct test_f_i_data): Likewise.
33779         (struct test_ff_i_data): Likewise.
33780         (struct test_f_l_data): Likewise.
33781         (struct test_f_L_data): Likewise.
33782         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
33783         and extra2_name.
33784         (COMMON_TEST_SETUP): New macro.
33785         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33786         (COMMON_TEST_CLEANUP): Likewise.
33787         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33788         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
33789         macros.
33790         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33791         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
33792         macros.
33793         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33794         (RUN_TEST_fff_f): Take argument string.  Call new setup and
33795         cleanup macros.
33796         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33797         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
33798         macros.
33799         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33800         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
33801         macros.
33802         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33803         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
33804         cleanup macros.
33805         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33806         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
33807         cleanup macros.
33808         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33809         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
33810         cleanup macros.
33811         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33812         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
33813         macros.
33814         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33815         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
33816         macros.
33817         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33818         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
33819         macros.
33820         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33821         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
33822         cleanup macros.
33823         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33824         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
33825         cleanup macros.
33826         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33827         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
33828         macros.
33829         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33830         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
33831         cleanup macros.
33832         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33833         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
33834         macros.
33835         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33836         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
33837         macros.
33838         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33839         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
33840         cleanup macros.
33841         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33843 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
33845         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33846         to _sifields.sigfault.
33847         (si_addr_lsb): Define new macro.
33848         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33849         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33850         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33852 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
33854         [BZ #15441]
33855         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33856         returns -1.
33857         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33858         null return -1.
33859         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33860         loading the domain.
33862 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33864         * math/gen-libm-test.pl (parse_args): Do not include expected
33865         result in test name.
33866         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33867         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33868         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33869         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33870         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33873 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33875         * benchtests/Makefile: Sort function entries.
33877         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33878         tanh, asinh, acosh, atanh.
33879         * benchtests/acos-inputs: New file.
33880         * benchtests/acosh-inputs: New file.
33881         * benchtests/asin-inputs: New file.
33882         * benchtests/asinh-inputs: New file.
33883         * benchtests/atanh-inputs: New file.
33884         * benchtests/cosh-inputs: New file.
33885         * benchtests/log-inputs: New file.
33886         * benchtests/sinh-inputs: New file.
33887         * benchtests/tanh-inputs: New file.
33889 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
33891         [BZ #15339]
33892         * posix/tst-getaddrinfo4.c: New test.
33893         * posix/Makefile (tests): Add it.
33895 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33897         [BZ #15339]
33898         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33899         when no services were used.
33900         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33901         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33903 2013-05-21  Andreas Schwab  <schwab@suse.de>
33905         [BZ #15014]
33906         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33907         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33908         successful.
33909         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33910         redundant variable declarations and reallocation of buffer when
33911         parsing as IPv6 address.  Always set NSS status when called from
33912         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
33913         buffer too small.  Correct computation of needed size.
33914         * nss/Makefile (tests): Add test-digits-dots.
33915         * nss/test-digits-dots.c: New test.
33917 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33919         * benchtests/Makefile: Remove instructions for adding
33920         benchmark tests.
33921         * benchtests/README: New file to explain how to execute and
33922         enhance the benchmark tests.
33924 2013-05-21  Andreas Schwab  <schwab@suse.de>
33926         [BZ #15493]
33927         * setjmp/Makefile (tests): Add tst-sigsetjmp.
33928         * setjmp/tst-sigsetjmp.c: New test.
33930 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33932         * sysdeps/x86_64/memset.S (memset): New implementation.
33933         (__bzero): Likewise.
33934         (__memset_tail): New function.
33936 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33938         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33939         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33940         __memcpy_sse2_unaligned ifunc selection.
33941         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33942         Add memcpy-sse2-unaligned.S.
33943         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33944         Add: __memcpy_sse2_unaligned.
33946 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
33948         [BZ #15490]
33949         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33950         math_force_eval before restoring floating-point envrionment.
33951         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33952         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33953         Likewise.
33954         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33955         <math_private.h>.
33956         (__nearbyintl): Use math_force_eval before restoring
33957         floating-point environment.
33958         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33960         * math/gen-libm-test.pl (special_functions): Remove.
33961         (parse_args): Don't handle TEST_extra.  Handle functions with no
33962         return value.
33963         * math/libm-test.inc (struct test_sincos_data): Replace with
33964         struct test_fFF_11_data.
33965         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33966         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33967         (sincos_test_data): Change element type to struct
33968         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
33969         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33970         RUN_TEST_LOOP_sincos.
33971         * math/README.libm-test: Don't mention special handling of
33972         individual functions.
33973         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33974         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33975         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33976         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33977         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33980         * math/gen-libm-test.pl (get_variable): Remove function.
33981         (parse_args): Don't show pointer parameters to call in test
33982         names.  Use "extra output N" in test names for extra outputs
33983         rather than naming variables.
33985 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
33987         [BZ #15488]
33988         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
33989         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
33990         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
33991         double tests.
33992         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
33993         disable.
33994         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
33995         check_long_double.
33997         * math/gen-libm-test.pl (@tests): Remove variable.
33998         ($count): Likewise.
33999         (new_test): Remove function.
34000         (show_exceptions): New function.
34001         (special_functions): Use show_exceptions instead of new_test.
34002         (parse_args): Likewise.
34003         (generate_testfile): Pass only function name in generated call to
34004         print_max_error or print_complex_max_error.
34005         (get_ulps): Do not handle complex tests specially.
34006         (output_test): Rename to ...
34007         (get_all_ulps_for_test): ... this.  Return a string rather than
34008         printing to a file.  Require ulps to be present.
34009         (output_ulps): Generate arrays rather than #defines.
34010         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34011         (struct ulp_data): New type.
34012         (BUILD_COMPLEX_ULP): Remove macro.
34013         (compare_ulp_data): New function.
34014         (find_ulps): Likewise.
34015         (find_test_ulps): Likewise.
34016         (find_function_ulps): Likewise.
34017         (find_complex_function_ulps): Likewise.
34018         (print_max_error): Determine allowed ulps using
34019         find_function_ulps.
34020         (print_complex_max_error): Determine allowed ulps using
34021         find_complex_function_ulps.
34022         (check_float_internal): Determine max ulps using find_test_ulps.
34023         (check_float): Do not take max_ulp parameter.  Update call to
34024         check_float_internal.
34025         (check_complex): Likewise.
34026         (check_int): Do not take max_ulp parameter.
34027         (check_long): Likewise.
34028         (check_bool): Likewise.
34029         (check_longlong): Likewise.
34030         (struct test_f_f_data): Remove max_ulp field.
34031         (struct test_ff_f_data): Likewise.
34032         (struct test_ff_f_data_nexttoward): Likewise.
34033         (struct test_fi_f_data): Likewise.
34034         (struct test_fl_f_data): Likewise.
34035         (struct test_if_f_data): Likewise.
34036         (struct test_fff_f_data): Likewise.
34037         (struct test_c_f_data): Likewise.
34038         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34039         (struct test_fF_f1_data): Likewise.
34040         (struct test_ffI_f1_data): Likewise.
34041         (struct test_c_c_data): Remove max_ulp field.
34042         (struct test_cc_c_data): Likewise.
34043         (struct test_f_i_data): Likewise.
34044         (struct test_ff_i_data): Likewise.
34045         (struct test_f_l_data): Likewise.
34046         (struct test_f_L_data): Likewise.
34047         (struct test_sincos_data): Likewise.
34048         (RUN_TEST_f_f): Do not handle ulps.
34049         (RUN_TEST_LOOP_f_f): Likewise.
34050         (RUN_TEST_2_f): Likewise.
34051         (RUN_TEST_LOOP_2_f): Likewise.
34052         (RUN_TEST_fff_f): Likewise.
34053         (RUN_TEST_LOOP_fff_f): Likewise.
34054         (RUN_TEST_c_f): Likewise.
34055         (RUN_TEST_LOOP_c_f): Likewise.
34056         (RUN_TEST_f_f1): Likewise.
34057         (RUN_TEST_LOOP_f_f1): Likewise.
34058         (RUN_TEST_fF_f1): Likewise.
34059         (RUN_TEST_LOOP_fF_f1): Likewise.
34060         (RUN_TEST_fI_f1): Likewise.
34061         (RUN_TEST_LOOP_fI_f1): Likewise.
34062         (RUN_TEST_ffI_f1): Likewise.
34063         (RUN_TEST_LOOP_ffI_f1): Likewise.
34064         (RUN_TEST_c_c): Likewise.
34065         (RUN_TEST_LOOP_c_c): Likewise.
34066         (RUN_TEST_cc_c): Likewise.
34067         (RUN_TEST_LOOP_cc_c): Likewise.
34068         (RUN_TEST_f_i): Likewise.
34069         (RUN_TEST_LOOP_f_i): Likewise.
34070         (RUN_TEST_f_i_tg): Likewise.
34071         (RUN_TEST_LOOP_f_i_tg): Likewise.
34072         (RUN_TEST_ff_i_tg): Likewise.
34073         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34074         (RUN_TEST_f_b): Likewise.
34075         (RUN_TEST_LOOP_f_b): Likewise.
34076         (RUN_TEST_f_b_tg): Likewise.
34077         (RUN_TEST_LOOP_f_b_tg): Likewise.
34078         (RUN_TEST_f_l): Likewise.
34079         (RUN_TEST_LOOP_f_l): Likewise.
34080         (RUN_TEST_f_L): Likewise.
34081         (RUN_TEST_LOOP_f_L): Likewise.
34082         (RUN_TEST_sincos): Likewise.
34083         (RUN_TEST_LOOP_sincos): Likewise.
34085 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34087         [BZ #15480]
34088         [BZ #15485]
34089         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34090         main case of finite arguments, set rounding mode to FE_TONEAREST
34091         and discard exceptions.
34092         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34093         exceptions.
34094         (remainder_tonearest_test_data): New variable.
34095         (remainder_test_tonearest): New function.
34096         (remainder_towardzero_test_data): New variable.
34097         (remainder_test_towardzero): New function.
34098         (remainder_downward_test_data): New variable.
34099         (remainder_test_downward): New function.
34100         (remainder_upward_test_data): New variable.
34101         (remainder_test_upward): New function.
34102         (main): Call the new test functions.
34104         * math/libm-test.inc (struct test_f_f1_data): Remove field
34105         extra_init.
34106         (struct test_fF_f1_data): Likewise.
34107         (struct test_ffI_f1_data): Likewise.
34108         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34109         based on value of EXTRA_EXPECTED.
34110         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34111         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34112         EXTRA_VAR based on value of EXTRA_EXPECTED.
34113         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34114         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34115         EXTRA_VAR based on value of EXTRA_EXPECTED.
34116         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34117         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34118         EXTRA_VAR based on value of EXTRA_EXPECTED.
34119         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34120         * math/gen-libm-test.pl (parse_args): Don't output initializers
34121         for extra output values.
34123         * math/libm-test.inc (check_int): Expect result to be exactly
34124         equal to expected value and do not handle ulps.
34125         (check_long): Likewise.
34126         (check_longlong): Likewise.
34128         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34129         exceptions.
34130         (cimag_test_data): Likewise.
34131         (conj_test_data): Likewise.
34132         (copysign_test_data): Likewise.
34133         (cproj_test_data): Likewise.
34134         (creal_test_data): Likewise.
34135         (fabs_test_data): Likewise.
34136         (fdim_test_data): Likewise.
34137         (finite_test_data): Likewise.
34138         (floor_test_data): Likewise.
34139         (fmax_test_data): Likewise.
34140         (fmin_test_data): Likewise.
34141         (fmod_test_data): Likewise.
34142         (fpclassify_test_data): Likewise.
34143         (frexp_test_data): Likewise.
34144         (ilogb_test_data): Likewise.
34145         (isfinite_test_data): Likewise.
34146         (isgreater_test_data): Likewise.
34147         (isgreaterequal_test_data): Likewise.
34148         (isinf_test_data): Likewise.
34149         (isless_test_data): Likewise.
34150         (islessequal_test_data): Likewise.
34151         (islessgreater_test_data): Likewise.
34152         (isnan_test_data): Likewise.
34153         (isnormal_test_data): Likewise.
34154         (issignaling_test_data): Likewise.
34155         (isunordered_test_data): Likewise.
34156         (ldexp_test_data): Likewise.
34157         (lrint_test_data): Likewise.
34158         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34159         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34160         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34161         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34162         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34163         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34164         test input.
34165         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34166         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34167         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34168         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34169         that test input.
34170         (lrint_downward_test_data): Test for "inexact" exceptions.
34171         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34172         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34173         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34174         test input.
34175         (lrint_upward_test_data): Test for "inexact" exceptions.
34176         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34177         test input.
34178         (llrint_test_data): Test for "inexact" exceptions.
34179         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34180         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34181         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34182         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34183         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34184         (llrint_downward_test_data): Test for "inexact" exceptions.
34185         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34186         (llrint_upward_test_data): Test for "inexact" exceptions.
34187         (logb_test_data): Likewise.
34188         (logb_downward_test_data): Likewise.
34189         (nextafter_test_data): Likewise.
34190         (nexttoward_test_data): Likewise.
34191         (remainder_test_data): Likewise.
34192         (remquo_test_data): Likewise.
34193         (scalbn_test_data): Likewise.
34194         (scalbln_test_data): Likewise.
34195         (signbit_test_data): Likewise.
34196         (sqrt_test_data): Likewise.
34197         (significand_test_data): Likewise.
34199 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34201         [BZ #15424]
34202         * benchtests/bench-modf.c (struct args): Mark arg0 as
34203         volatile.
34204         * scripts/bench.pl: Mark members of struct args as volatile.
34206 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34208         [BZ # 15497]
34209         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34210         negative infinity on POWER6 or lower.
34211         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34213 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34215         [BZ #15442]
34216         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34217         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34218         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34219         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34220         (_FP_SETQNAN): New macro.
34221         (_FP_SETQNAN_SEMIRAW): Likewise.
34222         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34223         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34224         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34225         (FP_EXTEND): Use _FP_FRAC_SNANP.
34226         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34227         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34228         into account.
34229         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34230         New macro.
34231         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34232         Likewise.
34234 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34236         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34237         with DIVIDE_BY_ZERO_EXCEPTION.
34238         (gamma_test_data): Likewise.
34239         (lgamma_test_data): Likewise.
34240         (log_test_data): Likewise.
34241         (log10_test_data): Likewise.
34242         (log2_test_data): Likewise.
34243         (tgamma_test_data): Likewise.
34245         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34246         (acos_test_tonearest): Likewise.
34247         (acos_test_towardzero): Likewise.
34248         (acos_test_downward): Likewise.
34249         (acos_test_upward): Likewise.
34250         (acosh_test): Likewise.
34251         (asin_test): Likewise.
34252         (asin_test_tonearest): Likewise.
34253         (asin_test_towardzero): Likewise.
34254         (asin_test_downward): Likewise.
34255         (asin_test_upward): Likewise.
34256         (asinh_test): Likewise.
34257         (atan_test): Likewise.
34258         (atanh_test): Likewise.
34259         (atan2_test): Likewise.
34260         (cabs_test): Likewise.
34261         (cacos_test): Likewise.
34262         (cacosh_test): Likewise.
34263         (casin_test): Likewise.
34264         (casinh_test): Likewise.
34265         (catan_test): Likewise.
34266         (catanh_test): Likewise.
34267         (cbrt_test): Likewise.
34268         (ccos_test): Likewise.
34269         (ccosh_test): Likewise.
34270         (cexp_test): Likewise.
34271         (clog_test): Likewise.
34272         (clog10_test): Likewise.
34273         (cos_test): Likewise.
34274         (cos_test_tonearest): Likewise.
34275         (cos_test_towardzero): Likewise.
34276         (cos_test_downward): Likewise.
34277         (cos_test_upward): Likewise.
34278         (cosh_test): Likewise.
34279         (cosh_test_tonearest): Likewise.
34280         (cosh_test_towardzero): Likewise.
34281         (cosh_test_downward): Likewise.
34282         (cosh_test_upward): Likewise.
34283         (cpow_test): Likewise.
34284         (csin_test): Likewise.
34285         (csinh_test): Likewise.
34286         (csqrt_test): Likewise.
34287         (ctan_test): Likewise.
34288         (ctan_test_tonearest): Likewise.
34289         (ctan_test_towardzero): Likewise.
34290         (ctan_test_downward): Likewise.
34291         (ctan_test_upward): Likewise.
34292         (ctanh_test): Likewise.
34293         (ctanh_test_tonearest): Likewise.
34294         (ctanh_test_towardzero): Likewise.
34295         (ctanh_test_downward): Likewise.
34296         (ctanh_test_upward): Likewise.
34297         (erf_test): Likewise.
34298         (erfc_test): Likewise.
34299         (exp_test): Likewise.
34300         (exp_test_tonearest): Likewise.
34301         (exp_test_towardzero): Likewise.
34302         (exp_test_downward): Likewise.
34303         (exp_test_upward): Likewise.
34304         (exp10_test): Likewise.
34305         (exp2_test): Likewise.
34306         (expm1_test): Likewise.
34307         (fmod_test): Likewise.
34308         (gamma_test): Likewise.
34309         (hypot_test): Likewise.
34310         (j0_test): Likewise.
34311         (j1_test): Likewise.
34312         (jn_test): Likewise.
34313         (lgamma_test): Likewise.
34314         (log_test): Likewise.
34315         (log10_test): Likewise.
34316         (log1p_test): Likewise.
34317         (log2_test): Likewise.
34318         (logb_test_downward): Likewise.
34319         (pow_test): Likewise.
34320         (pow_test_tonearest): Likewise.
34321         (pow_test_towardzero): Likewise.
34322         (pow_test_downward): Likewise.
34323         (pow_test_upward): Likewise.
34324         (remainder_test): Likewise.
34325         (remquo_test): Likewise.
34326         (sin_test): Likewise.
34327         (sin_test_tonearest): Likewise.
34328         (sin_test_towardzero): Likewise.
34329         (sin_test_downward): Likewise.
34330         (sin_test_upward): Likewise.
34331         (sincos_test): Likewise.
34332         (sinh_test): Likewise.
34333         (sinh_test_tonearest): Likewise.
34334         (sinh_test_towardzero): Likewise.
34335         (sinh_test_downward): Likewise.
34336         (sinh_test_upward): Likewise.
34337         (sqrt_test): Likewise.
34338         (tan_test): Likewise.
34339         (tan_test_tonearest): Likewise.
34340         (tan_test_towardzero): Likewise.
34341         (tan_test_downward): Likewise.
34342         (tan_test_upward): Likewise.
34343         (tanh_test): Likewise.
34344         (tgamma_test): Likewise.
34345         (y0_test): Likewise.
34346         (y1_test): Likewise.
34347         (yn_test): Likewise.
34349         * math/gen-libm-test.pl (adjust_arg): Remove function.
34350         (special_function): Remove argument $in_func.  Only handle
34351         generating output for tables of tests, not inside functions.
34352         (parse_args): Likewise.
34353         (generate_testfile): Remove variable $in_func.  Update call to
34354         parse_args.
34355         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34356         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34357         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34358         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34359         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34360         (MAX_VALUE_INIT): Rename macro to max_value.
34361         (MIN_VALUE_INIT): Rename macro to min_value.
34362         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34363         (plus_zero): Remove variable.
34364         (minus_zero): Likewise.
34365         (plus_infty): Likewise.
34366         (minus_infty): Likewise.
34367         (qnan_value): Likewise.
34368         (max_value): Likewise.
34369         (min_value): Likewise.
34370         (min_subnorm_value): Likewise.
34372 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34374         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34375         uint64_t or uint32_t usage.
34376         * crypt/sha256-block.c: Likewise.
34377         * crypt/sha256-crypt.c: Likewise.
34378         * crypt/sha256.c: Likewise.
34379         * crypt/sha512-block.c: Likewise.
34380         * crypt/sha512-crypt.c: Likewise.
34381         * crypt/sha512.c: Likewise.
34382         * debug/backtrace-tst.c: Likewise.
34383         * debug/pcprofiledump.c: Likewise.
34384         * elf/cache.c: Likewise.
34385         * elf/dl-cache.c: Likewise.
34386         * elf/dl-misc.c: Likewise.
34387         * elf/dl-profile.c: Likewise.
34388         * elf/dl-support.c: Likewise.
34389         * elf/ldconfig.c: Likewise.
34390         * elf/sprof.c: Likewise.
34391         * iconv/dummy-repertoire.c: Likewise.
34392         * iconv/iconv_charmap.c: Likewise.
34393         * iconv/skeleton.c: Likewise.
34394         * iconvdata/8bit-generic.c: Likewise.
34395         * iconvdata/cp737.h: Likewise.
34396         * iconvdata/cp775.h: Likewise.
34397         * iconvdata/ibm1008.h: Likewise.
34398         * iconvdata/ibm1025.h: Likewise.
34399         * iconvdata/ibm1046.h: Likewise.
34400         * iconvdata/ibm1097.h: Likewise.
34401         * iconvdata/ibm1112.h: Likewise.
34402         * iconvdata/ibm1122.h: Likewise.
34403         * iconvdata/ibm1123.h: Likewise.
34404         * iconvdata/ibm1124.h: Likewise.
34405         * iconvdata/ibm1129.h: Likewise.
34406         * iconvdata/ibm1130.h: Likewise.
34407         * iconvdata/ibm1132.h: Likewise.
34408         * iconvdata/ibm1133.h: Likewise.
34409         * iconvdata/ibm1137.h: Likewise.
34410         * iconvdata/ibm1140.h: Likewise.
34411         * iconvdata/ibm1141.h: Likewise.
34412         * iconvdata/ibm1142.h: Likewise.
34413         * iconvdata/ibm1143.h: Likewise.
34414         * iconvdata/ibm1144.h: Likewise.
34415         * iconvdata/ibm1145.h: Likewise.
34416         * iconvdata/ibm1146.h: Likewise.
34417         * iconvdata/ibm1147.h: Likewise.
34418         * iconvdata/ibm1148.h: Likewise.
34419         * iconvdata/ibm1149.h: Likewise.
34420         * iconvdata/ibm1153.h: Likewise.
34421         * iconvdata/ibm1154.h: Likewise.
34422         * iconvdata/ibm1155.h: Likewise.
34423         * iconvdata/ibm1156.h: Likewise.
34424         * iconvdata/ibm1157.h: Likewise.
34425         * iconvdata/ibm1158.h: Likewise.
34426         * iconvdata/ibm1160.h: Likewise.
34427         * iconvdata/ibm1161.h: Likewise.
34428         * iconvdata/ibm1162.h: Likewise.
34429         * iconvdata/ibm1163.h: Likewise.
34430         * iconvdata/ibm1164.h: Likewise.
34431         * iconvdata/ibm1166.h: Likewise.
34432         * iconvdata/ibm1167.h: Likewise.
34433         * iconvdata/ibm12712.h: Likewise.
34434         * iconvdata/ibm1390.h: Likewise.
34435         * iconvdata/ibm1399.h: Likewise.
34436         * iconvdata/ibm16804.h: Likewise.
34437         * iconvdata/ibm4517.h: Likewise.
34438         * iconvdata/ibm4899.h: Likewise.
34439         * iconvdata/ibm4909.h: Likewise.
34440         * iconvdata/ibm4971.h: Likewise.
34441         * iconvdata/ibm5347.h: Likewise.
34442         * iconvdata/ibm803.h: Likewise.
34443         * iconvdata/ibm856.h: Likewise.
34444         * iconvdata/ibm901.h: Likewise.
34445         * iconvdata/ibm902.h: Likewise.
34446         * iconvdata/ibm9030.h: Likewise.
34447         * iconvdata/ibm9066.h: Likewise.
34448         * iconvdata/ibm921.h: Likewise.
34449         * iconvdata/ibm922.h: Likewise.
34450         * iconvdata/ibm9448.h: Likewise.
34451         * iconvdata/isiri-3342.h: Likewise.
34452         * iconvdata/jis0201.h: Likewise.
34453         * include/link.h: Likewise.
34454         * include/netdb.h: Likewise.
34455         * inet/check_native.c: Likewise.
34456         * inet/check_pf.c: Likewise.
34457         * inet/getipv4sourcefilter.c: Likewise.
34458         * inet/getnameinfo.c: Likewise.
34459         * inet/getsourcefilter.c: Likewise.
34460         * inet/htonl.c: Likewise.
34461         * inet/setipv4sourcefilter.c: Likewise.
34462         * inet/setsourcefilter.c: Likewise.
34463         * inet/test-inet6_opt.c: Likewise.
34464         * inet/tst-network.c: Likewise.
34465         * locale/C-collate.c: Likewise.
34466         * locale/C-ctype.c: Likewise.
34467         * locale/C-time.c: Likewise.
34468         * locale/C-translit.h: Likewise.
34469         * locale/loadarchive.c: Likewise.
34470         * locale/programs/3level.h: Likewise.
34471         * locale/programs/charmap.c: Likewise.
34472         * locale/programs/charmap.h: Likewise.
34473         * locale/programs/ld-address.c: Likewise.
34474         * locale/programs/ld-collate.c: Likewise.
34475         * locale/programs/ld-ctype.c: Likewise.
34476         * locale/programs/ld-identification.c: Likewise.
34477         * locale/programs/ld-measurement.c: Likewise.
34478         * locale/programs/ld-messages.c: Likewise.
34479         * locale/programs/ld-monetary.c: Likewise.
34480         * locale/programs/ld-name.c: Likewise.
34481         * locale/programs/ld-numeric.c: Likewise.
34482         * locale/programs/ld-paper.c: Likewise.
34483         * locale/programs/ld-telephone.c: Likewise.
34484         * locale/programs/ld-time.c: Likewise.
34485         * locale/programs/linereader.c: Likewise.
34486         * locale/programs/locale.c: Likewise.
34487         * locale/programs/locarchive.c: Likewise.
34488         * locale/programs/locfile.h: Likewise.
34489         * locale/programs/repertoire.c: Likewise.
34490         * locale/programs/simple-hash.c: Likewise.
34491         * locale/programs/simple-hash.h: Likewise.
34492         * malloc/memusage.c: Likewise.
34493         * malloc/memusagestat.c: Likewise.
34494         * nis/nis_defaults.c: Likewise.
34495         * nis/nis_hash.c: Likewise.
34496         * nis/nis_print.c: Likewise.
34497         * nis/nis_xdr.c: Likewise.
34498         * nscd/connections.c: Likewise.
34499         * nscd/hstcache.c: Likewise.
34500         * nscd/nscd_gethst_r.c: Likewise.
34501         * nscd/nscd_getserv_r.c: Likewise.
34502         * nscd/nscd_helper.c: Likewise.
34503         * nscd/servicescache.c: Likewise.
34504         * nss/makedb.c: Likewise.
34505         * nss/nss_db/db-XXX.c: Likewise.
34506         * nss/nss_db/db-initgroups.c: Likewise.
34507         * nss/nss_db/db-netgrp.c: Likewise.
34508         * nss/nss_files/files-network.c: Likewise.
34509         * nss/nss_files/files-parse.c: Likewise.
34510         * posix/bug-regex5.c: Likewise.
34511         * posix/fnmatch_loop.c: Likewise.
34512         * posix/regcomp.c: Likewise.
34513         * posix/regexec.c: Likewise.
34514         * posix/tst-rfc3484-2.c: Likewise.
34515         * posix/tst-rfc3484-3.c: Likewise.
34516         * posix/tst-rfc3484.c: Likewise.
34517         * resolv/nss_dns/dns-canon.c: Likewise.
34518         * resolv/nss_dns/dns-network.c: Likewise.
34519         * resolv/res_init.c: Likewise.
34520         * resolv/res_mkquery.c: Likewise.
34521         * resolv/tst-aton.c: Likewise.
34522         * stdlib/cxa_atexit.c: Likewise.
34523         * stdlib/cxa_finalize.c: Likewise.
34524         * stdlib/gen-fpioconst.c: Likewise.
34525         * stdlib/strtol_l.c: Likewise.
34526         * string/tst-endian.c: Likewise.
34527         * sunrpc/auth_des.c: Likewise.
34528         * sunrpc/clnt_udp.c: Likewise.
34529         * sunrpc/rtime.c: Likewise.
34530         * sunrpc/svcauth_des.c: Likewise.
34531         * sunrpc/xdr.c: Likewise.
34532         * sunrpc/xdr_intXX_t.c: Likewise.
34533         * sunrpc/xdr_rec.c: Likewise.
34534         * sysdeps/generic/ldconfig.h: Likewise.
34535         * sysdeps/generic/ldsodefs.h: Likewise.
34536         * sysdeps/generic/memusage.h: Likewise.
34537         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34538         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34539         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34540         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34541         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34542         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34543         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34544         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34545         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34546         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34547         * sysdeps/posix/getaddrinfo.c: Likewise.
34548         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34549         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34550         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34551         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34552         * sysdeps/powerpc/test-gettimebase.c: Likewise.
34553         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34554         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34555         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34556         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34557         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34558         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34559         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34560         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34561         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34562         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34563         * sysdeps/x86_64/dl-tls.h: Likewise.
34564         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34565         * time/alt_digit.c: Likewise.
34566         * time/era.c: Likewise.
34567         * wcsmbs/tst-c16c32-1.c: Likewise.
34569 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34571         * math/libm-test.inc (struct test_sincos_data): New type.
34572         (RUN_TEST_LOOP_sincos): New macro.
34573         (sincos_test_data): New variable.
34574         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34576 2013-05-16  Richard Henderson  <rth@redhat.com>
34578         * math/atest-exp2.c (LIMB64): New macro.
34579         (CONSTSZ): New macro.
34580         (mp_exp1, mp_exp_m1, mp_log2): New variables.
34581         (hexdig): Move ...
34582         (print_mpn_fp): ... to function scope.
34583         (read_mpn_hex): Remove.
34584         (get_log2): Remove.
34585         (exp2_mpn): Use mp_log2.
34586         (main): Use mp_exp1.
34588 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34590         * math/libm-test.inc: Remove comment about not testing "inexact"
34591         exceptions.
34592         (INEXACT_EXCEPTION): New macro.
34593         (NO_INEXACT_EXCEPTION): Likewise.
34594         (INVALID_EXCEPTION_OK): Update value.
34595         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34596         (OVERFLOW_EXCEPTION_OK): Likewise.
34597         (UNDERFLOW_EXCEPTION_OK): Likewise.
34598         (IGNORE_ZERO_INF_SIGN): Likewise.
34599         (ERRNO_UNCHANGED): Likewise.
34600         (ERRNO_EDOM): Likewise.
34601         (ERRNO_ERANGE): Likewise.
34602         (test_exceptions): Handle testing "inexact" exceptions.
34603         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
34604         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
34605         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
34606         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
34607         INEXACT_EXCEPTION.
34608         (rint_towardzero_test_data): Likewise.
34609         (rint_downward_test_data): Likewise.
34610         (rint_upward_test_data): Likewise.
34612         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
34613         with OVERFLOW_EXCEPTION.
34614         (exp10_test_data): Likewise.
34615         (exp2_test_data): Likewise.
34616         (expm1_test_data): Likewise.
34617         (lgamma_test_data): Likewise.
34618         (pow_test_data): Likewise.
34619         (tgamma_test_data): Likewise.
34620         (yn_test_data): Remove duplicate test of overflow.
34622         * math/libm-test.inc (struct test_cc_c_data): New type.
34623         (RUN_TEST_LOOP_cc_c): New macro.
34624         (cpow_test_data): New variable.
34625         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
34627         * math/libm-test.inc (struct test_f_L_data): New type.
34628         (RUN_TEST_LOOP_f_L): New macro.
34629         (llrint_test_data): New variable.
34630         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
34631         (llrint_tonearest_test_data): New variable.
34632         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
34633         (llrint_towardzero_test_data): New variable.
34634         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
34635         (llrint_downward_test_data): New variable.
34636         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
34637         (llrint_upward_test_data): New variable.
34638         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
34639         (llround_test_data): New variable.
34640         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
34642 2013-05-13  Peter Collingbourne  <pcc@google.com>
34644         * math/atest-exp2.c (get_log2): Remove const attribute.
34646 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34648         * math/libm-test.inc (struct test_f_l_data): New type.
34649         (RUN_TEST_LOOP_f_l): New macro.
34650         (lrint_test_data): New variable.
34651         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
34652         (lrint_tonearest_test_data): New variable.
34653         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
34654         (lrint_towardzero_test_data): New variable.
34655         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
34656         (lrint_downward_test_data): New variable.
34657         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
34658         (lrint_upward_test_data): New variable.
34659         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
34660         (lround_test_data): New variable.
34661         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
34663 2013-05-15  Peter Collingbourne  <pcc@google.com>
34665         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34666         (EXTRACT_WORDS64) Use where appropriate.
34667         (INSERT_WORDS64) Likewise.
34669         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34670         constraints with x constraints.
34671         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34673         * malloc/obstack.c (_obstack_compat): Add initializer.
34675 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34677         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34678         si_trapno and add si_addr_lsb to _sifields.sigfault.
34679         (si_trapno): Remove macro.
34680         (si_addr_lsb): Define new macro.
34681         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34683 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34685         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34686         instead of TEST_f_l.
34687         (llrint_test_tonearest): Likewise.
34688         (llrint_test_towardzero): Likewise.
34689         (llrint_test_downward): Likewise.
34690         (llrint_test_upward): Likewise.
34691         (llround_test): Likewise.
34693         * math/libm-test.inc (struct test_f_i_data): Add comment.
34694         (RUN_TEST_LOOP_f_b): New macro.
34695         (RUN_TEST_LOOP_f_b_tg): Likewise.
34696         (finite_test_data): New variable.
34697         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34698         (isfinite_test_data): New variable.
34699         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34700         (isinf_test_data): New variable.
34701         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34702         (isnan_test_data): New variable.
34703         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34704         (isnormal_test_data): New variable.
34705         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34706         (issignaling_test_data): New variable.
34707         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34708         (signbit_test_data): New variable.
34709         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34711         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34712         with INVALID_EXCEPTION.
34713         (acosh_test_data): Likewise.
34714         (asin_test_data): Likewise.
34715         (atanh_test_data): Likewise.
34716         (fmod_test_data): Likewise.
34717         (log_test_data): Likewise.
34718         (log10_test_data): Likewise.
34719         (log2_test_data): Likewise.
34720         (pow_test_data): Likewise.
34721         (sqrt_test_data): Likewise.
34722         (y0_test_data): Likewise.
34723         (y1_test_data): Likewise.
34724         (yn_test_data): Likewise.
34726         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34727         function contents.
34729         * math/libm-test.inc (struct test_ff_i_data): New type.
34730         (RUN_TEST_LOOP_ff_i_tg): New macro.
34731         (isgreater_test_data): New variable.
34732         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34733         (isgreaterequal_test_data): New variable.
34734         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34735         (isless_test_data): New variable.
34736         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34737         (islessequal_test_data): New variable.
34738         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34739         (islessgreater_test_data): New variable.
34740         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34741         (isunordered_test_data): New variable.
34742         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34744 2013-05-14  David S. Miller  <davem@davemloft.net>
34746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34748 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
34750         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34752         * math/libm-test.inc (struct test_fF_f1_data): Change type of
34753         extra_test to int.
34754         (struct test_f_i_data): Change type of max_ulp to int.
34756         * math/libm-test.inc (test_ffI_f1_data): New type.
34757         (RUN_TEST_LOOP_ffI_f1): New macro.
34758         (remquo_test_data): New variable.
34759         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34761         * setjmp/tst-setjmp-fp.c: New file.
34762         * setjmp/Makefile (tests): Add tst-setjmp-fp.
34763         (link-libm): New variable.
34764         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34766         * math/libm-test.inc (struct test_f_i_data): New type.
34767         (RUN_TEST_LOOP_f_i): New macro.
34768         (RUN_TEST_LOOP_f_i_tg): Likewise.
34769         (fpclassify_test_data): New variable.
34770         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34771         (ilogb_test_data): New variable.
34772         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34774         * math/libm-test.inc (scalbln_test): Correct function name in END
34775         call.
34777         * math/libm-test.inc (struct test_f_f1_data): Add comment.
34778         (RUN_TEST_LOOP_fI_f1): New macro.
34779         (frexp_test_data): New variable.
34780         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34782         * math/libm-test.inc (struct test_fF_f1_data): New type.
34783         (RUN_TEST_LOOP_fF_f1): New macro.
34784         (modf_test_data): New variable.
34785         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34787         * math/libm-test.inc (struct test_f_f1_data): New type.
34788         (RUN_TEST_LOOP_f_f1): New macro.
34789         (gamma_test_data): New variable.
34790         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34791         (lgamma_test_data): New variable.
34792         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34794 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
34796         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34797         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34798         (main): Comment "tls" pseudo-hwcap.
34800 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
34802         * math/libm-test.inc (struct test_fl_f_data): New type.
34803         (RUN_TEST_LOOP_fl_f): New variable.
34804         (scalbln_test_data): New variable.
34805         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34807         * math/libm-test.inc (struct test_fi_f_data): New type.
34808         (RUN_TEST_LOOP_fi_f): New macro.
34809         (ldexp_test_data): New variable.
34810         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34811         (scalbn_test_data): New variable.
34812         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34814         * math/libm-test.inc (struct test_c_f_data): New type.
34815         (RUN_TEST_LOOP_c_f): New macro.
34816         (cabs_test_data): New variable.
34817         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34818         (carg_test_data): New variable.
34819         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34820         (cimag_test_data): New variable.
34821         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34822         (creal_test_data): New variable.
34823         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34825         * math/libm-test.inc (struct test_if_f_data): New type.
34826         (RUN_TEST_LOOP_if_f): New macro.
34827         (jn_test_data): New variable.
34828         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34829         (yn_test_data): New variable.
34830         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34832         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34834 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34836         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34837         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34839 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34841         * benchtests/Makefile (CPPFLAGS-nonlib): Add
34842         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34843         (bench-deps): Add bench-timing.h.
34844         * benchtests-bench-skeleton.c: Include bench-timing.h.
34845         (main): Use TIMING_* macros instead of clock_gettime.
34846         * benchtests/bench-timing.h: New file.
34848         [BZ #14582]
34849         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34850         Renamed from _LIB_VERSION.
34851         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34853 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
34855         * math/libm-test.inc (struct test_fff_f_data): New type.
34856         (RUN_TEST_LOOP_fff_f): New macro.
34857         (fma_test_data): New variable.
34858         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34859         (fma_towardzero_test_data): New variable.
34860         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34861         (fma_downward_test_data): New variable.
34862         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34863         (fma_upward_test_data): New variable.
34864         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34866         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34867         (struct test_c_c_data): New type.
34868         (RUN_TEST_LOOP_c_c): New macro.
34869         (cacos_test_data): New variable.
34870         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34871         (cacosh_test_data): New variable.
34872         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34873         (casin_test_data): New variable.
34874         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34875         (casinh_test_data): New variable.
34876         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34877         (catan_test_data): New variable.
34878         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34879         (catanh_test_data): New variable.
34880         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34881         (ccos_test_data): New variable.
34882         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34883         (ccosh_test_data): New variable.
34884         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34885         (cexp_test_data): New variable.
34886         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34887         (clog_test_data): New variable.
34888         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34889         (clog10_test_data): New variable.
34890         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34891         (conj_test_data): New variable.
34892         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34893         (cproj_test_data): New variable.
34894         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34895         (csin_test_data): New variable.
34896         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34897         (csinh_test_data): New variable.
34898         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34899         (csqrt_test_data): New variable.
34900         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34901         (ctan_test_data): New variable.
34902         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34903         (ctan_tonearest_test_data): New variable.
34904         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34905         (ctan_towardzero_test_data): New variable.
34906         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34907         (ctan_downward_test_data): New variable.
34908         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34909         (ctan_upward_test_data): New variable.
34910         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34911         (ctanh_test_data): New variable.
34912         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34913         (ctanh_tonearest_test_data): New variable.
34914         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34915         (ctanh_towardzero_test_data): New variable.
34916         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34917         (ctanh_downward_test_data): New variable.
34918         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34919         (ctanh_upward_test_data): New variable.
34920         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34921         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34922         of BUILD_COMPLEX.
34924         * math/libm-test.inc (struct test_ff_f_data): New type.
34925         (struct test_ff_f_data_nexttoward): Likewise.
34926         (RUN_TEST_LOOP_2_f): New macro.
34927         (RUN_TEST_LOOP_ff_f): Likewise.
34928         (atan2_test_data): New variable.
34929         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34930         (copysign_test_data): New variable.
34931         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34932         (fdim_test_data): New variable.
34933         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34934         (fmax_test_data): New variable.
34935         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34936         (fmin_test_data): New variable.
34937         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34938         (fmod_test_data): New variable.
34939         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34940         (hypot_test_data): New variable.
34941         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34942         (nextafter_test_data): New variable.
34943         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34944         (nexttoward_test_data): New variable.
34945         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34946         (pow_test_data): New variable.
34947         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34948         (pow_tonearest_test_data): New variable.
34949         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34950         (pow_towardzero_test_data): New variable.
34951         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34952         (pow_downward_test_data): New variable.
34953         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34954         (pow_upward_test_data): New variable.
34955         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34956         (remainder_test_data): New variable.
34957         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34958         (scalb_test_data): New variable.
34959         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34960         * sysdeps/i386/fpu/libm-test-ulps: Update.
34962 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
34964         * math/libm-test.inc (fma_test): Use max_value instead of local
34965         variable fltmax.
34966         (nextafter_test): Likewise.
34968         * math/libm-test.inc (acos_towardzero_test_data): New variable.
34969         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34970         (acos_downward_test_data): New variable.
34971         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34972         (acos_upward_test_data): New variable.
34973         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34974         (acosh_test_data): New variable.
34975         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34976         (asin_test_data): New variable.
34977         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34978         (asin_tonearest_test_data): New variable.
34979         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34980         (asin_towardzero_test_data): New variable.
34981         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34982         (asin_downward_test_data): New variable.
34983         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34984         (asin_upward_test_data): New variable.
34985         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34986         (asinh_test_data): New variable.
34987         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
34988         (atan_test_data): New variable.
34989         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
34990         (atanh_test_data): New variable.
34991         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
34992         (cbrt_test_data): New variable.
34993         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
34994         (ceil_test_data): New variable.
34995         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
34996         (cos_test_data): New variable.
34997         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
34998         (cos_tonearest_test_data): New variable.
34999         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35000         (cos_towardzero_test_data): New variable.
35001         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35002         (cos_downward_test_data): New variable.
35003         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35004         (cos_upward_test_data): New variable.
35005         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35006         (cosh_test_data): New variable.
35007         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35008         (cosh_tonearest_test_data): New variable.
35009         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35010         (cosh_towardzero_test_data): New variable.
35011         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35012         (cosh_downward_test_data): New variable.
35013         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35014         (cosh_upward_test_data): New variable.
35015         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35016         (erf_test_data): New variable.
35017         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35018         (erfc_test_data): New variable.
35019         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35020         (exp_test_data): New variable.
35021         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35022         (exp_tonearest_test_data): New variable.
35023         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35024         (exp_towardzero_test_data): New variable.
35025         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35026         (exp_downward_test_data): New variable.
35027         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35028         (exp_upward_test_data): New variable.
35029         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35030         (exp10_test_data): New variable.
35031         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35032         (exp2_test_data): New variable.
35033         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35034         (expm1_test_data): New variable.
35035         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35036         (fabs_test_data): New variable.
35037         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35038         (floor_test_data): New variable.
35039         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35040         (j0_test_data): New variable.
35041         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35042         (j1_test_data): New variable.
35043         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35044         (log_test_data): New variable.
35045         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35046         (log10_test_data): New variable.
35047         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35048         (log1p_test_data): New variable.
35049         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35050         (log2_test_data): New variable.
35051         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35052         (logb_test_data): New variable.
35053         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35054         (logb_downward_test_data): New variable.
35055         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35056         (nearbyint_test_data): New variable.
35057         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35058         (rint_test_data): New variable.
35059         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35060         (rint_tonearest_test_data): New variable.
35061         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35062         (rint_towardzero_test_data): New variable.
35063         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35064         (rint_downward_test_data): New variable.
35065         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35066         (rint_upward_test_data): New variable.
35067         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35068         (round_test_data): New variable.
35069         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35070         (sin_test_data): New variable.
35071         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35072         (sin_tonearest_test_data): New variable.
35073         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35074         (sin_towardzero_test_data): New variable.
35075         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35076         (sin_downward_test_data): New variable.
35077         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35078         (sin_upward_test_data): New variable.
35079         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35080         (sinh_test_data): New variable.
35081         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35082         (sinh_tonearest_test_data): New variable.
35083         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35084         (sinh_towardzero_test_data): New variable.
35085         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35086         (sinh_downward_test_data): New variable.
35087         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35088         (sinh_upward_test_data): New variable.
35089         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35090         (sqrt_test_data): New variable.
35091         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35092         (tan_test_data): New variable.
35093         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35094         (tan_tonearest_test_data): New variable.
35095         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35096         (tan_towardzero_test_data): New variable.
35097         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35098         (tan_downward_test_data): New variable.
35099         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35100         (tan_upward_test_data): New variable.
35101         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35102         (tanh_test_data): New variable.
35103         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35104         (tgamma_test_data): New variable.
35105         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35106         (trunc_test_data): New variable.
35107         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35108         (y0_test_data): New variable.
35109         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35110         (y1_test_data): New variable.
35111         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35112         (significand_test_data): New variable.
35113         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35115 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35117         [BZ #12387]
35118         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35120 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35122         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35124 2013-05-10  Andreas Jaeger  <aj@suse.de>
35126         [BZ #15448]
35127         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35128         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35130 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35132         * math/gen-libm-test.pl (adjust_arg): New function.
35133         (special_functions): Handle generating output in both functions
35134         and arrays.
35135         (parse_args): Likewise.
35136         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35137         $in_func argument to parse_args.
35138         * math/libm-test.inc (struct test_f_f_data): New type.
35139         (IF_ROUND_INIT_): New macro.
35140         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35141         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35142         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35143         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35144         (ROUND_RESTORE_): Likewise.
35145         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35146         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35147         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35148         (ROUND_RESTORE_FE_UPWARD): Likewise.
35149         (RUN_TEST_LOOP_f_f): New macro.
35150         (acos_test_data): New variable.
35151         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35152         (acos_tonearest_test_data): New variable.
35153         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35155 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35157         * benchtests/bench-skeleton.c (startup): Fix coding style.
35159 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35161         [BZ #6809]
35162         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35163         negative infinity argument.
35164         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35165         negative infinity argument.
35166         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35167         negative infinity argument.
35168         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35169         domain errors.
35171 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35173         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35174         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35175         * iconv/iconv_prog.c (main): Likewise.
35176         * locale/programs/charmap-dir.c (charmap_readdir)
35177         (fopen_uncompressed): Likewise.
35178         * locale/programs/locfile.c (siblings_uncached)
35179         (write_locale_data): Use lstat64 instead of lstat.
35180         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35181         stat.
35183 2013-05-10  Andreas Jaeger  <aj@suse.de>
35185         [BZ #15395]
35186         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35187         localization.
35188         Include <locale.h>.
35190 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35192         * elf/dl-close.c (_dl_close_worker): Add comments.
35194 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35196         [BZ #15359]
35197         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35198         high part of pi/2.
35199         (__ieee754_rem_pio2l): Update comments.
35201         [BZ #15429]
35202         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35203         high part of pi/2.
35204         (__ieee754_rem_pio2l): Update comments.
35206         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35207         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35209         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35210         M_PI_4l.
35212         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35213         (M_PI_34_LOG10El): Likewise.
35214         (M_PI2_LOG10El): Likewise.
35215         (M_PI4_LOG10El): Likewise.
35216         (M_PI_LOG10El): Likewise.
35218 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35222 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35224         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35225         (MINUS_ZERO_INIT): Likewise.
35226         (PLUS_INFTY_INIT): Likewise.
35227         (MINUS_INFTY_INIT): Likewise.
35228         (QNAN_VALUE_INIT): Likewise.
35229         (MAX_VALUE_INIT): Likewise.
35230         (MIN_VALUE_INIT): Likewise.
35231         (MIN_SUBNORM_VALUE_INIT): Likewise.
35232         (plus_zero): Initialize with PLUS_ZERO_INIT.
35233         (minus_zero): Initialize with MINUS_ZERO_INIT.
35234         (plus_infty): Initialize with PLUS_INFTY_INIT.
35235         (minus_infty): Initialize with MINUS_INFTY_INIT.
35236         (qnan_value): Initialize with QNAN_VALUE_INIT.
35237         (max_value): Initialize with MAX_VALUE_INIT.
35238         (min_value): Initialize with MIN_VALUE_INIT.
35239         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35241         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35242         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35243         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35244         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35246         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35247         (RUN_TEST_2_f): Likewise.
35248         (RUN_TEST_ff_f): Likewise.
35249         (RUN_TEST_fi_f): Likewise.
35250         (RUN_TEST_fl_f): Likewise.
35251         (RUN_TEST_fff_f): Likewise.
35252         (RUN_TEST_c_f): Likewise.
35253         (RUN_TEST_f_f1): Likewise.
35254         (RUN_TEST_fF_f1): Likewise.
35255         (RUN_TEST_fI_f1): Likewise.
35256         (RUN_TEST_ffI_f1): Likewise.
35257         (RUN_TEST_c_c): Likewise.
35258         (RUN_TEST_cc_c): Likewise.
35259         (RUN_TEST_f_i): Likewise.
35260         (RUN_TEST_f_i_tg): Likewise.
35261         (RUN_TEST_ff_i_tg): Likewise.
35262         (RUN_TEST_f_b): Likewise.
35263         (RUN_TEST_f_b_tg): Likewise.
35264         (RUN_TEST_f_l): Likewise.
35265         (RUN_TEST_f_L): Likewise.
35266         (RUN_TEST_sincos): Likewise.
35267         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35268         whether to show exceptions.  Do not include ");\n" in return
35269         value.
35270         (special_functions): Output call to RUN_TEST_sincos instead of
35271         check_float calls.  Update calls to new_test.
35272         (parse_args): Output call to single RUN_TEST_* macro instead of
35273         check_* calls and other assignments.  Update calls to new_test.
35275         [BZ #2546]
35276         [BZ #2560]
35277         [BZ #5159]
35278         [BZ #15426]
35279         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35280         input to result for tgamma overflow.
35281         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35282         (gamma_coeff): New variable.
35283         (NCOEFF): New macro.
35284         (gamma_positive): New function.
35285         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35286         underflow here.  Use gamma_positive instead of exp (lgamma) for
35287         other arguments.
35288         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35289         (gamma_coeff): New variable.
35290         (NCOEFF): New macro.
35291         (gammaf_positive): New function.
35292         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35293         underflow here.  Use gamma_positive instead of exp (lgamma) for
35294         other arguments.
35295         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35296         (gamma_coeff): New variable.
35297         (NCOEFF): New macro.
35298         (gammal_positive): New function.
35299         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35300         underflow here.  Use gamma_positive instead of exp (lgamma) for
35301         other arguments.
35302         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35303         (gamma_coeff): New variable.
35304         (NCOEFF): New macro.
35305         (gammal_positive): New function.
35306         (__ieee754_gammal_r): Handle positive infinity, overflow and
35307         underflow here.  Handle NaN the same as positive infinity.  Remove
35308         check x < 0xffffffff for negative integers.  Use gamma_positive
35309         instead of exp (lgamma) for other arguments.
35310         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35311         (gamma_coeff): New variable.
35312         (NCOEFF): New macro.
35313         (gammal_positive): New function.
35314         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35315         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35316         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35317         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35318         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35319         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35320         * sysdeps/generic/math_private.h (__gamma_productf): New
35321         prototype.
35322         (__gamma_product): Likewise.
35323         (__gamma_productl): Likewise.
35324         * math/Makefile (libm-calls): Add gamma_product.
35325         * math/libm-test.inc (tgamma_test): Add more tests.
35326         * sysdeps/i386/fpu/libm-test-ulps: Update.
35327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35329 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35331         * benchtests/bench-skeleton.c (main): Preheat CPU.
35333 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35335         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35337 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35339         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35340         and _dl_skip_args_internal.
35342 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35344         * manual/message.texi (Message Translation): Talk about users.
35345         Message to key mapping impacts design.
35347 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35349         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35351         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35353         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35354         * sysdeps/wordsize-64/glob64.c: ... here.
35356         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35357         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35358         New macros.
35360         * debug/getlogin_r_chk.c: Moved to ...
35361         * login/getlogin_r_chk.c: ... here.
35362         * debug/Makefile (routines): Move getlogin_r_chk to ...
35363         * login/Makefile (routines): ... here.
35364         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35365         * login/Versions (libc: GLIBC_2.4): ... here.
35367         * io/poll.c (__poll): Renamed from poll.
35368         Add libc_hidden_def.
35369         (poll): Define as weak alias.
35371         * debug/ptsname_r_chk.c: Moved to ...
35372         * login/ptsname_r_chk.c: ... here.
35373         * debug/Makefile (routines): Move ptsname_r_chk to ...
35374         * login/Makefile (routines): ... here.
35375         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35376         * login/Versions (libc: GLIBC_2.4): ... here.
35378         * posix/getlogin.c: Moved to ...
35379         * login/getlogin.c: ... here.
35380         * posix/getlogin_r.c: Moved to ...
35381         * login/getlogin_r.c: ... here.
35382         * posix/getlogin_r.c: Moved to ...
35383         * login/getlogin_r.c: ... here.
35384         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35385         * login/Makefile (routines): ... here.
35386         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35387         * login/Versions (libc: GLIBC_2.0): ... here.
35389         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35390         (setrlimit): Define as weak alias.
35392         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35393         Call __ names for open, ftruncate, and close.
35394         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35395         (truncate): Define as weak alias.
35397 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35399         * math/gen-libm-test.pl (parse_args): Initialize x before each
35400         test of frexp, modf and remquo.
35402         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35403         test signgam value.
35405 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35407         [BZ #15418]
35408         [BZ #15419]
35409         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35410         internal tests.
35411         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35413 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35415         * elf/dl-writev.h: New file.
35416         * elf/dl-misc.c: Include it.
35417         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35418         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35420 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35422         * math/libm-test.inc (noXFails): Remove variable.
35423         (noXPasses): Likewise.
35424         (BUILD_COMPLEX_INT): Remove macro.
35425         (print_screen): Remove xfail argument.
35426         (print_screen_max_error): Likewise.
35427         (update_stats): Likewise.
35428         (print_max_error): Likewise.  Update calls to other affected
35429         functions.
35430         (print_complex_max_error): Likewise.
35431         (test_single_exception): Update calls to print_screen.
35432         (test_single_errno): Likewise.
35433         (check_float_internal): Remove xfail argument.  Update calls to
35434         other affected functions.
35435         (check_float): Likewise.
35436         (check_complex): Likewise.
35437         (check_int): Likewise.
35438         (check_long): Likewise.
35439         (check_bool): Likewise.
35440         (check_longlong): Likewise.
35441         (main): Don't print noXFails and noXPasses.
35442         * math/gen-libm-test.pl (top level): Don't mention expected
35443         failure handling in comment.
35444         (new_test): Don't handle expected failures.
35445         (parse_args): Don't mention expected failure handling in comment.
35446         (generate_testfile): Don't handle expected failures.
35447         (parse_ulps): Likewise.
35448         (print_ulps_file): Likewise.
35449         (get_failure): Remove function.
35450         (output_test): Don't handle expected failures.
35451         * make/README.libm-test: Don't mention expected failure handling.
35453         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35454         (minus_zero): Likewise.
35455         (plus_infty): Likewise.
35456         (minus_infty): Likewise.
35457         (qnan_value): Likewise.
35458         (max_value): Likewise.
35459         (min_value): Likewise.
35460         (min_subnorm_value): Likewise.
35461         (initialize): Do not initialize those variables dynamically.
35463 2013-05-03  Roland McGrath  <roland@hack.frob.com>
35465         * io/open.c (__open_2): Moved to ...
35466         * io/open_2.c: ... this new file.
35467         * io/open64.c (__open64_2): Moved to ...
35468         * io/open64_2.c: ... this new file.
35469         * io/openat.c (__openat_2): Moved to ...
35470         * io/openat_2.c: ... this new file.
35471         * io/openat64.c (__openat64_2): Moved to ...
35472         * io/openat64_2.c: ... this new file.
35473         * io/Makefile (routines): Add them.
35474         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35475         * sysdeps/unix/sysv/linux/open_2.c: File removed.
35476         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35477         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35478         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35479         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35480         (__openat64): Add hidden_ver.
35481         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35482         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35484         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35485         Separately conditionalize setting of GLRO(dl_sysinfo) so
35486         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35487         as well, but the actual setting is only under [NEED_DL_SYSINFO].
35489 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35491         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35492         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35493         definition.
35494         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35495         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35496         (_libc_vdso_platform_setup): Add __vdso_time initialization.
35497         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35498         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35500 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
35502         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35503         test signgam value.
35505         * math/libm-test.inc (hypot_test): Do not use
35506         IGNORE_ZERO_INF_SIGN.
35508 2013-05-03  Andreas Jaeger  <aj@suse.de>
35510         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35511         Linux 3.9.
35512         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35513         (PF_MAX): Adjust for VSOCK change.
35515 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35519 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
35521         [BZ #15264]
35522         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35523         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35524         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35526 2013-05-02  David S. Miller  <davem@davemloft.net>
35528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35530 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
35532         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35534 2013-05-01  Roland McGrath  <roland@hack.frob.com>
35536         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35538 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
35540         [BZ #14952]
35541         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35542         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35543         Use __attribute__ ((__gnu_inline__)).
35544         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35545         Don't use __attribute__ ((__gnu_inline__)).
35547 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
35549         [BZ #15423]
35550         * math/s_catan.c (__catan): Handle small real or imaginary part of
35551         input specially to avoid spurious underflow.
35552         * math/s_catanf.c (__catanf): Likewise.
35553         * math/s_catanh.c (__catanh): Likewise.
35554         * math/s_catanhf.c (__catanhf): Likewise.
35555         * math/s_catanhl.c (__catanhl): Likewise.
35556         * math/s_catanl.c (__catanl): Likewise.
35557         * math/libm-test.inc (catan_test): Add more tests.
35558         (catanh_test): Likewise.
35559         * sysdeps/i386/fpu/libm-test-ulps: Update.
35560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35562 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35566 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
35568         [BZ #15416]
35569         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35570         accurately for denominator in atan2.
35571         * math/s_catanf.c (__catanf): Likewise.
35572         * math/s_catanh.c (__catanh): Likewise.
35573         * math/s_catanhf.c (__catanhf): Likewise.
35574         * math/s_catanhl.c (__catanhl): Likewise.
35575         * math/s_catanl.c (__catanl): Likewise.
35576         * math/libm-test.inc (catan_test): Add more tests.
35577         (catanh_test): Likewise.
35578         * sysdeps/i386/fpu/libm-test-ulps: Update.
35579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35581 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35583         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35585         * benchtests/Makefile (bench): Remove slow benchmarks.
35586         * benchtests/atan-inputs: Add slow benchmark inputs.
35587         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35588         (BENCH_FUNC): Accept variant offset.
35589         (VARIANT): Define.
35590         * benchtests/bench-skeleton.c (main): Run benchmark for each
35591         variant.
35592         * benchtests/cos-inputs: Add slow benchmark inputs.
35593         * benchtests/exp-inputs: Likewise.
35594         * benchtests/pow-inputs: Likewise.
35595         * benchtests/sin-inputs: Likewise.
35596         * benchtests/slowatan-inputs: Remove.
35597         * benchtests/slowatan.c: Remove.
35598         * benchtests/slowcos-inputs: Remove.
35599         * benchtests/slowcos.c: Remove.
35600         * benchtests/slowexp-inputs: Remove.
35601         * benchtests/slowexp.c: Remove.
35602         * benchtests/slowpow-inputs: Remove.
35603         * benchtests/slowpow.c: Remove.
35604         * benchtests/slowsin-inputs: Remove.
35605         * benchtests/slowsin.c: Remove.
35606         * benchtests/slowtan-inputs: Remove.
35607         * benchtests/slowtan.c: Remove.
35608         * benchtests/tan-inputs: Add slow benchmark inputs.
35609         * scripts/bench.pl: Parse comments and directives.
35611         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
35612         in CPPFLAGS.
35613         ($(objpfx)bench-%.c): Remove *-ITER.
35614         * benchtests/bench-modf.c: Remove definition of ITER.
35615         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
35616         (main): Loop for DURATION seconds instead of fixed number of
35617         iterations.
35618         * scripts/bench.pl: Don't expect iterations in parameters.
35620 2013-04-29  Roland McGrath  <roland@hack.frob.com>
35622         * io/fchdir.c (__fchdir): Renamed from fchdir.
35623         (fchdir): Define as weak alias.
35625 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35627         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
35628         (ERRNO_EDOM): Likewise.
35629         (ERRNO_ERANGE): Likewise.
35630         (noErrnoTests): New variable.
35631         (init_max_error): Set errno to 0.
35632         (test_single_errno): New function.
35633         (test_errno): Likewise.
35634         (check_float_internal): Call test_errno.  Set errno to 0.
35635         (check_complex): Refer to errno tests in comment.
35636         (check_int): Call test_errno.  Set errno to 0.
35637         (check_long): Likewise.
35638         (check_bool): Likewise.
35639         (check_longlong): Likewise.
35640         (cos_test): Use ERRNO_* flags for errno tests instead of
35641         check_int.
35642         (expm1_test): Likewise.
35643         (fmod_test): Likewise.
35644         (ilogb_test): Likewise.
35645         (lgamma_test): Likewise.
35646         (pow_test): Likewise.
35647         (remainder_test): Likewise.
35648         (sin_test): Likewise.
35649         (tan_test): Likewise.
35650         (yn_test): Likewise.
35651         (initialize): Set errno to 0.
35652         (main): Print number of errno tests.
35653         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
35655 2013-04-29  Andreas Jaeger  <aj@suse.de>
35657         [BZ #15084]
35658         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
35659         and RES_USEVC.
35661         [BZ #15085]
35662         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
35663         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35664         unimplemented.
35666         [BZ #15380]
35667         * stdlib/random.c (__initstate): Return NULL if
35668         __initstate fails.
35670         [BZ #15086]
35671         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35672         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35673         RES_SNGLKUPREOP.
35675 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35679 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35681         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35682         of individual tests.
35683         (casin_test): Likewise.
35684         (casinh_test): Likewise.
35686 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
35688         [BZ #15409]
35689         * math/s_catan.c (__catan): Handle arguments with large real or
35690         imaginary part separately without squaring.
35691         * math/s_catanf.c (__catanf): Likewise.
35692         * math/s_catanh.c (__catanh): Likewise.
35693         * math/s_catanhf.c (__catanhf): Likewise.
35694         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35695         and redefine.
35696         (__catanhl): Handle arguments with large real or imaginary part
35697         separately without squaring.
35698         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35699         and redefine.
35700         (__catanl): Handle arguments with large real or imaginary part
35701         separately without squaring.
35702         * math/libm-test.inc (catan_test): Add more tests.
35703         (catanh_test): Likewise.
35704         * sysdeps/i386/fpu/libm-test-ulps: Update.
35705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35707 2013-04-27  Andreas Jaeger  <aj@suse.de>
35709         [BZ #15007]
35710         * stdlib/stdlib.h: Update guards for qecvt.
35711         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35712         <stdlib.h>.
35714 2013-04-27  Allan McRae  <allan@archlinux.org>
35716         * sysdeps/i386/fpu/libm-test-ulps: Update.
35718 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
35720         [BZ #15406]
35721         * math/s_catan.c: Include <float.h>.
35722         (__catan): Ensure underflow exception occurs for underflowed
35723         result.
35724         * math/s_catanf.c: Include <float.h>.
35725         (__catanf): Ensure underflow exception occurs for underflowed
35726         result.
35727         * math/s_catanh.c: Include <float.h>.
35728         (__catanh): Ensure underflow exception occurs for underflowed
35729         result.
35730         * math/s_catanhf.c: Include <float.h>.
35731         (__catanhf): Ensure underflow exception occurs for underflowed
35732         result.
35733         * math/s_catanhl.c: Include <float.h>.
35734         (__catanhl): Ensure underflow exception occurs for underflowed
35735         result.
35736         * math/s_catanl.c: Include <float.h>.
35737         (__catanl): Ensure underflow exception occurs for underflowed
35738         result.
35739         * math/libm-test.inc (catan_test): Add more tests.
35740         (catanh_test): Likewise.
35742         [BZ #15405]
35743         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35744         underflowed result.
35745         * math/s_ccoshf.c (__ccoshf): Likewise.
35746         * math/s_ccoshl.c (__ccoshl): Likewise.
35747         * math/s_csin.c (__csin): Likewise.
35748         * math/s_csinf.c (__csinf): Likewise.
35749         * math/s_csinh.c (__csinh): Likewise.
35750         * math/s_csinhf.c (__csinhf): Likewise.
35751         * math/s_csinhl.c (__csinhl): Likewise.
35752         * math/s_csinl.c (__csinl): Likewise.
35753         * math/libm-test.inc (ccos_test): Add more tests.
35754         (ccosh_test): Likewise.
35755         (csin_test): Likewise.
35756         (csinh_test): Likewise.
35758 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35760         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35761         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35762         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35763         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35764         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35765         powerpc/power5+/fpu folders.
35766         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35769 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35771         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35773 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
35775         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35776         additions to variable.
35777         [$(config-machine) = x86_64] (modules-names): Likewise.
35778         ($(objpfx)tst-audit3): Remove dependency.
35779         ($(objpfx)tst-audit3.out): Likewise.
35780         ($(objpfx)tst-audit4): Likewise.
35781         ($(objpfx)tst-audit4.out): Likewise.
35782         ($(objpfx)tst-audit5): Likewise.
35783         ($(objpfx)tst-audit5.out): Likewise.
35784         ($(objpfx)tst-audit6): Likewise.
35785         ($(objpfx)tst-audit6.out): Likewise.
35786         ($(objpfx)tst-audit7): Likewise.
35787         ($(objpfx)tst-audit7.out): Likewise.
35788         (tst-audit3-ENV): Remove variable.
35789         (tst-audit4-ENV): Likewise.
35790         (tst-audit5-ENV): Likewise.
35791         (tst-audit6-ENV): Likewise.
35792         (tst-audit7-ENV): Likewise.
35793         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35794         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35795         addition to variable.
35796         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35797         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35798         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35799         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35800         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35801         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35802         tst-audit3, tst-audit4 and tst-audit5.
35803         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35804         tst-audit6 and tst-audit7.
35805         [$(subdir) = elf] (modules-names): Add audit modules for those
35806         tests.
35807         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35808         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35809         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35810         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35811         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35812         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35813         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35814         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35815         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35816         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35817         [$(subdir) = elf] (tst-audit3-ENV): New variable.
35818         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35819         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35820         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35821         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35822         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35823         Likewise.
35824         [$(subdir) = elf && $(config-cflags-avx) = yes]
35825         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35826         [$(subdir) = elf && $(config-cflags-avx) = yes]
35827         (CFLAGS-tst-auditmod4a.c): Likewise.
35828         [$(subdir) = elf && $(config-cflags-avx) = yes]
35829         (CFLAGS-tst-auditmod4b.c): Likewise.
35830         [$(subdir) = elf && $(config-cflags-avx) = yes]
35831         (CFLAGS-tst-auditmod6b.c): Likewise.
35832         [$(subdir) = elf && $(config-cflags-avx) = yes]
35833         (CFLAGS-tst-auditmod6c.c): Likewise.
35834         [$(subdir) = elf && $(config-cflags-avx) = yes]
35835         (CFLAGS-tst-auditmod7b.c): Likewise.
35836         * elf/tst-audit3.c: Move to ...
35837         * sysdeps/x86_64/tst-audit3.c: ... here.
35838         * elf/tst-audit4.c: Move to ...
35839         * sysdeps/x86_64/tst-audit4.c: ... here.
35840         * elf/tst-audit5.c: Move to ...
35841         * sysdeps/x86_64/tst-audit5.c: ... here.
35842         * elf/tst-audit6.c: Move to ...
35843         * sysdeps/x86_64/tst-audit6.c: ... here.
35844         * elf/tst-audit7.c: Move to ...
35845         * sysdeps/x86_64/tst-audit7.c: ... here.
35846         * elf/tst-auditmod3a.c: Move to ...
35847         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35848         * elf/tst-auditmod3b.c: Move to ...
35849         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35850         * elf/tst-auditmod4a.c: Move to ...
35851         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35852         * elf/tst-auditmod4b.c: Move to ...
35853         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35854         * elf/tst-auditmod5a.c: Move to ...
35855         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35856         * elf/tst-auditmod5b.c: Move to ...
35857         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35858         * elf/tst-auditmod6a.c: Move to ...
35859         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35860         * elf/tst-auditmod6b.c: Move to ...
35861         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35862         * elf/tst-auditmod6c.c: Move to ...
35863         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35864         * elf/tst-auditmod7a.c: Move to ...
35865         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35866         * elf/tst-auditmod7b.c: Move to ...
35867         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35869 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
35871         [BZ #15366]
35872         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35873         define unconditionally.
35874         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35875         define unconditionally.
35876         (INT8_C, INT16_C, etc.): Likewise.
35878 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
35880         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35881         __ehdr_start with hidden visibility.
35883         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35885 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
35887         * math/libm-test.inc (cos_test): Use accurate hex constants.
35888         (sincost_test): Likewise.
35890 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
35892         * math/libm-test.inc (catan_test): Add more tests.
35893         (catanh_test): Likewise.
35895         * math/s_catanf.c (__catanf): Use suffixed floating-point
35896         constants.
35897         * math/s_catanhf.c (__catanhf): Likewise.
35898         * math/s_catanhl.c (__catanhl): Likewise.
35899         * math/s_catanl.c (__catanl): Likewise.
35901         [BZ #15394]
35902         * math/s_catan.c (__catan): Calculate imaginary part of result
35903         with log1p not log unless computing log of number close to 0.
35904         * math/s_catanf.c (__catanf): Likewise.
35905         * math/s_catanl.c (__catanl): Likewise.
35906         * math/s_catanh.c (__catanh): Calculate real part of result with
35907         log1p not log unless computing log of number close to 0.
35908         * math/s_catanhf.c (__catanhf): Likewise.
35909         * math/s_catanhl.c (__catanhl): Likewise.
35910         * math/libm-test.inc (catan_test): Add more tests.
35911         (catanh_test): Likewise.
35912         * sysdeps/i386/fpu/libm-test-ulps: Update.
35913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35915 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35917         * benchtests/Makefile: Mention files in which fast and slow
35918         paths of math functions are implemented.
35920 2013-04-23  Roland McGrath  <roland@hack.frob.com>
35922         * sysdeps/posix/timespec_get.c: New file.
35924 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35926         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35927         POWER.
35928         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35929         for POWER.
35930         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35931         powerpc/power5/fpu folders.
35932         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35933         * benchtests/Makefile: Add modf testcase.
35934         * benchtests/bench-modf.c: New file: Benchmark test for mo
35936 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35938         [BZ #14888]
35939         * time/Makefile (tests): Add tst-strptime-whitespace.
35940         * time/strptime_l.c (get_number): Use ISSPACE.
35941         (__strptime_internal): Likewise.
35942         * time/tst-strptime-whitespace.c: New test case.
35944 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
35946         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35947         member.
35948         (_nss_files_init): Set it here.
35950 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
35952         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35953         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35954         unsigned.
35956 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
35958         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35960 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35962         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35963         size just once.
35965 2013-04-21  David S. Miller  <davem@davemloft.net>
35967         * po/ru.po: Update Russion translation from translation project.
35969 2013-04-17  Adam Conrad  <adconrad@0c3.net>
35971         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35972         and setfsgid.
35974 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
35976         * configure.in: Remove i386 configure warning. Remove i386 case.
35977         * configure: Regenerate.
35978         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35979         Add example to error message.
35980         * sysdeps/i386/configure: Regenerate.
35982 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35984         * benchtests/Makefile (bench): Add cos, tan, slowcos and
35985         slowtan.
35986         * benchtests/cos-inputs: New file.
35987         * benchtests/slowcos-inputs: New file.
35988         * benchtests/slowcos.c: New file.
35989         * benchtests/slowtan-inputs: New file.
35990         * benchtests/slowtan.c: New file.
35991         * benchtests/tan-inputs: New file.
35993 2013-04-16  Roland McGrath  <roland@hack.frob.com>
35995         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
35996         considered kosher.
35998 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36000         * benchtests/Makefile: Include cppflags-iterator.mk to add
36001         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36003         * Makefile.in (bench-clean): New target.
36004         * benchtests/Makefile (bench-clean): Likewise.
36006 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36008         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36010 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36012         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36014 2013-04-15  Andreas Schwab  <schwab@suse.de>
36016         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36017         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36018         * nscd/pwdcache.c (cache_addpw): Likewise.
36019         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36020         more than recsize.
36022 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36024         * benchtests/Makefile (bench): Write all output to
36025         bench-out.tmp together.
36027 2013-04-15  Andreas Schwab  <schwab@suse.de>
36029         * nscd/nscd.c (main): Don't fork again after closing files.
36031 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36033         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36035         * benchtests/Rules (bench-deps): Collect dependencies into a
36036         single variable.  Add Makefile to dependencies.
36037         ($(objpfx)bench-%.c): Depend on bench-deps.
36039 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36040             Xavier Roche  <roche+kml2@exalead.com>
36042         [BZ #15361]
36043         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36044         just that it's a file descriptor.
36045         * manual/llio.texi (Synchronizing AIO Operations): Update description
36046         for EBADF error from aio_fsync.
36048 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36050         * Rules (bench): Move target definition...
36051         * benchtests/Makefile: ... here.
36053 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36055         * math/libm-test.inc (cos_test): Fix PI/2 test.
36056         (sincos_test): Likewise.
36057         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36058         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36060 2013-04-11  Andreas Schwab  <schwab@suse.de>
36062         [BZ #13988]
36063         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36064         accept exponent character only when digits were seen.
36065         * stdio-common/Makefile (tests): Add bug26.
36066         * stdio-common/bug26.c: New file.
36068         [BZ #14293]
36069         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36070         non-freeable.
36072 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36074         * Makeconfig (rtld-prefix): Define built linker prefix.
36075         * Rules (run-bench): Use it.
36076         * math/Makefile (run-regen-ulps): Likewise.
36078         * Rules (bench): Remove eval.
36080 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36081             Roland McGrath  <roland@hack.frob.com>
36082             Ondrej Bilka  <neleai@seznam.cz>
36084         [BZ #15346]
36085         * time/getdate.c: Include ctype.h and alloca.h.
36086         (__getdate_r): Trim leading and trailing spaces of input.
36087         * time/tst-getdate.c (tests): Add tests with leading and
36088         trailing spaces.
36090 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36092         [BZ #14280]
36093         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36094         when computing value.
36096 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36098         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36099         Use testrun.sh to run libm tests.
36101         [BZ #15309]
36102         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36104 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36106         [BZ #15264]
36107         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36109 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36111         * Makefile.in (regen-ulps): New target.
36112         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36113         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36114         [ifneq (no,$(PERL)] (regen-ulps): New target.
36115         [ifeq (no,$(PERL)] (regen-ulps): New target.
36116         * math/libm-test.inc (ulps_file_name): Define.
36117         (output_dir): New variable.
36118         (options): Add "output-dir" option.
36119         (parse_opt): Handle 'o' case.
36120         (main): If output_dir is non-NULL use it as a prefix
36121         otherwise use "".
36122         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36124 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36126         [BZ #10060, #10062]
36127         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36128         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36129         fail configure if __sync_val_compare_and_swap is not inlined.
36130         * sysdeps/i386/configure: Regenerate.
36131         * configure.in: Build for i686 when configured for i386.
36132         * configure: Regenerate.
36133         * README: Remove i386 reference.
36135 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36137         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36138         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36140 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36142         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36143         (lmsnanval): New variables.
36144         (F): Add conversion tests.
36145         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36146         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36148         * stdio-common/tstdiomisc.c (F): Properly collect individual
36149         tests' results.
36151         [BZ #14686, #15336]
36152         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36153         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36154         Instead, use input NaN values or generate a qNaN by arithmetic
36155         operation.  Also fix bugs to comply with the standard.
36156         * math/libm-test.inc (remainder_test): Add more tests.
36158         [BZ #15335, #15342]
36159         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36160         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36161         input NaN values or generate a qNaN by arithmetic operation.
36163         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36164         unreachable code.
36166         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36167         definitions.
36169 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36171         [BZ #14478]
36172         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36173         underflowed result.
36174         * math/s_cexpf.c (__cexpf): Likewise.
36175         * math/s_cexpl.c (__cexpl): Likewise.
36176         * math/libm-test.inc (cexp_test): Add more tests.
36178 2013-04-03  Andreas Schwab  <schwab@suse.de>
36180         [BZ #15330]
36181         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36182         order arrays from heap if bigger than alloca cutoff.
36184 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36186         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36187         (SNAN_TESTS_double): Refer to GCC PR56831.
36188         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36189         GCC PR56828.
36191 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36193         * Rules (bench): Move bench.out after the run is complete.
36195         * Rules (bench): Echo currently running benchmark.
36197         * benchtests/Makefile (bench): Add atan and slowatan.
36198         * benchtests/atan-inputs: New file.
36199         * benchtests/slowatan-inputs: New file.
36200         * benchtests/slowatan.c: New file.
36202         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36203         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36204         its value.
36206         [BZ #15305]
36207         * sysdeps/unix/sysv/linux/kernel-features.h
36208         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36209         __ASSUME_XFS_RESTRICTED_CHOWN.
36210         * sysdeps/unix/sysv/linux/pathconf.c
36211         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36212         Save and restore errno.
36214 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36216         [BZ #15327]
36217         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36218         arguments using __kernel_casinh.
36219         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36220         arguments using __kernel_casinhf.
36221         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36222         arguments using __kernel_casinhl.
36223         * math/libm-test.inc (cacosh_test): Add more tests.
36224         * sysdeps/i386/fpu/libm-test-ulps: Update.
36225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36227 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36229         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36230         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36232         * bench/Makefile (bench): Add sin and slowsin.
36233         * benchtests/sin-inputs: New file.
36234         * benchtests/slowsin-inputs: New file.
36235         * benchtests/slowsin.c: New file.
36237         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36238         (bench): Add slowexp and slowpow.
36239         (exp-ITER): Increase iterations.
36240         (pow-ITER): Likewise.
36241         * benchtests/exp-inputs: Change input.
36242         * benchtests/pow-inputs: Likewise.
36243         * benchtests/slowexp-inputs: New file.
36244         * benchtests/slowexp.c: New file.
36245         * benchtests/slowpow-inputs: New file.
36246         * benchtests/slowpow.c: New file.
36248 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36250         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36251         instructions.
36252         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36253         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36254         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36255         * benchtests/Makefile: Add rint benchtest.
36256         * benchtests/rint-inputs: Input for rint benchtest.
36258 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36260         * Versions.def (libm): Add GLIBC_2.18.
36261         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36262         hidden libm prototypes.
36263         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36264         * math/Makefile (libm-calls): Add s_issignaling.
36265         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36266         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36267         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36268         declaration.
36269         * math/math.h [__USE_GNU] (issignaling): New macro.
36270         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36271         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36272         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36273         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36274         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36275         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36276         * manual/arith.texi (issignaling): New section.
36277         * manual/libm-err-tab.pl (@all_functions): Update comment.
36278         * math/gen-libm-test.pl (parse_args): Apply special handling for
36279         issignaling.
36280         * math/libm-test.inc (print_float, issignaling_test): New
36281         functions.
36282         (check_float_internal): Add issignaling checks.
36283         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36284         default definition.
36285         * sysdeps/powerpc/math-tests.h: New file.
36286         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36287         tests.
36288         * math/test-snan.c (TEST_FUNC): Likewise.
36290 2013-03-30  David S. Miller  <davem@davemloft.net>
36292         * po/de.po: Update from translation team.
36294 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36296         [BZ #10357]
36297         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36298         imaginary part less than 1.0 and real part less than 0.5
36299         specially.
36300         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36301         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36302         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36303         (cacos_test): Add more tests.
36304         (casin_test): Likewise.
36305         (casinh_test): Likewise.
36306         * sysdeps/i386/fpu/libm-test-ulps: Update.
36307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36309 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36311         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36312         ONE with its value.
36314         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36315         (__pow_mp): Replace ONE and MONE with their values.
36316         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36317         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36318         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36319         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36320         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36321         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36323         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36325         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36326         (__pow_mp): Replace ZERO and MZERO with their values.
36327         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36328         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36329         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36330         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36331         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36332         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36333         (__sqr): Likewise.
36335         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36337         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36339 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36341         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36342         Declare with __attribute__ ((weak)).
36343         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36344         Call __call_tls_dtors only if it's not NULL.
36346 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36348         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36349         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36350         magic __ehdr_start linker symbol if it's defined.
36351         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36352         them up here if it was already done.
36354         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36355         (_dl_aux_init): Use const in cast when setting it.
36356         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36357         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36358         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36360         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36361         Declare them here.
36362         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36363         * csu/libc-tls.c: Nor here.
36364         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36366         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36367         (__libc_message): Never call vsyslog.
36369 2013-03-28  Alan Modra  <amodra@gmail.com>
36371         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36372         Define as empty.
36373         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36374         Likewise.
36376 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36378         [BZ #15214]
36379         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36380         underflow.
36381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36383 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36385         [BZ #15304]
36386         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36387         Don't add gid passed as argument.
36389         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36391 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36393         [BZ #15307]
36394         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36395         imaginary part between 1.0 and 1.5 and real part less than 0.5
36396         specially.
36397         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36398         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36399         * math/libm-test.inc (cacos_test): Add more tests.
36400         (casin_test): Likewise.
36401         (casinh_test): Likewise.
36402         * sysdeps/i386/fpu/libm-test-ulps: Update.
36403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36405 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36407         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36408         constants.
36409         (norm): Likewise.
36410         (denorm): Likewise.
36411         (__dbl_mp): Likewise.
36412         (add_magnitudes): Likewise.
36413         (sub_magnitudes): Likewise.
36414         (__add): Likewise.
36415         (__sub): Likewise.
36416         (__mul): Likewise.
36417         (__sqr): Likewise.
36418         (__inv): Likewise.
36419         (__dvd): Likewise.
36421         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36422         commented code.
36423         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36424         (__dubcos): Likewise.
36425         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36426         (__ieee754_acos): Likewise.
36427         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36428         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36429         (__exp1): Likewise.
36430         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36431         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36432         (log1): Likewise.
36433         (my_log2): Likewise.
36434         (checkint): Likewise.
36435         * sysdeps/ieee754/dbl-64/e_remainder.c
36436         (__ieee754_remainder): Likewise.
36437         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36438         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36439         (bsloww): Likewise.
36440         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36442         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36443         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36444         MANTISSA_STORE_T to store computations on mantissa.  Use
36445         macros for rounding and division.
36446         (denorm): Likewise.
36447         (__dbl_mp): Likewise.
36448         (add_magnitudes): Likewise.
36449         (sub_magnitudes): Likewise.
36450         (__mul): Likewise.
36451         (__sqr): Likewise.
36452         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36453         powers of two in terms of TWOPOW macro.
36454         (mp_no): Make type of mantissa as MANTISSA_T.
36455         [!RADIXI]: Define RADIXI.
36456         [!TWO52]: Define TWO52.
36457         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36459 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36461         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36462         llroundl symbol when building for PPC32.
36464 2013-03-24  Mark H Weaver  <mhw@netris.org>
36466         * manual/arith.texi (Normalization Functions): Fix prototypes for
36467         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36469 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36471         [BZ #13889]
36472         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36473         high value to check if expl overflow.
36474         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36475         to check for underflow and overflow.
36476         * math/libm-test.inc: Add exp test.
36478 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
36480         [BZ #11120]
36481         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36482         with NOT_IN_libc.
36484 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36486         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36487         symbol.
36489 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36491         * math/gen-libm-test.pl (parse_args, special_functions): Properly
36492         wrap blocks consisting of several statements.
36494         * sysdeps/generic/math-tests.h: New file.
36495         * sysdeps/i386/fpu/math-tests.h: Likewise.
36496         * math/test-snan.c: Include it.
36497         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36499 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36501         [BZ #15285]
36502         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36503         (__ieee754_j0l): Do not improve calculations using cos of twice
36504         input for inputs above LDBL_MAX / 2.0L.
36505         (__ieee754_y0l): Likewise.
36506         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36507         (__ieee754_j1l): Do not improve calculations using cos of twice
36508         input for inputs above LDBL_MAX / 2.0L.
36509         (__ieee754_y1l): Likewise.
36510         * math/libm-test.inc (j0_test): Add another test.
36511         (j1_test): Likewise.
36512         (y0_test): Likewise.
36513         (y1_test): Likewise.
36514         * sysdeps/i386/fpu/libm-test-ulps: Update.
36516 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36518         * Rules ($(objpfx)bench-%.c): Include code from a C source
36519         file.
36521 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36523         [BZ #15287]
36524         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36525         imaginary part 1.0 and real part less than 0.5 specially.
36526         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36527         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36528         * math/libm-test.inc (cacos_test): Add more tests.
36529         (casin_test): Likewise.
36530         (casinh_test): Likewise.
36531         * sysdeps/i386/fpu/libm-test-ulps: Update.
36532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36534 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36536         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36537         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36539 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
36541         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36542         * config.make.in (config-cflags-sse4): Remove variable.
36543         (config-cflags-avx): Likewise.
36544         (config-cflags-sse2avx): Likewise.
36545         (config-cflags-novzeroupper): Likewise.
36546         (config-asflags-i686): Likewise.
36547         (have-mfma4): Likewise.
36548         (have-as-vis3): Likewise.
36549         (MIG): Likewise.
36550         * configure.in (MIG): Do not AC_SUBST.
36551         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36552         (libc_cv_cc_sse4): Do not AC_SUBST.
36553         (libc_cv_cc_avx): Likewise.
36554         (libc_cv_cc_sse2avx): Likewise.
36555         (libc_cv_cc_novzeroupper): Likewise.
36556         (libc_cv_cc_fma4): Likewise.
36557         (libc_cv_as_i686): Likewise.
36558         (libc_cv_sparc_as_vis3): Likewise.
36559         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36560         LIBC_CONFIG_VAR.
36561         (config-asflags-i686): Likewise.
36562         (config-cflags-avx): Likewise.
36563         (config-cflags-sse2avx): Likewise.
36564         (have-mfma4): Likewise.
36565         (config-cflags-novzeroupper): Likewise.
36566         * sysdeps/mach/configure.in (MIG): Likewise.
36567         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36568         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36569         LIBC_CONFIG_VAR.
36570         (config-cflags-avx): Likewise.
36571         (config-cflags-sse2avx): Likewise.
36572         (have-mfma4): Likewise.
36573         (config-cflags-novzeroupper): Likewise.
36574         * configure: Regenerated.
36575         * sysdeps/i386/configure: Likewise.
36576         * sysdeps/mach/configure: Likewise.
36577         * sysdeps/sparc/configure: Likewise.
36578         * sysdeps/x86_64/configure: Likewise.
36580 2013-03-20  Roland McGrath  <roland@hack.frob.com>
36582         [BZ #14812]
36583         * locale/programs/localedef.c (options): Put N_ translation marker
36584         on argument names, not just descriptions.
36586 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36588         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36590 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
36592         [BZ #14176]
36593         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36595 2013-03-19  Roland McGrath  <roland@hack.frob.com>
36597         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36598         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36599         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36600         [!BEFORE_ABORT] (before_abort): New function.
36601         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36602         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
36603         (writev_for_fatal): New function.
36604         (WRITEV_FOR_FATAL): New macro; call that.
36605         (backtrace_and_maps): New function.
36606         (BEFORE_ABORT): New macro; call that.
36607         (struct str_list): Type removed.
36608         (__libc_message, __libc_fatal): Functions removed.
36609         Include <sysdeps/posix/libc_fatal.c> instead.
36611 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
36613         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
36614         constants.
36615         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
36616         double constants.
36618 2013-03-19  Andreas Schwab  <schwab@suse.de>
36620         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
36621         * sysdeps/gnu/configure: Regenerate.
36623         * configure.in: Substitute libc_cv_rtlddir.
36624         * configure: Regenerate.
36625         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
36626         * Makeconfig (rtlddir, inst_rtlddir): New variables.
36627         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
36628         * elf/Makefile (install-others, CFLAGS-interp.c)
36629         (ldso_install, common-ldd-rewrite): Likewise.
36630         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
36631         $(inst_slibdir)/$(rtld-installed-name).
36632         * scripts/rellns-sh: Add -p option.
36633         * Makerules (make-shlib-link): Use rellns-sh to get relative name
36634         for source.
36636 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36638         * manual/nptl.texi: Renamed to ...
36639         * manual/threads.texi: ... this.
36640         * manual/Makefile (chapters): Update.
36642 2013-03-18  Roland McGrath  <roland@hack.frob.com>
36644         [BZ #14812]
36645         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
36646         on argument names, not just descriptions.
36647         * malloc/memusagestat.c (options): Likewise.
36648         * nss/getent.c (options): Likewise.
36650 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
36652         [BZ #14812]
36653         * iconv/iconv_prog.c (options): Put N_ translation marker
36654         on argument names, not just descriptions.
36655         * iconv/iconvconfig.c (options): Likewise.
36657 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
36659         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
36660         implementation which is faster on all x86_64 architectures.
36661         Tested on AMD, Intel Nehalem, SNB, IVB.
36662         * sysdeps/x86_64/strnlen.S: Likewise.
36664         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36665         Remove all multiarch strlen and strnlen versions.
36666         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36667         Remove strlen and strnlen related parts.
36669         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36670         Inline strlen part.
36671         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36673         * sysdeps/x86_64/multiarch/strlen.S: Remove.
36674         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36675         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36676         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36677         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36678         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36680 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
36682         * manual/memory.texi (Malloc Tunable Parameters):
36683         Sort parameters alphabetically. Add comments for missing entries.
36685 2013-03-17  David S. Miller  <davem@davemloft.net>
36687         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36689 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
36691         [BZ #15283]
36692         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36693         for arguments at most half maximum finite value.
36694         * math/libm-test.inc (j0_test): Add more tests.
36695         (j1_test): Likewise.
36696         (y0_test): Likewise.
36697         (y1_test): Likewise.
36698         * sysdeps/i386/fpu/libm-test-ulps: Update.
36699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36701         [BZ #14155]
36702         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36703         1 / x and functions P and Q for arguments above 0x1p256L.
36704         (__ieee754_y0l): Likewise.
36705         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36706         (__ieee754_y1l): Likewise.
36707         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36708         (j1_test): Likewise.
36709         (y0_test): Likewise.
36710         (y1_test): Likewise.
36712 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
36714         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36715         variable.
36717 2013-03-15  Roland McGrath  <roland@hack.frob.com>
36719         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36720         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36721         zero since it's initialized to EXEC_PAGESIZE.
36723         * sysdeps/unix/sysv/linux/ldsodefs.h
36724         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36725         * sysdeps/generic/ldsodefs.h: ... here.
36727 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
36729         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36731         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36732         math/test-snan.c.
36733         * math/test-snan.c: Renamed from
36734         sysdeps/powerpc/fpu/test-powerpc-snan.c.
36735         * math/Makefile (tests): Add test-snan.
36736         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36737         test-powerpc-snan.
36739         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36740         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
36741         functions.
36742         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
36743         __builtin_nan family of functions.
36744         * math/libm-test.inc (initialize): Initialize qnan_value with
36745         __builtin_nan family of functions.
36746         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36747         Remove variables.
36748         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36749         Remove functions.
36750         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
36751         storage class.  Initialize qNaN_var and sNaN_var with
36752         __builtin_nan and __builtin_nans families of functions,
36753         respectively.
36755         * math/libm-test.inc (acosh_test): Also test with qNaN input.
36756         (sqrt_test): Remove duplicate test with qNaN input.
36757         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36758         (round_test, signbit_test, significand_test): Note missing +/-Inf
36759         as well as qNaN tests.
36761         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36762         qNaN_var.  Fix a few strings, too.
36763         * math/libm-test.inc (nan_value): Rename to qnan_value.
36764         * math/gen-libm-test.pl (%beautify): Adjust to that.
36765         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36766         * math/test-misc.c (main): Likewise.
36767         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36768         to __qnan_bytes, and __qnan_union, respectively.
36769         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36770         Likewise.
36771         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36772         and lqnanval, respectively.
36773         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36774         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36775         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36776         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36778         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36779         * math/test-misc.c (main) [__x86_64__]: Enable test for long
36780         doubles.
36782         * math/test-misc.c (main): Fix copy'n'pastos.
36783         * misc/tst-efgcvt.c (special): Likewise.
36785         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36786         Remove declarations.
36788 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36790         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36791         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36792         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36793         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36795 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36797         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36798         macro to return vdso values correctly in IFUNC implementations.
36799         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36800         Optimization by using IFUNC.
36802 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36803             Richard Henderson  <rth@redhat.com>
36804             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36806         * Makefile.in (bench): New target.
36807         * NEWS: Mention the benchmark framework.
36808         * Rules (bench): Likewise.
36809         (binaries-bench): Generate binaries for functions to
36810         benchmark.
36811         * benchtests/Makefile: New makefile for benchmark tests.
36812         * benchtests/bench-skeleton.c: New skeleton file for benchmark
36813         programs.
36814         * benchtests/exp-inputs: New input file for EXP function.
36815         * benchtests/pow-inputs: New input file for POW function.
36816         * scripts/bench.pl: New script to generate source files for
36817         benchmark programs.
36819 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36821         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36822         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36823         computations on mantissa.  Use macros for rounding and
36824         division.
36825         (denorm): Likewise.
36826         (__dbl_mp): Likewise.
36827         (add_magnitudes): Likewise.
36828         (sub_magnitudes): Likewise.
36829         (__mul): Likewise.
36830         (__sqr): Likewise.
36831         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36832         powers of two in terms of TWOPOW macro.
36833         (mp_no): Make type of mantissa as MANTISSA_T.
36834         [!RADIXI]: Define RADIXI.
36835         [!TWO52]: Define TWO52.
36836         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36838         * manual/nptl.texi (cindex): Modify threads to pthreads.
36840 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
36842         * sysdeps/x86_64/preconfigure: Regenerated.
36844 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
36846         [BZ #14155]
36847         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36848         0x1p28 and above.
36849         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36850         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36851         0x1p28 and above.
36852         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36853         * math/libm-test.inc (j0_test): Do not allow one spurious
36854         underflow exception.
36855         (y1_test): Likewise.
36857 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36859         * manual/Makefile (chapters): Add nptl.
36860         * manual/debug.texi (Debugging Support): Add link to Threads
36861         chapter.
36862         * manual/nptl.texi: New file.
36864         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36866 2013-03-14  Petr Baudis  <pasky@ucw.cz>
36868         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36869         for non-NULL pointer before the memory validity test. Pointed
36870         out by Holger Brunck <holger.brunck@keymile.com>.
36872 2013-03-13  Andreas Schwab  <schwab@suse.de>
36874         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36875         instead of .os.
36877 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
36879         * timezone/zic.c: Update from tzcode 2013b.
36881 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
36883         * manual/install.texi (Configuring and compiling):
36884         Mention i686 and i586.
36885         * INSTALL: Regenerate.
36887 2013-03-12  Roland McGrath  <roland@hack.frob.com>
36889         * sysdeps/init_array/elf-init.c: New file.
36890         * csu/elf-init.c
36891         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36892         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36894         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36895         __gmon_start__ as global, but as static with a .preinit_array pointer.
36896         * sysdeps/init_array/gmon-start.c: New file.  Use that.
36897         * sysdeps/init_array/crti.S: New file, empty except for comments.
36898         * sysdeps/init_array/crtn.S: Likewise.
36900 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
36902         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36903         definining bcopy.
36904         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36905         Remove Prefer_SSE_for_memop.
36906         * sysdeps/x86_64/multiarch/init-arch.h: Remove
36907         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36908         HAS_PREFER_SSE_FOR_MEMOP.
36909         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36910         memset-x86-64.
36911         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36912         Remove bzero, memset ifunc support.
36913         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36914         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36915         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36916         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36918 2013-03-11  Andreas Schwab  <schwab@suse.de>
36920         [BZ #15234]
36921         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36922         by SHLIB_COMPAT.
36923         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36924         (GLIBC_2.16): Remove pthread_atfork.
36926 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36928         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36929         (ptestcases.h): Likewise.
36931 2013-03-08  Roland McGrath  <roland@hack.frob.com>
36933         * Makeconfig ($(common-objpfx)config.status): Depend on
36934         sysdeps/*/preconfigure{,.in} too.
36936 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
36938         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36939         (__free_hook): Use void * instead of __malloc_ptr_t.
36940         (__malloc_hook): Likewise.
36941         (__realloc_hook): Likewise.
36942         (__memalign_hook): Likewise.
36943         (__after_morecore_hook): Likewise.
36944         * malloc/arena.c (save_malloc_hook): Likewise.
36945         (save_free_hook): Likewise.
36946         * malloc/hooks.c (malloc_hook_ini): Likewise.
36947         (realloc_hook_ini): Likewise.
36948         (memalign_hook_ini): Likewise.
36949         * malloc/malloc.c (malloc_hook_ini): Likewise.
36950         (realloc_hook_ini): Likewise.
36951         (memalign_hook_ini): Likewise.
36952         (__free_hook): Likewise.
36953         (__malloc_hook): Likewise.
36954         (__realloc_hook): Likewise.
36955         (__memalign_hook): Likewise.
36956         (__libc_malloc): Likewise.
36957         (__libc_free): Likewise.
36958         (__libc_realloc): Likewise.
36959         (__libc_memalign): Likewise.
36960         (__libc_valloc): Likewise.
36961         (__libc_pvalloc): Likewise.
36962         (__libc_calloc): Likewise.
36963         (__posix_memalign): Likewise.
36964         * malloc/morecore.c (__sbrk): Likewise.
36965         (__default_morecore): Likewise.
36967         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36969         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36970         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36971         __malloc_ptrdiff_t.
36973         * malloc/malloc.h (__malloc_size_t): Remove macro.
36974         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36975         __malloc_size_t.
36976         (old_memalign_hook): Likewise.
36977         (old_realloc_hook): Likewise.
36978         (struct hdr): Likewise.
36979         (flood): Likewise.
36980         (mallochook): Likewise.
36981         (memalignhook): Likewise.
36982         (reallochook): Likewise.
36983         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
36984         (tr_old_realloc_hook): Likewise.
36985         (tr_old_memalign_hook): Likewise.
36986         (tr_mallochook): Likewise.
36987         (tr_reallochook): Likewise.
36988         (tr_memalignhook): Likewise.
36990 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36992         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
36993         default_ldbl_pack and using as default implementation.
36994         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
36995         implementation.
36996         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
36997         redundant definition.
36998         (ldbl_insert_mantissa): Likewise.
36999         (ldbl_canonicalize): Likewise.
37000         (ldbl_nearbyint): Likewise.
37001         (ldbl_pack): Rename to ldbl_pack_ppc.
37002         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37003         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37004         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37006 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37008         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37009         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37010         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37011         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37012         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37013         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37014         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37015         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37017 2013-03-07  Andreas Jaeger  <aj@suse.de>
37019         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37020         bits/mman-linux.h.
37022 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37024         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37025         Include mpa.h and declare __MPEXP.
37026         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37027         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37028         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37029         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37030         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37031         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37032         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37034         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37035         (__slowpow): Use long double EXPL and LOGL functions to
37036         compute POW.
37037         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37038         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37039         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37040         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37041         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37042         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37044         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37045         intermediate variable to calculate exponent.
37046         (__sqr): Likewise.
37047         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37048         Likewise.
37049         (__sqr): Likewise.
37051         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37052         [!NO__SQR]: Define __sqr.
37053         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37054         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37055         sysdeps/ieee754/dbl-64/mpa.c.
37056         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37058         [BZ #12723]
37059         * posix/Makefile (tests): Add tst-pathconf.
37060         * posix/tst-pathconf.c: New test case.
37061         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37062         _PC_PIPE_BUF.
37063         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37065 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37067         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37069 2013-03-06  Andreas Jaeger  <aj@suse.de>
37071         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37072         definition via __MAP_ANONYMOUS.
37074         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37075         it's not part of Linux headers.
37077         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37078         (MAP_HUGE_MASK): Define.
37080         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37081         Define.
37082         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37083         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37084         Define.
37085         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37086         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37087         Define.
37088         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37089         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37090         Define.
37091         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37093         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37094         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37095         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37096         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37097         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37098         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37100         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37101         Handle f2fs.
37103         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37104         Handle f2fs and efivarfs.
37106         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37107         f2fs.
37109         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37110         (EFIVARFS_MAGIC): Add.
37111         (F2FS_LINK_MAX): Add.
37113 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37115         * stdio-common/vfprintf.c: Replace __builtin_expect with
37116         __glibc_unlikely.
37118 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37120         [BZ #13550]
37121         * sysdeps/generic/bp-sym.h: Remove file.
37122         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37123         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37124         <bp-sym.h> and <bp-asm.h>.
37125         (__longjmp): Don't use BP_SYM.
37126         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37127         and <bp-asm.h>.
37128         (memcpy): Don't use BP_SYM.
37129         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37130         <bp-sym.h> and <bp-asm.h>.
37131         (memcpy): Don't use BP_SYM.
37132         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37133         <bp-asm.h>.
37134         (memcpy): Don't use BP_SYM.
37135         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37136         <bp-asm.h>.
37137         (memset): Don't use BP_SYM.
37138         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37139         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37140         (__bzero): Don't use BP_SYM.
37141         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37142         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37143         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37144         <bp-sym.h> and <bp-asm.h>.
37145         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37146         pointers.
37147         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37148         <bp-sym.h> and <bp-asm.h>.
37149         (memcpy): Don't use BP_SYM.
37150         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37151         <bp-sym.h> and <bp-asm.h>.
37152         (memset): Don't use BP_SYM.
37153         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37154         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37155         (__bzero): Don't use BP_SYM.
37156         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37157         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37158         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37159         <bp-sym.h> and <bp-asm.h>.
37160         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37161         pointers.
37162         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37163         <bp-sym.h> and <bp-asm.h>.
37164         (memcpy): Don't use BP_SYM.
37165         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37166         <bp-sym.h> and <bp-asm.h>.
37167         (memset): Don't use BP_SYM.
37168         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37169         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37170         (__bzero): Don't use BP_SYM.
37171         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37172         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37173         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37174         <bp-sym.h> and <bp-asm.h>.
37175         (__memchr): Don't use BP_SYM.
37176         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37177         <bp-sym.h> and <bp-asm.h>.
37178         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37179         pointers.
37180         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37181         <bp-sym.h> and <bp-asm.h>.
37182         (memcpy): Don't use BP_SYM.
37183         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37184         <bp-sym.h> and <bp-asm.h>.
37185         (__mempcpy): Don't use BP_SYM.
37186         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37187         <bp-sym.h> and <bp-asm.h>.
37188         (__memrchr): Don't use BP_SYM.
37189         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37190         <bp-sym.h> and <bp-asm.h>.
37191         (memset): Don't use BP_SYM.
37192         (__bzero): Likewise.
37193         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37194         <bp-sym.h> and <bp-asm.h>.
37195         (__rawmemchr): Don't use BP_SYM.
37196         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37197         <bp-sym.h> and <bp-asm.h>.
37198         (__STRCMP): Don't use BP_SYM.
37199         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37200         <bp-sym.h> and <bp-asm.h>.
37201         (strchr): Don't use BP_SYM.
37202         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37203         <bp-sym.h> and <bp-asm.h>.
37204         (__strchrnul): Don't use BP_SYM.
37205         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37206         <bp-sym.h> and <bp-asm.h>.
37207         (strlen): Don't use BP_SYM.
37208         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37209         <bp-sym.h> and <bp-asm.h>.
37210         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37211         pointers.
37212         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37213         <bp-sym.h> and <bp-asm.h>.
37214         (__strnlen): Don't use BP_SYM.
37215         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37216         <bp-sym.h> and <bp-asm.h>.
37217         (__GI__setjmp): Don't use BP_SYM.
37218         (_setjmp): Likewise.
37219         (__sigsetjmp): Likewise.
37220         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37221         (L(start_addresses)): Don't use BP_SYM.
37222         (_start): Likewise.
37223         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37224         <bp-asm.h>.
37225         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37226         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37227         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37228         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37229         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37230         <bp-asm.h>.
37231         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37232         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37233         about bounded pointers.
37234         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37235         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37236         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37237         <bp-asm.h>.
37238         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37239         about bounded pointers.  Remove GKM FIXME comments.
37240         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37241         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37242         <bp-asm.h>.
37243         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37244         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37245         Remove GKM FIXME comments.
37246         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37247         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37248         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37249         <bp-asm.h>.
37250         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37251         about bounded pointers.  Remove GKM FIXME comment.
37252         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37253         and <bp-asm.h>.
37254         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37255         pointers.
37256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37257         <bp-sym.h> and <bp-asm.h>.
37258         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37260         <bp-sym.h> and <bp-asm.h>.
37261         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37262         comment.
37264 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37266         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37267         call free(NULL).
37269 2013-03-05  David S. Miller  <davem@davemloft.net>
37271         * po/es.po: Update from translation team.
37273 2013-03-05  Andreas Jaeger  <aj@suse.de>
37275         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37276         <bits/mman-linux.h>.
37277         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37278         is fine.
37279         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37280         <bits/mman-linux.h> to end of file.
37281         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37282         is fine.
37283         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37284         <bits/mman-linux.h> to end of file.
37285         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37286         is fine.
37287         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37288         <bits/mman-linux.h> to end of file.
37290         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37291         (MCL_CURRENT, MCL_FUTURE): Define here.
37293 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37295         [BZ #15232]
37296         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37297         attribute_hidden.
37298         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37300 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37302         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37303         fourth parameter needed for rt_sigprocmask syscall.
37304         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37305         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37306         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37307         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37308         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37309         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37311 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37313         [BZ #13550]
37314         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37315         comment about bounded pointers.
37316         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37317         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37319 2013-03-04  Andreas Jaeger  <aj@suse.de>
37321         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37322         common definitions.
37324         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37325         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37326         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37327         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37328         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37329         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37331 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37333         [BZ #15055]
37334         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37335         __ieee754_sqrl instead of __sqrl.
37337 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37339         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37340         * sysdeps/powerpc/fpu_control.h: ... here.
37341         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37342         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37343         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37344         * sysdeps/powerpc/bits/mathinline.h: ... here.
37346 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37348         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37349         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37350         to just [NEED_DL_SYSINFO_DSO].
37351         * elf/dl-support.c: Likewise.
37352         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37353         * elf/rtld.c (dl_main): Likewise.
37354         * elf/setup-vdso.h (setup_vdso): Likewise.
37355         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37356         * sysdeps/unix/sysv/linux/dl-sysdep.c
37357         (_dl_discover_osversion): Likewise.
37359 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37361         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37362         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37364 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37366         * NEWS: Mention libm performance improvements and non-x86 PI
37367         futex support.
37369         * csu/libc-start.c (__pthread_initialize_minimal): Change
37370         function arguments.
37371         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37373 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37375         [BZ #13550]
37376         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37377         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37378         <bp-sym.h> and <bp-asm.h>.
37379         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37380         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37381         and <bp-asm.h>.
37382         (memcpy): Don't use BP_SYM.
37383         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37384         <bp-asm.h>.
37385         (__mpn_add_n): Don't use BP_SYM.
37386         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37387         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37388         and <bp-asm.h>.
37389         (__mpn_addmul_1): Don't use BP_SYM.
37390         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37391         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37392         <bp-sym.h>.
37393         (_setjmp): Don't use BP_SYM.
37394         (__novmx_setjmp): Likewise.
37395         (__GI__setjmp): Likewise.
37396         (__vmx_setjmp): Likewise.
37397         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37398         <bp-sym.h>.
37399         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37400         (__bzero): Don't use BP_SYM.
37401         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37402         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37403         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37404         <bp-sym.h> and <bp-asm.h>.
37405         (memcpy): Don't use BP_SYM.
37406         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37407         <bp-sym.h> and <bp-asm.h>.
37408         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37409         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37410         <bp-sym.h> and <bp-asm.h>.
37411         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37412         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37413         <bp-asm.h>.
37414         (__mpn_lshift): Don't use BP_SYM.
37415         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37416         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37417         <bp-asm.h>.
37418         (memset): Don't use BP_SYM.
37419         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37420         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37421         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37422         <bp-asm.h>.
37423         (__mpn_mul_1): Don't use BP_SYM.
37424         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37425         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37426         <bp-sym.h> and <bp-asm.h>.
37427         (memcmp): Don't use BP_SYM.
37428         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37429         <bp-sym.h> and <bp-asm.h>.
37430         (memcpy): Don't use BP_SYM.
37431         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37432         <bp-sym.h> and <bp-asm.h>.
37433         (memset): Don't use BP_SYM.
37434         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37435         <bp-sym.h> and <bp-asm.h>.
37436         (strncmp): Don't use BP_SYM.
37437         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37438         <bp-sym.h> and <bp-asm.h>.
37439         (memcpy): Don't use BP_SYM.
37440         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37441         <bp-sym.h> and <bp-asm.h>.
37442         (memset): Don't use BP_SYM.
37443         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37444         <bp-sym.h> and <bp-asm.h>.
37445         (__memchr): Don't use BP_SYM.
37446         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37447         <bp-sym.h> and <bp-asm.h>.
37448         (memcmp): Don't use BP_SYM.
37449         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37450         <bp-sym.h> and <bp-asm.h>.
37451         (memcpy): Don't use BP_SYM.
37452         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37453         <bp-sym.h> and <bp-asm.h>.
37454         (__mempcpy): Don't use BP_SYM.
37455         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37456         <bp-sym.h> and <bp-asm.h>.
37457         (__memrchr): Don't use BP_SYM.
37458         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37459         <bp-sym.h> and <bp-asm.h>.
37460         (memset): Don't use BP_SYM.
37461         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37462         <bp-sym.h> and <bp-asm.h>.
37463         (__rawmemchr): Don't use BP_SYM.
37464         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37465         <bp-sym.h> and <bp-asm.h>.
37466         (__STRCMP): Don't use BP_SYM.
37467         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37468         <bp-sym.h> and <bp-asm.h>.
37469         (strchr): Don't use BP_SYM.
37470         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37471         <bp-sym.h> and <bp-asm.h>.
37472         (__strchrnul): Don't use BP_SYM.
37473         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37474         <bp-sym.h> and <bp-asm.h>.
37475         (strlen): Don't use BP_SYM.
37476         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37477         <bp-sym.h> and <bp-asm.h>.
37478         (strncmp): Don't use BP_SYM.
37479         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37480         <bp-sym.h> and <bp-asm.h>.
37481         (__strnlen): Don't use BP_SYM.
37482         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37483         <bp-asm.h>.
37484         (__mpn_rshift): Don't use BP_SYM.
37485         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37486         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37487         <bp-sym.h> and <bp-asm.h>.
37488         (__sigsetjmp): Don't use BP_SYM.
37489         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37490         (L(start_addresses)): Don't use BP_SYM.
37491         (_start): Likewise.
37492         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37493         <bp-asm.h>.
37494         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37495         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37496         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37497         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37498         <bp-asm.h>.
37499         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37500         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37501         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37502         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37503         <bp-asm.h>.
37504         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37505         comments.
37506         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37507         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37508         <bp-asm.h>.
37509         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
37510         FIXME comments.
37511         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37512         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37513         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37514         <bp-asm.h>.
37515         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37516         comment.
37517         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37518         and <bp-asm.h>.
37519         (strncmp): Don't use BP_SYM,
37520         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37521         <bp-asm.h>.
37522         (__mpn_sub_n): Don't use BP_SYM.
37523         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37524         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37525         and <bp-asm.h>.
37526         (__mpn_submul_1): Don't use BP_SYM.
37527         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37529         <bp-sym.h> and <bp-asm.h>.
37530         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37532         <bp-sym.h> and <bp-asm.h>.
37533         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37534         comment.
37536 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37538         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37539         Use ZK to minimize writes to Z.
37540         (sub_magnitudes): Simplify code a bit.
37541         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37542         Use ZK to minimize writes to Z.
37543         (sub_magnitudes): Simplify code a bit.
37545 2013-02-27  Roland McGrath  <roland@hack.frob.com>
37547         * csu/gmon-start.c: Add special exception to license text.
37549 2013-02-27  Richard Henderson  <rth@redhat.com>
37551         * scripts/config.guess: Update from config.git.
37552         * scripts/config.sub: Likewise.
37554 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37556         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37558         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37560         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37562         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37564         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37566 2013-02-26  Roland McGrath  <roland@hack.frob.com>
37568         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37569         [$(build-shared = yes].
37571 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37573         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37574         (__mul): Reduce iterations for calculating mantissa.
37576         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37577         MPTWO.
37578         (__mpranred): Likewise.
37580         [BZ #15160]
37581         * malloc/memusagestat.c (main): Draw graphs for heap and stack
37582         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37584 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
37586         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37587         Define __attribute__.
37589 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37591         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37592         unused.
37593         * posix/regex_internal.h (__attribute): Remove.
37594         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37595         (re_string_context_at): Likewise.
37596         (bitset_not): Use __attribute__ and mark function as possibly
37597         unused.
37598         (bitset_merge): Likewise.
37599         (bitset_mask): Likewise.
37600         (re_string_char_size_at): Likewise.
37601         (re_string_wchar_at): Likewise.
37602         (re_string_elem_size_at): Likewise.
37604 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37606         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37607         code.
37608         (cc32): Likewise.
37610         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
37611         (__acr): Likewise.
37612         (__cpy): Likewise.
37613         (norm): Likewise.
37614         (denorm): Likewise.
37615         (__dbl_mp): Likewise.
37616         (add_magnitudes): Likewise.
37617         (sub_magnitudes): Likewise.
37618         (__mul): Likewise.
37619         (__inv): Likewise.
37621         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
37622         style.
37624         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
37625         style.
37627         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
37628         code.
37630         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
37631         up changes with default code.
37632         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
37633         Likewise.
37635 2013-02-24  Allan McRae  <allan@archlinux.org>
37637         * manual/socket.texi (The Internet Namespace): Order menu items
37638         to match that in the file.
37640         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
37641         node listing of the info page menu.
37643 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
37645         [BZ #13550]
37646         * sysdeps/i386/bp-asm.h: Remove file.
37647         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37648         (PARMS): Do not use macros from bp-asm.h.
37649         (S1): Likewise.
37650         (S2): Likewise.
37651         (SIZE): Likewise.
37652         (__mpn_add_n): Do not use BP_SYM
37653         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
37654         "bp-asm.h".
37655         (PARMS): Do not use macros from bp-asm.h.
37656         (S1): Likewise.
37657         (SIZE): Likewise.
37658         (__mpn_addmul_1): Do not use BP_SYM
37659         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
37660         "bp-asm.h".
37661         (PARMS): Do not use macros from bp-asm.h.
37662         (SIGMSK): Likewise.
37663         (_setjmp): Likewise.  Do not use BP_SYM.
37664         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37665         "bp-asm.h".
37666         (PARMS): Do not use macros from bp-asm.h.
37667         (SIGMSK): Likewise.
37668         (setjmp): Likewise.  Do not use BP_SYM.
37669         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37670         "bp-asm.h".
37671         (PARMS): Do not use macros from bp-asm.h.
37672         (__frexp): Do not use BP_SYM.
37673         (frexp): Likewise.
37674         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37675         "bp-asm.h".
37676         (PARMS): Do not use macros from bp-asm.h.
37677         (__frexpf): Do not use BP_SYM.
37678         (frexpf): Likewise.
37679         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37680         "bp-asm.h".
37681         (PARMS): Do not use macros from bp-asm.h.
37682         (__frexpl): Do not use BP_SYM.
37683         (frexpl): Likewise.
37684         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37685         "bp-asm.h".
37686         (PARMS): Do not use macros from bp-asm.h.
37687         (__remquo): Do not use BP_SYM.
37688         (remquo): Likewise.
37689         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37690         "bp-asm.h".
37691         (PARMS): Do not use macros from bp-asm.h.
37692         (__remquof): Do not use BP_SYM.
37693         (remquof): Likewise.
37694         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37695         "bp-asm.h".
37696         (PARMS): Do not use macros from bp-asm.h.
37697         (__remquol): Do not use BP_SYM.
37698         (remquol): Likewise.
37699         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37700         "bp-asm.h".
37701         (PARMS): Do not use macros from bp-asm.h.
37702         (DEST): Likewise.
37703         (SRC): Likewise.
37704         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
37705         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37706         "bp-asm.h".
37707         (PARMS): Do not use macros from bp-asm.h.
37708         (strlen): Do not use BP_SYM.
37709         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37710         "bp-asm.h".
37711         (PARMS): Do not use macros from bp-asm.h.
37712         (S1): Likewise.
37713         (S2): Likewise.
37714         (SIZE): Likewise.
37715         (__mpn_add_n): Do not use BP_SYM.
37716         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37717         "bp-asm.h".
37718         (PARMS): Do not use macros from bp-asm.h.
37719         (S1): Likewise.
37720         (SIZE): Likewise.
37721         (__mpn_addmul_1): Do not use BP_SYM.
37722         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37723         weak_alias.
37724         (bzero): Likewise.
37725         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37726         "bp-asm.h".
37727         (PARMS): Do not use macros from bp-asm.h.
37728         (S): Likewise.
37729         (SIZE): Likewise.
37730         (__mpn_lshift): Do not use BP_SYM.
37731         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37732         "bp-asm.h".
37733         (PARMS): Do not use macros from bp-asm.h.
37734         (DEST): Likewise.
37735         (SRC): Likewise.
37736         (LEN): Likewise.
37737         (memcpy): Likewise.  Do not use BP_SYM.
37738         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37739         libc_hidden_def and weak_alias.
37740         (mempcpy): Do not use BP_SYM in weak_alias.
37741         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37742         "bp-asm.h".
37743         (PARMS): Do not use macros from bp-asm.h.
37744         (DEST): Likewise.
37745         (LEN): Likewise.
37746         [!BZERO_P] (CHR): Likewise.
37747         (memset): Likewise.  Do not use BP_SYM.
37748         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37749         "bp-asm.h".
37750         (PARMS): Do not use macros from bp-asm.h.
37751         (S1): Likewise.
37752         (SIZE): Likewise.
37753         (__mpn_mul_1): Do not use BP_SYM.
37754         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37755         "bp-asm.h".
37756         (PARMS): Do not use macros from bp-asm.h.
37757         (S): Likewise.
37758         (SIZE): Likewise.
37759         (__mpn_rshift): Do not use BP_SYM.
37760         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37761         "bp-asm.h".
37762         (PARMS): Do not use macros from bp-asm.h.
37763         (STR): Likewise.
37764         (CHR): Likewise.
37765         (strchr): Likewise.  Do not use BP_SYM.
37766         (index): Do not use BP_SYM in weak_alias.
37767         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37768         "bp-asm.h".
37769         (PARMS): Do not use macros from bp-asm.h.
37770         (DEST): Likewise.
37771         (SRC): Likewise.
37772         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
37773         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37774         "bp-asm.h".
37775         (PARMS): Do not use macros from bp-asm.h.
37776         (strlen): Do not use BP_SYM.
37777         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37778         "bp-asm.h".
37779         (PARMS): Do not use macros from bp-asm.h.
37780         (S1): Likewise.
37781         (S2): Likewise.
37782         (SIZE): Likewise.
37783         (__mpn_sub_n): Do not use BP_SYM.
37784         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37785         "bp-asm.h".
37786         (PARMS): Do not use macros from bp-asm.h.
37787         (S1): Likewise.
37788         (SIZE): Likewise.
37789         (__mpn_submul_1): Do not use BP_SYM.
37790         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37791         "bp-asm.h".
37792         (PARMS): Do not use macros from bp-asm.h.
37793         (S1): Likewise.
37794         (S2): Likewise.
37795         (SIZE): Likewise.
37796         (__mpn_add_n): Do not use BP_SYM.
37797         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37798         weak_alias.
37799         (bzero): Likewise.
37800         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37801         "bp-asm.h".
37802         (PARMS): Do not use macros from bp-asm.h.
37803         (BLK2): Likewise.
37804         (LEN): Likewise.
37805         (memcmp): Do not use BP_SYM.
37806         (bcmp): Do not use BP_SYM in weak_alias.
37807         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37808         "bp-asm.h".
37809         (PARMS): Do not use macros from bp-asm.h.
37810         (DEST): Likewise.
37811         (SRC): Likewise.
37812         (LEN): Likewise.
37813         (memcpy): Likewise.  Do not use BP_SYM.
37814         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37815         "bp-asm.h".
37816         (PARMS): Do not use macros from bp-asm.h.
37817         (DEST): Likewise.
37818         (SRC): Likewise.
37819         (LEN): Likewise.
37820         (memmove): Likewise.  Do not use BP_SYM.
37821         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37822         "bp-asm.h".
37823         (PARMS): Do not use macros from bp-asm.h.
37824         (DEST): Likewise.
37825         (SRC): Likewise.
37826         (LEN): Likewise.
37827         (__mempcpy): Likewise.  Do not use BP_SYM.
37828         (mempcpy): Do not use BP_SYM in weak_alias.
37829         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37830         "bp-asm.h".
37831         (PARMS): Do not use macros from bp-asm.h.
37832         (DEST): Likewise.
37833         (LEN): Likewise.
37834         [!BZERO_P] (CHR): Likewise.
37835         (memset): Likewise.  Do not use BP_SYM.
37836         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37837         "bp-asm.h".
37838         (PARMS): Do not use macros from bp-asm.h.
37839         (STR2): Likewise.
37840         (strcmp): Do not use BP_SYM.
37841         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37842         "bp-asm.h".
37843         (PARMS): Do not use macros from bp-asm.h.
37844         (STR): Likewise.
37845         (DELIM): Likewise.
37846         [USE_AS_STRTOK_R] (SAVE): Likewise.
37847         (FUNCTION): Likewise.  Do not use BP_SYM.
37848         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37849         aliases.
37850         (strtok_r): Likewise.
37851         (__GI___strtok_r): Likewise.
37852         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37853         (PARMS): Do not use macros from bp-asm.h.
37854         (S): Likewise.
37855         (SIZE): Likewise.
37856         (__mpn_lshift): Do not use BP_SYM.
37857         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37858         (PARMS): Do not use macros from bp-asm.h.
37859         (STR): Likewise.
37860         (CHR): Likewise.
37861         (__memchr): Do not use BP_SYM.
37862         (memchr): Do not use BP_SYM in weak_alias.
37863         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37864         (PARMS): Do not use macros from bp-asm.h.
37865         (BLK2): Likewise.
37866         (LEN): Likewise.
37867         (memcmp): Do not use BP_SYM.
37868         (bcmp): Do not use BP_SYM in weak_alias.
37869         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37870         (PARMS): Do not use macros from bp-asm.h.
37871         (S1): Likewise.
37872         (SIZE): Likewise.
37873         (__mpn_mul_1): Do not use BP_SYM.
37874         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37875         "bp-asm.h".
37876         (PARMS): Do not use macros from bp-asm.h.
37877         (STR): Likewise.
37878         (CHR): Likewise.
37879         (__rawmemchr): Do not use BP_SYM.
37880         (rawmemchr): Do not use BP_SYM in weak_alias.
37881         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37882         (PARMS): Do not use macros from bp-asm.h.
37883         (S): Likewise.
37884         (SIZE): Likewise.
37885         (__mpn_rshift): Do not use BP_SYM.
37886         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37887         (PARMS): Do not use macros from bp-asm.h.
37888         (SIGMSK): Likewise.
37889         (__sigsetjmp): Likewise.  Do not use BP_SYM.
37890         * sysdeps/i386/start.S: Do not include "bp-sym.h".
37891         (_start): Do not use BP_SYM.
37892         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37893         (PARMS): Do not use macros from bp-asm.h.
37894         (DEST): Likewise.
37895         (SRC): Likewise.
37896         (__stpcpy): Likewise.  Do not use BP_SYM.
37897         (stpcpy): Do not use BP_SYM in weak_alias.
37898         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37899         "bp-asm.h".
37900         (PARMS): Do not use macros from bp-asm.h.
37901         (DEST): Likewise.
37902         (SRC): Likewise.
37903         (LEN): Likewise.
37904         (__stpncpy): Likewise.  Do not use BP_SYM.
37905         (stpncpy): Do not use BP_SYM in weak_alias.
37906         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37907         (PARMS): Do not use macros from bp-asm.h.
37908         (STR): Likewise.
37909         (CHR): Likewise.
37910         (strchr): Likewise.  Do not use BP_SYM.
37911         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37912         "bp-asm.h".
37913         (PARMS): Do not use macros from bp-asm.h.
37914         (STR): Likewise.
37915         (CHR): Likewise.
37916         (__strchrnul): Likewise.  Do not use BP_SYM.
37917         (strchrnul): Do not use BP_SYM in weak_alias.
37918         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37919         "bp-asm.h".
37920         (PARMS): Do not use macros from bp-asm.h.
37921         (STOP): Likewise.
37922         (strcspn): Do not use BP_SYM.
37923         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37924         "bp-asm.h".
37925         (PARMS): Do not use macros from bp-asm.h.
37926         (STR): Likewise.
37927         (STOP): Likewise.
37928         (strpbrk): Likewise.  Do not use BP_SYM.
37929         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37930         "bp-asm.h".
37931         (PARMS): Do not use macros from bp-asm.h.
37932         (STR): Likewise.
37933         (CHR): Likewise.
37934         (strrchr): Likewise.  Do not use BP_SYM.
37935         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37936         (PARMS): Do not use macros from bp-asm.h.
37937         (SKIP): Likewise.
37938         (strspn): Do not use BP_SYM.
37939         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37940         (PARMS): Do not use macros from bp-asm.h.
37941         (STR): Likewise.
37942         (DELIM): Likewise.
37943         (SAVE): Likewise.
37944         (FUNCTION): Likewise.  Do not use BP_SYM.
37945         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37946         aliases.
37947         (strtok_r): Likewise.
37948         (__GI___strtok_r): Likewise.
37949         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37950         (PARMS): Do not use macros from bp-asm.h.
37951         (S1): Likewise.
37952         (S2): Likewise.
37953         (SIZE): Likewise.
37954         (__mpn_sub_n): Do not use BP_SYM.
37955         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37956         "bp-asm.h".
37957         (PARMS): Do not use macros from bp-asm.h.
37958         (S1): Likewise.
37959         (SIZE): Likewise.
37960         (__mpn_submul_1): Do not use BP_SYM.
37961         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37962         <bp-sym.h>.
37963         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37964         and <bp-asm.h>.
37965         (PARMS): Do not use macros from bp-asm.h.
37966         (FLAGS): Likewise.
37967         (PTID): Likewise.
37968         (TLS): Likewise.
37969         (CTID): Likewise.
37970         (__clone): Do not use BP_SYM.
37971         (clone): Do not use BP_SYM in weak_alias.
37972         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37973         and <bp-asm.h>.
37974         (PARMS): Do not use macros from bp-asm.h.
37975         (LEN): Likewise.
37976         (__mmap64): Do not use BP_SYM.
37977         (mmap64): Do not use BP_SYM in weak_alias.
37978         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37979         <bp-sym.h> and <bp-asm.h>.
37980         (PARMS): Do not use macros from bp-asm.h.
37981         (__posix_fadvise64_l64): Do not use BP_SYM.
37982         * sysdeps/unix/sysv/linux/i386/semtimedop.S
37983         (PARMS): Do not use macros from bp-asm.h.
37984         (NSOPS): Likewise.
37985         (semtimedop): Do not use BP_SYM.
37986         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
37987         and <bp-asm.h>.
37989 2013-02-21  Allan McRae  <allan@archlinux.org>
37991         * manual/message.texi (Charset conversion in gettext):
37992         Move @end statement to beginning of line.
37994 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37996         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
37997         static.
37998         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37999         Likewise.
38001         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38002         (denorm): Likewise.
38003         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38004         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38006 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38008         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38009         tail-call to the resolved function if pltexit isn't needed.
38011 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38013         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38014         or Y being zero as being unlikely.
38015         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38016         Likewise.
38018 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38020         * manual/nss.texi (System Databases and Name Service Switch):
38021         Remove frobnicate @pxref.
38023 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38025         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38026         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38028 2013-02-20  Petr Machata  <pmachata@redhat.com>
38030         * elf/elf.h (R_ARM_TARGET1): New macro.
38031         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38032         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38033         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38034         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38035         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38036         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38037         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38038         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38039         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38040         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38041         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38042         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38043         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38044         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38045         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38046         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38047         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38048         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38049         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38050         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38051         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38052         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38053         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38054         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38055         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38056         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38057         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38058         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38059         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38060         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38061         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38062         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38063         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38064         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38065         (R_ARM_THM_GOT_BREL12): Likewise.
38066         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38067         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38068         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38069         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38070         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38071         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38072         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38073         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38074         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38076 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38078         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38079         __attribute_used__ to __attribute__ ((unused)).
38081 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38083         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38084         powerpc mpa.c.
38085         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38086         comment formatting.
38087         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38089 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38091         [BZ #13550]
38092         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38093         Remove macro.
38094         (ENTER): Remove both macro definitions.
38095         (LEAVE): Likewise.
38096         (CHECK_BOUNDS_LOW): Likewise.
38097         (CHECK_BOUNDS_HIGH): Likewise.
38098         (CHECK_BOUNDS_BOTH): Likewise.
38099         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38100         (RETURN_BOUNDED_POINTER): Likewise.
38101         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38102         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38103         (POP_ERRNO_LOCATION_RETURN): Likewise.
38104         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38105         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38106         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38107         macros.
38108         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38109         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38110         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38111         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38112         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38113         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38114         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38115         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38116         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38117         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38118         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38119         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38120         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38121         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38122         removed macros.
38123         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38124         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38125         macros.
38126         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38127         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38128         * sysdeps/i386/i586/memset.S (memset): Likewise.
38129         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38130         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38131         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38132         macros.
38133         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38134         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38135         Change uses of L(2) to L(out).
38136         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38137         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38138         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38139         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38140         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38141         removed macros.
38142         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38143         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38144         macros.
38145         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38146         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38147         (RETURN): Do not use macro LEAVE.
38148         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38149         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38150         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38151         * sysdeps/i386/i686/memset.S (memset): Likewise.
38152         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38153         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38154         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38155         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38156         Likewise.
38157         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38158         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38159         L(1_2) and L(1_3) into L(1).
38160         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38161         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38162         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38163         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38164         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38165         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38166         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38167         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38168         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38169         macros.
38170         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38171         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38172         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38173         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38174         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38175         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38176         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38177         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38178         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38179         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38180         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38181         * sysdeps/i386/strspn.S (strspn): Likewise.
38182         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38183         conditional code.
38184         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38185         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38186         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38187         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38188         L(1_3) into L(1_1).
38189         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38190         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38191         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38192         macros.
38193         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38195 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38197         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38198         macro.
38200 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38202         * math/atest-exp.c (exp_mpn): Remove ROUND.
38203         * math/atest-exp2.c (exp_mpn): Likewise.
38204         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38206         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38207         * stdlib/tst-tls-atexit-lib.c: Likewise.
38208         * stdlib/tst-tls-atexit.c: Likewise.
38210 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38212         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38213         and __attribute_alloc_size__.
38215 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38217         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38218         __attribute_alloc_size__.
38219         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38220         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38222 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38224         * include/programs/xmalloc.h: New file.
38225         * catgets/gencat.c: Include it.
38226         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38227         * elf/pldd.c: Likewise.
38228         * iconv/iconv_charmap.c: Likewise.
38229         * iconv/iconvconfig.c: Likewise.
38230         * iconv/strtab.c: Likewise.
38231         * locale/programs/locale.c: Likewise.
38232         * locale/programs/localedef.h: Likewise.
38233         * locale/programs/simple-hash.c: Likewise.
38234         * nscd/nscd.h: Likewise.
38235         * nss/makedb.c: Likewise.
38236         * sysdeps/generic/ldconfig.h: Likewise.
38238 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38240         * Versions.def: Add GLIBC_2.18.
38241         * include/link.h (struct link_map): New member l_tls_dtor_count.
38242         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38243         (__call_tls_dtors): Likewise.
38244         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38245         __cxa_thread_atexit_impl.
38246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38247         Likewise.
38248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38249         Likewise.
38250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38251         Likewise.
38252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38253         Likewise.
38254         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38256         Likewise.
38257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38258         Likewise.
38259         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38260         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38261         Likewise.
38262         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38263         (tests): Add test case tst-tls-atexit.
38264         (modules-names): Add shared library for tst-tls-atexit.
38265         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38266         (GLIBC_PRIVATE): Add __call_tls_dtors.
38267         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38268         for libstdc++.
38269         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38270         * stdlib/tst-tls-atexit.c: New test case.
38271         * stdlib/tst-tls-atexit-lib.c: New test case.
38273         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38275         * elf/Versions (ld): Add _dl_find_dso_for_object.
38276         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38277         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38278         (dl_open_worker): Use _dl_find_dso_for_object.
38279         * elf/dl-sym.c (do_sym): Likewise.
38280         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38282 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38284         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38285         Syntactic changes only.
38286         (_dl_runtime_profile): Do a tail-call to the resolved function.
38288 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38290         [BZ #13550]
38291         * sysdeps/x86_64/bp-asm.h: Remove file.
38292         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38293         <bp-sym.h> and <bp-asm.h>.
38294         (__clone): Do not use BP_SYM.
38295         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38296         <bp-sym.h> and <bp-asm.h>.
38297         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38298         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38299         "bp-asm.h".
38300         (_setjmp): Do not use BP_SYM.
38301         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38302         "bp-asm.h".
38303         (setjmp): Do not use BP_SYM.
38304         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38305         libc_hidden_def.
38306         (mempcpy): Do not use BP_SYM in weak_alias.
38307         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38308         "bp-asm.h".
38309         (strchr): Do not use BP_SYM.
38310         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38311         "bp-asm.h".
38312         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38313         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38314         (_start): Do not use BP_SYM.
38315         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38316         "bp-asm.h".
38317         (strcat): Do not use BP_SYM.
38318         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38319         "bp-asm.h".
38320         (STRCMP): Do not use BP_SYM.
38321         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38322         "bp-asm.h".
38323         (STRCPY): Do not use BP_SYM.
38324         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38325         "bp-asm.h".
38326         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38327         "bp-asm.h".
38328         (FUNCTION): Do not use BP_SYM.
38329         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38330         weak_alias.
38331         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38333 2013-02-17  Andreas Jaeger  <aj@suse.de>
38335         * time/Versions: Sort entries.
38336         * string/Versions: Likewise.
38337         * resolv/Versions: Likewise.
38338         * posix/Versions: Likewise.
38339         * iconv/Versions: Likewise.
38340         * elf/Versions: Likewise.
38341         * wcsmbs/Versions: Likewise.
38343 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38345         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38346         loop termination condition.
38348         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38349         variable to calculate EZ.
38350         (__sqr): Likewise.
38352         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38353         the lower precision input.
38355 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38357         [BZ #13550]
38358         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38359         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38360         (run-via-rtld-prefix): Do not handle %-bp tests.
38361         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38362         (all-object-suffixes): Remove .ob.
38363         (bppfx): Remove variable.
38364         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38365         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38366         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38367         [$(build-bounded) = yes] (libtype.ob): Likewise.
38368         * Makerules (elide-routines.ob): Remove variable.
38369         (do-tests-clean): Do not handle *-bp.out.
38370         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38371         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38372         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38373         (tests): Do not include $(tests-bp.out).
38374         (xtests): Do not include $(xtests-bp.out).
38375         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38376         [$(build-bounded) = yes] ($(addprefix
38377         $(objpfx),$(binaries-bounded))): Remove rule.
38378         ($(objpfx)%-bp.out): Remove rule.
38379         * config.make.in (build-bounded): Remove variable.
38380         * crypt/Makefile [$(build-bounded) = yes]
38381         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38382         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38383         append to variable.
38384         [$(build-bounded) = yes] (install-lib): Likewise.
38385         [$(build-bounded) = yes] (generated): Likewise.
38386         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38387         Remove rule.
38388         * intl/Makefile [$(build-bounded) = yes]
38389         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38390         * math/Makefile [$(build-bounded) = yes]
38391         ($(tests:%=$(objpfx)%-bp): Likewise.
38392         * misc/Makefile [$(build-bounded) = yes]
38393         ($(objpfx)tst-tsearch-bp): Likewise.
38394         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38395         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38396         Remove dependency.
38397         * string/Makefile (o-objects.ob): Remove variable.
38398         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38399         (CFLAGS-.ob): Remove variable.
38400         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38401         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38402         both definitions of variable.
38403         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38404         (ASFLAGS-.ob): Remove variable.
38406 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38408         [BZ #13550]
38409         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38410         Remove __BOUNDED_POINTERS__ from condition.
38411         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38412         * string/bits/string2.h [!__NO_STRING_INLINES &&
38413         !__BOUNDED_POINTERS__]: Likewise.
38414         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38415         Likewise.
38416         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38417         Remove conditional code.
38418         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38419         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38420         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38421         condition.
38423         [BZ #13550]
38424         * csu/libc-start.c: Do not include <bp-sym.h>.
38425         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38426         * elf/dl-open.c: Do not include <bp-sym.h>.
38427         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38428         * math/fegetenv.c: Do not include <bp-sym.h>.
38429         (fegetenv): Do not use BP_SYM in versioned symbols.
38430         * nptl/sysdeps/pthread/bits/libc-lockP.h
38431         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38432         <bp-sym.h>.
38433         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38434         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38435         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38436         (__pthread_mutex_destroy): Likewise.
38437         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38438         (__pthread_mutex_lock): Likewise.
38439         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38440         (__pthread_mutex_trylock): Likewise.
38441         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38442         (__pthread_mutex_unlock): Likewise.
38443         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38444         (__pthread_mutexattr_init): Likewise.
38445         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38446         (__pthread_mutexattr_destroy): Likewise.
38447         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38448         (__pthread_mutexattr_settype): Likewise.
38449         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38450         (__pthread_rwlock_init): Likewise.
38451         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38452         (__pthread_rwlock_destroy): Likewise.
38453         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38454         (__pthread_rwlock_rdlock): Likewise.
38455         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38456         (__pthread_rwlock_tryrdlock): Likewise.
38457         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38458         (__pthread_rwlock_wrlock): Likewise.
38459         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38460         (__pthread_rwlock_trywrlock): Likewise.
38461         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38462         (__pthread_rwlock_unlock): Likewise.
38463         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38464         (__pthread_key_create): Likewise.
38465         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38466         (__pthread_setspecific): Likewise.
38467         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38468         (__pthread_getspecific): Likewise.
38469         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38470         Likewise.
38471         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38472         (_pthread_cleanup_push_defer): Likewise.
38473         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38474         (_pthread_cleanup_pop_restore): Likewise.
38475         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38476         (pthread_setcancelstate): Likewise.
38477         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38478         <bp-sym.h>.
38479         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38480         (memchr): Do not use BP_SYM in weak_alias.
38481         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38482         (fegetenv): Do not use BP_SYM in versioned symbols.
38483         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38484         (fesetenv): Do not use BP_SYM in versioned symbols.
38485         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38486         (feupdateenv): Do not use BP_SYM in versioned symbols.
38487         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38488         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38489         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38490         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38491         (open64): Do not use BP_SYM in weak_alias.
38492         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38493         (fegetenv): Do not use BP_SYM in versioned symbols.
38494         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38495         (fesetenv): Do not use BP_SYM in versioned symbols.
38496         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38497         (feupdateenv): Do not use BP_SYM in versioned symbols.
38498         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38499         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38500         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38501         (feraiseexcept): Do not use BP_SYM in versioned symbols.
38502         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38503         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38504         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38505         <bp-sym.h>.
38506         (__libc_start_main): Do not use BP_SYM.
38508 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38510         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38511         redundant return line.
38512         (norm): Likewise.
38513         (denorm): Likewise.
38514         (dbl_mp): Likewise.
38515         (sub_magnitudes): Likewise.
38516         (__add): Likewise.
38517         (__sub): Likewise.
38518         (__mul): Likewise.
38519         (__inv): Likewise.
38520         (__dvd): Likewise.
38521         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38522         (norm): Likewise.
38523         (denorm): Likewise.
38524         (dbl_mp): Likewise.
38525         (sub_magnitudes): Likewise.
38526         (__add): Likewise.
38527         (__sub): Likewise.
38528         (__mul): Likewise.
38529         (__inv): Likewise.
38530         (__dvd): Likewise.
38532         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38533         instead of __mul.
38534         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38535         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38536         (cc32): Likewise.
38538         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38539         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38540         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38541         of __mul for squares.
38542         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38543         function
38544         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38545         Likewise.
38546         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38547         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38549 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
38551         [BZ #13550]
38552         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38553         code.
38554         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38555         prototype or function definition.  Rename ubp_* variables and
38556         parameters.  Remove argv definitions conditional on
38557         [__BOUNDED_POINTERS__].
38558         * debug/backtrace.c (__backtrace): Do not use __unbounded.
38559         * elf/dl-runtime.c (_dl_fixup): Likewise.
38560         * include/set-hooks.h (RUN_HOOK): Likewise.
38561         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38562         definition.
38563         * string/strcpy.c (strcpy): Do not use __unbounded.
38564         * sysdeps/generic/frame.h (struct layout): Likewise.
38565         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38566         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38567         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38568         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38569         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38570         (__backtrace): Likewise.
38571         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38572         use __ptrvalue.
38573         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38574         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38575         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38576         Likewise.
38577         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38578         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38579         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38580         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38581         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38582         Do not use __unbounded.
38583         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38584         Rename __unboundedrlimits parameter to rlimits in prototype.
38585         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38586         Do not use __unbounded.
38587         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38588         not use __ptrvalue.
38589         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38590         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38591         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38592         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38593         __ptrvalue or __unbounded.
38594         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38595         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38596         use __unbounded.
38597         (__new_msgctl): Do not use __ptrvalue.
38598         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38599         __unbounded.
38600         (__libc_msgrcv): Do not use __ptrvalue.
38601         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38602         startup_info): Do not use __unbounded.
38603         (__libc_start_main): Likewise.  Rename ubp_* variables and
38604         parameters.  Remove argv definitions conditional on
38605         [__BOUNDED_POINTERS__].
38606         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
38607         __ptrvalue.
38608         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
38609         use __unbounded.
38610         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
38611         or __ptrvalue.
38612         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
38613         use __unbounded.
38614         (__new_shmctl): Do not use __ptrvalue.
38615         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
38616         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
38617         Likewise.
38618         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
38619         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
38620         (__libc_sigaction): Likewise.
38621         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
38622         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
38623         Likewise.
38624         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38626 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
38628         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
38630         * string/mempcpy.c: Implement by calling memcpy.
38632 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38634         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
38636         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
38637         evaluation.
38639         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
38640         values in the mantissa.
38642         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
38643         minimize writes to Z.
38644         (sub_magnitudes): Simplify code a bit.
38646 2013-02-12  Roland McGrath  <roland@hack.frob.com>
38648         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
38649         from the message.  The linker prefixes all warnings with that already.
38651 2013-02-12  Andreas Schwab  <schwab@suse.de>
38653         [BZ #15078]
38654         * posix/regexec.c (extend_buffers): Add parameter min_len.
38655         (check_matching): Pass minimum needed length.
38656         (clean_state_log_if_needed): Likewise.
38657         (get_subexp): Likewise.
38658         * posix/Makefile (tests): Add bug-regex34.
38659         (bug-regex34-ENV): Define.
38660         * posix/bug-regex34.c: New file.
38662         [BZ #11561]
38663         * posix/regcomp.c (parse_bracket_exp): When looking up collating
38664         elements compare against the byte sequence of it, not its name.
38665         * posix/Makefile (tests): Add bug-regex35.
38666         (bug-regex35-ENV): Define.
38667         * posix/bug-regex35.c: New file.
38669 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38671         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
38672         comment.
38673         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38674         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38675         (CHECK_EOL): Add undef.
38677 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
38679         * bits/stdlib-bsearch.h: New file.
38680         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
38681         * stdlib/stdlib.h: Likewise.
38683 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38685         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38686         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38687         declaration.
38688         * manual/search.texi (Array Search Function): Add missing const in
38689         lfind prototype.
38690         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38691         declaration to use rlim_t.
38692         (Basic Scheduling Functions): Remove erroneous const from
38693         sched_getparam prototype.  Remove erroneous * from
38694         sched_get_priority_max and sched_get_priority_min prototypes.
38695         (Resource Usage): Fix summary @comment on vtimes to refer to
38696         sys/vtimes.h rather than vtimes.h.
38697         Add missing *s in vtimes prototype.
38698         (Limits on Resources): Fix ulimit prototype to return long int.
38699         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38700         prototypes to use long int rather than double.
38701         (BSD Random): Fix initstate and setstate to use char *, not void *.
38702         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38703         prototype to make second argument 'struct aiocb64 *const[]'.
38704         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38705         (Status of AIO Operations): Remove erroneous const in aio_return and
38706         aio_return64 prototypes.
38707         (Synchronizing I/O): Fix sync prototype to return void.
38708         * manual/startup.texi (Suboptions): Remove an erroneous const in
38709         getsubopt prototype.
38710         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38711         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38712         use size_t rather than int.
38713         (Scanning All Users): Likewise for getpwent_r.
38714         (Setting Groups): Add missing const to setgroups prototype.
38715         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38716         * manual/socket.texi (Host Names): Fix gethostbyaddr and
38717         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38718         'const void *' rather than 'const char *'.
38719         (Host Address Functions): Likewise for inet_ntop.
38720         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38721         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38722         ssize_t for return value.
38723         (Sending Data): Likewise for send, sendto, sendmsg.
38724         (Socket Option Functions): Add a missing const in setsockopt prototype.
38725         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38726         use wchar_t for the argument.
38727         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38728         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38729         take no arguments.
38730         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38731         double/float/long double for second argument.
38732         Fix return types of significand, significandf, significandl.
38733         * manual/filesys.texi (Setting Permissions): Use mode_t for second
38734         argument in fchmod prototype.
38735         (File Owner): Use uid_t and gid_t in fchown prototype.
38736         (File Times): Add const to utimes, futimes, and lutimes prototypes.
38737         (Making Special Files): Use mode_t and dev_t in mknod prototype.
38738         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38739         use 'const struct dirent **' as argument types to CMP function pointer
38740         argument.
38741         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38742         (File Times): Fix summary magic @comment for struct utimbuf and utime
38743         to refer to utime.h, not time.h.
38744         * manual/string.texi (Argz Functions): Add missing const in
38745         argz_extract and argz_next prototypes.
38746         (Finding Tokens in a String): Likewise for basename.
38747         (String/Array Comparison): Fix typo in wcscasecmp prototype.
38748         (Copying and Concatenation): Fix typo in wmemmove prototype.
38749         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38750         (Signal Stack): Remove erroneous const in sigstack prototype.
38751         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38752         prototype.
38753         (Simple Calendar Time): Likewise for stime.
38754         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38755         prototype.
38756         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38757         say sys/sysctl.h instead.
38758         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38759         and vsyslog prototypes.
38761 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38763         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38764         Remove.
38766 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38768         * misc/sys/mman.h: Fix typo in mremap comment.
38770 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38772         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38773         the '\0' terminator.
38775 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38777         [BZ #13550]
38778         * debug/segfault.c: Don't include <bp-checks.h>.
38779         * sysdeps/generic/bp-checks.h: Remove file.
38780         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38781         (__GETDENTS): Don't use CHECK_N.
38782         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38783         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38784         (__getgroups): Don't use CHECK_N.
38785         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38786         (setgroups): Don't use CHECK_N.
38787         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38788         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38789         (__libc_msgrcv): Don't use CHECK_N.
38790         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38791         (__libc_msgsnd): Don't use CHECK_N.
38792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38793         <bp-checks.h>.
38794         (__libc_pread): Don't use CHECK_N.
38795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38796         include <bp-checks.h>.
38797         (__libc_pread64): Don't use CHECK_N.
38798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38799         include <bp-checks.h>.
38800         (__libc_pwrite): Don't use CHECK_N.
38801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38802         include <bp-checks.h>.
38803         (__libc_pwrite64): Don't use CHECK_N.
38804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38805         <bp-checks.h>.
38806         (__libc_pread): Don't use CHECK_N.
38807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38808         include <bp-checks.h>.
38809         (__libc_pread64): Don't use CHECK_N.
38810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38811         include <bp-checks.h>.
38812         (__libc_pwrite): Don't use CHECK_N.
38813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38814         include <bp-checks.h>.
38815         (__libc_pwrite64): Don't use CHECK_N.
38816         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38817         (do_pread): Don't use CHECK_N.
38818         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38819         (do_pread64): Don't use CHECK_N.
38820         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38821         (do_pwrite): Don't use CHECK_N.
38822         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38823         (do_pwrite64): Don't use CHECK_N.
38824         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38825         (__libc_readv): Don't use CHECK_N.
38826         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38827         (semop): Don't use CHECK_N.
38828         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38829         <bp-checks.h>.
38830         (semtimedop): Don't use CHECK_N.
38831         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38832         (__libc_pread): Don't use CHECK_N.
38833         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38834         <bp-checks.h>.
38835         (__libc_pread64): Don't use CHECK_N.
38836         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38837         <bp-checks.h>.
38838         (__libc_pwrite): Don't use CHECK_N.
38839         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38840         <bp-checks.h>.
38841         (__libc_pwrite64): Don't use CHECK_N.
38842         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38843         <bp-checks.h>.
38844         (__libc_msgrcv): Don't use CHECK_N.
38845         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38846         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
38847         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38848         (__libc_writev): Don't use CHECK_N.
38850 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38852         * string/strcpy.c: Removed unused variable.
38854         * Makeconfig (+sysdep-includes): Define with := rather than =.
38855         Use an existing include/ subdir of each sysdeps dir before it.
38857 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38859         * nscd/connection.c (register_traced_file): Comment function.
38860         [HAVE_INOTIFY] (union __inev): Define.
38861         [HAVE_INOTIFY] (inotify_check_files): New function.
38862         [HAVE_INOTIFY] (clear_db_cache): Likewise.
38863         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38864         clear_db_cache.
38865         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38867 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38869         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38870         loaded if not already and that a failure is permanent.
38872 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38874         [BZ #15006]
38875         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38876         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38878 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38880         [BZ #13550]
38881         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38882         (CHECK_1_NULL_OK): Likewise.
38883         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38884         (__fxstat): Do not use CHECK_1.
38885         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38886         <bp-checks.h>.
38887         (___fxstat64): Do not use CHECK_1.
38888         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38889         <bp-checks.h>.
38890         (__fxstatat): Do not use CHECK_1.
38891         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38892         <bp-checks.h>.
38893         (__fxstatat64): Do not use CHECK_1.
38894         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38895         <bp-checks.h>.
38896         (__fxstat): Do not use CHECK_1.
38897         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38898         <bp-checks.h>.
38899         (__fxstatat): Do not use CHECK_1.
38900         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38901         <bp-checks.h>.
38902         (__getresgid): Do not use CHECK_1.
38903         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38904         <bp-checks.h>.
38905         (__getresuid): Do not use CHECK_1.
38906         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38907         <bp-checks.h>.
38908         (__lxstat): Do not use CHECK_1.
38909         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38910         <bp-checks.h>.
38911         (__old_msgctl): Do not use CHECK_1.
38912         (__new_msgctl): Likewise.
38913         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38914         <bp-checks.h>.
38915         (__new_setrlimit): Do not use CHECK_1.
38916         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38917         <bp-checks.h>.
38918         (__old_shmctl): Do not use CHECK_1.
38919         (__new_shmctl): Likewise.
38920         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38921         <bp-checks.h>.
38922         (__xstat): Do not use CHECK_1.
38923         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38924         (__lxstat): Do not use CHECK_1.
38925         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38926         <bp-checks.h>.
38927         (___lxstat64): Do not use CHECK_1.
38928         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38929         (__old_msgctl): Do not use CHECK_1.
38930         (__new_msgctl): Likewise.
38931         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38932         <bp-checks.h>.
38933         (__gettimeofday): Do not use CHECK_1.
38934         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38935         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38936         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38937         <bp-checks.h>.
38938         (__gettimeofday): Do not use CHECK_1.
38939         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38940         (__old_shmctl): Do not use CHECK_1_NULL_OK.
38941         (__new_shmctl): Do not use CHECK_1.
38942         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38943         <bp-checks.h>.
38944         (do_sigtimedwait): Do not use CHECK_1.
38945         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38946         <bp-checks.h>.
38947         (do_sigwaitinfo): Do not use CHECK_1.
38948         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38949         <bp-checks.h>.
38950         (msgctl): Do not use CHECK_1.
38951         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38952         <bp-checks.h>.
38953         (shmctl): Do not use CHECK_1.
38954         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38955         (ustat): Do not use CHECK_1.
38956         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38957         <bp-checks.h>.
38958         (__fxstat): Do not use CHECK_1.
38959         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38960         <bp-checks.h>.
38961         (__fxstatat): Do not use CHECK_1.
38962         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38963         <bp-checks.h>.
38964         (__lxstat): Do not use CHECK_1.
38965         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38966         <bp-checks.h>.
38967         (__xstat): Do not use CHECK_1.
38968         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38969         (__xstat): Do not use CHECK_1.
38970         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38971         (___xstat64): Do not use CHECK_1.
38973         [BZ #13550]
38974         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38975         definitions.
38976         (CHECK_BOUNDS_HIGH): Likewise.
38977         * string/strcpy.c: Do not include <bp-checks.h>.
38978         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
38980 2013-02-07  Roland McGrath  <roland@hack.frob.com>
38982         * nscd/nscd-client.h (__nscd_drop_map_ref):
38983         Add __attribute__ ((unused)).
38984         * nis/nss-nisplus.h (niserr2nss): Likewise.
38986         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
38987         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
38989         * csu/libc-tls.c (init_static_tls, init_slotinfo):
38990         Remove inline keyword.
38991         * include/rounding-mode.h (round_away): Likewise.
38992         * libio/wfileops.c (adjust_wide_data): Likewise.
38993         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
38994         (__m128i_strloadu_tolower): Likewise.
38995         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
38996         (__m128i_strloadu_tolower): Likewise.
38997         * time/mktime.c (ydhms_diff): Likewise.
38998         * locale/elem-hash.h (elem_hash): Likewise.
38999         * locale/setlocale.c (setdata): Likewise.
39000         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39001         (re_string_wchar_at): Likewise.
39002         (bitset_not, bitset_merge, bitset_mask): Likewise.
39003         [!(__GNUC__ > 3)] (inline): Remove macro.
39004         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39005         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39006         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39007         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39008         * string/memcmp.c (memcmp_bytes): Likewise.
39009         * locale/programs/locarchive.c (compute_hashval): Likewise.
39010         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39011         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39012         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39013         * nss/getent.c (print_rpc, print_protocols): Likewise.
39014         (print_passwd, print_group, print_aliases): Likewise.
39015         * nis/nss-nisplus.h (niserr2nss): Likewise.
39016         * nscd/connections.c (restart_p): Likewise.
39017         Change return type to bool.
39019 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39021         * Makeconfig (all-Depend-files): Add existing
39022         $(sorted-subdirs:=/Depend) files.
39023         (all-subdirs): Remove nss.
39024         * sysdeps/unix/inet/Subdirs: Add it here instead.
39025         * hesiod/Depend: New file.
39027         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39028         instead of calling alloca.
39030         * io/lseek.c (__lseek): Rename to __libc_lseek.
39031         Define __lseek as an alias.
39033         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39035 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39037         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39038         else clause and remove check for non-standard endianness.
39040 2013-02-04  David S. Miller  <davem@davemloft.net>
39042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39044 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39046         [BZ #13550]
39047         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39048         (__ubp_memchr): Remove prototype.
39049         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39050         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39051         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39052         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39053         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39054         Remove alias.
39055         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39056         (__ubp_memchr): Likewise.
39057         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39058         (__ubp_memchr): Likewise.
39059         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39060         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39061         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39062         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39063         CHECK_STRING.
39064         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39065         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39066         (__getcwd): Do not use CHECK_STRING.
39067         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39068         <bp-checks.h>.
39069         (__real_chown): Do not use CHECK_STRING.
39070         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39071         <bp-checks.h>.
39072         (fchownat): Do not use CHECK_STRING.
39073         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39074         CHECK_STRING.
39075         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39076         <bp-checks.h>.
39077         (__lchown): Do not use CHECK_STRING.
39078         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39079         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39080         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39081         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39083         include <bp-checks.h>.
39084         (truncate64): Do not use CHECK_STRING.
39085         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39086         <bp-checks.h>.
39087         (__real_chown): Do not use CHECK_STRING.
39088         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39089         <bp-checks.h>.
39090         (__lchown): Do not use CHECK_STRING.
39091         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39092         <bp-checks.h>.
39093         (__chown): Do not use CHECK_STRING.
39094         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39095         <bp-checks.h>.
39096         (truncate64): Do not use CHECK_STRING.
39097         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39098         Likewise.
39099         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39100         (__xmknod): Do not use CHECK_STRING.
39101         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39102         <bp-checks.h>.
39103         (__xmknodat): Do not use CHECK_STRING.
39104         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39105         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39107 2013-02-04  Andreas Schwab  <schwab@suse.de>
39109         [BZ #14142]
39110         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39111         * include/netdb.h: Likewise for h_errno.
39112         * elf/tst-stackguard1.c: Include <tls.h>.
39114 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39116         * elf/link.h (struct link_map): Extend the l_addr comment.
39117         * include/link.h (struct link_map): Likewise.
39119 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39121         [BZ #13550]
39122         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39123         (BOUNDED_1): Remove macro.
39124         * debug/backtrace.c: Don't include <bp-checks.h>.
39125         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39126         (__backtrace): Likewise.
39127         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39128         <bp-checks.h>.
39129         (__backtrace): Don't use BOUNDED_1.
39130         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39131         <bp-checks.h>.
39132         (__backtrace): Don't use BOUNDED_1.
39133         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39134         (__backtrace): Don't use BOUNDED_1.
39135         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39136         (shmat): Don't use BOUNDED_N.
39138 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39140         [BZ #13550]
39141         * sysdeps/generic/bp-start.h: Remove file.
39142         * csu/libc-start.c: Don't include <bp-start.h>.
39143         (LIBC_START_MAIN): Set up __environ directly instead of using
39144         INIT_ARGV_and_ENVIRON.
39145         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39146         <bp-start.h>.
39148         [BZ #13550]
39149         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39150         definitions.
39151         (CHECK_FCNTL): Likewise.
39152         (CHECK_N_PAGES): Likewise.
39154         [BZ #13550]
39155         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39156         definitions.
39157         (CHECK_SIGSET_NULL_OK): Likewise.
39158         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39159         <bp-checks.h>.
39160         (sigpending): Don't use CHECK_SIGSET.
39161         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39162         <bp-checks.h>.
39163         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39164         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39165         <bp-checks.h>.
39166         (do_sigsuspend): Don't use CHECK_SIGSET.
39167         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39168         use CHECK_SIGSET.
39169         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39170         (do_sigwait): Don't use CHECK_SIGSET.
39171         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39172         use CHECK_SIGSET.
39173         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39174         include <bp-checks.h>.
39175         (sigpending): Don't use CHECK_SIGSET.
39176         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39177         include <bp-checks.h>.
39178         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39179         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39180         <bp-checks.h>.
39181         (sigpending): Don't use CHECK_SIGSET.
39182         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39183         <bp-checks.h>.
39184         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39186         [BZ #13550]
39187         * sysdeps/generic/bp-semctl.h: Remove file.
39188         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39189         <bp-checks.h> and <bp-semctl.h>.
39190         (__old_semctl): Don't use CHECK_SEMCTL.
39191         (__new_semctl): Likewise.
39192         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39193         and <bp-semctl.h>.
39194         (__old_semctl): Don't use CHECK_SEMCTL.
39195         (__new_semctl): Likewise.
39196         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39197         <bp-checks.h> and <bp-semctl.h>.
39198         (__old_semctl): Don't use CHECK_SEMCTL.
39199         (__new_semctl): Likewise.
39200         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39201         <bp-checks.h> and <bp-semctl.h>.
39202         (semctl): Don't use CHECK_SEMCTL.
39204         [BZ #13550]
39205         * Makerules (elide-bp-thunks): Remove variable.
39206         (elide-routines.oS): Don't use $(elide-bp-thunks).
39207         (elide-routines.os): Likewise.
39208         (elide-routines.o): Likewise.
39209         (elide-routines.op): Likewise.
39210         (elide-routines.og): Likewise.
39211         (objects): Don't use $(bp-thunks).
39212         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39213         include.
39214         (common-generated): Do not add s-proto-bp.d.
39215         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39216         (int): Likewise.
39217         (typ): Likewise.
39218         Do not generate makefile rules for bounded-pointer thunks.
39219         * sysdeps/generic/bp-thunks.h: Remove file.
39220         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39221         * sysdeps/unix/s-proto-bp.S: Likewise.
39223         [BZ #15062]
39224         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39225         parts of result separately when argument is not close to line from
39226         -i to i and one part of argument is small.
39227         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39228         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39229         * math/libm-test.inc (cacos_test): Add more tests.
39230         (casin_test): Likewise.
39231         (casinh_test): Likewise.
39232         * sysdeps/i386/fpu/libm-test-ulps: Update.
39233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39235 2013-01-31  David S. Miller  <davem@davemloft.net>
39237         * po/de.po: Update from translation team.
39239 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39241         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39243 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39245         * configure.in (_AC_PROG_CC_C89): New definition.
39246         * configure: Regenerate.
39248         * configure.in (AC_PROG_CPP): New definition.
39249         * configure: Regenerate.
39251 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39253         * debug/tst-backtrace.h: New file.
39254         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39255         (ret): Remove variable.
39256         (x): Likewise.
39257         (FAIL): Remove macro.
39258         (NO_INLINE): Likewise.
39259         (fn1): Use match function instead of strstr.
39260         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39261         (ret): Remove variable.
39262         (x): Likewise.
39263         (FAIL): Remove macro.
39264         (NO_INLINE): Likewise.
39265         (fn): Use match function instead of strstr.
39266         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39267         (ret): Remove variable.
39268         (x): Likewise.
39269         (FAIL): Remove macro.
39270         (NO_INLINE): Likewise.
39271         (handle_signal): Use match function instead of strstr.
39272         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39273         (ret): Remove variable.
39274         (x): Likewise.
39275         (FAIL): Remove macro.
39276         (NO_INLINE): Likewise.
39277         (handle_signal): Use match function instead of strstr.
39279 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39281         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39283 2013-01-23  David S. Miller  <davem@davemloft.net>
39285         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39286         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39287         argument of CAS if possible.
39288         * sysdeps/sparc/sparc64/bits/atomic.h
39289         (__arch_compare_and_exchange_val_32_acq): Likewise.
39290         (__arch_compare_and_exchange_val_64_acq): Likewise.
39292 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39294         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39295         * sysdeps/posix/ulimit.c: ... this.
39296         Include <limits.h>.
39297         * sysdeps/unix/bsd/ulimit.c: Remove file.
39299 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39301         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39302         (LDFLAGS-tst-array5): Likewise.
39304 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39306         [BZ #15036]
39307         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39308         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39309         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39310         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39312 2013-01-21  David S. Miller  <davem@davemloft.net>
39314         * sysdeps/sparc/backtrace.c: New file.
39315         * sysdeps/sparc/sparc32/backtrace.h: New file.
39316         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39317         * sysdeps/sparc/sparc64/backtrace.h: New file.
39318         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39319         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39320         -funwind-tables.
39322 2013-01-21  Andreas Schwab  <schwab@suse.de>
39324         [BZ #15020]
39325         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39326         closed its stdout.
39328 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39330         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39331         "mpa2.h".
39332         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39334 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39335             Mark Mitchell  <mark@codesourcery.com>
39336             Tom de Vries  <tom@codesourcery.com>
39337             Paul Pluzhnikov  <ppluzhnikov@google.com>
39339         * debug/tst-backtrace2.c: New file.
39340         * debug/tst-backtrace3.c: Likewise.
39341         * debug/tst-backtrace4.c: Likewise.
39342         * debug/tst-backtrace5.c: Likewise.
39343         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39344         (CFLAGS-tst-backtrace3.c): Likewise.
39345         (CFLAGS-tst-backtrace4.c): Likewise.
39346         (CFLAGS-tst-backtrace5.c): Likewise.
39347         (LDFLAGS-tst-backtrace2): Likewise.
39348         (LDFLAGS-tst-backtrace3): Likewise.
39349         (LDFLAGS-tst-backtrace4): Likewise.
39350         (LDFLAGS-tst-backtrace5): Likewise.
39351         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39352         tst-backtrace4 and tst-backtrace5.
39354 2013-01-18  Anton Blanchard  <anton@samba.org>
39355             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39357         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39358         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39359         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39360         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39362         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39363         "+r" and remove output regs list as redundant.  Add explicit inline
39364         asm to specify register of return val to work around compiler codegen
39365         bug.  Remove (int) cast on return value.  Add return type parameter to
39366         use in macro so that this macro does not truncate return value for
39367         64-bit values.
39368         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39369         pass to INTERNAL_VSYSCALL_NCS.
39370         (INLINE_VSYSCALL): Add 'long int' as return type to
39371         INTERNAL_VSYSCALL_NCS macro invocation.
39372         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39373         INTERNAL_VSYSCALL_NCS macro invocation.
39374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39376 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39378         [BZ #14496]
39379         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39380         Fix application of SIMD FP exception mask.
39382         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39383         mp_no from a power of two.
39384         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39385         __mpexp_twomm1.  Use __pow_mp.
39387         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39388         multiplication.
39390 2013-01-17  David S. Miller  <davem@davemloft.net>
39392         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39394 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39396         [BZ #15023]
39397         * include/complex.h: Condition contents on [!_COMPLEX_H].
39398         (__kernel_casinhf): New prototype.
39399         (__kernel_casinh): Likewise.
39400         (__kernel_casinhl): Likewise.
39401         * math/Makefile (libm_calls): Add k_casinh.
39402         * math/k_casinh.c: New file.
39403         * math/k_casinhf.c: Likewise.
39404         * math/k_casinhl.c: Likewise.
39405         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39406         finite nonzero arguments.
39407         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39408         finite nonzero arguments.
39409         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39410         finite nonzero arguments.
39411         * math/s_casinh.c: Do not include <float.h>.
39412         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39413         * math/s_casinhf.c: Do not include <float.h>.
39414         (__casinhf): Move code for finite nonzero arguments to
39415         k_casinhf.c.
39416         * math/s_casinhl.c: Do not include <float.h>.
39417         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39418         redefine.
39419         (__casinhl): Move code for finite nonzero arguments to
39420         k_casinhl.c.
39421         * math/libm-test.inc (cacos_test): Add more tests.
39422         * sysdeps/i386/fpu/libm-test-ulps: Update.
39423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39425 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39427         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39428         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39429         [!HAVE_MREMAP]: Remove [defined linux] case.
39430         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39432 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39434         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39436 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39438         * elf/elf.h (R_386_SIZE32): New relocation.
39439         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39440         R_386_SIZE32.
39441         (elf_machine_rela): Likewise.
39442         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39443         R_X86_64_SIZE64 and R_X86_64_SIZE32.
39445 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39447         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39448         (FP_FAST_FMA): Do not define.
39449         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39450         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39451         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39452         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39453         !_SOFT_FLOAT]: Likewise.
39454         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39455         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39456         value.
39457         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39458         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39459         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39460         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39461         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39462         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39463         file.
39465 2013-01-16  Andreas Schwab  <schwab@suse.de>
39467         [BZ #14327]
39468         * include/stdlib.h (__mktemp): Add declaration.
39469         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39470         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39472 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39474         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39475         definitions.
39476         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39477         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39478         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39479         definitions here.
39480         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39481         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39482         definitions.
39483         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39484         and ONE.
39485         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39486         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39487         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39488         definitions.
39489         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39490         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39491         definitions.
39492         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39494         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39496 2013-01-15  David S. Miller  <davem@davemloft.net>
39498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39499         trunc{,f} to libm-sysdep_routes.
39500         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39502         file.
39503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39505         file.
39506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39507         file.
39508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39510         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39511         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39512         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39513         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39514         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39515         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39518         nearbyint{,f} to libm-sysdep_routes.
39519         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39521         New file.
39522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39523         file.
39524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39525         New file.
39526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39527         file.
39528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39530         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39531         file.
39532         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39533         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39534         file.
39535         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39536         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39537         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39539         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39540         libc_feholdexcept and libc_fesetenv.
39542 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
39544         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39546 2013-01-14  David S. Miller  <davem@davemloft.net>
39548         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39549         (SPARC_ASM_VIS2_IFUNC): Likewise.
39550         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39552         use of 'siam' instruction.
39553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39554         Likewise.
39555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39556         Likewise.
39557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39558         Likewise.
39559         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39560         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39561         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39562         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39564         file.
39565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39566         file.
39567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39568         file.
39569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39570         file.
39571         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39572         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39573         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39574         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39576         new VIS2 routines.
39577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39580         Likewise.
39581         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39582         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39583         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39584         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39586         routines to libm-sysdep_routines.
39587         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39590         fdim/fdimf to libm-sysdep_routines.
39591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39592         file.
39593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39595         file.
39596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39599         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39600         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39601         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39602         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
39604 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39606         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
39607         to optimize copies.
39609         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
39610         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39611         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39613         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
39614         local variable MPTWO.
39615         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39616         Likewise.
39618 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39620         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
39621         GLOB_NOESCAPE.
39623 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39625         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
39627 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39629         * manual/pattern.texi (glob_t): Document gl_flags.
39630         (glob64_t): Likewise.
39632 2013-01-11  David S. Miller  <davem@davemloft.net>
39634         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
39635         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
39636         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
39637         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
39638         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
39639         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
39640         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
39641         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39642         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
39643         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
39644         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
39645         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
39646         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
39648         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39649         sparc V9 rather than using V8 code.
39650         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39651         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39653         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39654         Move to...
39655         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
39656         Here.
39658 2013-01-11  Roland McGrath  <roland@hack.frob.com>
39660         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
39661         not in the main loop.
39662         * configure: Regenerated.
39664 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
39666         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39667         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39668         to just #else.
39669         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
39670         [!__GLIBC_HAVE_LONG_LONG] case.
39671         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39672         condition to just #else.
39673         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39674         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39675         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39676         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39677         unconditional.
39678         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39679         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39680         #elif condition to just #else.
39681         * sysdeps/unix/sysv/linux/sys/sysmacros.h
39682         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39683         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39684         #elif condition to just #else.
39686 2013-01-11  Steve Ellcey  <sellcey@mips.com>
39688         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39689         (EF_MIPS_ARCH_64): Fix value.
39690         (EF_MIPS_ARCH_32R2): New.
39691         (EF_MIPS_ARCH_64R2): New.
39693 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
39695         * Makeconfig (+link-pie-before-libc): New.
39696         (+link-pie-after-libc): Likewise.
39697         (+link-pie-tests): Likewise.
39698         (+link-pie): Rewritten.
39699         (link-before-libc): Remove $(config-LDFLAGS).
39700         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39701         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39702         (config-LDFLAGS): Renamed to ...
39703         (rtld-LDFLAGS): This.
39704         (rtld-tests-LDFLAGS): New macro.
39705         (link-libc-rpath-link): Likewise.
39706         (link-libc-tests-rpath-link): Likewise.
39707         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39708         (link-libc): Prepand $(link-libc-rpath-link).
39709         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39710         (test-program-prefix): New macro.
39711         (test-via-rtld-prefix): Likewise.
39712         (test-program-cmd): Likewise.
39713         (host-test-program-cmd): Likewise.
39714         * Makefile ($(common-objpfx)testrun.sh): Replace
39715         $(run-program-prefix) with $(test-program-prefix).
39716         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39717         $(rtld-LDFLAGS).
39718         ($(common-objpfx)shlib.lds): Likewise.
39719         (build-module-helper): Likewise.
39720         ($(common-objpfx)format.lds): Likewise.
39721         * Rules (binaries-pie-tests): New.
39722         (binaries-pie-notests): Likewise.
39723         (binaries-pie): Rewritten.
39724         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39725         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39726         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39727         (make-test-out): Replace $(host-built-program-cmd) with
39728         $(host-test-program-cmd).
39729         * config.make.in (build-hardcoded-path-in-tests): New variable.
39730         * configure.in (--enable-hardcoded-path-in-tests): New configure
39731         option.
39732         (hardcoded_path_in_tests): New AC_SUBST.
39733         * configure: Regenerated.
39734         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39735         $(built-program-cmd) with $(test-program-cmd).
39736         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39737         (test_program_cmd): This.
39738         * elf/Makefile ($(objpfx)order.out): Run test with
39739         $(test-program-prefix).
39740         ($(objpfx)order2.out): Likewise.
39741         ($(objpfx)tst-initorder.out): Likewise.
39742         ($(objpfx)tst-initorder2.out): Likewise.
39743         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39744         $(test-program-cmd).
39745         ($(objpfx)tst-array1-static.out): Likewise.
39746         ($(objpfx)tst-array2.out): Likewise.
39747         ($(objpfx)tst-array3.out): Likewise.
39748         ($(objpfx)tst-array4.out): Likewise.
39749         ($(objpfx)tst-array5.out): Likewise.
39750         ($(objpfx)tst-array5-static.out): Likewise.
39751         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39752         $(test-program-cmd).
39753         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39754         $(run-program-prefix) with $(test-program-prefix).
39755         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39756         (test_program_prefix): This.
39757         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39758         $(run-program-prefix) with $(test-program-prefix).
39759         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39760         (test_program_prefix): This.
39761         * iconvdata/tst-tables.sh: Likewise.
39762         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39763         $(run-program-prefix) with $(test-program-prefix).
39764         ($(objpfx)tst-translit.out): Likewise.
39765         ($(objpfx)tst-gettext2.out): Likewise.
39766         ($(objpfx)tst-gettext4.out): Likewise.
39767         ($(objpfx)tst-gettext6.out): Likewise.
39768         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39769         (test_program_prefix): This.
39770         * intl/tst-gettext2.sh: Likewise.
39771         * intl/tst-gettext4.sh  Likewise.
39772         * intl/tst-gettext6.sh: Likewise.
39773         * intl/tst-translit.sh: Likewise.
39774         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39775         with $(test-program-cmd).
39776         * libio/Makefile ($(objpfx)test-freopen.out): Replace
39777         $(run-program-prefix) with $(test-program-prefix).
39778         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39779         (test_program_prefix): This.
39780         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39781         $(run-program-prefix) with $(test-program-prefix).
39782         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39783         (test_program_prefix): This.
39784         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39785         * posix/Makefile ($(objpfx)globtest.out): Replace
39786         $(run-via-rtld-prefix) and $(test-wrapper) with
39787         $(test-program-prefix) and $(test-via-rtld-prefix).
39788         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39789         $(test-program-prefix).
39790         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39791         $(host-test-program-cmd).
39792         (tst-spawn-ARGS): Likewise.
39793         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39794         $(test-program-prefix).
39795         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39796         (test_via_rtld_prefix): This.
39797         (test_wrapper): Renamed to ...
39798         (test_program_prefix): This.
39799         (run_program_prefix): Replaced by test_program_prefix.
39800         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39801         (test_program_prefix): This.
39802         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39803         with $(host-test-program-cmd).
39804         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39805         $(run-program-prefix) with $(test-program-prefix).
39806         ($(objpfx)tst-printf.out): Likewise.
39807         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39808         $(test-program-cmd).
39809         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39810         (test_program_prefix): This.
39811         * stdio-common/tst-unbputc.sh: Likewise.
39812         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39813         $(run-program-prefix) with $(test-program-prefix).
39814         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39815         (test_program_prefix): This.
39816         * string/Makefile ($(objpfx)tst-svc.out):  Replace
39817         $(built-program-cmd) with $(test-program-cmd).
39819 2013-01-11  Andreas Jaeger  <aj@suse.de>
39821         [BZ #15003]
39822         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39823         value. Sync with Linux 3.7.
39825 2013-01-10  David S. Miller  <davem@davemloft.net>
39827         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39828         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39829         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39831 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39833         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39834         never set.
39835         * configure: Regenerated.
39837 2013-01-10  David S. Miller  <davem@davemloft.net>
39839         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39840         sparc V9 rather than using V8 code.
39841         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39842         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39844 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39846         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39847         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39848         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39849         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39850         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39851         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39852         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39853         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39854         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39855         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39856         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39857         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39858         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39859         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39860         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39861         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39862         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39863         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39864         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39865         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39866         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39867         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39868         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39869         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39870         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39871         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39872         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39874 2013-01-10  David S. Miller  <davem@davemloft.net>
39876         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39878 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39880         * posix/Makefile (tests-static): New variable.
39881         (tests): Add $(tests-static).
39882         (tst-exec-static-ARGS): New variable.
39883         (tst-spawn-static-ARGS): Likewise.
39884         * posix/tst-exec-static.c: New file.
39885         * posix/tst-spawn-static.c: Likewise.
39886         * posix/tst-exec.c: Support run directly.
39887         * posix/tst-spawn.c: Likewise.
39889 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
39891         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39892         long.
39893         * math/bits/mathcalls.h (llrint): Likewise.
39894         (llround): Likewise.
39895         * stdlib/stdlib.h (struct drand48_data): Likewise.
39896         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39897         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39898         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39899         Likewise.
39900         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39901         Likewise.
39902         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39903         (elf_greg_t): Likewise.
39904         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39905         (__jmp_buf): Likewise.
39906         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39907         definitions.
39908         (llrint): Likewise, for all definitions.
39909         (llrintl): Likewise.
39911         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39912         Remove [__GNUC__] condition.
39913         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39914         condition to just [__USE_ISOC99].
39915         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39917 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39919         [BZ #14200]
39920         * sysdeps/unix/sysv/linux/x86/bits/environments.h
39921         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39922         defined.
39923         (_POSIX_V6_ILP32_OFF32): Likewise.
39924         (_XBS5_ILP32_OFF32): Likewise.
39925         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39926         (__ILP32_OFFBIG_LDFLAGS): Likewise.
39928 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39930         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39932         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39933         doubles __mpexp_twomm1.  Adjust usage.
39934         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39935         Remove.
39937 2013-01-10  Andreas Schwab  <schwab@suse.de>
39939         [BZ #14964]
39940         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39941         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39943 2013-01-09  David S. Miller  <davem@davemloft.net>
39945         [BZ #15003]
39946         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39947         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39948         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39949         (TCP_FASTOPEN): Define.
39950         (tcp_repair_opt): New structure.
39951         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39952         enum values.
39953         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39954         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39955         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39956         (tcp_cookie_transactions): New structure.
39958 2013-01-09  Anton Blanchard  <anton@samba.org>
39960         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39961         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39962         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39963         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39965 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
39967         * include/features.h (__USE_ANSI): Remove.
39969 2013-01-09  Roland McGrath  <roland@hack.frob.com>
39971         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39973         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39975 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39977         * sysdeps/s390/fpu/libm-test-ulps: Update.
39979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39981         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
39982         (__acr): Likewise.
39983         (__cpy): Likewise.
39984         (norm): Likewise.
39985         (denorm): Likewise.
39986         (__mp_dbl): Likewise.
39987         (__dbl_mp): Likewise.
39988         (add_magnitudes): Likewise.
39989         (sub_magnitudes): Likewise.
39990         (__add): Likewise.
39991         (__sub): Likewise.
39992         (__mul): Likewise.
39993         (__inv): Likewise.
39994         (__dvd): Likewise.
39995         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
39996         (__acr): Likewise.
39997         (__cpy): Likewise.
39998         (norm): Likewise.
39999         (denorm): Likewise.
40000         (__mp_dbl): Likewise.
40001         (__dbl_mp): Likewise.
40002         (add_magnitudes): Likewise.
40003         (sub_magnitudes): Likewise.
40004         (__add): Likewise.
40005         (__sub): Likewise.
40006         (__mul): Likewise.
40007         (__inv): Likewise.
40008         (__dvd): Likewise.
40009         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40010         (__acr): Likewise.
40011         (__cpy): Likewise.
40012         (norm): Likewise.
40013         (denorm): Likewise.
40014         (__mp_dbl): Likewise.
40015         (__dbl_mp): Likewise.
40016         (add_magnitudes): Likewise.
40017         (sub_magnitudes): Likewise.
40018         (__add): Likewise.
40019         (__sub): Likewise.
40020         (__mul): Likewise.
40021         (__inv): Likewise.
40022         (__dvd): Likewise.
40024 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40026         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40027         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40028         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40029         2 && __USE_EXTERN_INLINES]: Likewise.
40031 2013-01-08  Andreas Jaeger  <aj@suse.de>
40033         [BZ# 14985]
40034         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40035         Remove.
40036         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40037         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40039 2013-01-07  Anton Blanchard  <anton@samba.org>
40041         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40042         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40043         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40044         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40045         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40046         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40047         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40048         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40049         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40050         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40051         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40052         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40053         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40054         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40055         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40056         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40057         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40058         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40059         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40060         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40061         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40062         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40063         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40064         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40065         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40066         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40067         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40068         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40069         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40070         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40071         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40072         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40073         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40074         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40075         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40076         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40077         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40078         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40079         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40080         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40081         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40082         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40083         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40085 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40087         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40088         (__MALLOC_PMT): Likewise.
40089         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40090         [__GNUC__], only on [_LIBC].
40091         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40092         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40093         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40094         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40095         forward declaration.
40096         (realloc_hook_ini): Likewise.
40097         (memalign_hook_ini): Likewise.
40098         (__libc_memalign): Do not use __MALLOC_PMT in variable
40099         declaration.
40100         (__libc_valloc): Likewise.
40101         (__libc_pvalloc): Likewise.
40102         (__libc_calloc): Likewise.
40103         (__posix_memalign): Likewise.
40105         [BZ #14996]
40106         * math/s_casinh.c: Include <float.h>.
40107         (__casinh): Do not do computation with squaring and square root
40108         for large arguments.
40109         * math/s_casinhf.c: Include <float.h>.
40110         (__casinhf): Do not do computation with squaring and square root
40111         for large arguments.
40112         * math/s_casinhl.c: Include <float.h>.
40113         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40114         (__casinhl): Do not do computation with squaring and square root
40115         for large arguments.
40116         * math/libm-test.inc (casin_test): Add more tests.
40117         (casinh_test): Likewise.
40118         * sysdeps/i386/fpu/libm-test-ulps: Update.
40119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40121 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40123         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40124         (__x86_64_raw_data_cache_size): Likewise.
40125         (__x86_64_data_cache_size_half): Likewise.
40126         (__x86_64_raw_data_cache_size_half): Likewise.
40127         (__x86_64_shared_cache_size): Likewise.
40128         (__x86_64_raw_shared_cache_size): Likewise.
40129         (__x86_64_shared_cache_size_half): Likewise.
40130         (__x86_64_raw_shared_cache_size_half): Likewise.
40131         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40132         to ...
40133         (__x86_data_cache_size): This.
40134         (__x86_64_raw_data_cache_size): Renamed to ...
40135         (__x86_raw_data_cache_size): This.
40136         (__x86_64_data_cache_size_half): Renamed to ...
40137         (__x86_data_cache_size_half): This.
40138         (__x86_64_raw_data_cache_size_half): Renamed to ...
40139         (__x86_raw_data_cache_size_half): This.
40140         (__x86_64_shared_cache_size): Renamed to ...
40141         (__x86_shared_cache_size): This.
40142         (__x86_64_raw_shared_cache_size): Renamed to ...
40143         (__x86_raw_shared_cache_size): This.
40144         (__x86_64_shared_cache_size_half): Renamed to ...
40145         (__x86_shared_cache_size_half): This.
40146         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40147         (__x86_raw_shared_cache_size_half): This.
40148         * sysdeps/x86_64/memcpy.S: Updated.
40149         * sysdeps/x86_64/memset.S: Likewise.
40150         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40151         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40152         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40154 2013-01-04  David S. Miller  <davem@davemloft.net>
40156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40158 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40160         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40161         1 to avoid redefinition warning.
40162         (__USE_GNU): Don't define.
40163         (init_signaling_nan): Protoize.
40165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40167 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40169         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40170         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40171         (__cpymn): Likewise.
40172         (norm): Remove commented code.
40173         (denorm): Likewise.
40174         (__mp_dbl): Likewise.
40175         (__inv): Likewise.
40176         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40177         (__cpymn): Likewise.
40178         (norm): Remove commented code.
40179         (denorm): Likewise.
40180         (__mp_dbl): Likewise.
40181         (__inv): Likewise.
40183         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40184         mp_no value for 1.0 and 2.0.
40185         (norm): Use RADIXI instead of radixi.d.
40186         (denorm): Likewise.
40187         (__mul): Use 0.0 instead of zero.d.
40188         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40189         mp_no value for 1.0 and 2.0.
40190         (norm): Use RADIXI instead of radixi.d.
40191         (denorm): Likewise.
40192         (__mul): Use 0.0 instead of zero.d.
40194 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40196         [BZ #14994]
40197         * math/s_casinh.c (__casinh): Reduce finite argument to first
40198         quadrant then set signs of results at the end.
40199         * math/s_casinhf.c (__casinhf): Likewise.
40200         * math/s_casinhl.c (__casinhl): Likewise.
40201         * math/libm-test.inc (casin_test): Add more tests.
40202         (casinh_test): Likewise.
40203         * sysdeps/i386/fpu/libm-test-ulps: Update.
40204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40206 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40208         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40210         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40212         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40213         declarations.
40214         (denorm): Likewise.
40215         (__mp_dbl): Likewise.
40216         (__inv): Likewise.
40218         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40219         and adjust the header comment.
40221         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40222         variable name from declaration.
40224 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40226         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40227         Initialize COMMON_CPUID_INDEX_7 element.
40228         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40229         (CPUID_RTM): Likewise.
40230         (HAS_RTM): Likewise.
40231         (COMMON_CPUID_INDEX_7): New enum.
40233 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40235         [BZ #14981]
40236         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40237         size is zero, record memory as freed.
40239 2013-01-03  Andreas Jaeger  <aj@suse.de>
40241         * po/ia.po: Add new Interlingua translation.
40243 2012-01-03  Allan McRae  <allan@archlinux.org>
40245         * locale/programs/localedef.c: Fix description of '--posix' flag.
40247 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40249         * NEWS: Update dates in second copyright notice.
40250         * README: Update copyright dates in example.
40251         * manual/libc.texinfo: Update copyright dates.
40252         * scripts/test-installation.pl: Update copyright date in --version
40253         output.
40255         * hurd/ctty-input.c: Fix copyright notice formatting.
40256         * hurd/ctty-output.c: Likewise.
40257         * hurd/dtable.c: Likewise.
40258         * hurd/hurd-raise.c: Likewise.
40259         * hurd/hurdprio.c: Likewise.
40260         * hurd/msgportdemux.c: Likewise.
40261         * misc/sys/file.h: Likewise.
40262         * misc/sys/ioctl.h: Likewise.
40263         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40264         * sysdeps/mach/hurd/chdir.c: Likewise.
40265         * sysdeps/mach/hurd/fchdir.c: Likewise.
40266         * sysdeps/mach/hurd/rename.c: Likewise.
40267         * sysdeps/mach/hurd/rmdir.c: Likewise.
40268         * sysdeps/mach/hurd/seekdir.c: Likewise.
40269         * sysdeps/mach/hurd/setsid.c: Likewise.
40270         * sysdeps/posix/wait3.c: Likewise.
40272         * All files with FSF copyright notices: Update copyright dates
40273         using scripts/update-copyrights.
40274         * intl/plural.c: Regenerated.
40275         * locale/programs/charmap-kw.h: Likewise.
40276         * locale/programs/locfile-kw.h: Likewise.
40278 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40280         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40281         four values.
40283         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40284         calculation loop and add branch prediction.
40286         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40287         check access beyond bounds of m1np.
40289         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40290         MPTWO.
40291         (__inv): Remove local variable MPTWO to use the global
40292         constant.
40293         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40294         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40295         variable MPTWO.
40296         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40297         MP3HALFS static const.
40299 2013-01-01  David S. Miller  <davem@davemloft.net>
40301         * po/ca.po: Update from translation team.
40303 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40305         * scripts/update-copyrights: New file.
40306         * Makeconfig: Reformat copyright notice.
40307         * ctype/ctype.h: Likewise.
40308         * debug/swprintf_chk.c: Likewise.
40309         * elf/dl-cache.c: Likewise.
40310         * elf/dl-debug.c: Likewise.
40311         * elf/dl-object.c: Likewise.
40312         * grp/initgroups.c: Likewise.
40313         * hurd/Makefile: Likewise.
40314         * hurd/hurd/signal.h: Likewise.
40315         * hurd/hurdfault.c: Likewise.
40316         * hurd/hurdioctl.c: Likewise.
40317         * hurd/hurdlookup.c: Likewise.
40318         * hurd/intr-msg.c: Likewise.
40319         * iconv/gconv_open.c: Likewise.
40320         * libio/swprintf.c: Likewise.
40321         * locale/lc-ctype.c: Likewise.
40322         * locale/nl_langinfo.c: Likewise.
40323         * mach/Machrules: Likewise.
40324         * mach/Makefile: Likewise.
40325         * malloc/obstack.h: Likewise.
40326         * manual/Makefile: Likewise.
40327         * manual/tsort.awk: Likewise.
40328         * misc/bits/stab.def: Likewise.
40329         * nis/nis_print_group_entry.c: Likewise.
40330         * nis/nis_table.c: Likewise.
40331         * nis/nss_compat/compat-pwd.c: Likewise.
40332         * nis/nss_compat/compat-spwd.c: Likewise.
40333         * po/Makefile: Likewise.
40334         * posix/fnmatch.c: Likewise.
40335         * posix/regex.h: Likewise.
40336         * resolv/Makefile: Likewise.
40337         * resolv/nss_dns/dns-network.c: Likewise.
40338         * resolv/res_hconf.c: Likewise.
40339         * scripts/gen-sorted.awk: Likewise.
40340         * soft-fp/soft-fp.h: Likewise.
40341         * stdio-common/printf.h: Likewise.
40342         * stdlib/monetary.h: Likewise.
40343         * stdlib/random.c: Likewise.
40344         * stdlib/random_r.c: Likewise.
40345         * sysdeps/generic/Makefile: Likewise.
40346         * sysdeps/gnu/Makefile: Likewise.
40347         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40348         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40349         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40350         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40351         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40352         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40353         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40354         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40355         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40356         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40357         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40358         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40359         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40360         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40361         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40362         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40363         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40364         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40365         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40366         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40367         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40368         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40369         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40370         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40371         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40372         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40373         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40374         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40375         * sysdeps/mach/hurd/errnos.awk: Likewise.
40376         * sysdeps/mach/hurd/fork.c: Likewise.
40377         * sysdeps/mach/hurd/getcwd.c: Likewise.
40378         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40379         * sysdeps/mach/hurd/mmap.c: Likewise.
40380         * sysdeps/mach/hurd/utimes.c: Likewise.
40381         * sysdeps/mach/hurd/xmknod.c: Likewise.
40382         * sysdeps/posix/profil.c: Likewise.
40383         * sysdeps/posix/readdir_r.c: Likewise.
40384         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40385         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40386         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40387         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40388         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40389         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40390         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40391         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40392         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40393         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40394         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40395         * sysdeps/pthread/lio_listio.c: Likewise.
40396         * sysdeps/sparc/dl-procinfo.h: Likewise.
40397         * sysdeps/unix/i386/sysdep.S: Likewise.
40398         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40399         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40400         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40401         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40403         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40404         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40405         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40406         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40407         * sysdeps/wordsize-32/divdi3.c: Likewise.
40408         * time/sys/time.h: Likewise.
40409         * wcsmbs/Makefile: Likewise.
40411 2013-01-01  David S. Miller  <davem@davemloft.net>
40413         * po/fr.po: Update from translation team.
40415         * catgets/gencat.c: Update copyright year.
40416         * csu/version.c: Likewise.
40417         * debug/catchsegv.sh: Likewise.
40418         * debug/pcprofiledump.c: Likewise.
40419         * debug/xtrace.sh: Likewise.
40420         * elf/ldconfig.c: Likewise.
40421         * elf/ldd.bash.in: Likewise.
40422         * elf/pldd.c: Likewise.
40423         * elf/sotruss.ksh: Likewise.
40424         * elf/sprof.c: Likewise.
40425         * iconv/iconv_prog.c: Likewise.
40426         * iconv/iconvconfig.c: Likewise.
40427         * locale/programs/locale.c: Likewise.
40428         * locale/programs/localedef.c: Likewise.
40429         * login/programs/pt_chown.c: Likewise.
40430         * malloc/memusage.sh: Likewise.
40431         * malloc/memusagestat.c: Likewise.
40432         * malloc/mtrace.pl: Likewise.
40433         * nscd/nscd.c: Likewise.
40434         * nss/getent.c: Likewise.
40435         * nss/makedb.c: Likewise.
40436         * posix/getconf.c: Likewise.
40438 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40440         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40441         numbers.
40443 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
40445         * math/bits/mathcalls.h (modf): Use __nonnull.
40447 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40449         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40450         (split): Use macro CN instead of the bare value.
40451         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40452         could be used.
40453         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40454         instead of the bare value.
40455         (power1): Likewise.
40457 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40459         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40460         __ATAN_TWOM.
40461         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40463         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40464         their values.
40465         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40466         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40467         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40468         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40470 2012-12-28  Andreas Jaeger  <aj@suse.de>
40472         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
40473         values are from Linux 3.7.
40475         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40476         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
40478 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40480         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
40481         TRUE case.
40483         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40484         (norm): Likewise.
40485         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40486         variables with preprocessor constants.
40487         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40488         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40489         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40491 2012-12-27  Bruno Haible  <bruno@clisp.org>
40493         [BZ #14317]
40494         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40495         only if needed.
40497 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40499         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40500         and use variable directly.
40501         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40503         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40504         MPONE.
40505         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40506         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40507         variable MPONE.
40508         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40509         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40510         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40511         include directive.  Remove local variable MPONE.
40512         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40513         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40514         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40516 2012-12-25  David S. Miller  <davem@davemloft.net>
40518         * version.h (RELEASE): Set to "development".
40519         (VERSION): Set to "2.17.90".
40520         * NEWS: Add 2.18 section.
40522 2012-12-21  David S. Miller  <davem@davemloft.net>
40524         * po/hr.po: Update from translation team.
40526 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40528         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40530 2012-12-19  Steve Ellcey  <sellcey@mips.com>
40532         * NEWS:  Mention new memcpy for MIPS.
40534 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40536         * manual/contrib.texi (Contributors): Spelling correction.
40538 2012-12-15  David S. Miller  <davem@davemloft.net>
40540         * po/ru.po: Update from translation team.
40542 2012-12-13  David S. Miller  <davem@davemloft.net>
40544         * NEWS: Mention IFUNC testsuite enhancements.
40546         * po/pl.po: Update from translation team.
40547         * po/bg.po: Likewise.
40549         * manual/contrib.texi (Contributors): Update entries for Hongjiu
40550         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
40552 2012-12-11  David S. Miller  <davem@davemloft.net>
40554         * po/sv.po: Update from translation team.
40556         * po/vi.po: Update from translation team.
40558         * po/cs.po: Update from translation team.
40560         * po/de.po: Update from translation team.
40561         * po/eo.po: Likewise.
40562         * po/nl.po: Likewise.
40564 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40566         [BZ #14246]
40567         * manual/argp.texi (Argp Helper Functions): Move node to follow
40568         Argp Parsing State.
40570         [BZ #14872]
40571         * manual/conf.texi (Limits on File System Capacity): Mention if
40572         terminating null is included in the max size.
40574 2012-12-10  Andreas Jaeger  <aj@suse.de>
40576         * po/cs.po: Update from translation team.
40578 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40580         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40581         void pointer and cast to uintptr_t.
40582         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40583         path.
40584         * sysdeps/s390/s390-64/memcpy.S: Likewise.
40585         * sysdeps/s390/s390-64/memset.S: Likewise.
40587 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
40589         [BZ #14833]
40590         * menual/message.texi (Message Translation): Fix typos.
40591         (Helper programs for gettext): Likewise.
40593 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
40595         [BZ #14898]
40596         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40597         Change to -1.
40599 2012-12-07  David S. Miller  <davem@davemloft.net>
40601         * po/libc.pot: Update.
40603 2012-12-07  Richard Henderson  <rth@redhat.com>
40605         [BZ #10114]
40606         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
40607         normal/normal case to before the switch.
40608         (_FP_DIV): Likewise.
40610 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
40611             Mike Frysinger  <vapier@gentoo.org>
40613         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
40614         check for __NR_fadvise64_64.
40616 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
40618         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
40619         0, not just to plain "0" as a statement.
40620         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
40621         with cw.
40623 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
40625         * NEWS: Use sourceware.org in Bugzilla URL.
40627 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40630         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40632         * stdio-common/tst-put-error.c (do_test): Add newline to the
40633         padded test to ensure flush.
40635 2012-12-05  Jeff Law  <law@redhat.com>
40637         * sunrpc/etc.rpc (fedfs_admin): Add entry.
40639 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
40641         * README: Don't refer to ports add-on as distributed separately.
40642         Mention AArch64 in list of systems supported in the ports add-on.
40644         * LICENSES: Add more non-FSF copyright and license notices.
40646         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
40647         ((unused)).
40649         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
40651         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
40652         10000 as width of padded output.
40654 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40656         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
40658         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
40659         variable LX with __attribute__ ((unused)).
40660         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40661         Likewise.
40662         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40663         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40664         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40665         with __attribute__ ((unused)).
40667 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
40669         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40671 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40673         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40674         (CFLAGS-nldbl-acos.c): New variable.
40675         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40676         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40677         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40678         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40679         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40680         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40681         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40682         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40683         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40684         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40685         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40686         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40687         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40688         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40689         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40690         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40691         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40692         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40693         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40694         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40695         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40696         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40697         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40698         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40699         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40700         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40701         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40702         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40703         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40704         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40705         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40706         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40707         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40708         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40709         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40710         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40711         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40712         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40713         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40714         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40715         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40716         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40717         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40718         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40719         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40720         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40721         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40722         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40723         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40724         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40725         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40726         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40727         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40728         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40729         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40730         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40731         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40732         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40733         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40734         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40735         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40736         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40737         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40738         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40739         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40740         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40741         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40742         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40743         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40744         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40745         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40746         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40747         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40748         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40749         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40750         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40751         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40752         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40753         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40754         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40755         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40756         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40757         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40758         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40759         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40760         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40761         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40762         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40763         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40764         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40765         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40766         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40767         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40768         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40769         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40770         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40771         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40774         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40776         [BZ #14914]
40777         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40778         whole low double instead of just low 47 bits when splitting values
40779         into two parts.
40781 2012-12-03  Allan McRae  <allan@archlinux.org>
40783         * manual/stdio.texi (Predefined Printf Handlers): Remove
40784         @hsep and @vsep usage.
40786 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
40788         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40789         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40791 2012-12-03  Jeff Law  <law@redhat.com>
40793         * time/sys/time.h (settimeofday): Do not mark TV argument
40794         as __nonnull.
40796 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
40798         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40799         when currently writing and seek to current position when not.
40800         * libio/Makefile (tests): Remove bug-fclose1.
40801         * libio/bug-fclose1.c: Delete.
40803 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
40805         * manual/arith.texi (feenableexcept): Fix typo.
40806         (fedisableexcept): Likewise.
40808 2012-11-30  Roland McGrath  <roland@hack.frob.com>
40810         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40811         second, differently-typed declaration, rather than a cast.
40813 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40815         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40816         * include/rpc/svc.h: ... here.
40818 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
40820         [BZ #13013]
40821         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40822         depending n and resplen2 to catch cases where answer
40823         equals answerp2.
40825 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
40827         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40828         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40830 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
40832         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40834 2012-11-29  Roland McGrath  <roland@hack.frob.com>
40836         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40838 2012-11-28  Jeff Law  <law@redhat.com>
40840         [BZ #13761]
40841         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40842         dataset_temporary.  Track alloca usage into alloca_used.
40843         If dataset is large allocate and release it via malloc/free.
40845 2012-06-04  Florian Weimer  <fweimer@redhat.com>
40847         [BZ #14197]
40848         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40850 2012-11-28  David S. Miller  <davem@davemloft.net>
40852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40854 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40856         [BZ #14803]
40857         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40858         of pi/2 rounded to nearest to 64 bits.
40859         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40860         nearest to 64 bits.
40861         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40862         bits.
40864 2012-11-28  Jeff Law <law@redhat.com>
40865             Martin Osvald <mosvald@redhat.com>
40867         [BZ #14889]
40868         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40869         * sunrpc/svc.c: Include time.h.
40870         (__svc_accept_failed): New function.
40871         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40872         any reason other than EINTR, call __svc_accept_failed.
40873         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40874         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40876 2012-11-28  Andreas Schwab  <schwab@suse.de>
40878         * scripts/abilist.awk: Also handle indirect functions in .opd
40879         section.
40881 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40883         [BZ #13881]
40884         * sysdeps/x86/fpu/powl_helper.c: New file.
40885         * sysdeps/x86/fpu/Makefile: Likewise.
40886         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40887         (p3): New object.
40888         (__ieee754_powl): Use __powl_helper for finite arguments except
40889         integer exponents below 8.
40890         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40891         (p3): New object.
40892         (__ieee754_powl): Use __powl_helper for finite arguments except
40893         integer exponents below 8.
40894         * math/libm-test.inc (pow_test): Add more tests and enable some
40895         previously disabled tests.
40896         * sysdeps/i386/fpu/libm-test-ulps: Update.
40897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40899 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40900             Carlos O'Donell  <carlos_odonell@mentor.com>
40902         * nss/makedb.c (is_prime): Assert that input is odd and greater
40903         than 4.  Note that fact in a comment too.
40904         (next_prime): Add 4 to input.
40906 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40908         [BZ #11741]
40909         * libio/Makefile (tests): Add test case tst-fwrite-error.
40910         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40911         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40912         * libio/tst-fwrite-error.c: New test case.
40914 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
40916         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40917         before casting to void *.
40918         * include/libc-internal.h (__pointer_type): New macro.
40919         (__integer_if_pointer_type_sub): Likewise.
40920         (__integer_if_pointer_type): Likewise.
40921         (cast_to_integer): Likewise.
40922         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40923         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40924         before casting to atomic64_t.
40925         (atomic_exchange_acq): Likewise.
40926         (__arch_exchange_and_add_body): Likewise.
40927         (__arch_add_body): Likewise.
40928         (atomic_add_negative): Likewise.
40929         (atomic_add_zero): Likewise.
40931 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
40933         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40934         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40935         (add_fdes): Likewise.
40936         (linear_search_fdes): Likewise.
40937         (binary_search_unencoded_fdes): Likewise.
40939 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
40941         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40943 2012-11-24  Adam Conrad  <adconrad@0c3.net>
40945         * configure.in: Autodetect C++ header directories.
40946         * configure: Regenerated.
40948 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
40950         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40952 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
40954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40956 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
40958         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40959         LDBL_MANT_DIG == 106]: Disable some tests.
40960         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40961         Likewise.
40962         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40963         Likewise.
40965         [BZ #14871]
40966         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40967         input for small inputs.  Return +/- pi/2 for large inputs.
40968         * math/libm-test.inc (atan_test): Add more tests.
40970         * sysdeps/generic/unwind-dw2-fde-glibc.c
40971         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40972         __attribute__ ((unused)).
40974         [BZ #14645]
40975         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40976         x * y if x and y are nonzero and z is zero.
40978         [BZ #14811]
40979         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
40980         nonzero exponents with absolute value below 0x1p-117 to +/-
40981         0x1p-117.
40983         [BZ #14869]
40984         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
40985         up arguments below 2**-450, not just those below 2**-500.
40986         * math/libm-test.inc (hypot_test): Add another test.
40988         [BZ #14868]
40989         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
40990         Return a+b for ratio over 2**120, not 2**60.
40991         * math/libm-test.inc (hypot_test): Add another test.
40993         * math/libm-test.inc (clog_test): Use
40994         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
40995         (clog10_test): Likewise.
40997         [BZ #6778]
40998         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41000 2012-11-22  Andreas Schwab  <schwab@suse.de>
41002         * sysdeps/i386/fpu/libm-test-ulps: Update.
41004 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41006         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41007         printf output with newline.
41009 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41011         [BZ #14865]
41012         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41013         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41014         -z nodlopen, -z initfirst and -z execstack support.
41015         * configure: Regenerated.
41017         * elf/elf.h (DF_1_NODIRECT): New macro.
41018         (DF_1_IGNMULDEF): Likewise.
41019         (DF_1_NOKSYMS): Likewise.
41020         (DF_1_NOHDR): Likewise.
41021         (DF_1_EDITED): Likewise.
41022         (DF_1_NORELOC): Likewise.
41023         (DF_1_SYMINTPOSE): Likewise.
41024         (DF_1_GLOBAUDIT): Likewise.
41025         (DF_1_SINGLETON): Likewise.
41026         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41027         DT_1_SUPPORTED_MASK bits.
41028         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41030 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41032         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41034 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41036         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41037         macro.
41039         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41040         (sendmmsg): Move declarations...
41041         * socket/sys/socket.h: ... here.
41042         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41043         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41044         include it from...
41045         * socket/recvmmsg.c: ... this new file.
41046         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41047         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41048         definition of __sendmmsg hidden.
41049         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41050         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41051         Move ENOSYS stub into and include it from...
41052         * socket/sendmmsg.c: ... this new file.
41053         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41054         (sysdep_routines): Move recvmmsg and sendmmsg...
41055         * socket/Makefile (routines): ... here.
41056         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41057         (GLIBC_PRIVATE): Add __sendmmsg.
41058         * include/sys/socket.h (__sendmmsg): Add declarations.
41059         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41060         sendmmsg.
41062 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41064         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41065         variable I1 with __attribute__ ((unused)).
41066         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41068 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41070         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41071         DUMMY variables with __attribute__ ((unused)).
41073         * bits/byteswap.h: Include <bits/types.h>.
41074         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41076 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41078         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41079         string_t.  Do not manually set errno.
41080         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41081         length with __strnlen.  Make sure to both set errno and return it on
41082         failure.
41084 2012-11-19  David S. Miller  <davem@davemloft.net>
41086         With help from Joseph Myers.
41087         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41088         very large arguments properly.
41089         * math/libm-test.inc (atan_test): New tests.
41090         (atan2_test): New tests.
41091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41092         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41094 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41096         [BZ #14856]
41097         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41098         Define to 3.
41100         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41101         [POSIX] (EADDRNOTAVAIL): Likewise.
41102         [POSIX] (EAFNOSUPPORT): Likewise.
41103         [POSIX] (EALREADY): Likewise.
41104         [POSIX] (ECONNABORTED): Likewise.
41105         [POSIX] (ECONNREFUSED): Likewise.
41106         [POSIX] (ECONNRESET): Likewise.
41107         [POSIX] (EDESTADDRREQ): Likewise.
41108         [POSIX] (EDQUOT): Likewise.
41109         [POSIX] (EHOSTUNREACH): Likewise.
41110         [POSIX] (EIDRM): Likewise.
41111         [POSIX] (EISCONN): Likewise.
41112         [POSIX] (ELOOP): Likewise.
41113         [POSIX] (EMULTIHOP): Likewise.
41114         [POSIX] (ENETDOWN): Likewise.
41115         [POSIX] (ENETUNREACH): Likewise.
41116         [POSIX] (ENOBUFS): Likewise.
41117         [POSIX] (ENODATA): Likewise.
41118         [POSIX] (ENOLINK): Likewise.
41119         [POSIX] (ENOMSG): Likewise.
41120         [POSIX] (ENOPROTOOPT): Likewise.
41121         [POSIX] (ENOSR): Likewise.
41122         [POSIX] (ENOSTR): Likewise.
41123         [POSIX] (ENOTCONN): Likewise.
41124         [POSIX] (ENOTSOCK): Likewise.
41125         [POSIX] (EOPNOTSUPP): Likewise.
41126         [POSIX] (EOVERFLOW): Likewise.
41127         [POSIX] (EPROTO): Likewise.
41128         [POSIX] (EPROTONOSUPPORT): Likewise.
41129         [POSIX] (EPROTOTYPE): Likewise.
41130         [POSIX] (ESTALE): Likewise.
41131         [POSIX] (ETIME): Likewise.
41132         [POSIX] (ETXTBSY): Likewise.
41133         [POSIX] (EWOULDBLOCK): Likewise.
41134         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41135         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41136         [POSIX] (SEEK_CUR): Likewise.
41137         [POSIX] (SEEK_END): Likewise.
41138         [POSIX || UNIX98] (mode_t): Do not require.
41139         [POSIX] (off_t): Likewise.
41140         [POSIX] (pid_t): Likewise.
41141         [POSIX] (sys/stat.h): Do not allow header.
41142         [POSIX] (unistd.h): Likewise.
41143         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41144         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41145         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41146         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41147         require.
41148         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41149         sigevent): Specify elements.
41150         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41151         entry.
41152         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41153         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41155         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41156         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41157         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41158         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41159         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41160         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41161         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41162         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41163         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41164         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41165         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41166         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41167         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41168         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41169         Likewise.
41170         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41171         Likewise.
41172         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41173         Likewise.
41174         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41175         Likewise.
41176         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41177         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41178         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41179         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41180         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41181         Specify lower bound on value.
41182         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41183         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41184         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41185         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41186         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41187         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41188         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41189         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41190         value.
41191         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41192         as optional.
41193         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41194         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41195         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41196         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41197         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41198         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41199         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41200         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41201         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41202         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41203         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41204         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41205         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41206         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41207         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41208         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41209         entry.
41210         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41211         optional.
41212         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41213         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41214         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41215         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41216         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41217         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41218         Likewise.
41219         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41220         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41221         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41222         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41223         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41224         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41225         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41226         as optional.
41227         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41228         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41229         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41230         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41231         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41232         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41233         specify as optional.
41234         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41235         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41236         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41237         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41238         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41239         [XPG3] (NL_LANGMAX): Likewise.
41240         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41241         [POSIX || XPG3] (NL_NMAX): Likewise.
41242         [POSIX || XPG3] (NL_SETMAX): Likewise.
41243         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41244         [XPG3] (NZERO): Likewise.
41245         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41246         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41247         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41248         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41249         (REG_ERANGE): Expect.
41250         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41251         optional-constant.
41252         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41253         Use (void) in prototype.
41254         [POSIX] (*_t): Allow.
41255         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41256         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41257         (WRDE_BADVAL): Expect.
41259         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41260         expect.
41261         [XPG3 || XPG4] (O_RSYNC): Likewise.
41262         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41263         Likewise.
41264         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41265         [XPG3 || XPG4] (sigqueue): Likewise.
41266         [XPG3 || XPG4] (sigtimedwait): Likewise.
41267         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41268         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41269         [XPG3 || XPG4] (vsnprintf): Likewise.
41270         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41271         Likewise.
41272         [XPG3 || XPG4] (blksize_t): Likewise.
41273         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41274         Likewise.
41275         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41276         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41277         [XPG3 || XPG4] (struct itimerspec): Likewise.
41278         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41279         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41280         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41281         [XPG3 || XPG4] (clockid_t): Likewise.
41282         [XPG3 || XPG4] (timer_t): Likewise.
41283         [XPG3 || XPG4] (clock_getres): Likewise.
41284         [XPG3 || XPG4] (clock_gettime): Likewise.
41285         [XPG3 || XPG4] (clock_settime): Likewise.
41286         [XPG3 || XPG4] (nanosleep): Likewise.
41287         [XPG3 || XPG4] (timer_create): Likewise.
41288         [XPG3 || XPG4] (timer_delete): Likewise.
41289         [XPG3 || XPG4] (timer_gettime): Likewise.
41290         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41291         [XPG3 || XPG4] (timer_settime): Likewise.
41292         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41293         [XPG3 || XPG4] (getlogin_r): Likewise.
41294         [XPG3 || XPG4] (pread): Likewise.
41295         [XPG3 || XPG4] (pthread_atfork): Likewise.
41296         [XPG3 || XPG4] (pwrite): Likewise.
41298         [BZ #14835]
41299         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41300         <bits/siginfo.h>.
41302 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41304         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41305         finalizing MALLSTREAM.
41307         * sysdeps/mach/hurd/syncfs.c: New file.
41309 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41311         [BZ #14719]
41312         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41313         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41314         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41315         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41316         (_nss_dns_gethostbyname4_r): Likewise.
41317         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41318         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41320 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41322         [BZ #13763]
41323         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41325 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41327         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41328         * elf/cache.c (print_entry): Print ",AArch64" for
41329         FLAG_AARCH64_LIB64
41331         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41332         * elf/cache.c (print_entry): Print ",hard-float" for
41333         FLAG_ARM_LIBHF.
41335 2012-11-18  David S. Miller  <davem@davemloft.net>
41337         With help from Joseph Myers.
41338         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41339         cutoff to 2**-13.
41340         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41341         cutoff to 2**-25.
41342         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41343         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41344         small.
41345         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41346         * math/libm-test.inc (y0_test): New tests.
41347         (y1_test): New tests.
41348         * sysdeps/i386/fpu/libm-test-ulps: Update.
41349         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41350         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41352 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41354         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41355         64-bit targets.
41356         * configure: Regenerated.
41358 2012-11-17  David S. Miller  <davem@davemloft.net>
41360         [BZ #14811]
41361         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41362         nonzero exponents with absolute value below 0x1p-128 to +/-
41363         0x1p-128.
41365 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41367         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41369         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41371         * posix/getconf-speclist.c: New file.
41372         * posix/posix-envs.def: Likewise.
41373         * posix/confstr.c (START_ENV_GROUP): New macro.
41374         (END_ENV_GROUP): Likewise.
41375         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41376         (KNOWN_PRESENT_ENV_STRING): Likewise.
41377         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41378         (UNKNOWN_ENVIRONMENT): Likewise.
41379         (confstr): Include posix-envs.def instead of handling
41380         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41381         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41382         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41383         (END_ENV_GROUP): Likewise.
41384         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41385         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41386         (UNKNOWN_ENVIRONMENT): Likewise.
41387         (__sysconf): Include posix-envs.def instead of handling associated
41388         cases directly here.
41389         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41390         preprocessing getconf-speclist.c rather than running getconf or
41391         generating empty file.
41393 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41395         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41397 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41399         [BZ #14672]
41400         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41402 2012-11-16  David S. Miller  <davem@davemloft.net>
41404         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41405         smaller than LDBL_EPSILON/2.0L, just return xm1.
41407 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41409         * elf/tst-array1.c (init): Set constructor priority to 1000.
41410         (fini): Set destructor priority to 1000.
41411         * elf/tst-array2dep.c: Likewise.
41413 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41415         [BZ #11741]
41416         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41417         (_IO_new_file_xsputn): Also return EOF if none of the input
41418         data was written when overflow failed.
41419         * libio/iopadn.c (_IO_padn): Likewise.
41420         * libio/iowpadn.c (_IO_wpadn): Likewise.
41421         * stdio-common/tst-put-error.c: Add copyright notice.
41422         (do_test): Add case for printing padded string.
41423         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41424         _IO_padn returned error.
41425         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41426         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41427         return EOF.
41429 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41431         * libio/libioP.h: Add comment note that the references to C++
41432         bits are now obsolete.
41434 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41436         * math/libm-test.inc (check_complex): Use asprintf.
41438 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41440         * debug/pcprofiledump.c (print_version): Update copyright year.
41441         * malloc/memusagestat.c (print_version): Likewise.
41443 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
41445         [BZ #14831]
41446         * elf/Makefile (tests): Add tst-audit8.
41447         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41448         ($(objpfx)tst-audit8.out): New target.
41449         (tst-audit8-ENV): New variable.
41450         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41451         audit if l_reloc_result is NULL.
41452         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41453         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41454         * elf/tst-audit8.c: New file.
41456 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41458         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41459         * misc/Makefile (CFLAGS-select.c): Define.
41460         * posix/Makefile (CFLAGS-pause.c): Define.
41462 2012-11-13  David S. Miller  <davem@davemloft.net>
41464         * crypt/Makefile: Move test targets after toplevel Rules
41465         inclusion.  Grab any necessary sysdep routines when linking.
41466         * crypt/md5.c (md5_process_block): Remove define, we will always
41467         name it __md5_process_block.
41468         (md5_finish_ctx): Update md5_process_block call.
41469         (md5_stream): Likewise.
41470         (md5_process_bytes): Likewise.
41471         (md5_process_block): Rename to __md5_process_block and move to ...
41472         * crypt/md5-block.c: ... here.
41473         * crypt/sha256.c (sha256_process_block): Move to ...
41474         * crypt/sha256-block.c: ... here.
41475         * crypt/sha512.c (sha512_process_block): Move to ...
41476         * crypt/sha512-block.c: ... here.
41477         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41478         path.
41479         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41480         * sysdeps/sparc/sparc64/multiarch/Makefile
41481         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41482         crypt subdir.
41483         (localedef-aux): Add md5 crypto assembler when in locale subdir.
41484         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41485         multiarch changes.
41486         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41487         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41488         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41489         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41490         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41491         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41492         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41493         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41494         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41495         file.
41496         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41497         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41498         file.
41499         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41501 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
41503         * timezone/tzselect.ksh: Update from tzcode git revision
41504         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41505         * timezone/zdump.c: Likewise.
41506         * timezone/zic.c: Likewise.
41507         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41508         in TZVERSION setting, not $(PKGVERSION).
41509         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
41510         REPORT_BUGS_TO settings.
41512         [BZ #14838]
41513         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41514         macro.
41516 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41518         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41519         detection to immediately after _FP_ROUND().
41520         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41521         bits are 0.
41523 2012-11-11  David S. Miller  <davem@davemloft.net>
41525         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41526         inttypes.h
41527         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41528         __close rather than their public counterparts.
41530 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
41532         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41533         file.
41534         [UNIX98] (sem_timedwait): Do not expect.
41535         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41536         [XPG4 || UNIX98] (sockatmark): Do not expect.
41537         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41538         (clock_getcpuclockid): Do not expect.
41539         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41540         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41541         Do not expect.
41542         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41543         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41544         [UNIX98] (vwscanf): Likewise.
41545         [UNIX98] (vswscanf): Likewise.
41547 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
41549         * timezone/version.h: Remove file.
41550         * timezone/README: Do not refer to version.h.
41551         * timezone/Makefile ($(objpfx)zic.o): New dependency on
41552         $(objpfx)version.h.
41553         ($(objpfx)zdump.o): Likewise.
41554         ($(objpfx)version.h): New target.
41556         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41557         2012i.
41558         * timezone/README: Don't mention modification to tzselect.ksh.
41559         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41560         work on unmodified tzselect.ksh.  Substitute version numbers in
41561         tzselect.ksh.
41563         * Makefile (format-me): Remove.
41564         (INSTALL): Adjust indentation.  Use commands directly instead of
41565         using $(format-me).
41567         * aclocal.m4 (ACX_PKGVERSION): New macro.
41568         (ACX_BUGURL): Likewise.
41569         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41570         (PKGVERSION): New AC_DEFINE_UNQUOTED.
41571         (REPORT_BUGS_TO): Likewise.
41572         * configure: Regenerated.
41573         * config.h.in (PKGVERSION): New macro.
41574         (REPORT_BUGS_TO): Likewise.
41575         * config.make.in (PKGVERSION): New variable.
41576         (PKGVERSION_TEXI): Likewise.
41577         (REPORT_BUGS_TO): Likewise.
41578         (REPORT_BUGS_TEXI): Likewise.
41579         * Makefile (format-me): Use -I$(common-objpfx)manual.
41580         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41581         ($(common-objpfx)manual/%): New target.
41582         (manual/%): Remove target.
41583         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41584         (print_version): Use PKGVERSION.
41585         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41586         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41587         and REPORT_BUGS_TO.
41588         ($(objpfx)xtrace): Likewise.
41589         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41590         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41591         (print_version): Use PKGVERSION.
41592         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41593         (do_version): Use PKGVERSION.
41594         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41595         REPORT_BUGS_TO.
41596         (common-ldd-rewrite): Likewise.
41597         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41598         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41599         (print_version): Use PKGVERSION.
41600         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41601         * elf/pldd.c (argp_program_bug_address): Remove variable.
41602         (more_help): New function.
41603         (argp): Use more_help.
41604         (print_version): Use PKGVERSION.
41605         * elf/sln.c (main): Use PKGVERSION.
41606         (usage): Use REPORT_BUGS_TO.
41607         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
41608         (top level): Use PKGVERSION.
41609         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
41610         (print_version): Use PKGVERSION.
41611         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
41612         (print_version): Use PKGVERSION.
41613         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
41614         (print_version): Use PKGVERSION.
41615         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
41616         (print_version): Use PKGVERSION.
41617         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
41618         (print_version): Use PKGVERSION.
41619         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
41620         (print_version): Use PKGVERSION.
41621         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
41622         and BUGURL.
41623         ($(objpfx)memusage): Likewise.
41624         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
41625         (do_version): Use PKGVERSION.
41626         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
41627         (print_version): Use PKGVERSION.
41628         * malloc/mtrace.pl ($PACKAGE): Remove variable.
41629         ($PKGVERSION): New variable.
41630         ($REPORT_BUGS_TO): Likewise.
41631         (usage): Use $REPORT_BUGS_TO.
41632         (top level): Use $PKGVERSION.
41633         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
41634         ($(objpfx)pkgvers.texi): New rule.
41635         ($(objpfx)stamp-pkgvers): Likewise.
41636         * manual/install.texi: Include pkgvers.texi.
41637         (--with-pkgversion): Document new configure option.
41638         (--with-bugurl): Likewise.
41639         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
41640         than necessarily for this particular distribution.  Use
41641         REPORT_BUGS_TO for where to report bugs.
41642         * INSTALL: Regenerated.
41643         * manual/libc.texinfo: Include pkgvers.texi.
41644         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
41645         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
41646         (print_version): Use PKGVERSION.
41647         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
41648         (print_version): Use PKGVERSION.
41649         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
41650         (print_version): Use PKGVERSION.
41651         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
41652         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
41653         macro.
41654         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
41655         (print_version): Use PKGVERSION.
41656         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
41657         (print_version): Use PKGVERSION.
41658         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
41659         and PKGVERSION.
41661         * timezone/checktab.awk: Update from tzcode 2012i.
41662         * timezone/ialloc.c: Likewise.
41663         * timezone/private.h: Likewise.
41664         * timezone/scheck.c: Likewise.
41665         * timezone/tzfile.h: Likewise.
41666         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41667         (TZVERSION): Hardcode tzcode version number.
41668         * timezone/zdump.c: Update from tzcode 2012i.
41669         * timezone/zic.c: Likewise.
41670         * timezone/version.h: New file.
41671         * timezone/README: Describe version.h.  Update upstream location.
41673         [BZ #14824]
41674         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41675         (mktemp): Enable declaration.
41676         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41677         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41678         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41679         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41680         Likewise.
41681         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41682         Likewise.
41683         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41684         Likewise.
41685         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41686         Likewise.
41687         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41688         Likewise.
41689         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41690         Likewise.
41692         [BZ #14821]
41693         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41694         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
41695         for copies of such integer values.
41696         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41697         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41699 2012-11-09  Andreas Jaeger  <aj@suse.de>
41701         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41702         definitions and declarations that are provided by
41703         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41705 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41707         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41708         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41709         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41710         definition.
41712 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41714         * elf/elf.h: Update comment before AArch64 relocations.
41716 2012-11-07  David S. Miller  <davem@davemloft.net>
41718         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41719         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41720         (__start_context): Declare.
41721         (__makecontext_ret): Delete.
41722         (__makecontext): Hook up __start_context instead of
41723         __makecontext_ret.
41724         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41725         (sysdep_routines): Add __start_context when in stdlib.
41727 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41729         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41730         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41731         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
41732         hardcoded "nm".
41733         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
41734         (READELF): New variable.  Use it instead of hardcoded "readelf".
41736 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41738         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41739         * sysdeps/x86/Makefile: Here.
41740         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41741         * sysdeps/x86/tst-xmmymm.sh: This.
41743 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41745         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41746         expectations.
41747         [UNIX98] (pthread_barrier_t): Do not expect.
41748         [UNIX98] (pthread_barrierattr_t): Likewise.
41749         [UNIX98] (pthread_spinlock_t): Likewise.
41750         [UNIX98] (pthread_barrier_destroy): Likewise.
41751         [UNIX98] (pthread_barrier_init): Likewise.
41752         [UNIX98] (pthread_barrier_wait): Likewise.
41753         [UNIX98] (pthread_barrierattr_destroy): Likewise.
41754         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41755         [UNIX98] (pthread_barrierattr_init): Likewise.
41756         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41757         [UNIX98] (pthread_getcpuclockid): Likewise.
41758         [UNIX98] (pthread_mutex_timedlock): Likewise.
41759         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41760         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41761         [UNIX98] (pthread_sigmask): Likewise.
41762         [UNIX98] (pthread_spin_destroy): Likewise.
41763         [UNIX98] (pthread_spin_init): Likewise.
41764         [UNIX98] (pthread_spin_lock): Likewise.
41765         [UNIX98] (pthread_spin_trylock): Likewise.
41766         [UNIX98] (pthread_spin_unlock): Likewise.
41767         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41768         Do not expect.
41769         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41770         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41771         [XPG3 || XPG4] (pthread_cond_t): Likewise.
41772         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41773         [XPG3 || XPG4] (pthread_key_t): Likewise.
41774         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41775         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41776         [XPG3 || XPG4] (pthread_once_t): Likewise.
41777         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41778         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41779         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41780         [XPG3 || XPG4] (pthread_t): Likewise.
41782         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41783         not expect.
41784         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41786         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41787         Change function return type to int.
41789         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41790         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41791         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41792         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41793         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41794         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41795         [!POSIX] (posix_madvise): Likewise.
41796         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41797         && !UNIX98].
41798         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41799         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41800         (mode_t): Likewise.
41801         (posix_mem_offset): Likewise.
41802         (posix_typed_mem_get_info): Likewise.
41803         (posix_typed_mem_open): Likewise.
41805         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41806         Change condition to [XOPEN2K8].
41808         * conform/conformtest.pl: Preprocess allow-header data with -x c
41809         instead of from stdin.
41810         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41811         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41812         [C99-based standards] (cerfc): Likewise.
41813         [C99-based standards] (cexp2): Likewise.
41814         [C99-based standards] (cexpm1): Likewise.
41815         [C99-based standards] (clog10): Likewise.
41816         [C99-based standards] (clog1p): Likewise.
41817         [C99-based standards] (clog2): Likewise.
41818         [C99-based standards] (clgamma): Likewise.
41819         [C99-based standards] (ctgamma): Likewise.
41820         [C99-based standards] (cerff): Likewise.
41821         [C99-based standards] (cerfcf): Likewise.
41822         [C99-based standards] (cexp2f): Likewise.
41823         [C99-based standards] (cexpm1f): Likewise.
41824         [C99-based standards] (clog10f): Likewise.
41825         [C99-based standards] (clog1pf): Likewise.
41826         [C99-based standards] (clog2f): Likewise.
41827         [C99-based standards] (clgammaf): Likewise.
41828         [C99-based standards] (ctgammaf): Likewise.
41829         [C99-based standards] (cerfl): Likewise.
41830         [C99-based standards] (cerfcl): Likewise.
41831         [C99-based standards] (cexp2l): Likewise.
41832         [C99-based standards] (cexpm1l): Likewise.
41833         [C99-based standards] (clog10l): Likewise.
41834         [C99-based standards] (clog1pl): Likewise.
41835         [C99-based standards] (clog2l): Likewise.
41836         [C99-based standards] (clgammal): Likewise.
41837         [C99-based standards] (ctgammal): Likewise.
41838         * conform/data/inttypes.h-data [C99-based standards]: Include
41839         stdint.h-data.  Remove all expectations for stdint.h contents.
41840         [C99-based standards] (PRI*): Do not allow.
41841         [C99-based standards] (SCN*): Likewise.
41842         [C99-based standards] (*_t): Likewise.
41843         [C99-based-standards] (PRId8): Expect macro.
41844         [C99-based-standards] (PRIi8): Likewise.
41845         [C99-based-standards] (PRIo8): Likewise.
41846         [C99-based-standards] (PRIu8): Likewise.
41847         [C99-based-standards] (PRIx8): Likewise.
41848         [C99-based-standards] (PRIX8): Likewise.
41849         [C99-based-standards] (SCNd8): Likewise.
41850         [C99-based-standards] (SCNi8): Likewise.
41851         [C99-based-standards] (SCNo8): Likewise.
41852         [C99-based-standards] (SCNu8): Likewise.
41853         [C99-based-standards] (SCNx8): Likewise.
41854         [C99-based-standards] (PRIdLEAST8): Likewise.
41855         [C99-based-standards] (PRIiLEAST8): Likewise.
41856         [C99-based-standards] (PRIoLEAST8): Likewise.
41857         [C99-based-standards] (PRIuLEAST8): Likewise.
41858         [C99-based-standards] (PRIxLEAST8): Likewise.
41859         [C99-based-standards] (PRIXLEAST8): Likewise.
41860         [C99-based-standards] (SCNdLEAST8): Likewise.
41861         [C99-based-standards] (SCNiLEAST8): Likewise.
41862         [C99-based-standards] (SCNoLEAST8): Likewise.
41863         [C99-based-standards] (SCNuLEAST8): Likewise.
41864         [C99-based-standards] (SCNxLEAST8): Likewise.
41865         [C99-based-standards] (PRIdFAST8): Likewise.
41866         [C99-based-standards] (PRIiFAST8): Likewise.
41867         [C99-based-standards] (PRIoFAST8): Likewise.
41868         [C99-based-standards] (PRIuFAST8): Likewise.
41869         [C99-based-standards] (PRIxFAST8): Likewise.
41870         [C99-based-standards] (PRIXFAST8): Likewise.
41871         [C99-based-standards] (SCNdFAST8): Likewise.
41872         [C99-based-standards] (SCNiFAST8): Likewise.
41873         [C99-based-standards] (SCNoFAST8): Likewise.
41874         [C99-based-standards] (SCNuFAST8): Likewise.
41875         [C99-based-standards] (SCNxFAST8): Likewise.
41876         [C99-based-standards] (PRId16): Likewise.
41877         [C99-based-standards] (PRIi16): Likewise.
41878         [C99-based-standards] (PRIo16): Likewise.
41879         [C99-based-standards] (PRIu16): Likewise.
41880         [C99-based-standards] (PRIx16): Likewise.
41881         [C99-based-standards] (PRIX16): Likewise.
41882         [C99-based-standards] (SCNd16): Likewise.
41883         [C99-based-standards] (SCNi16): Likewise.
41884         [C99-based-standards] (SCNo16): Likewise.
41885         [C99-based-standards] (SCNu16): Likewise.
41886         [C99-based-standards] (SCNx16): Likewise.
41887         [C99-based-standards] (PRIdLEAST16): Likewise.
41888         [C99-based-standards] (PRIiLEAST16): Likewise.
41889         [C99-based-standards] (PRIoLEAST16): Likewise.
41890         [C99-based-standards] (PRIuLEAST16): Likewise.
41891         [C99-based-standards] (PRIxLEAST16): Likewise.
41892         [C99-based-standards] (PRIXLEAST16): Likewise.
41893         [C99-based-standards] (SCNdLEAST16): Likewise.
41894         [C99-based-standards] (SCNiLEAST16): Likewise.
41895         [C99-based-standards] (SCNoLEAST16): Likewise.
41896         [C99-based-standards] (SCNuLEAST16): Likewise.
41897         [C99-based-standards] (SCNxLEAST16): Likewise.
41898         [C99-based-standards] (PRIdFAST16): Likewise.
41899         [C99-based-standards] (PRIiFAST16): Likewise.
41900         [C99-based-standards] (PRIoFAST16): Likewise.
41901         [C99-based-standards] (PRIuFAST16): Likewise.
41902         [C99-based-standards] (PRIxFAST16): Likewise.
41903         [C99-based-standards] (PRIXFAST16): Likewise.
41904         [C99-based-standards] (SCNdFAST16): Likewise.
41905         [C99-based-standards] (SCNiFAST16): Likewise.
41906         [C99-based-standards] (SCNoFAST16): Likewise.
41907         [C99-based-standards] (SCNuFAST16): Likewise.
41908         [C99-based-standards] (SCNxFAST16): Likewise.
41909         [C99-based-standards] (PRId32): Likewise.
41910         [C99-based-standards] (PRIi32): Likewise.
41911         [C99-based-standards] (PRIo32): Likewise.
41912         [C99-based-standards] (PRIu32): Likewise.
41913         [C99-based-standards] (PRIx32): Likewise.
41914         [C99-based-standards] (PRIX32): Likewise.
41915         [C99-based-standards] (SCNd32): Likewise.
41916         [C99-based-standards] (SCNi32): Likewise.
41917         [C99-based-standards] (SCNo32): Likewise.
41918         [C99-based-standards] (SCNu32): Likewise.
41919         [C99-based-standards] (SCNx32): Likewise.
41920         [C99-based-standards] (PRIdLEAST32): Likewise.
41921         [C99-based-standards] (PRIiLEAST32): Likewise.
41922         [C99-based-standards] (PRIoLEAST32): Likewise.
41923         [C99-based-standards] (PRIuLEAST32): Likewise.
41924         [C99-based-standards] (PRIxLEAST32): Likewise.
41925         [C99-based-standards] (PRIXLEAST32): Likewise.
41926         [C99-based-standards] (SCNdLEAST32): Likewise.
41927         [C99-based-standards] (SCNiLEAST32): Likewise.
41928         [C99-based-standards] (SCNoLEAST32): Likewise.
41929         [C99-based-standards] (SCNuLEAST32): Likewise.
41930         [C99-based-standards] (SCNxLEAST32): Likewise.
41931         [C99-based-standards] (PRIdFAST32): Likewise.
41932         [C99-based-standards] (PRIiFAST32): Likewise.
41933         [C99-based-standards] (PRIoFAST32): Likewise.
41934         [C99-based-standards] (PRIuFAST32): Likewise.
41935         [C99-based-standards] (PRIxFAST32): Likewise.
41936         [C99-based-standards] (PRIXFAST32): Likewise.
41937         [C99-based-standards] (SCNdFAST32): Likewise.
41938         [C99-based-standards] (SCNiFAST32): Likewise.
41939         [C99-based-standards] (SCNoFAST32): Likewise.
41940         [C99-based-standards] (SCNuFAST32): Likewise.
41941         [C99-based-standards] (SCNxFAST32): Likewise.
41942         [C99-based-standards] (PRId64): Likewise.
41943         [C99-based-standards] (PRIi64): Likewise.
41944         [C99-based-standards] (PRIo64): Likewise.
41945         [C99-based-standards] (PRIu64): Likewise.
41946         [C99-based-standards] (PRIx64): Likewise.
41947         [C99-based-standards] (PRIX64): Likewise.
41948         [C99-based-standards] (SCNd64): Likewise.
41949         [C99-based-standards] (SCNi64): Likewise.
41950         [C99-based-standards] (SCNo64): Likewise.
41951         [C99-based-standards] (SCNu64): Likewise.
41952         [C99-based-standards] (SCNx64): Likewise.
41953         [C99-based-standards] (PRIdLEAST64): Likewise.
41954         [C99-based-standards] (PRIiLEAST64): Likewise.
41955         [C99-based-standards] (PRIoLEAST64): Likewise.
41956         [C99-based-standards] (PRIuLEAST64): Likewise.
41957         [C99-based-standards] (PRIxLEAST64): Likewise.
41958         [C99-based-standards] (PRIXLEAST64): Likewise.
41959         [C99-based-standards] (SCNdLEAST64): Likewise.
41960         [C99-based-standards] (SCNiLEAST64): Likewise.
41961         [C99-based-standards] (SCNoLEAST64): Likewise.
41962         [C99-based-standards] (SCNuLEAST64): Likewise.
41963         [C99-based-standards] (SCNxLEAST64): Likewise.
41964         [C99-based-standards] (PRIdFAST64): Likewise.
41965         [C99-based-standards] (PRIiFAST64): Likewise.
41966         [C99-based-standards] (PRIoFAST64): Likewise.
41967         [C99-based-standards] (PRIuFAST64): Likewise.
41968         [C99-based-standards] (PRIxFAST64): Likewise.
41969         [C99-based-standards] (PRIXFAST64): Likewise.
41970         [C99-based-standards] (SCNdFAST64): Likewise.
41971         [C99-based-standards] (SCNiFAST64): Likewise.
41972         [C99-based-standards] (SCNoFAST64): Likewise.
41973         [C99-based-standards] (SCNuFAST64): Likewise.
41974         [C99-based-standards] (SCNxFAST64): Likewise.
41975         [C99-based-standards] (PRIdMAX): Likewise.
41976         [C99-based-standards] (PRIiMAX): Likewise.
41977         [C99-based-standards] (PRIoMAX): Likewise.
41978         [C99-based-standards] (PRIuMAX): Likewise.
41979         [C99-based-standards] (PRIxMAX): Likewise.
41980         [C99-based-standards] (PRIXMAX): Likewise.
41981         [C99-based-standards] (SCNdMAX): Likewise.
41982         [C99-based-standards] (SCNiMAX): Likewise.
41983         [C99-based-standards] (SCNoMAX): Likewise.
41984         [C99-based-standards] (SCNuMAX): Likewise.
41985         [C99-based-standards] (SCNxMAX): Likewise.
41986         [C99-based-standards] (PRIdPTR): Likewise.
41987         [C99-based-standards] (PRIiPTR): Likewise.
41988         [C99-based-standards] (PRIoPTR): Likewise.
41989         [C99-based-standards] (PRIuPTR): Likewise.
41990         [C99-based-standards] (PRIxPTR): Likewise.
41991         [C99-based-standards] (PRIXPTR): Likewise.
41992         [C99-based-standards] (SCNdPTR): Likewise.
41993         [C99-based-standards] (SCNiPTR): Likewise.
41994         [C99-based-standards] (SCNoPTR): Likewise.
41995         [C99-based-standards] (SCNuPTR): Likewise.
41996         [C99-based-standards] (SCNxPTR): Likewise.
41997         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
41998         allow.
41999         * conform/data/stdint.h-data: Update comments to clarify
42000         requirements.
42001         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42002         type.
42003         [C99-based standards] (INT8_MAX): Likewise.
42004         [C99-based standards] (INT16_MIN): Likewise.
42005         [C99-based standards] (INT16_MAX): Likewise.
42006         [C99-based standards] (INT32_MIN): Likewise.
42007         [C99-based standards] (INT32_MAX): Likewise.
42008         [C99-based standards] (INT64_MIN): Likewise.
42009         [C99-based standards] (INT64_MAX): Likewise.
42010         [C99-based standards] (UINT8_MAX): Likewise.
42011         [C99-based standards] (UINT16_MAX): Likewise.
42012         [C99-based standards] (UINT32_MAX): Likewise.
42013         [C99-based standards] (UINT64_MAX): Likewise.
42014         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42015         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42016         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42017         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42018         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42019         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42020         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42021         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42022         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42023         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42024         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42025         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42026         [C99-based standards] (INT_FAST8_MIN): Likewise.
42027         [C99-based standards] (INT_FAST8_MAX): Likewise.
42028         [C99-based standards] (INT_FAST16_MIN): Likewise.
42029         [C99-based standards] (INT_FAST16_MAX): Likewise.
42030         [C99-based standards] (INT_FAST32_MIN): Likewise.
42031         [C99-based standards] (INT_FAST32_MAX): Likewise.
42032         [C99-based standards] (INT_FAST64_MIN): Likewise.
42033         [C99-based standards] (INT_FAST64_MAX): Likewise.
42034         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42035         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42036         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42037         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42038         [C99-based standards] (INTPTR_MIN): Likewise.
42039         [C99-based standards] (INTPTR_MAX): Likewise.
42040         [C99-based standards] (UINTPTR_MAX): Likewise.
42041         [C99-based standards] (INTMAX_MIN): Likewise.
42042         [C99-based standards] (INTMAX_MAX): Likewise.
42043         [C99-based standards] (UINTMAX_MAX): Likewise.
42044         [C99-based standards] (PTRDIFF_MIN): Likewise.
42045         [C99-based standards] (PTRDIFF_MAX): Likewise.
42046         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42047         [C99-based standards] (SIZE_MAX): Likewise.
42048         [C99-based standards] (WCHAR_MAX): Likewise.
42049         [C99-based standards] (WINT_MAX): Likewise.
42050         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42051         constraint on value.
42052         [C99-based standards] (WCHAR_MIN): Likewise.
42053         [C99-based standards] (WINT_MIN): Likewise.
42054         [C99-based standards] (*_t): Allow.
42055         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42056         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42057         Include math.h-data and complex.h-data.  Remove all expectations
42058         of math.h and complex.h contents.
42059         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42060         at end of line.
42061         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42062         (struct tm): Expect tag.
42063         [C99-based-standards] (wcstof): Expect function.
42064         [C99-based-standards] (wcstold): Likewise.
42065         [C99-based-standards] (wcstoll): Likewise.
42066         [C99-based-standards] (wcstoull): Likewise.
42067         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42068         macro-int-constant.  Specify type.
42069         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42070         constraint on value.
42071         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42072         Specify type.
42073         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42074         Specify value.
42075         [ISO C standards]: Do not allow headers.
42076         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42077         wcs[abcdefghijklmnopqrstuvwxyz]*.
42078         [ISO C standards] (*_t): Do not allow.
42079         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42080         Expect function.
42081         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42082         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42083         Specify type.
42084         [ISO C standards]: Do not allow headers.
42085         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42086         is[abcdefghijklmnopqrstuvwxyz]*.
42087         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42088         to[abcdefghijklmnopqrstuvwxyz]*.
42089         [ISO C standards] (*_t): Do not allow.
42090         * conform/data/stdalign.h-data: New file.
42091         * conform/data/stdbool.h-data: Likewise.
42092         * conform/data/stdnoreturn.h-data: Likewise.
42094 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42096         [BZ #14815]
42097         * manual/filesys.texi (Directory Entries): Typo fix.
42098         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42100 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42102         * elf/elf.h (EM_AARCH64): New macro.
42103         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42104         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42105         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42106         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42107         (R_AARCH64_TLSDESC): Likewise.
42108         (NT_ARM_TLS): Likewise.
42109         (NT_ARM_HW_BREAK): Likewise.
42110         (NT_ARM_HW_WATCH): Likewise.
42112 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42114         [BZ #14811]
42115         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42116         (__ieee754_powl): Saturate nonzero exponents with absolute value
42117         below 0x1p-79 to +/- 0x1p-79.
42118         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42119         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42120         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42121         nonzero exponents with absolute value below 0x1p-32 to +/-
42122         0x1p-32.
42123         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42124         (__ieee754_powl): Saturate nonzero exponents with absolute value
42125         below 0x1p-79 to +/- 0x1p-79.
42126         * math/libm-test.inc (pow_test): Add more tests.
42128 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42130         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42131         _dl_s390_cap_flags with kernel. Increase string length.
42132         (_dl_s390_platforms): Add z196 and zEC12.
42134 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42136         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42137         Change XOPEN21K to XOPEN2K.
42139 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42141         * string/memmove.c: Use memcpy when possible.
42143 2012-11-06  Andreas Jaeger  <aj@suse.de>
42145         * po/eo.po: Update from translation team.
42147 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42149         [BZ #14793]
42150         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42151         exponent and small x and y exponents, scale x or y up.  Increase
42152         by 2 the exponent used in scaling up.
42153         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42154         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42155         * math/libm-test.inc (fma_test): Add more tests.
42156         (fma_test_towardzero): Likewise.
42157         (fma_test_downward): Likewise.
42158         (fma_test_upward): Likewise.
42160 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42162         [BZ #14805]
42163         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42164         fenv_t *.
42166         [BZ #14801]
42167         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42168         namespace for names of struct fields.
42169         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42170         fenv_t fields.
42171         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42172         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42174 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42176         [BZ #3665]
42177         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42179 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42181         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42182         PTR_DEMANGLE.
42184         [BZ #5246]
42185         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42186         PTR_DEMANGLE.
42188 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42190         [BZ #14797]
42191         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42192         definitely overflow as x * y not x * y + z.
42193         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42194         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42195         * math/libm-test.inc (fma_test): Add more tests.
42196         (fma_test_towardzero): Likewise.
42197         (fma_test_downward): Likewise.
42198         (fma_test_upward): Likewise.
42200 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42202         [BZ #157]
42204         * include/stub-tag.h: Remove file.
42205         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42206         '#include' of it.
42207         * manual/maint.texi (Porting): Don't reference it.
42208         * Makerules ($(objpfx)stubs): Likewise.
42209         * dirent/closedir.c: Don't include <stub-tag.h>.
42210         * dirent/dirfd.c: Likewise.
42211         * dirent/fdopendir.c: Likewise.
42212         * dirent/getdents.c: Likewise.
42213         * dirent/getdents64.c: Likewise.
42214         * dirent/opendir.c: Likewise.
42215         * dirent/readdir.c: Likewise.
42216         * dirent/readdir64.c: Likewise.
42217         * dirent/readdir64_r.c: Likewise.
42218         * dirent/readdir_r.c: Likewise.
42219         * dirent/rewinddir.c: Likewise.
42220         * dirent/seekdir.c: Likewise.
42221         * dirent/telldir.c: Likewise.
42222         * gmon/profil.c: Likewise.
42223         * grp/setgroups.c: Likewise.
42224         * inet/if_index.c: Likewise.
42225         * io/access.c: Likewise.
42226         * io/chdir.c: Likewise.
42227         * io/chmod.c: Likewise.
42228         * io/chown.c: Likewise.
42229         * io/close.c: Likewise.
42230         * io/dup.c: Likewise.
42231         * io/dup2.c: Likewise.
42232         * io/dup3.c: Likewise.
42233         * io/euidaccess.c: Likewise.
42234         * io/faccessat.c: Likewise.
42235         * io/fchdir.c: Likewise.
42236         * io/fchmod.c: Likewise.
42237         * io/fchmodat.c: Likewise.
42238         * io/fchown.c: Likewise.
42239         * io/fchownat.c: Likewise.
42240         * io/fcntl.c: Likewise.
42241         * io/flock.c: Likewise.
42242         * io/fstatfs.c: Likewise.
42243         * io/fstatfs64.c: Likewise.
42244         * io/fstatvfs.c: Likewise.
42245         * io/fstatvfs64.c: Likewise.
42246         * io/futimens.c: Likewise.
42247         * io/fxstat.c: Likewise.
42248         * io/fxstat64.c: Likewise.
42249         * io/fxstatat.c: Likewise.
42250         * io/fxstatat64.c: Likewise.
42251         * io/getcwd.c: Likewise.
42252         * io/isatty.c: Likewise.
42253         * io/lchmod.c: Likewise.
42254         * io/lchown.c: Likewise.
42255         * io/link.c: Likewise.
42256         * io/linkat.c: Likewise.
42257         * io/lseek.c: Likewise.
42258         * io/lseek64.c: Likewise.
42259         * io/lxstat64.c: Likewise.
42260         * io/mkdir.c: Likewise.
42261         * io/mkdirat.c: Likewise.
42262         * io/mkfifo.c: Likewise.
42263         * io/mkfifoat.c: Likewise.
42264         * io/open.c: Likewise.
42265         * io/open64.c: Likewise.
42266         * io/openat.c: Likewise.
42267         * io/openat64.c: Likewise.
42268         * io/pipe.c: Likewise.
42269         * io/pipe2.c: Likewise.
42270         * io/poll.c: Likewise.
42271         * io/posix_fadvise.c: Likewise.
42272         * io/posix_fadvise64.c: Likewise.
42273         * io/posix_fallocate.c: Likewise.
42274         * io/posix_fallocate64.c: Likewise.
42275         * io/read.c: Likewise.
42276         * io/readlink.c: Likewise.
42277         * io/readlinkat.c: Likewise.
42278         * io/rmdir.c: Likewise.
42279         * io/sendfile.c: Likewise.
42280         * io/sendfile64.c: Likewise.
42281         * io/statfs.c: Likewise.
42282         * io/statfs64.c: Likewise.
42283         * io/statvfs.c: Likewise.
42284         * io/statvfs64.c: Likewise.
42285         * io/symlink.c: Likewise.
42286         * io/symlinkat.c: Likewise.
42287         * io/ttyname.c: Likewise.
42288         * io/ttyname_r.c: Likewise.
42289         * io/umask.c: Likewise.
42290         * io/unlink.c: Likewise.
42291         * io/unlinkat.c: Likewise.
42292         * io/utime.c: Likewise.
42293         * io/utimensat.c: Likewise.
42294         * io/write.c: Likewise.
42295         * io/xmknod.c: Likewise.
42296         * io/xmknodat.c: Likewise.
42297         * io/xstat.c: Likewise.
42298         * io/xstat64.c: Likewise.
42299         * login/getpt.c: Likewise.
42300         * login/grantpt.c: Likewise.
42301         * login/unlockpt.c: Likewise.
42302         * math/e_acoshl.c: Likewise.
42303         * math/e_acosl.c: Likewise.
42304         * math/e_asinl.c: Likewise.
42305         * math/e_atan2l.c: Likewise.
42306         * math/e_atanhl.c: Likewise.
42307         * math/e_coshl.c: Likewise.
42308         * math/e_expl.c: Likewise.
42309         * math/e_fmodl.c: Likewise.
42310         * math/e_gammal_r.c: Likewise.
42311         * math/e_hypotl.c: Likewise.
42312         * math/e_j0l.c: Likewise.
42313         * math/e_j1l.c: Likewise.
42314         * math/e_jnl.c: Likewise.
42315         * math/e_lgammal_r.c: Likewise.
42316         * math/e_log10l.c: Likewise.
42317         * math/e_log2l.c: Likewise.
42318         * math/e_logl.c: Likewise.
42319         * math/e_powl.c: Likewise.
42320         * math/e_rem_pio2l.c: Likewise.
42321         * math/e_sinhl.c: Likewise.
42322         * math/e_sqrtl.c: Likewise.
42323         * math/fclrexcpt.c: Likewise.
42324         * math/fedisblxcpt.c: Likewise.
42325         * math/feenablxcpt.c: Likewise.
42326         * math/fegetenv.c: Likewise.
42327         * math/fegetexcept.c: Likewise.
42328         * math/fegetround.c: Likewise.
42329         * math/feholdexcpt.c: Likewise.
42330         * math/fesetenv.c: Likewise.
42331         * math/fesetround.c: Likewise.
42332         * math/feupdateenv.c: Likewise.
42333         * math/fgetexcptflg.c: Likewise.
42334         * math/fraiseexcpt.c: Likewise.
42335         * math/fsetexcptflg.c: Likewise.
42336         * math/ftestexcept.c: Likewise.
42337         * math/k_cosl.c: Likewise.
42338         * math/k_rem_pio2l.c: Likewise.
42339         * math/k_sinl.c: Likewise.
42340         * math/k_tanl.c: Likewise.
42341         * math/s_asinhl.c: Likewise.
42342         * math/s_atanl.c: Likewise.
42343         * math/s_cbrtl.c: Likewise.
42344         * math/s_erfl.c: Likewise.
42345         * math/s_expm1l.c: Likewise.
42346         * math/s_log1pl.c: Likewise.
42347         * math/s_tanhl.c: Likewise.
42348         * misc/acct.c: Likewise.
42349         * misc/brk.c: Likewise.
42350         * misc/chflags.c: Likewise.
42351         * misc/chroot.c: Likewise.
42352         * misc/fchflags.c: Likewise.
42353         * misc/fgetxattr.c: Likewise.
42354         * misc/flistxattr.c: Likewise.
42355         * misc/fremovexattr.c: Likewise.
42356         * misc/fsetxattr.c: Likewise.
42357         * misc/fsync.c: Likewise.
42358         * misc/ftruncate.c: Likewise.
42359         * misc/futimes.c: Likewise.
42360         * misc/futimesat.c: Likewise.
42361         * misc/getdomain.c: Likewise.
42362         * misc/getdtsz.c: Likewise.
42363         * misc/gethostid.c: Likewise.
42364         * misc/gethostname.c: Likewise.
42365         * misc/getloadavg.c: Likewise.
42366         * misc/getpagesize.c: Likewise.
42367         * misc/getsysstats.c: Likewise.
42368         * misc/getxattr.c: Likewise.
42369         * misc/gtty.c: Likewise.
42370         * misc/ioctl.c: Likewise.
42371         * misc/lgetxattr.c: Likewise.
42372         * misc/listxattr.c: Likewise.
42373         * misc/llistxattr.c: Likewise.
42374         * misc/lremovexattr.c: Likewise.
42375         * misc/lsetxattr.c: Likewise.
42376         * misc/lutimes.c: Likewise.
42377         * misc/madvise.c: Likewise.
42378         * misc/mincore.c: Likewise.
42379         * misc/mlock.c: Likewise.
42380         * misc/mlockall.c: Likewise.
42381         * misc/mmap.c: Likewise.
42382         * misc/mprotect.c: Likewise.
42383         * misc/msync.c: Likewise.
42384         * misc/munlock.c: Likewise.
42385         * misc/munlockall.c: Likewise.
42386         * misc/munmap.c: Likewise.
42387         * misc/preadv.c: Likewise.
42388         * misc/preadv64.c: Likewise.
42389         * misc/ptrace.c: Likewise.
42390         * misc/pwritev.c: Likewise.
42391         * misc/pwritev64.c: Likewise.
42392         * misc/readv.c: Likewise.
42393         * misc/reboot.c: Likewise.
42394         * misc/remap_file_pages.c: Likewise.
42395         * misc/removexattr.c: Likewise.
42396         * misc/revoke.c: Likewise.
42397         * misc/select.c: Likewise.
42398         * misc/setdomain.c: Likewise.
42399         * misc/setegid.c: Likewise.
42400         * misc/seteuid.c: Likewise.
42401         * misc/sethostid.c: Likewise.
42402         * misc/sethostname.c: Likewise.
42403         * misc/setregid.c: Likewise.
42404         * misc/setreuid.c: Likewise.
42405         * misc/setxattr.c: Likewise.
42406         * misc/sstk.c: Likewise.
42407         * misc/stty.c: Likewise.
42408         * misc/swapoff.c: Likewise.
42409         * misc/swapon.c: Likewise.
42410         * misc/sync.c: Likewise.
42411         * misc/syncfs.c: Likewise.
42412         * misc/syscall.c: Likewise.
42413         * misc/truncate.c: Likewise.
42414         * misc/ualarm.c: Likewise.
42415         * misc/usleep.c: Likewise.
42416         * misc/ustat.c: Likewise.
42417         * misc/utimes.c: Likewise.
42418         * misc/vhangup.c: Likewise.
42419         * misc/writev.c: Likewise.
42420         * posix/_exit.c: Likewise.
42421         * posix/alarm.c: Likewise.
42422         * posix/execve.c: Likewise.
42423         * posix/fexecve.c: Likewise.
42424         * posix/fork.c: Likewise.
42425         * posix/fpathconf.c: Likewise.
42426         * posix/getaddrinfo.c: Likewise.
42427         * posix/getegid.c: Likewise.
42428         * posix/geteuid.c: Likewise.
42429         * posix/getgid.c: Likewise.
42430         * posix/getgroups.c: Likewise.
42431         * posix/getlogin.c: Likewise.
42432         * posix/getlogin_r.c: Likewise.
42433         * posix/getpgid.c: Likewise.
42434         * posix/getpid.c: Likewise.
42435         * posix/getppid.c: Likewise.
42436         * posix/getresgid.c: Likewise.
42437         * posix/getresuid.c: Likewise.
42438         * posix/getsid.c: Likewise.
42439         * posix/getuid.c: Likewise.
42440         * posix/glob64.c: Likewise.
42441         * posix/nanosleep.c: Likewise.
42442         * posix/pathconf.c: Likewise.
42443         * posix/pause.c: Likewise.
42444         * posix/posix_madvise.c: Likewise.
42445         * posix/pread.c: Likewise.
42446         * posix/pread64.c: Likewise.
42447         * posix/pwrite.c: Likewise.
42448         * posix/pwrite64.c: Likewise.
42449         * posix/sched_getaffinity.c: Likewise.
42450         * posix/sched_getp.c: Likewise.
42451         * posix/sched_gets.c: Likewise.
42452         * posix/sched_primax.c: Likewise.
42453         * posix/sched_primin.c: Likewise.
42454         * posix/sched_rr_gi.c: Likewise.
42455         * posix/sched_setaffinity.c: Likewise.
42456         * posix/sched_setp.c: Likewise.
42457         * posix/sched_sets.c: Likewise.
42458         * posix/sched_yield.c: Likewise.
42459         * posix/setgid.c: Likewise.
42460         * posix/setlogin.c: Likewise.
42461         * posix/setpgid.c: Likewise.
42462         * posix/setresgid.c: Likewise.
42463         * posix/setresuid.c: Likewise.
42464         * posix/setsid.c: Likewise.
42465         * posix/setuid.c: Likewise.
42466         * posix/sleep.c: Likewise.
42467         * posix/spawni.c: Likewise.
42468         * posix/sysconf.c: Likewise.
42469         * posix/times.c: Likewise.
42470         * posix/wait.c: Likewise.
42471         * posix/wait3.c: Likewise.
42472         * posix/wait4.c: Likewise.
42473         * posix/waitpid.c: Likewise.
42474         * resolv/gai_sigqueue.c: Likewise.
42475         * resource/getpriority.c: Likewise.
42476         * resource/getrlimit.c: Likewise.
42477         * resource/getrusage.c: Likewise.
42478         * resource/nice.c: Likewise.
42479         * resource/setpriority.c: Likewise.
42480         * resource/setrlimit.c: Likewise.
42481         * resource/ulimit.c: Likewise.
42482         * rt/aio_cancel.c: Likewise.
42483         * rt/aio_fsync.c: Likewise.
42484         * rt/aio_read.c: Likewise.
42485         * rt/aio_sigqueue.c: Likewise.
42486         * rt/aio_suspend.c: Likewise.
42487         * rt/aio_write.c: Likewise.
42488         * rt/clock_getres.c: Likewise.
42489         * rt/clock_gettime.c: Likewise.
42490         * rt/clock_nanosleep.c: Likewise.
42491         * rt/clock_settime.c: Likewise.
42492         * rt/lio_listio.c: Likewise.
42493         * rt/mq_close.c: Likewise.
42494         * rt/mq_getattr.c: Likewise.
42495         * rt/mq_notify.c: Likewise.
42496         * rt/mq_open.c: Likewise.
42497         * rt/mq_receive.c: Likewise.
42498         * rt/mq_send.c: Likewise.
42499         * rt/mq_setattr.c: Likewise.
42500         * rt/mq_timedreceive.c: Likewise.
42501         * rt/mq_timedsend.c: Likewise.
42502         * rt/mq_unlink.c: Likewise.
42503         * rt/shm_open.c: Likewise.
42504         * rt/shm_unlink.c: Likewise.
42505         * rt/timer_create.c: Likewise.
42506         * rt/timer_delete.c: Likewise.
42507         * rt/timer_getoverr.c: Likewise.
42508         * rt/timer_gettime.c: Likewise.
42509         * rt/timer_settime.c: Likewise.
42510         * setjmp/__longjmp.c: Likewise.
42511         * setjmp/setjmp.c: Likewise.
42512         * signal/kill.c: Likewise.
42513         * signal/killpg.c: Likewise.
42514         * signal/raise.c: Likewise.
42515         * signal/sigaction.c: Likewise.
42516         * signal/sigaltstack.c: Likewise.
42517         * signal/sigblock.c: Likewise.
42518         * signal/sigignore.c: Likewise.
42519         * signal/sigintr.c: Likewise.
42520         * signal/signal.c: Likewise.
42521         * signal/sigpause.c: Likewise.
42522         * signal/sigpending.c: Likewise.
42523         * signal/sigqueue.c: Likewise.
42524         * signal/sigreturn.c: Likewise.
42525         * signal/sigset.c: Likewise.
42526         * signal/sigsetmask.c: Likewise.
42527         * signal/sigstack.c: Likewise.
42528         * signal/sigsuspend.c: Likewise.
42529         * signal/sigtimedwait.c: Likewise.
42530         * signal/sigvec.c: Likewise.
42531         * signal/sigwait.c: Likewise.
42532         * signal/sigwaitinfo.c: Likewise.
42533         * signal/sysv_signal.c: Likewise.
42534         * socket/accept.c: Likewise.
42535         * socket/accept4.c: Likewise.
42536         * socket/bind.c: Likewise.
42537         * socket/connect.c: Likewise.
42538         * socket/getpeername.c: Likewise.
42539         * socket/getsockname.c: Likewise.
42540         * socket/getsockopt.c: Likewise.
42541         * socket/isfdtype.c: Likewise.
42542         * socket/listen.c: Likewise.
42543         * socket/recv.c: Likewise.
42544         * socket/recvfrom.c: Likewise.
42545         * socket/recvmsg.c: Likewise.
42546         * socket/send.c: Likewise.
42547         * socket/sendmsg.c: Likewise.
42548         * socket/sendto.c: Likewise.
42549         * socket/setsockopt.c: Likewise.
42550         * socket/shutdown.c: Likewise.
42551         * socket/sockatmark.c: Likewise.
42552         * socket/socket.c: Likewise.
42553         * socket/socketpair.c: Likewise.
42554         * stdio-common/ctermid.c: Likewise.
42555         * stdio-common/cuserid.c: Likewise.
42556         * stdio-common/remove.c: Likewise.
42557         * stdio-common/rename.c: Likewise.
42558         * stdio-common/renameat.c: Likewise.
42559         * stdio-common/tempname.c: Likewise.
42560         * stdlib/getcontext.c: Likewise.
42561         * stdlib/makecontext.c: Likewise.
42562         * stdlib/setcontext.c: Likewise.
42563         * stdlib/swapcontext.c: Likewise.
42564         * stdlib/system.c: Likewise.
42565         * streams/fattach.c: Likewise.
42566         * streams/fdetach.c: Likewise.
42567         * streams/getmsg.c: Likewise.
42568         * streams/getpmsg.c: Likewise.
42569         * streams/putmsg.c: Likewise.
42570         * streams/putpmsg.c: Likewise.
42571         * sysdeps/unix/bsd/getpt.c: Likewise.
42572         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42573         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42574         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42576         Likewise.
42577         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42578         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42579         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42580         * sysvipc/msgctl.c: Likewise.
42581         * sysvipc/msgget.c: Likewise.
42582         * sysvipc/msgrcv.c: Likewise.
42583         * sysvipc/msgsnd.c: Likewise.
42584         * sysvipc/semctl.c: Likewise.
42585         * sysvipc/semget.c: Likewise.
42586         * sysvipc/semop.c: Likewise.
42587         * sysvipc/semtimedop.c: Likewise.
42588         * sysvipc/shmat.c: Likewise.
42589         * sysvipc/shmctl.c: Likewise.
42590         * sysvipc/shmdt.c: Likewise.
42591         * sysvipc/shmget.c: Likewise.
42592         * termios/tcdrain.c: Likewise.
42593         * termios/tcflow.c: Likewise.
42594         * termios/tcflush.c: Likewise.
42595         * termios/tcgetattr.c: Likewise.
42596         * termios/tcgetpgrp.c: Likewise.
42597         * termios/tcsendbrk.c: Likewise.
42598         * termios/tcsetattr.c: Likewise.
42599         * termios/tcsetpgrp.c: Likewise.
42600         * time/adjtime.c: Likewise.
42601         * time/clock.c: Likewise.
42602         * time/getitimer.c: Likewise.
42603         * time/gettimeofday.c: Likewise.
42604         * time/setitimer.c: Likewise.
42605         * time/settimeofday.c: Likewise.
42606         * time/stime.c: Likewise.
42607         * time/time.c: Likewise.
42609 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
42611         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
42612         /usr/old/bin.
42614         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
42615         instead of spaces.
42616         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
42618 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
42620         [BZ #14796]
42621         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
42622         FE_TONEAREST before applying Dekker multiplication and Knuth
42623         addition.  Clear inexact exceptions and check for exact zero
42624         results afterwards.
42625         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42626         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42627         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42628         * math/libm-test.inc (fma_test): Add more tests.
42629         (fma_test_towardzero): Likewise.
42630         (fma_test_downward): Likewise.
42631         (fma_test_upward): Likewise.
42632         * sysdeps/generic/math_private.h (default_libc_fesetround): New
42633         function.
42634         (libc_fesetround): New macro.
42635         (libc_fesetroundf): Likewise.
42636         (libc_fesetroundl): Likewise.
42637         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
42638         function.
42639         (libc_fesetround_387): Likewise.
42640         (libc_fesetroundf): New macro.
42641         (libc_fesetround): Likewise.
42642         (libc_fesetroundl): Likewise.
42643         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
42644         function.
42645         (libc_fesetroundf): New macro.
42646         (libc_fesetround): Likewise.
42647         (libc_fesetroundl): Likewise.
42648         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
42649         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42650         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
42651         libm_hidden_ver.
42652         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
42653         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
42654         libm_hidden_def.
42655         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
42656         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
42657         libm_hidden_ver.
42658         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
42659         libm_hidden_def.
42661         [BZ #3439]
42662         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
42663         integer constant usable in #if and use that to give value to enum
42664         constant.
42665         (FE_DIVBYZERO): Likewise.
42666         (FE_UNDERFLOW): Likewise.
42667         (FE_OVERFLOW): Likewise.
42668         (FE_INVALID): Likewise.
42669         (FE_INVALID_SNAN): Likewise.
42670         (FE_INVALID_ISI): Likewise.
42671         (FE_INVALID_IDI): Likewise.
42672         (FE_INVALID_ZDZ): Likewise.
42673         (FE_INVALID_IMZ): Likewise.
42674         (FE_INVALID_COMPARE): Likewise.
42675         (FE_INVALID_SOFTWARE): Likewise.
42676         (FE_INVALID_SQRT): Likewise.
42677         (FE_INVALID_INTEGER_CONVERSION): Likewise.
42678         (FE_TONEAREST): Likewise.
42679         (FE_TOWARDZERO): Likewise.
42680         (FE_UPWARD): Likewise.
42681         (FE_DOWNWARD): Likewise.
42682         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42683         (FE_DIVBYZERO): Likewise.
42684         (FE_OVERFLOW): Likewise.
42685         (FE_UNDERFLOW): Likewise.
42686         (FE_INEXACT): Likewise.
42687         (FE_TONEAREST): Likewise.
42688         (FE_DOWNWARD): Likewise.
42689         (FE_UPWARD): Likewise.
42690         (FE_TOWARDZERO): Likewise.
42691         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42692         (FE_UNDERFLOW): Likewise.
42693         (FE_OVERFLOW): Likewise.
42694         (FE_DIVBYZERO): Likewise.
42695         (FE_INVALID): Likewise.
42696         (FE_TONEAREST): Likewise.
42697         (FE_TOWARDZERO): Likewise.
42698         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42699         (FE_OVERFLOW): Likewise.
42700         (FE_UNDERFLOW): Likewise.
42701         (FE_DIVBYZERO): Likewise.
42702         (FE_INEXACT): Likewise.
42703         (FE_TONEAREST): Likewise.
42704         (FE_TOWARDZERO): Likewise.
42705         (FE_UPWARD): Likewise.
42706         (FE_DOWNWARD): Likewise.
42707         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42708         (FE_DIVBYZERO): Likewise.
42709         (FE_OVERFLOW): Likewise.
42710         (FE_UNDERFLOW): Likewise.
42711         (FE_INEXACT): Likewise.
42712         (FE_TONEAREST): Likewise.
42713         (FE_DOWNWARD): Likewise.
42714         (FE_UPWARD): Likewise.
42715         (FE_TOWARDZERO): Likewise.
42717 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
42719         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42721 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
42723         * scripts/cross-test-ssh.sh (command): Use newlines to separate
42724         commands.  Quote $PWD.
42725         (blacklist_exports): Don't use remove_newlines.  Replace "declare
42726         -x" by "export".
42727         (remove_newlines): Remove.
42729 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
42731         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42732         * stdlib/stdlib.h (atof): Moved to ...
42733         * include/bits/stdlib-float.h: Here.  New file.
42734         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42735         * stdlib/bits/stdlib-float.h: New file.
42736         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42737         -mno-sse -mno-mmx.
42738         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42739         <xmmintrin.h>.
42741 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42743         * conform/conformtest.pl (@headers): Add fenv.h.
42744         * conform/data/fenv.h-data: New file.
42745         * include/fenv.h [_ISOMAC]: Disable all contents of file except
42746         include of <math/fenv.h>.
42748         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42749         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42750         && !UNIX98].  Enables tests for XOPEN2K8.
42751         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42752         POSIX2008]: Likewise.
42754         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42755         (struct rusage): Do not expect type or its members.
42757         [BZ #3439]
42758         * math/math.h (FP_NAN): Define macro to integer constant usable in
42759         #if and use that to give value to enum constant.
42760         (FP_INFINITE): Likewise.
42761         (FP_ZERO): Likewise.
42762         (FP_SUBNORMAL): Likewise.
42763         (FP_NORMAL): Likewise.
42765 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
42767         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42768         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42769         arguments.
42771 2012-11-02  Roland McGrath  <roland@hack.frob.com>
42773         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42774         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42775         autoconf-time if not.
42776         * configure.in: Remove AC_PREREQ.
42778 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42780         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42781         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42782         of the internal implementation.
42784 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42786         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42787         except include of <misc/sys/syslog.h>.
42789 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42792         function returns with a NULL context exit with zero.
42794 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42796         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42798 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
42800         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42801         (run_program_cmd): This.
42802         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42803         (tst_langinfo): New variable.  Use it.
42805 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
42807         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42808         floating point opcodes.
42810 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42812         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42813         variable.
42815         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42817         * sysdeps/mach/hurd/powerpc: Remove directory.
42818         * sysdeps/mach/powerpc: Likewise.
42820 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42822         * scripts/check-local-headers.sh: Ignore c++ headers.
42824 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42826         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42827         __libc_cleanup_region_start argument.
42829 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
42831         [BZ #14784]
42832         [BZ #14785]
42833         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42834         x * y using scaling, not as x * y + z.
42835         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42836         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42837         * math/libm-test.inc (fma_test): Add more tests.
42838         (fma_test_towardzero): Likewise.
42839         (fma_test_downward): Likewise.
42840         (fma_test_upward): Likewise.
42842 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42844         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42846 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42848         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42849         New variable.
42851 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
42853         * rt/tst-shm.c (worker): Correct checking for mmap failure.
42855 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42858         Fix sort order.
42859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42860         Likewise.
42862 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42865         Fix the order of the list for glibc 2.17.
42866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42867         Likewise.
42869 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42873 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42875         [BZ #14610]
42876         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42877         for low part of x being zero before using __atanl (y).
42878         * math/libm-test.inc (atan2_test): Add another test.
42880         * manual/install.texi (Configuring and compiling): Document
42881         general use of test-wrapper and test-wrapper-env.
42882         * INSTALL: Regenerated.
42884         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42885         (__fma): Do not extract and scale down low bits on after-rounding
42886         systems when result rounded to normal precision would have normal
42887         exponent.
42888         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42889         (__fmal): Do not extract and scale down low bits on after-rounding
42890         systems when result rounded to normal precision would have normal
42891         exponent.
42892         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42893         (__fmal): Do not extract and scale down low bits on after-rounding
42894         systems when result rounded to normal precision would have normal
42895         exponent.
42896         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42897         macro.
42898         (fma_test): Add more tests.
42899         (fma_test_towardzero): Likewise.
42900         (fma_test_downward): Likewise.
42901         (fma_test_upward): Likewise.
42903 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
42905         * sysdeps/i386/tininess.h: Renamed to ...
42906         * sysdeps/x86/tininess.h: This.
42907         * sysdeps/x86_64/tininess.h: Removed.
42909 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42911         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42912         input.  Use $(build-program-cmd).
42913         ($(objpfx)tst-array1-static.out): Likewise.
42914         ($(objpfx)tst-array2.out): Likewise.
42915         ($(objpfx)tst-array3.out): Likewise.
42916         ($(objpfx)tst-array4.out): Likewise.
42917         ($(objpfx)tst-array5.out): Likewise.
42918         ($(objpfx)tst-array5-static.out): Likewise.
42920 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
42922         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42923         if defined.
42925         * nss/nsswitch.h (nss_interface_function): Provide new
42926         macro for use with NSS functions.
42927         * grp/initgroups.c: Use new macro.
42928         * nss/getXXbyYY.c: Likewise.
42929         * nss/getXXbyYY_r.c: Likewise.
42930         * nss/getXXent.c: Likewise.
42931         * nss/getXXent_r.c: Likewise.
42932         * sysdeps/posix/getaddrinfo.c: Likewise.
42934 2012-10-30  Andreas Jaeger  <aj@suse.de>
42936         * po/ru.po: Update Russion translation from translation project.
42938 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42940         [BZ #14152]
42941         [BZ #14783]
42942         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42943         result and shift together with sticky bit instead of replicating
42944         round-to-nearest rounding.
42945         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42946         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42947         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
42948         missing underflow exceptions.
42949         (fma_test_towardzero): Add more tests.
42950         (fma_test_downward): Likewise.
42951         (fma_test_upward): Likewise.
42953         [BZ #14047]
42954         * sysdeps/generic/tininess.h: New file.
42955         * sysdeps/i386/tininess.h: Likewise.
42956         * sysdeps/sh/tininess.h: Likewise.
42957         * sysdeps/x86_64/tininess.h: Likewise.
42958         * stdlib/tst-strtod-underflow.c: Likewise.
42959         * stdlib/tst-tininess.c: Likewise.
42960         * stdlib/strtod_l.c: Include <tininess.h>.
42961         (round_and_return): Do not set errno for exact underflow cases.
42962         Force an underflow exception when setting errno for underflow.
42963         Determine underflow based on rounding to normal precision if
42964         TININESS_AFTER_ROUNDING.
42965         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42966         ERANGE for exact underflow cases.
42967         * stdlib/Makefile (tests): Add tst-tininess and
42968         tst-strtod-underflow.
42969         ($(objpfx)tst-tininess): Use $(link-libm).
42970         ($(objpfx)tst-strtod-underflow): Likewise.
42972 2012-10-30  Andreas Jaeger  <aj@suse.de>
42974         [BZ#14767]
42975         * elf/Makefile (tests): Remove conditional for have-initfini-array
42976         since this is now always required and the variable does not exist
42977         anymore.
42978         (tests-static): Likewise.
42979         (modules-names): Likewise.
42981         * po/eo.po: Add Esperanto translation from translation project.
42983         * elf/tst-array1.c (fini_array): Make writeable so that it can be
42984         merged with constructor/destructor.
42985         (init_array): Likewise.
42986         * elf/tst-array2dep.c (fini_array): Likewise.
42987         (init_array): Likewise.
42989 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
42991         * manual/message.texi: Delete @cartouche tags.
42993 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
42995         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
42996         EOPNOTSUPP.
42997         * sysdeps/mach/hurd/fsync.c: Likewise.
42999         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43000         [_POSIX_REALTIME_SIGNALS]: Change condition to
43001         [_POSIX_REALTIME_SIGNALS > 0].
43003 2012-10-27  Andreas Jaeger  <aj@suse.de>
43005         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43006         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43007         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43008         [__WORDSIZE != 64]: Likewise.
43010 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43012         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43013         *  iconvdata/tst-tables.sh: Likewise.
43015 2012-10-25  David S. Miller  <davem@davemloft.net>
43017         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43018         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43019         of strtoull.
43021         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43022         ifunc-impl-list.c
43023         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43024         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43025         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43026         file.
43028 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43030         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43031         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43032         __getdirentries.
43034 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43035             Jim Blandy  <jimb@codesourcery.com>
43037         * scripts/cross-test-ssh.sh: New file.
43038         * manual/install.texi (Configuring and compiling): Document use of
43039         cross-test-ssh.sh.
43040         * INSTALL: Regenerated.
43042 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43044         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43045         EOPNOTSUPP.
43047 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43049         * Makeconfig (run-program-prefix): Fix comment.
43051 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43052             Jim Blandy  <jimb@codesourcery.com>
43054         * Makeconfig (test-wrapper): New variable,
43055         (test-wrapper-env): Likewise.
43056         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43057         (run-built-tests): Define to yes.
43058         (run-program-prefix): Use $(test-wrapper).
43059         (built-program-cmd): Likewise.
43060         * Rules (make-test-out): Use $(test-wrapper-env) and
43061         $(host-built-program-cmd).
43062         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43063         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43064         tst-pathopt.sh.
43065         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43066         $(test-wrapper-env) to tst-rtld-load-self.sh.
43067         ($(objpfx)order2.out): Use $(test-wrapper).
43068         ($(objpfx)tst-initorder.out): Likewise.
43069         ($(objpfx)tst-initorder2.out): Likewise.
43070         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43071         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43072         (test_wrapper_env): New variable.  Use it to run ld.so.
43073         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43074         Use it to run ld.so.
43075         (test_wrapper_env): Likewise.
43076         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43077         $(test-wrapper) to run-iconv-test.sh.
43078         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43079         (ICONV): Use $test_wrapper.
43080         * posix/Makefile ($(objpfx)globtest.out): Pass
43081         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43082         globtest.sh, not $(run-program-prefix).
43083         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43084         (test_wrapper): Likewise.
43085         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43086         set together with run_via_rtld_prefix.
43087         (run_program_prefix): Define in terms of test_wrapper and
43088         run_via_rtld_prefix.
43090 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43092         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43093         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43094         Targets removed.
43096         [BZ #14743]
43097         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43098         Declare __clock_getres, __clock_gettime, __clock_settime,
43099         __clock_nanosleep, and __clock_getcpuclockid.
43100         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43101         Remove librt_hidden_def (clock_gettime).
43102         * sysdeps/unix/clock_gettime.c: Likewise.
43103         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43104         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43105         * rt/clock_getres.c: Define __clock_getres as an alias.
43106         * sysdeps/posix/clock_getres.c: Likewise.
43107         * rt/clock_settime.c: Define __clock_settime as an alias.
43108         * sysdeps/unix/clock_settime.c: Likewise.
43109         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43110         * sysdeps/unix/clock_nanosleep.c: Likewise.
43111         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43112         * rt/clock-compat.c: New file.
43113         * rt/Makefile (librt-routines): Add clock-compat and move
43114         $(clock-routines) to ...
43115         (routines): ... here, new variable.
43116         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43117         Don't add get_clockfreq here.
43118         * rt/Versions (libc: GLIBC_2.17): New version set.
43119         Add clock_* symbols here.
43120         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43121         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43122         (GLIBC_2.17): Add clock_* symbols.
43123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43124         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43125         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43127         Likewise.
43128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43129         Likewise.
43130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43134         * NEWS: Mention the move.
43136         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43137         Use __open, __read, __close rather than their public counterparts.
43138         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43139         (__get_clockfreq_via_cpuinfo): Likewise.
43140         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43141         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43143         * config.h.in (HAVE_IFUNC): New #undef.
43144         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43145         was successful.
43146         * configure: Regenerated.
43148 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43150         * configure.in: Move READELF check to start of file.
43151         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43152         libc_cv_asm_gnu_indirect_function in the process.
43153         * configure: Regenerated.
43155 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43157         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43158         send the output to /dev/null.
43159         (libc_cv_cc_with_libunwind): Likewise.
43160         (libc_cv_as_noexecstack): Likewise.
43161         * configure: Regenerate.
43163 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43165         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43167         * posix/globtest.sh (TMPDIR): Do not set.
43168         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43169         (testout): Likewise.
43171 2012-10-24  Andreas Jaeger  <aj@suse.de>
43173         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43174         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43175         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43176         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43177         posix_fadvise64, posix_fallocate64.
43179         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43180         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43181         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43182         Likewise.
43183         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43184         Likewise.
43185         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43187         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43188         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43189         <bits/fcntl-linux.h>.
43190         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43192         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43193         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43194         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43195         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43196         [__WORDSIZE != 64]: Likewise.
43198 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43200         * Makeconfig (run-built-tests): New variable.
43201         * Rules [$(cross-compiling) = yes]: Change condition to
43202         [$(run-built-tests) = no].
43203         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43204         to [$(run-built-tests) = yes].
43205         * elf/Makefile [$(cross-compiling) = no]: Likewise
43206         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43207         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43208         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43209         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43210         * io/Makefile [$(cross-compiling) = no]: Likewise.
43211         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43212         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43213         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43214         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43215         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43216         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43217         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43218         * string/Makefile [$(cross-compiling) = no]: Likewise.
43220         * posix/Makefile ($(objpfx)globtest.out): Pass
43221         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43222         $(rtld-installed-name).
43223         * posix/globtest.sh (elf_objpfx): Remove variable.
43224         (rtld_installed_name): Likewise.
43225         (library_path): Likewise.
43226         (run_program_prefix): New variable.  Use for running globtest
43227         binary.
43229 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43230             Joseph Myers  <joseph@codesourcery.com>
43232         * Makeconfig (host-built-program-cmd): New variable.
43233         * elf/Makefile (tst-stackguard1-ARGS): Use
43234         $(host-built-program-cmd).
43235         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43236         (tst-spawn-ARGS): Likewise.
43237         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43239 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43240             Jim Blandy  <jimb@codesourcery.com>
43242         * Makeconfig (run-via-rtld-prefix): New variable.
43243         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43244         (built-program-cmd): Likewise.
43246 2012-10-22  Andreas Jaeger  <aj@suse.de>
43248         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43249         __O_RSYNC if it exists, otherwise to O_SYNC.
43251 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43252             Joseph Myers  <joseph@codesourcery.com>
43254         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43255         /dev/null.
43256         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43257         from /dev/null
43258         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43259         /dev/null.
43261 2012-10-22  Andreas Jaeger  <aj@suse.de>
43263         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43264         Define always.
43265         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43267         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43268         bits/fcntl-linux.h.
43270         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43271         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43273         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43274         to __O_LARGEFILE.
43275         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43276         to __O_LARGEFILE.
43278 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43279             Joseph Myers  <joseph@codesourcery.com>
43281         * config.make.in (NM): New variable.
43283 2012-10-21  Andreas Jaeger  <aj@suse.de>
43285         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43286         definitions and declarations that are provided by
43287         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43289 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43291         [BZ #14683]
43292         * elf/Makefile (tests-static): Add tst-leaks1-static.
43293         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43294         ($(objpfx)tst-leaks1-static): New rule.
43295         ($(objpfx)tst-leaks1-static-mem): Likewise.
43296         (tst-leaks1-static-ENV): New macro.
43297         * elf/dl-open.c (dl_open_worker): Check the main application
43298         only if SHARED is defined.
43299         * elf/tst-leaks1-static.c: New file.
43301 2012-10-20  Andreas Jaeger  <aj@suse.de>
43303         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43304         generic values for Linux.
43305         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43306         and declarations that are provided by <bits/fcntl-linux.h> and
43307         include <bits/fcntl-linux.h>.
43308         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43309         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43311 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43313         * io/fcntl.h: Move include of <bits/types.h> to the top and
43314         include it unconditionally.
43316 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43318         * wcsmbs/Makefile (tests-ifunc): New variable.
43319         (tests): Add $(tests-ifunc).
43320         * wcsmbs/test-wcschr-ifunc.c: New file.
43321         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43322         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43323         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43324         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43325         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43327         * string/Makefile (tests-ifunc): New variable.
43328         (tests): Add $(tests-ifunc).
43329         * string/test-memccpy.c (TEST_NAME): New macro.
43330         * string/test-memchr.c (TEST_NAME): Likewise.
43331         * string/test-memcmp.c (TEST_NAME): Likewise.
43332         * string/test-memcpy.c (TEST_NAME): Likewise.
43333         * string/test-memmem.c (TEST_NAME): Likewise.
43334         * string/test-memmove.c (TEST_NAME): Likewise.
43335         * string/test-memset.c (TEST_NAME): Likewise.
43336         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43337         * string/test-stpcpy.c (TEST_NAME): Likewise.
43338         * string/test-stpncpy.c (TEST_NAME): Likewise.
43339         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43340         * string/test-strcasestr.c (TEST_NAME): Likewise.
43341         * string/test-strcat.c (TEST_NAME): Likewise.
43342         * string/test-strchr.c (TEST_NAME): Likewise.
43343         * string/test-strcmp.c(TEST_NAME): Likewise.
43344         * string/test-strcpy.c (TEST_NAME): Likewise.
43345         * string/test-strcspn.c (TEST_NAME): Likewise.
43346         * string/test-strlen.c (TEST_NAME): Likewise.
43347         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43348         * string/test-strncmp.c (TEST_NAME): Likewise.
43349         * string/test-strncpy.c (TEST_NAME): Likewise.
43350         * string/test-strnlen.c (TEST_NAME): Likewise.
43351         * string/test-strpbrk.c (TEST_NAME): Likewise.
43352         * string/test-strrchr.c (TEST_NAME): Likewise.
43353         * string/test-strspn.c (TEST_NAME): Likewise.
43354         * string/test-strstr.c (TEST_NAME): Likewise.
43355         * string/test-bcopy-ifunc.c: New file.
43356         * string/test-bzero-ifunc.c: Likewise.
43357         * string/test-memccpy-ifunc.c: Likewise.
43358         * string/test-memchr-ifunc.c: Likewise.
43359         * string/test-memcmp-ifunc.c: Likewise.
43360         * string/test-memcpy-ifunc.c: Likewise.
43361         * string/test-memmem-ifunc.c: Likewise.
43362         * string/test-memmove-ifunc.c: Likewise.
43363         * string/test-mempcpy-ifunc.c: Likewise.
43364         * string/test-memset-ifunc.c: Likewise.
43365         * string/test-rawmemchr-ifunc.c: Likewise.
43366         * string/test-stpcpy-ifunc.c: Likewise.
43367         * string/test-stpncpy-ifunc.c: Likewise.
43368         * string/test-strcasecmp-ifunc.c: Likewise.
43369         * string/test-strcasestr-ifunc.c: Likewise.
43370         * string/test-strcat-ifunc.c: Likewise.
43371         * string/test-strchr-ifunc.c: Likewise.
43372         * string/test-strchrnul-ifunc.c: Likewise.
43373         * string/test-strcmp-ifunc.c: Likewise.
43374         * string/test-strcpy-ifunc.c: Likewise.
43375         * string/test-strcspn-ifunc.c: Likewise.
43376         * string/test-strlen-ifunc.c: Likewise.
43377         * string/test-strncasecmp-ifunc.c: Likewise.
43378         * string/test-strncat-ifunc.c: Likewise.
43379         * string/test-strncmp-ifunc.c: Likewise.
43380         * string/test-strncpy-ifunc.c: Likewise.
43381         * string/test-strnlen-ifunc.c: Likewise.
43382         * string/test-strpbrk-ifunc.c: Likewise.
43383         * string/test-strrchr-ifunc.c: Likewise.
43384         * string/test-strspn-ifunc.c: Likewise.
43385         * string/test-strstr-ifunc.c: Likewise.
43387         * debug/Makefile (tests-ifunc): New variable.
43388         (tests): Add $(tests-ifunc).
43389         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43390         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43391         * debug/test-stpcpy_chk-ifunc.c: New file.
43392         * debug/test-strcpy_chk-ifunc.c: Likewise.
43394 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43396         [BZ #13601]
43397         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43398         header is not read in.
43400 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43402         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43403         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43404         directly.  Pass built executable to script as
43405         $(built-program-cmd).
43406         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43407         $testprogram without using LD_LIBRARY_PATH and $ldso.
43409         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43410         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43411         $(rtld-installed-name).
43412         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43413         (rtld_installed_name): Likewise.
43414         (library_path): Likewise.
43415         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43416         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43417         $(run-program-prefix) to tst-tables.sh.
43418         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43419         it to run tst-table-from and tst-table-to.
43420         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43421         Pass it to tst-table.sh.
43422         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43423         $(run-program-prefix) to tst-gettext.sh.
43424         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43425         tst-translit.sh.
43426         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43427         tst-gettext2.sh.
43428         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43429         to run tst-gettext.
43430         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43431         to run tst-gettext2.
43432         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43433         to run tst-translit.
43434         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43435         $(run-program-prefix) to tst-mtrace.sh.
43436         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43437         to run tst-mtrace.
43438         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43439         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43440         $(rtld-installed-name).
43441         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43442         (rtld_installed_name): Likewise.
43443         (run_program_prefix): New variable.  Use it to run wordexp-test.
43445         * Makeconfig (ARCH): Remove all definitions.
43446         (machine): Likewise.
43447         [ARCH]: Remove conditional code.
43448         [!objdir]: Give error.
43449         [!objdir] (objpfx): Remove.
43450         [!objdir] (common-objpfx): Likewise.
43451         [!objdir] (common-objdir): Likewise.
43452         * configure.in (config_makefile): Remove.  Hardcode Makefile in
43453         AC_CONFIG_FILES call.
43454         * configure: Regenerated.
43456         [BZ #13888]
43457         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43458         or TMPDIR.
43459         (testout): Likewise.
43461         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43462         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43463         $(rtld-installed-name).
43464         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43465         (rtld_installed_name): Likwise.
43466         (runit): Remove function.
43467         (run_getconf): New variable,  Use it for running getconf binary.
43469 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
43471         [BZ #14716]
43472         * string/test-memmem.c (check_result): New function.
43473         (do_one_test): Use it.
43474         (check1): New function.
43475         (test_main): Use it.
43477 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
43479         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43481 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
43483         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43484         (_G_LSEEK64): Likewise.
43485         (_G_MMAP64): Likewise.
43486         (_G_FSTAT64): Likewise.
43487         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43488         (_G_LSEEK64): Likewise.
43489         (_G_MMAP64): Likewise.
43490         (_G_FSTAT64): Likewise.
43491         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43492         unconditional.  Call __mmap64 directly.
43493         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43494         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
43495         __lseek64 directly.
43496         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43497         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
43498         __mmap64 directly.
43499         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43500         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43501         __lseek64 directly.
43502         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43503         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43504         __lseek64 directly.
43505         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43506         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
43507         __lseek64 directly.
43508         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43509         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
43510         __fxstat64 directly.
43511         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43512         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43513         unconditional.
43514         (freopen64) [!_G_OPEN64]: Remove conditional code.
43515         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43516         unconditional.
43517         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43518         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43519         unconditional.
43520         (ftello64) [!_G_LSEEK64]: Remove conditional code.
43521         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43522         unconditional.
43523         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43524         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43525         unconditional.
43526         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43527         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43528         unconditional.
43529         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43530         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43531         unconditional.
43532         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43533         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43534         unconditional.
43535         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43537 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43539         [BZ #12140]
43540         * manual/memory.texi (Malloc Tunable Parameters): Add note
43541         about free list pointers overwriting some perturb bytes.
43542         Wording suggested by Roland McGrath.
43544 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
43546         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43547         (lgamma_test): Likewise.
43548         (tgamma_test): Likewise.
43550 2012-10-16  Florian Weimer  <fweimer@redhat.com>
43552         [BZ #14700]
43553         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43554         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43556 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
43558         * NEWS: Mention BZ #14716.
43559         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43560         when removing AVAILABLE1_USES_J macro.
43562 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
43564         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43565         (__bswap_64): __uint64_t for unsigned 64-bit int.
43567 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
43569         * include/string.h (memmem): Declare libc hidden alias.
43570         * string/memmem.c (memmem): Define libc hidden alias.
43571         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43572         __read, __close instead of open, read, close.
43574 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
43576         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43577         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43578         global and hidden.
43579         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43580         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43581         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43582         Likewise.
43583         (__rawmemchr_sse2): Likewise.
43584         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43585         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43586         (__strchr_sse2): Likewise.
43587         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43588         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43589         (__strcasecmp_sse2): Likewise.
43590         (__strncasecmp_sse2): Likewise.
43591         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43592         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43593         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43594         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43595         (__strrchr_sse2): Likewise.
43596         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43597         ifunc-impl-list.c.
43598         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43599         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43600         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43601         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43602         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43603         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43604         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43605         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43606         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
43607         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
43608         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
43609         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
43610         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
43611         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43612         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43613         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43614         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43615         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43616         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
43617         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
43618         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
43619         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
43620         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
43621         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43622         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
43623         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43624         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43625         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43626         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43627         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43629         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
43630         global and hidden.
43631         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
43632         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
43633         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
43634         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
43635         Likewise.
43636         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
43637         Likewise.
43638         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
43639         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
43640         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
43641         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
43642         ifunc-impl-list.c.
43643         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43644         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43645         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43646         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43647         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43648         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43649         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43650         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43651         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43652         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43653         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43654         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43655         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43656         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
43657         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
43658         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43659         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
43660         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
43661         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43662         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43663         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43664         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43665         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43666         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43667         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43668         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43669         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43670         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43671         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43672         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43673         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43674         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43675         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43676         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43677         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43678         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43679         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43680         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43681         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43682         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43683         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43685         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43686         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43687         * include/ifunc-impl-list.h: New file.
43688         * misc/ifunc-impl-list.c: Likewise.
43689         * misc/Makefile (routines): Add ifunc-impl-list.
43690         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43691         * string/test-string.h: Include <ifunc-impl-list.h>.
43692         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43693         TEST_NAME]: New variables.
43694         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43695         are defined.
43696         (test_init): Call __libc_ifunc_impl_list to initialize
43697         func_list if TEST_IFUNC and TEST_NAME are defined.
43699         * string/Makefile (strop-tests): Add bcopy and bzero.
43700         * string/test-bcopy.c: New file.
43701         * string/test-bzero.c: Likewise.
43702         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43703         defined.
43704         * string/test-memset.c: Support bzero test if TEST_BZERO is
43705         defined.
43706         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43707         __libc_memmove.
43708         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43709         __libc_memset.
43710         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43711         of memset.
43713 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
43715         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43716         * configure: Regenerated.
43718         * Makeconfig (+link-static-before-libc): Don't include
43719         $(link-static-libc).
43721         * libio/libio.h (_IO_pos_t): Remove.
43723 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43725         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
43726         McGrath.
43728 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43730         * crypt/crypt-entry.c: Include fips-private.h.
43731         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43732         * crypt/md5c-test.c (main): Tolerate disabled MD5.
43733         * sysdeps/unix/sysv/linux/fips-private.h: New file.
43734         * sysdeps/generic/fips-private.h: New file, dummy fallback.
43736 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43738         * crypt/crypt-private.h: Include stdbool.h.
43739         (_ufc_setup_salt_r): Return bool.
43740         * crypt/crypt-entry.c: Include errno.h.
43741         (__crypt_r): Return NULL with EINVAL for bad salt.
43742         * crypt/crypt_util.c (bad_for_salt): New.
43743         (_ufc_setup_salt_r): Check that salt is long enough and within
43744         the specified alphabet.
43745         * crypt/badsalttest.c: New file.
43746         * crypt/Makefile (tests): Add it.
43747         ($(objpfx)badsalttest): New.
43749 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
43751         * NEWS: Add entry for BZ #14602.
43753 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43755         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43756         type-generic.
43757         * math/libm-test.inc: Update comment listing what functions and
43758         macros are tested.
43759         (isgreater_test): New function.
43760         (isgreaterequal_test): Likewise.
43761         (isless_test): Likewise.
43762         (islessequal_test): Likewise.
43763         (islessgreater_test): Likewise.
43764         (isunordered_test): Likewise.
43765         (main): Call the new functions.
43767 2012-10-09  Roland McGrath  <roland@hack.frob.com>
43769         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43770         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43771         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43772         * sysdeps/i386/configure: Regenerated.
43773         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43774         * sysdeps/mach/configure: Regenerated.
43775         * sysdeps/mach/hurd/configure: Regenerated.
43776         * sysdeps/powerpc/configure: Regenerated.
43777         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43778         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43779         * sysdeps/s390/s390-32/configure: Regenerated.
43780         * sysdeps/s390/s390-64/configure: Regenerated.
43781         * sysdeps/sh/configure: Regenerated.
43782         * sysdeps/sparc/configure: Regenerated.
43783         * sysdeps/unix/sysv/linux/configure: Regenerated.
43784         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43785         * sysdeps/x86_64/configure: Regenerated.
43787         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43788         defined.  Don't check if MAP is NULL.
43790 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43792         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43793         (_G_stat64): Likewise.
43794         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43795         (_G_stat64): Likewise.
43796         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43797         instead of struct _G_stat64.
43798         * libio/fileops.c (mmap_remap_check): Likewise.
43799         (decide_maybe_mmap): Likewise.
43800         (_IO_new_file_seekoff): Likewise.
43801         (_IO_file_stat): Likewise.
43802         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43803         _G_off64_t.
43804         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43805         instead of struct _G_stat64.
43806         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43808 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
43810         [BZ #14602]
43811         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43812         Replace with ...
43813         (CHECK_EOL): New macro.
43814         (two_way_short_needle): Check beginning of haystack for EOL.  Use
43815         CHECK_EOL.
43816         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43817         Replace with CHECK_EOL.
43818         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43819         Replace with CHECK_EOL.
43821 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
43823         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43824         type-generic.
43825         * math/libm-test.inc: Update comment listing what functions and
43826         macros are tested.
43827         (finite_test): New function.
43828         (isinf_test): Likewise.
43829         (isnan_test): Likewise.
43830         (fpclassify_test): Test subnormal input.
43831         (isfinite_test): Likewise.
43832         (isnormal_test): Likewise.
43833         (main): Call the new functions.
43835 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
43837         [BZ #14660]
43838         * Makerules (%.dynsym): Force C locale when running
43839         $(OBJDUMP) --dynamic-syms.
43841 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
43843         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43844         <stdint.h>.
43846 2012-10-06  David S. Miller  <davem@davemloft.net>
43848         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43849         upper 32-bits of the length value in %o2 since we use branch-on-register
43850         tests which consider the entire 64-bit register.
43852 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
43854         * string/test-strstr.c (check2): Add a test for page boundary.
43856 2012-10-05  David S. Miller  <davem@davemloft.net>
43858         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43859         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43860         file.
43861         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43862         sysdep_routines.
43863         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43864         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43865         and bzero when HWCAP_SPARC_CRYPTO is present.
43867 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
43869         [BZ #14602]
43870         * string/test-strstr.c (check2): New function.
43871         (test_main): Call check2.
43873         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43874         and bug-strchr1.
43875         * string/bug-strcasestr1.c (do_test): Moved to ...
43876         * string/test-strcasestr.c (check1): Here.  New function.
43877         (do_one_test): Break out result checking code into ...
43878         (check_result): This.  New function.
43879         (do_one_test): Call check_result.
43880         (test_main): Call check1.
43881         * string/bug-strchr1.c (do_test): Moved to ...
43882         * string/test-strchr.c (check1): Here.  New function.
43883         (do_one_test): Break out result checking code into ...
43884         (check_result): This.  New function.
43885         (do_one_test): Call check_result.
43886         (test_main): Call check1.
43887         * string/bug-strstr1.c (main): Moved to ...
43888         * string/test-strstr.c (check1): Here.  New function.
43889         (do_one_test): Break out result checking code into ...
43890         (check_result): This.  New function.
43891         (do_one_test): Call check_result.
43892         (test_main): Call check1.
43893         * string/bug-strcasestr1.c: Removed.
43894         * string/bug-strchr1.c: Likewise.
43895         * string/bug-strstr1.c: Likewise.
43897         * elf/Makefile (dl-routines): Add hwcaps.
43898         * elf/dl-support.c (_dl_important_hwcaps): Removed.
43899         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43900         (_dl_important_hwcaps): Moved to ...
43901         * elf/dl-hwcaps.c: Here.  New file.
43902         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43904         [BZ #14557]
43905         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43906         if IS_IN_rtld isn't defined.
43908         * elf/dl-support.c (_dl_sysinfo_map): New.
43909         Include "get-dynamic-info.h" and "setup-vdso.h".
43910         (_dl_non_dynamic_init): Call setup_vdso.
43911         * elf/dynamic-link.h: Don't include <assert.h>.
43912         (elf_get_dynamic_info): Moved to ...
43913         * elf/get-dynamic-info.h: Here.  New file.
43914         * elf/dynamic-link.h: Include "get-dynamic-info.h".
43915         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43916         * elf/setup-vdso.h: Here.  New file.
43917         * elf/rtld.c: Include "setup-vdso.h".
43918         (dl_main): Call setup_vdso.
43920 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
43922         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43923         creal in comment listing functions tested.  List finite, isinf,
43924         isnan, isless, islessequal, isgreater, isgreaterequal,
43925         islessgreater, isunordered, lgamma_r and pow10 as functions and
43926         macros not tested.  Mention which functions not tested are aliases
43927         for other functions.  Fix typo.  Note that signs of NaNs are not
43928         tested.
43930         * scripts/config.guess: Update from config.git.
43931         * scripts/config.sub: Likewise.
43933 2012-10-04  Roland McGrath  <roland@hack.frob.com>
43935         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43936         * misc/madvise.c (madvise): Renamed to __madvise.
43937         Make madvise a weak alias.
43938         * include/sys/mman.h: Declare __madvise.
43939         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43940         * sysdeps/unix/syscalls.list
43941         (madvise): Make __madvise the strong name, and madvise a weak alias.
43942         * sysdeps/unix/sysv/linux/syscalls.list
43943         (madvise, mmap): Remove redundant entries.
43944         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43945         * malloc/malloc.c (mtrim): Likewise.
43946         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43948 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43950         * sysdeps/mach/hurd/dl-cache.c: File removed.
43951         * config.h.in (USE_LDCONFIG): New #undef.
43952         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43953         * configure: Regenerated.
43954         * elf/Makefile (dl-routines): Add dl-cache only under
43955         [$(use-ldconfig) = yes].
43956         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43957         cache on [USE_LDCONFIG].
43958         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43959         [USE_LDCONFIG].
43960         * elf/rtld.c (dl_main): Likewise.
43962 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
43964         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43965         _SC_LEVEL4_CACHE_LINESIZE.
43967 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43969         * sysdeps/unix/bsd/confstr.h: File removed.
43971 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
43973         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43974         sys/sdt-config.h.
43976 2012-10-02  Roland McGrath  <roland@hack.frob.com>
43978         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43979         Make 'mapoff' field ElfW(Off) rather than off_t.
43981 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
43983         * nscd/Makefile: Remove nscd-cflags and all its users.
43984         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
43985         (CFLAGS-nonlib): Add compiler flags for nscd modules.
43987         [BZ #10631]
43988         * malloc.c (malloc_printerr): Clarify error message.
43990 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
43992         [BZ #14648]
43993         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43994         Set bit_FMA_Usable if FMA is supported.
43995         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
43996         macro.
43997         (bit_FMA4_Usable): Updated.
43998         (index_FMA_Usable): New macro.
43999         (CPUID_FMA): Likewise
44000         (HAS_FMA): Defined with bit_FMA_Usable.
44002 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44004         * bits/types.h (__swblk_t): Type removed.
44005         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44006         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44007         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44008         (__SWBLK_T_TYPE): Likewise.
44009         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44010         (__SWBLK_T_TYPE): Likewise.
44011         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44012         (__SWBLK_T_TYPE): Likewise.
44013         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44014         (__SWBLK_T_TYPE): Likewise.
44016 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44017             Honza Horak <hhorak@redhat.com>
44019         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44020         (xdr_mapname): Use YPMAXMAP as maxsize.
44021         (xdr_peername): Use YPMAXPEER as maxsize.
44022         (xdr_keydat): Use YPAXRECORD as maxsize.
44023         (xdr_valdat): Use YPMAXRECORD as maxsize.
44025 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44027         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44029         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44030         * csu/init-first.c: ... here.
44031         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44032         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44033         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44034         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44035         * sysdeps/i386/init-first.c: File removed.
44036         * sysdeps/sh/init-first.c: File removed.
44038 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44040         [BZ #14645]
44041         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44042         if x * y might underflow to zero and z is zero.
44043         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44044         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44045         * math/libm-test.inc (min_subnorm_value): New variable.
44046         (fma_test): Add more tests.
44047         (fma_test_towardzero): Likewise.
44048         (fma_test_downward): Likewise
44049         (fma_test_upward): Likewise.
44050         (initialize): Set min_subnorm_value.
44052 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44054         [BZ #14638]
44055         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44056         0 + 0.
44057         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44058         mode for addition resulting in exact zero.
44059         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44060         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44061         exact 0 + 0.
44062         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44063         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44064         * math/libm-test.inc (fma_test): Add more tests.
44065         (fma_test_towardzero): New function.
44066         (fma_test_downward): Likewise.
44067         (fma_test_upward): Likewise.
44068         (main): Call the new functions.
44070 2012-09-28  David S. Miller  <davem@davemloft.net>
44072         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44074 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44076         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44077         instead of SIGALRM.
44079         * sysdeps/gnu/_G_config.h: Moved to ...
44080         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44081         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44082         * sysdeps/generic/_G_config.h: ... here.
44084         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44086         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44088         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44089         Conditionalize target on [libnss_test1.so-version].
44091         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44093         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44094         (elfobjdir): Move out of conditionals.
44096         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44097         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44098         (__nss_lookup_function): Conditionalize label remove_from_tree on
44099         [!DO_STATIC_NSS || SHARED], matching its only use.
44101 2012-09-28  David S. Miller  <davem@davemloft.net>
44103         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44104         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44105         file.
44106         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44107         sysdep_routines.
44108         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44109         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44110         when HWCAP_SPARC_CRYPTO is present.
44112 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44114         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44116 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44118         [BZ #6530]
44119         * stdio-common/vfprintf.c (process_string_arg): Revert
44120         2000-07-22 change.
44122 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44124         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44125         for testcase.
44126         * stdio-common/tst-sprintf.c: Include <locale.h>
44127         (main): Test sprintf's handling of incomplete multibyte
44128         characters.
44130 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44132         * elf/dl-runtime.c (VERSYMIDX): Removed.
44133         * elf/dl-version.c (VERSYMIDX): Likewise.
44134         * elf/do-rel.h (VERSYMIDX): Likewise.
44135         (VALIDX): Likewise.
44136         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44137         * elf/rtld.c (VALIDX): Likewise.
44138         (ADDRIDX): Likewise.
44139         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44140         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44141         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44142         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44143         (VALIDX): Likewise.
44144         (ADDRIDX): Likewise.
44146 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44148         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44150 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44152         [BZ #11438]
44153         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44154         to global scope.
44155         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44156         addresses are in the same scope as 192.0.2/24.
44157         * posix/gai.conf: Document new scope table defaults.
44159 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44161         [BZ #5298]
44162         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44163         for ftell.  Compute offsets from write pointers instead.
44164         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44166 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44168         [BZ #14543]
44169         * libio/Makefile (tests): New test case tst-fseek.
44170         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44171         combination works in wide mode.
44172         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44173         state when the external buffer state changes.
44175 2012-09-27  David S. Miller  <davem@davemloft.net>
44177         [BZ #14376]
44178         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44179         pass reloc->r_addend in as the 'high' argument to
44180         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44184 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44186         * rt/tst-aio2.c: Include <pthread.h>.
44187         * rt/tst-aio3.c: Likewise.
44189 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44191         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44193 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44195         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44196         contents on [SHARED].
44198 2012-09-26  Marek Polacek  <polacek@redhat.com>
44200         [BZ #14530]
44201         [BZ #13741]
44202         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44203         for C++ and GCC <4.3 as well as for non GCC compilers.
44205 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44207         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44209 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44211         * Makefile.in (all, install): Declare with .PHONY.
44212         Reported by Michael Hope <michael.hope@linaro.org>.
44214 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44216         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44217         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44218         system header.
44219         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44220         Likewise.
44221         (sydep_routines): Add the new and the internal functions.
44222         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44223         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44225         (GLIBC_2.17): Add the new function.
44226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44227         (GLIBC_2.17): Likewise.
44228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44229         (GLIBC_2.17): Likewise.
44230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44231         (GLIBC_2.17): Likewise.
44232         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44234 2012-09-25  Alan Modra  <amodra@gmail.com>
44236         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44237         Add release barrier before setting once_control to say
44238         initialisation is done.  Add hints on lwarx.  Use macro in
44239         place of isync.
44240         (clear_once_control): Add release barrier.
44242 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44244         [BZ #13629]
44245         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44246         specially.
44247         * math/s_clog10.c (__clog10): Likewise.
44248         * math/s_clog10f.c (__clog10f): Likewise.
44249         * math/s_clog10l.c (__clog10l): Likewise.
44250         * math/s_clogf.c (__clogf): Likewise.
44251         * math/s_clogl.c (__clogl): Likewise.
44252         * math/Makefile (libm-calls): Add x2y2m1.
44253         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44254         (__x2y2m1): Likewise.
44255         (__x2y2m1l): Likewise.
44256         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44257         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44258         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44259         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44260         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44261         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44262         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44263         * sysdeps/i386/fpu/libm-test-ulps: Update.
44264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44266         [BZ #14621]
44267         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44268         int as type of variable DEPTH.
44269         (glob): Use size_t instead of int as type of variables NEWCOUNT
44270         and OLD_PATHC.
44272 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44274         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44275         Add s_sincosf-sse2.
44276         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44277         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44278         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44279         macros for using routine as __sincosf_ia32.
44280         Use macro for function declaration and weak_alias.
44281         * sysdeps/i386/fpu/libm-test-ulps: Update.
44283         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44284         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44286         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44287         subnormal argument.
44288         * math/s_cexpf.c (__cexpf): Likewise.
44289         * math/s_csinf.c (__csinf): Likewise.
44290         * math/s_csinhf.c (__csinhf): Likewise.
44291         * math/s_ctanf.c (__ctanf): Likewise.
44292         * math/s_ctanhf.c (__ctanhf): Likewise.
44293         * math/s_ccosh.c (__ccoshf): Likewise.
44294         * math/s_cexp.c (__cexpl): Likewise.
44295         * math/s_csin.c (__csin): Likewise.
44296         * math/s_csinh.c (__csinh): Likewise.
44297         * math/s_ctan.c (__ctan): Likewise.
44298         * math/s_ctanh.c (ctanh): Likewise.
44299         * math/s_ccoshl.c (__ccoshl): Likewise.
44300         * math/s_cexpl.c (__cexpl): Likewise.
44301         * math/s_csinl.c (__csinl): Likewise.
44302         * math/s_csinhl.c (__csinhl): Likewise.
44303         * math/s_ctanl.c (__ctanl): Likewise.
44304         * math/s_ctanhl.c (__ctanhl): Likewise.
44306 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44308         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44309         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44310         (_IO_off_t): Define to __off_t, not _G_off_t.
44311         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44312         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44313         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44314         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44315         type of __dummy and __dummy2 fields.
44316         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44317         (_G_ssize_t): Likewise.
44318         (_G_off_t): Likewise.
44319         (_G_pid_t): Likewise.
44320         (_G_uid_t): Likewise.
44321         (_G_wchar_t): Likewise.
44322         (_G_wint_t): Likewise.
44323         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44324         (_G_ssize_t): Likewise.
44325         (_G_off_t): Likewise.
44326         (_G_pid_t): Likewise.
44327         (_G_uid_t): Likewise.
44328         (_G_wchar_t): Likewise.
44329         (_G_wint_t): Likewise.
44330         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44331         (_G_ssize_t): Likewise.
44332         (_G_off_t): Likewise.
44333         (_G_pid_t): Likewise.
44334         (_G_uid_t): Likewise.
44335         (_G_wchar_t): Likewise.
44336         (_G_wint_t): Likewise.
44338 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44340         * malloc/arena.c: Include malloc-sysdep.h.
44341         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44342         is sufficient to shrink the heap or an unmap is needed.
44343         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44344         new function check_may_shrink_heap.
44345         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44346         new function check_may_shrink_heap.
44348 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44350         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44351         comments.
44353 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44355         * catgets/test-gencat.sh: Add "set -e".
44356         * elf/tst-pathopt.sh: Likewise.
44357         * grp/tst_fgetgrent.sh: Likewise.
44358         * iconvdata/run-iconv-test.sh: Likewise.
44359         * intl/tst-gettext.sh: Likewise.
44360         * intl/tst-gettext2.sh: Likewise.
44361         * intl/tst-gettext4.sh: Likewise.
44362         * intl/tst-gettext6.sh: Likewise.
44363         * intl/tst-translit.sh: Likewise.
44364         * io/ftwtest-sh: Likewise.
44365         * libio/test-freopen.sh: Likewise.
44366         * malloc/tst-mtrace.sh: Likewise.
44367         * posix/globtest.sh: Likewise.
44368         * posix/tst-getconf.sh: Likewise.
44369         * posix/wordexp-tst.sh: Likewise.
44370         * stdio-common/tst-printf.sh: Likewise.
44371         * stdio-common/tst-unbputc.sh: Likewise.
44372         * stdlib/tst-fmtmsg.sh: Likewise.
44373         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44374         * catgets/Makefile: Do not specify -e option when running
44375         testsuite shell scripts.
44376         * elf/Makefile: Likewise.
44377         * grp/Makefile: Likewise.
44378         * iconvdata/Makefile: Likewise.
44379         * intl/Makefile: Likewise.
44380         * io/Makefile: Likewise.
44381         * libio/Makefile: Likewise.
44382         * malloc/Makefile: Likewise.
44383         * posix/Makefile: Likewise.
44384         * stdio-common/Makefile: Likewise.
44385         * stdlib/Makefile: Likewise.
44386         * sysdeps/x86_64/Makefile: Likewise.
44388         * io/ftwtest-sh: Add copyright header.
44389         * posix/globtest.sh: Likewise.
44390         * posix/tst-getconf.sh: Likewise.
44391         * posix/wordexp-tst.sh: Likewise.
44392         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44394 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44396         [BZ #13679]
44397         * Makeconfig (+link): Defined as $(+link-static) if
44398         $(build-shared) isn't yes.
44399         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44400         isn't yes.
44401         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44403         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44405         [BZ #14562]
44406         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44407         new chunk size with MALLOC_ALIGN_MASK.
44409 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44411         [BZ #5044]
44412         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44413         <rounding-mode.h>.
44414         (__printf_fphex): Determine rounding using get_rounding_mode and
44415         round_away.
44416         * stdio-common/tst-printf-round.c (struct hex_test): New
44417         structure.
44418         (hex_tests): New variable.
44419         (test_hex_in_one_mode): New function.
44420         (do_test): Also run tests for hex float output.
44422 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44424         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44425         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44426         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44427         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44428         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44429         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44430         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44431         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44433 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44435         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44436         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44437         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44438         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44440 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44442         [BZ #14579]
44443         * elf/rtld.c (dl_main): Limit the check for self loading to normal
44444         mode only.
44445         * elf/tst-rtld-load-self.sh: New test.
44446         * elf/Makefile: Run it.
44448 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
44450         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44451         (tst-writev-ENV): Remove.
44452         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44454 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
44456         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44458 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
44460         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44461         unconditional.
44462         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44463         Likewise.
44464         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44465         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44466         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44467         Likewise.
44469 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
44471         [BZ #14587]
44472         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44473         * config.make.in (have-cpp-asm-debuginfo): Removed.
44474         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44475         * configure: Regenerated.
44477 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
44479         [BZ #5044]
44480         * stdio-common/printf_fp.c: Include <stdbool.h> and
44481         <rounding-mode.h>.
44482         (___printf_fp): Determine rounding using get_rounding_mode and
44483         round_away.
44484         * stdio-common/tst-printf-round.c: New file.
44485         * stdio-common/Makefile (tests): Add tst-printf-round.
44486         (link-libm): New variable.
44487         ($(objpfx)tst-printf-round): Depend in $(link-libm).
44489 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
44491         [BZ #14576]
44492         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44493         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44494         Likewise.
44495         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44496         Likewise.
44498 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
44500         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44501         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44502         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44503         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44505 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
44507         [BZ #14518]
44508         * include/rounding-mode.h: New file.
44509         * sysdeps/generic/get-rounding-mode.h: Likewise.
44510         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44511         * stdlib/strtod_l.c: Include <rounding-mode.h>.
44512         (MAX_VALUE): New macro.
44513         (MIN_VALUE): Likewise.
44514         (overflow_value): New function.
44515         (underflow_value): Likewise.
44516         (round_and_return): Use overflow_value and underflow_value to
44517         determine return values in overflow and underflow cases.  Use
44518         round_away to determine rounding depending on rounding mode.
44519         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44520         determine return values in overflow and underflow cases.
44521         * stdlib/tst-strtod-round.c: Include <fenv.h>.
44522         (struct test_results): New structure.
44523         (struct test): Use struct test_results to store expected results
44524         for all rounding modes.
44525         (TEST): Include expected results for all rounding modes.
44526         (test_in_one_mode): New function.
44527         (do_test): Use test_in_one_mode to compute and check results.
44528         Check results for all rounding modes.
44529         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44530         $(link-libm).
44532 2012-12-09  Allan McRae  <allan@archlinux.org>
44534         * sysdeps/i386/fpu/libm-test-ulps: Update
44536 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
44538         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44539         (_G_int32_t): Likewise.
44540         (_G_uint16_t): Likewise.
44541         (_G_uint32_t): Likewise.
44542         (_G_HAVE_BOOL): Likewise.
44543         (_G_HAVE_ATEXIT): Likewise.
44544         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44545         (_G_HAVE_IO_FILE_OPEN): Likewise.
44546         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44547         (_G_int32_t): Likewise.
44548         (_G_uint16_t): Likewise.
44549         (_G_uint32_t): Likewise.
44550         (_G_HAVE_BOOL): Likewise.
44551         (_G_HAVE_ATEXIT): Likewise.
44552         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44553         (_G_HAVE_IO_FILE_OPEN): Likewise.
44554         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44555         (_G_int32_t): Likewise.
44556         (_G_uint16_t): Likewise.
44557         (_G_uint32_t): Likewise.
44558         (_G_HAVE_BOOL): Likewise.
44559         (_G_HAVE_ATEXIT): Likewise.
44560         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44561         (_G_HAVE_IO_FILE_OPEN): Likewise.
44563 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
44565         * csu/libc-tls.c: Update copyright years.
44567 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
44569         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44570         [!_G_USING_THUNKS]: Remove conditional code.
44571         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44572         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44574         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44575         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44576         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44577         (_G_VTABLE_LABEL_PREFIX): Likewise.
44578         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44579         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44580         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44581         (_G_VTABLE_LABEL_PREFIX): Likewise.
44582         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44583         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44584         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44585         (_G_VTABLE_LABEL_PREFIX): Likewise.
44586         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44588 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
44590         * libio/Makefile: Include ../Makeconfig before tests.
44591         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44592         only if $(build-shared) is yes.
44594         * iconv/gconv_db.c: Update copyright years.
44596 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44598         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44599         unwind info if defined PIC. Fix special cases description.
44600         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44602         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
44603         DP_HI_MASK entry.
44604         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44606 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
44608         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
44610         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
44611         is NULL.
44613         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
44614         (LDLIBS-tst-chk4): This.
44615         (LDFLAGS-tst-chk5): Renamed to ...
44616         (LDLIBS-tst-chk5): This.
44617         (LDFLAGS-tst-chk6): Renamed to ...
44618         (LDLIBS-tst-chk6): This.
44619         (LDFLAGS-tst-lfschk4): Renamed to ...
44620         (LDLIBS-tst-lfschk4): This.
44621         (LDFLAGS-tst-lfschk5): Renamed to ...
44622         (LDLIBS-tst-lfschk5): This.
44623         (LDFLAGS-tst-lfschk6): Renamed to ...
44624         (LDLIBS-tst-lfschk6): This.
44626         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
44627         on $(common-objpfx)soversions.mk.
44629 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
44631         [BZ #10014]
44632         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
44633         example host name.
44635 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44637         * malloc/arena.c (arena_get_retry): New function that gets
44638         another arena for the caller to try its request on.
44639         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
44640         current arena cannot fulfill the request.
44641         (__libc_memalign): Likewise.
44642         (__libc_memalign): Likewise.
44643         (__libc_pvalloc): Likewise.
44644         (__libc_calloc): Likewise.
44646 2012-09-05  John Tobey  <john.tobey@gmail.com>
44648         [BZ #13542]
44649         * manual/arith.texi (Operations on Complex): Fix description
44650         of carg branch cut.
44652 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44654         [BZ #10014]
44655         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
44656         host name.
44658         [BZ #10038]
44659         * manual/memory.texi (Memory): Make order of menu items match
44660         order of sections.
44662 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44664         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44665         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
44666         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44668 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44670         * csu/libc-tls.c (static_dtv): Renamed to ...
44671         (_dl_static_dtv): This.  Make it global.
44672         (_dl_initial_dtv): Removed.
44673         (__libc_setup_tls): Updated.
44674         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44675         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44676         DL_INITIAL_DTV.
44678 2012-09-06  Petr Machata  <pmachata@redhat.com>
44680         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44681         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44682         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44683         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44685 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44687         [BZ #14545]
44688         * csu/libc-tls.c (_dl_initial_dtv): New variable.
44689         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44690         freeing dtv[-1].
44692 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44694         [BZ #14544]
44695         * Makeconfig (link-static-before-libc): Replace $(+prector)
44696         with $(+prectorT).
44697         (link-static-after-libc): Replace $(+postctor) with
44698         $(+postctorT).
44699         (link-bounded): Replace $(+prector)/$(+postctor) with
44700         $(+prectorT)/$(+postctorT).
44701         (+prectorT): New macro.
44702         (+postctorT): Likewise.
44704 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44706         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44707         (round_str): Handle values above the maximum for IBM long double
44708         as inexact.
44709         * stdlib/tst-strtod-round.c (tests): Regenerated.
44711 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44713         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44714         assembler flag.
44715         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44716         zarch_nohighgprs around the zarch optimized routines.
44717         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44718         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44719         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44720         for zarch.
44722 2012-09-05  David S. Miller  <davem@davemloft.net>
44724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44726         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44727         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44728         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44729         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44730         entries.
44732 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44734         * malloc/arena.c: Fold copyright years.
44735         * malloc/mcheck.c, malloc/memusage.c: Likewise.
44737 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44739         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44741 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44743         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
44745 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44747         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44748         change internal state upon failure.
44750 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44752         * malloc/mcheck.c (mcheck_check_all): Fix typo.
44753         * malloc/memusage.c (mmap): Likewise.
44754         (mmap64, mremap): Likewise.  Adjust name in comment.
44756 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44758         * libio/fileops.c: Fix typos in comments.
44759         * libio/oldfileops.c: Likewise.
44760         * libio/wfileops.c: Likewise.
44762 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44764         [BZ #1349]
44765         * malloc/Makefile (tests): Add tst-malloc-usable test case.
44766         (tst-malloc-usable-ENV): Set environment for test case.
44767         * malloc/hooks.c (malloc_check_get_size): New function to get
44768         requested size.
44769         * malloc/malloc.c (musable): Use malloc_check_get_size.
44770         * malloc/tst-malloc-usable.c: New test case.
44772 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44774         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44776 2012-09-05  Allan McRae  <allan@archlinux.org>
44778         [BZ #13966]
44779         * configure.in (CXX_SYSINCLUDES): Use compiler output to
44780         determine header location.
44781         * configure: Regenerated.
44783 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44785         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44786         float format.
44787         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44788         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44789         format.
44790         (test): Regenerate.
44792 2012-09-04  David S. Miller  <davem@davemloft.net>
44794         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44795         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44796         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44798 2012-09-04  Florian Weimer  <fweimer@redhat.com>
44800         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44801         failures.
44803         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44805 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
44807         [BZ #9914]
44808         * libio/iogetdelim.c: Include <limits.h>.
44809         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44810         + len + 1 would overflow.
44812 2012-09-03  Andreas Jaeger  <aj@suse.de>
44814         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44815         * sysdeps/i386/fpu/libm-test-ulps: Update.
44817 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44819         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44820         Add s_sinf-sse2, s_conf-sse2.
44822         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44823         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44824         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44825         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44827         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44828         for using routine as __sinf_ia32.
44829         Use macro for function declaration and weak_alias.
44830         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44831         for using routine as __cosf_ia32.
44832         Use macro for function declaration and weak_alias.
44834         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44835         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44837         * sysdeps/x86_64/fpu/s_sinf.S: New file.
44838         * sysdeps/x86_64/fpu/s_cosf.S: New file.
44839         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44841         * math/libm-test.inc (cos_test): Add more test cases.
44842         (sin_test): Likewise.
44843         (sincos_test): Likewise.
44845 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44847         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44848         (IFUNC_RESOLVE): Make pointers to the specialized implementations
44849         hidden.
44850         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44852 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
44854         [BZ #14538]
44855         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44856         first element of the GOT.
44857         (elf_machine_load_address): Return the difference between
44858         the runtime address of _DYNAMIC and elf_machine_dynamic ().
44860 2012-09-01  Allan McRae  <allan@archlinux.org>
44862         [BZ #13412]
44863         * configure.in (AWK): Require gawk version 3.0 or later.
44864         * configure: Regenerated.
44866 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
44868         * sysdeps/unix/sysv/linux/kernel-features.h
44869         (__ASSUME_POSIX_CPU_TIMERS): Remove.
44870         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44871         [__NR_clock_getres]: Make code unconditional.
44872         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44873         (clock_getcpuclockid): Remove code left unreachable by removal of
44874         conditionals.
44875         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44876         code unconditional.
44877         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44878         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44879         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44880         Make code unconditional.
44881         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44882         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44883         * sysdeps/unix/sysv/linux/clock_settime.c
44884         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44885         conditional code.
44886         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44887         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44889 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
44891         [BZ #14476]
44892         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44893         scripts/test-installation.pl.
44895         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44896         and $ld_so_version if it is set.
44898 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44900         [BZ #14516]
44901         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44902         failure if reading from procfs failed.
44903         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44905 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44907         * sysdeps/unix/sysv/linux/kernel-features.h
44908         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44909         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44910         Remove conditional code.
44911         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44912         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44913         Remove conditional code.
44914         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44915         * sysdeps/unix/sysv/linux/i386/fxstat.c
44916         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44917         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44918         * sysdeps/unix/sysv/linux/i386/fxstatat.c
44919         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44920         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44921         * sysdeps/unix/sysv/linux/i386/lxstat.c
44922         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44923         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44924         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44925         Remove conditional code.
44926         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44927         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44928         Remove conditional code.
44929         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44930         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44931         <kernel-features.h>.
44932         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44933         Remove.
44934         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44935         Remove conditional code.
44936         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44937         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44938         Remove conditional.
44940 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
44942         [BZ #5400]
44943         * NEWS: Add fixed bug number.
44945 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44947         [BZ #14519]
44948         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44949         underflowing exponent in case of negative sign.
44950         * stdlib/tst-strtod-round-data: Add more tests.
44951         * stdlib/tst-strtod-round.c (tests): Regenerated.
44953         [BZ #3479]
44954         * stdlib/strtod_l.c (NDIG): Remove.
44955         (HEXNDIG): Likewise.
44956         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44957         smallest representable value.
44958         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44959         lie within an exact representation of 1/2 ulp of the result.
44960         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44961         unconditionally.
44962         (TENS_P9_IDX): Define unconditionally.
44963         (TENS_P9_SIZE): Likewise.
44964         (TENS_P10_IDX): Likewise.
44965         (TENS_P10_SIZE): Likewise.
44966         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44967         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44968         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44969         entries for 10^2^13 and 10^2^14.
44970         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44971         (TENS_P13_IDX): Define.
44972         (TENS_P13_SIZE): Likewise.
44973         (TENS_P14_IDX): Likewise.
44974         (TENS_P14_SIZE): Likewise.
44975         (_fpioconst_pow10): Change array size to
44976         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
44977         unconditional.
44978         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44979         1024]: Add entries for 10^2^13 and 10^2^14.
44980         [LAST_POW10 > _LAST_POW10]: Remove #error.
44981         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
44982         (_fpioconst_pow10): Change array size to
44983         FPIOCONST_POW10_ARRAY_SIZE.
44984         * stdlib/gen-fpioconst.c: New file.
44985         * stdlib/gen-tst-strtod-round.c: Likewise.
44986         * stdlib/tst-strtod-round-data: Likewise.
44987         * stdlib/tst-strtod-round.c: Likewise.
44988         * stdlib/Makefile (tests): Add tst-strtod-round.
44990         [BZ #14459]
44991         * stdlib/strtod_l.c: Include <stdint.h>.
44992         (NDEBUG): Do not define.
44993         (round_and_return): Change EXPONENT parameter to type intmax_t.
44994         Rearrange calculations to avoid internal overflow possibilities.
44995         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
44996         Rearrange calculations to avoid internal overflow possibilities.
44997         Assert that number fits inside MPNSIZE limbs.
44998         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
44999         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45000         calculations and add assertions to avoid internal overflow
45001         possibilities.  Add casts to avoid signed/unsigned operations.
45002         * stdlib/tst-strtod-overflow.c: New file.
45003         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45005 2012-08-25  Marek Polacek  <polacek@redhat.com>
45007         * time/time.h: Fix some typos in comments.
45009 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45011         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45012         * posix/tst-rfc3484-2.c: Likewise.
45013         * posix/tst-rfc3484-3.c: Likewise.
45015 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45017         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45018         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45020 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45022         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45023         #include of fxstatat64.c.
45025 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45027         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45028         * shadow/getspent_r.c: Likewise.
45029         * shadow/getspnam.c: Likewise.
45030         * shadow/getspnam_r.c: Likewise.
45031         * gshadow/getsgent.c: Likewise.
45032         * gshadow/getsgent_r.c: Likewise.
45033         * gshadow/getsgnam.c: Likewise.
45034         * gshadow/getsgnam_r.c: Likewise.
45035         * inet/getnetbyad.c: Likewise.
45036         * inet/getnetbyad_r.c: Likewise.
45037         * inet/getnetbynm.c: Likewise.
45038         * inet/getnetbynm_r.c: Likewise.
45039         * inet/getnetent.c: Likewise.
45040         * inet/getnetent_r.c: Likewise.
45041         * inet/getproto.c: Likewise.
45042         * inet/getproto_r.c: Likewise.
45043         * inet/getprtent.c: Likewise.
45044         * inet/getprtent_r.c: Likewise.
45045         * inet/getprtname.c: Likewise.
45046         * inet/getprtname_r.c: Likewise.
45047         * inet/getrpcbyname.c: Likewise.
45048         * inet/getrpcbyname_r.c: Likewise.
45049         * inet/getrpcbynumber.c: Likewise.
45050         * inet/getrpcbynumber_r.c: Likewise.
45051         * inet/getrpcent.c: Likewise.
45052         * inet/getrpcent_r.c: Likewise.
45053         * inet/getaliasent.c: Likewise.
45054         * inet/getaliasent_r.c: Likewise.
45055         * inet/getaliasname.c: Likewise.
45056         * inet/getaliasname_r.c: Likewise.
45057         * nscd/getgrgid_r.c: Likewise.
45058         * nscd/getgrnam_r.c: Likewise.
45059         * nscd/gethstbyad_r.c: Likewise.
45060         * nscd/gethstbynm3_r.c: Likewise.
45061         * nscd/getpwnam_r.c: Likewise.
45062         * nscd/getpwuid_r.c: Likewise.
45063         * nscd/getsrvbynm_r.c: Likewise.
45064         * nscd/getsrvbypt_r.c: Likewise.
45065         * nscd/gai.c: Likewise.
45067         * configure.in (build_nscd): New substituted variable, set
45068         by --disable-build-nscd and defaults to $use_nscd.
45069         * configure: Regenerated.
45070         * config.make.in (build-nscd): New substituted variable.
45071         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45072         Change conditional to require [$(build-nscd) = yes] as well.
45073         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45075         [BZ# 13696]
45076         * configure.in (use_nscd): New substituted variable, set by
45077         --disable-nscd.  If enabled, define USE_NSCD.
45078         * configure: Regenerated.
45079         * config.h.in: Add USE_NSCD.
45080         * config.make.in (use-nscd): New substituted variable.
45081         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45082         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45083         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45084         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45085         (CFLAGS-getgrnam_r.c): Likewise.
45086         (CFLAGS-initgroups.c): Likewise.
45087         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45088         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45089         Variables removed.
45090         * inet/getnetgrent_r.c
45091         (nscd_setnetgrent): New function, broken out of ...
45092         (setnetgrent): ... here.  Call it.
45093         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45094         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45095         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45096         * nscd/Makefile (routines, aux): Move definitions after include of
45097         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45098         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45099         Conditionalize on [USE_NSCD].
45100         (is_nscd, nscd_init_cb): Likewise.
45101         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45102         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45103         * nss/nss_db/db-init.c: Likewise.
45104         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45105         [USE_NSCD].
45106         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45107         (make_request): Use it.
45108         (cache_valid_p): New function.
45109         (__check_pf): Use it.
45110         * NEWS: Add item for --disable-nscd.
45112 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45114         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45115         to support sed >= 4.2.1-20-ga9bf076.
45116         * configure: Regenerated.
45118 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45120         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45121         Conditionalize whole body on [IREL].
45123 2012-08-22  Jeff Law <law@redhat.com>
45125         [BZ #14505]
45126         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45127         if the family is PF_UNSPEC.
45129 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45131         * Makerules (lib-version): Rename from V.
45132         (install-lib-nosubdir): Change V to lib-version.
45134 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45136         [BZ #14252]
45137         * powerpc32/power6/wcschr.c: New file.
45138         * powerpc32/power6/wcscpy.c: New file.
45139         * powerpc32/power6/wcsrchr.c: New file.
45140         * powerpc64/power6/wcschr.c: New file.
45141         * powerpc64/power6/wcscpy.c: New file.
45142         * powerpc64/power6/wcsrchr.c: New file.
45144 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45146         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45147         (two_way_short_needle): Use it.
45148         * string/strstr.c (AVAILABLE1_USES_J): Define.
45149         * string/strcasestr.c: Likewise.
45151         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45152         array references.
45153         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45155         [BZ #11607]
45156         * NEWS: Add an entry.
45157         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45158         define their defaults.
45159         (two_way_short_needle): Detect end-of-string on-the-fly.
45160         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45161         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45162         * string/bug-strcasestr1.c: New test.
45163         * string/Makefile: Run it.
45165 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45167         [BZ #11607]
45168         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45169         the first character.
45171 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45173         * csu/elf-init.c (__libc_csu_irel): Function removed.
45174         * csu/libc-start.c (apply_irel): New function.
45175         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45177 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45179         * sysdeps/unix/sysv/linux/kernel-features.h
45180         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45181         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45182         <kernel-features.h>.
45183         [__NR_fadvise64_64]: Make code unconditional.
45184         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45185         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45186         !__NR_fadvise64_64)]: Likewise.
45187         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45188         !__NR_fadvise64_64))]: Likewise.
45189         [__NR_fadvise64]: Make code unconditional.
45190         [!__NR_fadvise64]: Remove conditional code.
45191         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45192         <kernel-features.h>.
45193         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45194         unconditional.
45195         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45196         conditional code.
45197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45198         not include <kernel-features.h>.
45199         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45200         unconditional.
45201         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45202         conditional code.
45203         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45204         include <kernel-features.h>.
45205         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45206         unconditional.
45207         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45208         conditional code.
45210 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45212         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45213         slight instruction rearrangements per scrollpipe analysis.
45214         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45216 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45218         * manual/syslog.texi (syslog; vsyslog, closelog):
45219         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45220         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45222         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45223         DSOCAPS to match condition on defining it.
45225 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45227         * sysdeps/unix/sysv/linux/kernel-features.h
45228         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45230         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45231         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45233         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45234         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45236         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45237         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45239         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45240         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45242         * sysdeps/unix/sysv/linux/kernel-features.h
45243         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45244         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45245         unconditional.
45246         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45247         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45248         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45249         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45250         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45251         Make code unconditional.
45252         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45253         (__mmap64) [!__NR_mmap2]: Likewise.
45254         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45255         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45256         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45257         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45258         [__NR_mmap2]: Make code unconditional.
45259         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45260         (__mmap64) [!__NR_mmap2]: Likewise.
45262 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45264         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45266 2012-08-18  Andreas Jaeger  <aj@suse.de>
45268         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45270 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45272         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45273         * include/unistd.h (__have_sock_cloexec): Likewise.
45274         (__have_pipe2): Likewise.
45275         (__have_dup3): Likewise.
45277 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45279         [BZ #9685]
45280         * include/unistd.h (__have_pipe2): Change define into an extern int.
45281         (__have_dup3): Likewise.
45282         * socket/have_sock_cloexec.c: Include fcntl.h.
45283         (__have_pipe2): New variable.
45284         (__have_dup3): Likewise.
45286 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45288         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45290 2012-08-17  Marek Polacek  <polacek@redhat.com>
45292         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45293         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45295 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45297         * configure.in: Add AC_SUBST for sysheaders.
45298         * configure: Regenerated.
45299         * config.make.in (sysheaders): New substituted variable.
45301         * sysdeps/unix/mkfifo.c: Moved ...
45302         * sysdeps/posix/mkfifo.c: ... here.
45303         * sysdeps/unix/mkfifoat.c: Moved ...
45304         * sysdeps/posix/mkfifoat.c: ... here.
45306         * sysdeps/unix/utime.c: Moved ...
45307         * sysdeps/posix/utime.c: ... here.
45309         * sysdeps/unix/time.c: Moved ...
45310         * sysdeps/posix/time.c: ... here.
45311         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45312         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45314         * sysdeps/unix/nice.c: Moved ...
45315         * sysdeps/posix/nice.c: ... here.
45317         * sysdeps/unix/alarm.c: Moved ...
45318         * sysdeps/posix/alarm.c: ... here.
45320         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45322 2012-08-17  Jeff Law <law@redhat.com>
45324         * intl/Makefile (codeset_mo): New variable.
45325         ($(codeset_mo)): New target.
45326         (tst-codeset.out): Depend on that.  Remove explicit rule.
45327         (tst-gettext3.out, tst-gettext5.out): Likewise.
45328         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45329         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45330         * intl/tst-codeset.sh: Remove.
45331         * intl/tst-gettext3.sh: Likewise.
45332         * intl/tst-gettext5.sh: Likewise.
45334 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45336         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45337         * sysdeps/unix/syscalls.list: ... here.
45339         * sysdeps/posix/getaddrinfo.c
45340         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45341         (gaiconf_init, gaiconf_reload): Use them.
45342         [!_STATBUF_ST_NSEC]
45343         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45344         Define using time_t rather than struct timespec.
45346         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45347         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45348         Macros removed.
45349         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45350         [!NO_THREADS].
45351         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45352         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45353         Likewise.
45355         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45356         __libc_cleanup_push argument.
45358         * bits/param.h: New file.
45359         * misc/sys/param.h: New file.
45360         * include/sys/param.h: New file.
45361         * misc/Makefile (headers): Add bits/param.h.
45362         * sysdeps/generic/sys/param.h: File removed.
45363         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45364         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45365         * sysdeps/mach/hurd/bits/param.h: New file.
45366         * sysdeps/mach/hurd/sys/param.h: File removed.
45368         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45369         last change.
45371         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45372         [_IO_MTSAFE_IO].
45373         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45374         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45375         New macros.
45377         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45378         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45379         rather than -D_IO_MTSAFE_IO conditionally.
45380         * stdio-common/Makefile (CPPFLAGS): Likewise.
45381         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45382         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45383         Use $(libio-mtsafe).
45384         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45385         of -D_IO_MTSAFE_IO.
45386         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45387         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45388         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45389         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45390         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45391         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45392         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45393         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45394         (CFLAGS-fread_u_chk.c): Likewise.
45395         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45396         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45397         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45398         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45399         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45400         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45401         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45402         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45403         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45405         * libio/Makefile: Test [$(libc-reentrant) = yes]
45406         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45408         * Makeconfig
45409         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45410         * sysdeps/pthread/configure: File removed.
45411         * sysdeps/pthread/Makeconfig: New file.
45412         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45413         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45415 2012-08-16  Gary Benson  <gbenson@redhat.com>
45417         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45418         unmapping the first object in a namespace.
45420 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45422         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45423         (__internal_setnetgrent): ... this.  Add internal_function to
45424         definition.  Add libc_hidden_def.
45425         (setnetgrent): Update caller.
45426         (internal_endnetgrent): Renamed to ...
45427         (__internal_endnetgrent): ... this.  Add internal_function to
45428         definition.  Add libc_hidden_def.
45429         (endnetgrent): Update caller.
45430         (internal_getnetgrent_r): Renamed to ...
45431         (__internal_getnetgrent_r): ... this.  Add internal_function to
45432         definition.  Add libc_hidden_def.
45433         (__getnetgrent_r): Update caller.
45434         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45436 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45438         * stdlib/longlong.h: Update from GCC.
45440 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45442         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45443         on _QL, which is set by umul_ppmm but never used.
45444         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45445         variables, which are set by GMP macros but never used.
45446         * stdio-common/_itowa.c (_itowa): Likewise.
45447         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45448         * stdlib/mod_1.c (mpn_mod_1): Likewise.
45450 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
45452         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45453         struct La_sh_regs is not constant.
45454         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45455         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45456         and struct La_sparc64_regs are not constant.
45458 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45460         * sysdeps/unix/sysv/linux/kernel-features.h
45461         (__ASSUME_POSIX_TIMERS): Remove.
45462         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45463         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45464         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45465         Make code unconditional.
45466         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45467         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45468         Make code unconditional.
45469         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45470         * sysdeps/unix/sysv/linux/clock_nanosleep.c
45471         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45472         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45473         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45474         Make code unconditional.
45475         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45476         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45477         (__libc_missing_posix_timers): Remove.
45479 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45481         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45482         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45484         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45486         * elf/dl-sym.c: Include <stdlib.h>.
45488         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45489         constants, which avoids warnings in 32-bit builds.
45491         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45492         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45494         * misc/lseek.c: File moved to ...
45495         * io/lseek.c: ... here.
45497         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45499         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45500         shifting LEN more than 31 bits at once.
45502 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45504         [BZ #14195]
45505         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45506         segmentation fault for a case of two empty input strings.
45507         * string/test-strncasecmp.c (check1): Renamed to...
45508         (bz12205): ...this.
45509         (bz14195): Add new testcase for two empty input strings and N > 0.
45510         (test_main): Call new testcase, adapt for renamed function.
45512 2012-08-15  Andreas Jaeger  <aj@suse.de>
45514         [BZ #14090]
45515         * crypt/md5test2.c: New test, based on test supplied by Serge
45516         Belyshev <belyshev@depni.sinp.msu.ru>.
45517         * crypt/Makefile (xtests): Add md5test-giant..
45518         * crypt/Makefile ($(objpfx)md5test-giant): Add.
45520 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
45522         [BZ #14090]
45523         * crypt/md5.c (md5_process_block): Don't assume the buffer
45524         length is less than 2**32.
45525         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45526         length is less than 2**64.
45528 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45530         * string/str-two-way.h: Include <sys/param.h>.
45531         (MAX): Macro removed.
45533         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45534         Move #define and #undef of memmove to just before and after
45535         including <string.h>.
45537         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45538         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45539         and after including <string.h>.  Move declarations of
45540         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45541         to before #include "string/memmove.c".
45543         * include/dirent.h: Declare __getdirentries.
45545         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45546         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45548 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
45550         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45551         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45552         * sysdeps/i386/configure: Regenerated.
45553         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45554         STABS_CURRENT_FILE, and STABS_FUN.
45555         (END): Remove call to STABS_FUN_END.
45556         (STABS_CURRENT_FILE1): Delete.
45557         (STABS_CURRENT_FILE): Likewise.
45558         (STABS_FUN): Likewise.
45559         (STABS_FUN_END): Likewise.
45560         (STABS_FUN2): Likewise.
45561         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45562         * sysdeps/x86_64/configure: Regenerated.
45564 2012-08-14  Roland McGrath  <roland@hack.frob.com>
45566         * elf/dl-open.c: Include <atomic.h>.
45567         * elf/dl-lookup.c: Likewise.
45569 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
45571         * sysdeps/unix/sysv/linux/kernel-features.h
45572         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45573         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45574         unconditionally.
45575         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45576         unconditionally.
45577         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45578         condition on __ASSUME_CLONE_THREAD_FLAGS.
45580 2012-08-14  Andreas Jaeger  <aj@suse.de>
45582         * sysdeps/i386/fpu/libm-test-ulps: Update.
45584 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
45586         * include/atomic.h (atomic_exchange_and_add): Split into ...
45587         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45588         New atomic macros.
45590 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
45592         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45594 2012-08-13  Jeff Law <law@redhat.com>
45596         * manual/stdio.texi (snprintf): Clarify handling of the trailing
45597         null byte in the output string.
45599 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
45601         * sysdeps/unix/sysv/linux/kernel-features.h
45602         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
45603         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
45604         (__ASSUME_ARG_MAX_STACK_BASED): Define.
45605         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45606         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
45607         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
45608         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
45610 2012-08-09  Jeff Law <law@redhat.com>
45612         [BZ #13939]
45613         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
45614         When avoid_arena is set, don't retry in the that arena.  Pick the
45615         next one, whatever it might be.
45616         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
45617         (arena_lock): Pass in new parameter to arena_get2.
45618         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
45619         arena_get2.
45620         (__libc_malloc): Unify retrying after main arena failure with
45621         __libc_memalign version.
45622         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
45624 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
45626         [BZ #14166]
45627         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45628         to __redirect_strstr.
45629         (__strstr_sse42): Use typeof __redirect_strstr.
45630         (__strstr_ia32): Likewise.
45631         (__libc_strstr): New prototype.
45632         (strstr): Renamed to ...
45633         (__libc_strstr): This.
45634         (strstr): New strong alias of __libc_strstr.
45635         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45636         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
45637         __redirect_time.
45638         Include <time.h>.
45639         (__libc_time): New prototype.
45640         (time_ifunc): Replace time with __libc_time.
45641         (time): New strong alias and hidden definition of __libc_time.
45642         (__GI_time): Remove strong alias.
45643         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
45644         Include <stddef.h>.
45645         (memmove): Redefined to __redirect_memmove.
45646         (__memmove_sse2): Use typeof __redirect_memmove.
45647         (__memmove_ssse3): Likewise.
45648         (__memmove_ssse3_back): Likewise.
45649         (__libc_memmove): New prototype.
45650         (memmove): Renamed to ...
45651         (__libc_memmove): This.
45652         (memmove): New strong alias of __libc_memmove.
45654 2012-08-08  Mark Salter  <msalter@redhat.com>
45656         * elf/elf.h
45657         (R_MN10300_TLS_GD): Define.
45658         (R_MN10300_TLS_LD): Likewise.
45659         (R_MN10300_TLS_LDO): Likewise.
45660         (R_MN10300_TLS_GOTIE): Likewise.
45661         (R_MN10300_TLS_IE): Likewise.
45662         (R_MN10300_TLS_LE): Likewise.
45663         (R_MN10300_TLS_DTPMOD): Likewise.
45664         (R_MN10300_TLS_DTPOFF): Likewise.
45665         (R_MN10300_TLS_TPOFF): Likewise.
45666         (R_MN10300_SYM_DIFF): Likewise.
45667         (R_MN10300_ALIGN): Likewise.
45668         (R_MN10300_NUM): Update.
45670 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
45672         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45673         Remove.
45675 2012-08-08  Roland McGrath  <roland@hack.frob.com>
45677         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45679         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45680         sysdeps/unix -> sysdeps/posix move.
45681         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45683 2012-08-07      Allan McRae     <allan@archlinux.org>
45685         [BZ #14303]
45686         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45687         (SUNOS_CPP): Likewise.
45688         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45689         not found.
45690         (open_input): Call CPP using execvp.
45692 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45694         * sysdeps/unix/sysv/linux/kernel-features.h
45695         (__ASSUME_PROT_GROWSUPDOWN): Remove.
45696         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45697         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45698         (__ASSUME_WAITID_SYSCALL): Likewise.
45699         * sysdeps/unix/sysv/linux/dl-execstack.c
45700         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45701         code unconditional.
45702         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45703         conditional code.
45704         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45705         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45706         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45707         code.
45708         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45709         unconditional.
45710         [__ASSUME_WAITID_SYSCALL]: Likewise.
45711         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45713 2012-08-07  Roland McGrath  <roland@hack.frob.com>
45715         * sysdeps/unix/closedir.c: Renamed to ...
45716         * sysdeps/posix/closedir.c: ... here.
45717         * sysdeps/unix/dirfd.c: Renamed to ...
45718         * sysdeps/posix/dirfd.c: ... here.
45719         * sysdeps/unix/dirstream.h: Renamed to ...
45720         * sysdeps/posix/dirstream.h: ... here.
45721         * sysdeps/unix/fdopendir.c: Renamed to ...
45722         * sysdeps/posix/fdopendir.c: ... here.
45723         * sysdeps/unix/opendir.c: Renamed to ...
45724         * sysdeps/posix/opendir.c: ... here.
45725         * sysdeps/unix/readdir.c: Renamed to ...
45726         * sysdeps/posix/readdir.c: ... here.
45727         * sysdeps/unix/readdir_r.c: Renamed to ...
45728         * sysdeps/posix/readdir_r.c: ... here.
45729         * sysdeps/unix/rewinddir.c: Renamed to ...
45730         * sysdeps/posix/rewinddir.c: ... here.
45731         * sysdeps/unix/seekdir.c: Renamed to ...
45732         * sysdeps/posix/seekdir.c: ... here.
45733         * sysdeps/unix/telldir.c: Renamed to ...
45734         * sysdeps/posix/telldir.c: ... here.
45735         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45736         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45737         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45738         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45740         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45741         * bits/fcntl.h: ... here.
45743         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45744         not 0.
45745         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45746         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45747         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45748         (struct flock): Move l_start, l_len to the beginning.
45749         Use __pid_t for l_pid.
45750         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45751         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45752         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45753         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45754         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45755         [__USE_LARGEFILE64] (struct flock64): New type.
45756         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45758         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45759         * bits/dirent.h: ... here.
45761         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45762         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45764 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45766         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45767         Change from 2.6.0 to 2.6.16.
45768         * sysdeps/unix/sysv/linux/configure: Regenerated.
45769         * sysdeps/unix/sysv/linux/kernel-features.h
45770         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45771         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45772         version.
45773         (__ASSUME_UTIMES): Likewise.
45774         (__ASSUME_CLONE_STOPPED): Remove.
45775         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45776         architectures, not kernel version.
45777         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45778         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45779         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45780         (__ASSUME_WAITID_SYSCALL): Likewise.
45781         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45782         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45783         * README: State 2.6.16 as minimum Linux kernel version.  Do not
45784         refer to older versions.
45786 2012-08-06  Roland McGrath  <roland@hack.frob.com>
45788         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45789         Define alphasort64 as an alias.
45790         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45791         Define versionsort64 as an alias.
45792         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45793         Define scandir64 as an alias.
45794         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45795         Define scandirat64 as an alias.
45796         * dirent/alphasort64.c (alphasort64):
45797         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45798         * dirent/versionsort64.c: Likewise.
45799         * dirent/scandir64.c: Likewise.
45800         * dirent/scandirat64.c: Likewise.
45801         * sysdeps/wordsize-64/alphasort.c: File removed.
45802         * sysdeps/wordsize-64/alphasort64.c: File removed.
45803         * sysdeps/wordsize-64/scandir.c: File removed.
45804         * sysdeps/wordsize-64/scandir64.c: File removed.
45805         * sysdeps/wordsize-64/scandirat.c: File removed.
45806         * sysdeps/wordsize-64/scandirat64.c: File removed.
45807         * sysdeps/wordsize-64/versionsort.c: File removed.
45808         * sysdeps/wordsize-64/versionsort64.c: File removed.
45809         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45810         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45811         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45812         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45813         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45814         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45815         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45816         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45818         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45819         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45820         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45821         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45822         [defined __arch64__ || defined __sparcv9]
45823         (__INO_T_MATCHES_INO64_T): New macro.
45824         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45825         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45826         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45827         * sysdeps/unix/sysv/linux/bits/dirent.h
45828         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45829         (_DIRENT_MATCHES_DIRENT64): New macro.
45831         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45832         Define lockf64 as an alias.
45833         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45834         Define fseeko64 as an alias.
45835         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45836         Define ftello64 as an alias.
45837         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45838         Define _IO_fgetpos64 and fgetpos64 as aliases.
45839         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45840         Define _IO_fsetpos64 and fsetpos64 as aliases.
45841         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45842         Conditionalize body on this.
45843         * libio/fseeko64.c: Likewise.
45844         * libio/ftello64.c: Likewise.
45845         * libio/iofgetpos64.c: Likewise.
45846         * libio/iofsetpos64.c: Likewise.
45847         * sysdeps/wordsize-64/lockf.c: File removed.
45848         * sysdeps/wordsize-64/lockf64.c: File removed.
45849         * sysdeps/wordsize-64/fseeko.c: File removed.
45850         * sysdeps/wordsize-64/fseeko64.c: File removed.
45851         * sysdeps/wordsize-64/ftello.c: File removed.
45852         * sysdeps/wordsize-64/ftello64.c: File removed.
45853         * sysdeps/wordsize-64/iofgetpos.c: File removed.
45854         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45855         * sysdeps/wordsize-64/iofsetpos.c: File removed.
45856         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45857         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45858         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45859         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45860         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45861         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45862         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45863         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45864         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45865         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45866         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45868         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45869         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45870         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45871         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45872         [defined __arch64__ || defined __sparcv9]
45873         (__OFF_T_MATCHES_OFF64_T): New macro.
45874         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45875         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45876         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45877         (__OFF_T_MATCHES_OFF64_T): New macro.
45879 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45881         * stdlib/secure-getenv.c (__secure_getenv): Replace
45882         GLIBC_2_16 with GLIBC_2_17.
45884 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45886         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45887         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45889 2012-08-03  David S. Miller  <davem@davemloft.net>
45891         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45893 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45895         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45896         Remove.
45897         (__ASSUME_CORRECT_SI_PID): Likewise.
45898         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45899         (__ASSUME_TMPFS_NAME): Likewise.
45900         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45901         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45902         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45903         (HAVE_AUX_SECURE): Make definition unconditional.
45904         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45905         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45907 2012-08-03  Roland McGrath  <roland@hack.frob.com>
45909         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45910         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45911         * sysdeps/mach/hurd/eloop-threshold.h: New file.
45912         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45913         __eloop_threshold instead of SYMLOOP_MAX.
45915         * sysdeps/generic/eloop-threshold.h: New file.
45916         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45917         of MAXSYMLINKS.
45918         * elf/chroot_canon.c (chroot_canon): Likewise.
45920 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45922         [BZ #13717]
45923         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45924         Change to 2.6.0 everywhere.
45925         * sysdeps/unix/sysv/linux/configure: Regenerated.
45926         * sysdeps/unix/sysv/linux/kernel-features.h
45927         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45928         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45929         kernel versions.
45930         (__ASSUME_POSIX_TIMERS): Define unconditionally.
45931         (__ASSUME_FUTEX_REQUEUE): Remove.
45932         (__ASSUME_STATFS64): Define unconditionally.
45933         (__ASSUME_AT_SECURE): Likewise.
45934         (__ASSUME_CORRECT_SI_PID): Likewise.
45935         (__ASSUME_TGKILL): Define without depending on kernel version for
45936         i386.
45937         (__ASSUME_UTIMES): Likewise.
45938         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45939         kernel version.
45940         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45941         (__ASSUME_TMPFS_NAME): Likewise.
45942         * README: Update reference to Linux kernel versions.
45944 2012-08-02  Marek Polacek  <polacek@redhat.com>
45946         [BZ# 14150]
45947         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
45948         libc_cv_asm_type_prefix with %.
45949         * configure: Regenerated.
45950         * include/libc-symbols.h: Remove comment about
45951         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45952         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45953         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45954         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45955         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45956         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45957         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45958         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45959         * elf/tst-unique2mod1.c: Likewise.
45960         * elf/tst-unique1mod2.c: Likewise.
45961         * elf/tst-unique1mod1.c: Likewise.
45962         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45963         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45964         Replace ASM_TYPE_DIRECTIVE with .type.
45965         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45966         * sysdeps/i386/sysdep.h: Likewise.
45967         * sysdeps/x86_64/sysdep.h: Likewise.
45968         * sysdeps/sh/sysdep.h: Likewise.
45969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45970         Do not define ASM_TYPE_DIRECTIVE.
45971         * sysdeps/powerpc/sysdep.h: Likewise.
45972         * sysdeps/powerpc/powerpc32/sysdep.h:
45973         Replace ASM_TYPE_DIRECTIVE with .type.
45974         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45975         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45976         * sysdeps/i386/fpu/e_powf.S: Likewise.
45977         * sysdeps/i386/fpu/e_expl.S: Likewise.
45978         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45979         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45980         * sysdeps/i386/fpu/e_pow.S: Likewise.
45981         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45982         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45983         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45984         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45985         * sysdeps/i386/fpu/e_log2.S: Likewise.
45986         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45987         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45988         * sysdeps/i386/fpu/e_powl.S: Likewise.
45989         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45990         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45991         * sysdeps/i386/fpu/e_logl.S: Likewise.
45992         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45993         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45994         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45995         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45996         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45997         * sysdeps/i386/fpu/e_log.S: Likewise.
45998         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45999         * sysdeps/i386/fpu/e_logf.S: Likewise.
46000         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46001         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46002         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46003         * sysdeps/i386/fpu/e_log10.S: Likewise.
46004         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46005         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46006         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46007         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46008         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46009         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46010         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46011         * sysdeps/i386/i686/strtok.S: Likewise.
46012         * sysdeps/i386/i386-mcount.S: Likewise.
46013         * sysdeps/i386/strtok.S: Likewise.
46014         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46015         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46016         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46017         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46018         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46019         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46020         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46021         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46022         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46023         * sysdeps/x86_64/_mcount.S: Likewise.
46024         * sysdeps/x86_64/strtok.S: Likewise.
46025         * sysdeps/sh/_mcount.S: Likewise.
46027 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46029         * libio/iofopen.c: Include <fcntl.h>.
46030         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46031         (_IO_fopen64, fopen64): Define as aliases.
46032         * libio/iofopen64.c: Include <fcntl.h>.
46033         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46034         Conditionalize body on this.
46035         * sysdeps/wordsize-64/iofopen.c: File removed.
46036         * sysdeps/wordsize-64/iofopen64.c: File removed.
46038 2012-08-01  Marek Polacek  <polacek@redhat.com>
46040         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46041         Use dlfcn directly instead of a variable.
46042         (binfmt-subdir): Do not define.
46043         (dlfcn): Likewise.
46045 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46047         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46048         Remove all definitions.
46049         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46050         <kernel-features.h>.
46051         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46052         (miss_F_GETOWN_EX): Remove all definitions.
46053         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46054         macro definition.
46055         [!__ASSUME_FCNTL64]: Remove conditional code.
46056         [__ASSUME_FCNTL64]: Make code unconditional.
46057         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46058         <kernel-features.h>.
46059         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46060         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46061         (lockf64) [__NR_fcntl64]: Make code unconditional.
46062         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46064         * sysdeps/unix/sysv/linux/kernel-features.h
46065         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46066         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46067         Make code unconditional.
46068         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46069         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46071         [__NR_vfork]: Make code unconditional.
46072         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46073         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46075         [__NR_vfork]: Make code unconditional.
46076         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46077         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46079 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46081         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46082         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46084         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46085         Define mkstemp64 as an alias.
46086         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46087         Define mkstemps64 as an alias.
46088         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46089         Define mkostemp64 as an alias.
46090         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46091         Define mkostemps64 as an alias.
46092         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46093         Conditionalize body on this.
46094         * misc/mkostemp64.c: Likewise.
46095         * misc/mkostemps64.c: Likewise.
46096         * misc/mkstemps64.c: Likewise.
46097         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46098         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46099         * sysdeps/wordsize-64/mkostemp.c: File removed.
46100         * sysdeps/wordsize-64/mkstemp.c: File removed.
46101         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46102         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46103         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46104         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46106         [BZ #14138]
46107         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46108         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46109         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46110         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46112         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46113         compat_symbol macros from <shlib-compat.h> rather than the underlying
46114         default_symbol_version and symbol_version macros, so that DEFAULT
46115         lines in shlib-versions are respected.
46116         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46118 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46120         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46121         Declare with warn_unused_result.
46122         (setgid, setregid, setegid, setresgid): Likewise.
46123         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46124         Likewise.
46125         * WUR-REPORT: Remove set*id functions.
46127 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46129         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46131 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46133         [BZ #10191]
46134         * include/sys/socket.h (__libc_accept, __libc_accept4):
46135         Add attribute_hidden.
46136         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46138         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46139         use of PTR_MANGLE.
46140         * inet/getnetgrent_r.c (setup): Likewise.
46142         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46144 2012-07-31  David S. Miller  <davem@davemloft.net>
46146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46148 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46150         [BZ #13629]
46151         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46152         value between 1.0 and 2.0 and smaller part has absolute value less
46153         than 1.0.
46154         * math/s_clog10.c (__clog10): Likewise.
46155         * math/s_clog10f.c (__clog10f): Likewise.
46156         * math/s_clog10l.c (__clog10l): Likewise.
46157         * math/s_clogf.c (__clogf): Likewise.
46158         * math/s_clogl.c (__clogl): Likewise.
46159         * math/libm-test.inc (clog_test): Add more tests.
46160         (clog10_test): Likewise.
46161         * sysdeps/i386/fpu/libm-test-ulps: Update.
46162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46164 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46166         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46167         Exit with zero in case no suitable GID is found, and write a
46168         message to standard error.
46170 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46172         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46173         rather than to 1.
46174         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46175         (MAXPATHLEN): Removed.
46176         (NOGROUP, NODEV): New macros.
46177         (setbit, clrbit, isset, isclr): New macros.
46178         (howmany, roundup, powerof2): New macros.
46179         (DEV_BSIZE): New macro.
46181         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46182         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46184         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46185         definition on [!__NO_LONG_DOUBLE_MATH].
46187         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46188         PTR_MANGLE and PTR_DEMANGLE.
46190         * socket/accept4.c (accept4): Rename to __libc_accept4.
46191         Define accept4 as a weak alias.
46193         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46194         on [_DIRENT_HAVE_D_TYPE].
46195         * io/ftw.c (ftw_dir): Likewise.
46197         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46199         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46201         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46202         Use the BSD numbers rather than the arbitrary ones we had.
46203         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46204         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46205         (SIGXCPU, SIGXFSZ): New macros.
46206         (_NSIG): Now 32.
46208         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46209         initializer on [_LIBC_REENTRANT].
46211         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46212         definitions inside [_POSIX_MAPPED_FILES].
46214         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46216         * dirent/opendir.c: Include <fcntl.h>.
46218         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46219         (__libc_getspecific): Likewise.
46220         (__libc_key_create): Likewise.
46222         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46223         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46224         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46225         (tmpfile64): Define as alias.
46226         * sysdeps/wordsize-64/tmpfile.c: File removed.
46227         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46228         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46229         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46231         * stdio-common/vfscanf.c: Include <stdbool.h>.
46232         * nss/makedb.c: Likewise.
46233         * stdio-common/_i18n_number.h: Likewise.
46234         * argp/argp-help.c: Likewise.
46235         * posix/wordexp.c: Likewise.
46236         * sysdeps/posix/spawni.c: Likewise.
46237         * nss/nss_files/files-initgroups.c: Likewise.
46238         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46239         * nss/nss_files/files-initgroups.c: Likewise.
46240         * nss/nss_db/db-netgrp.c: Likewise.
46241         * nss/nss_db/db-initgroups.c: Likewise.
46242         * io/fchmodat.c: Include <sys/stat.h>.
46244         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46245         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46247         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46248         [HAVE_MMAP].
46250         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46251         Add multiple inclusion protection.
46253 2012-07-27  David S. Miller  <davem@davemloft.net>
46255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46257 2012-07-27  Gary Benson  <gbenson@redhat.com>
46259         [BZ #14298]
46260         * elf/rtld.c: Include <stap-probe.h>.
46261         (dl_main): Added static probes "init_start" and "init_complete".
46262         * elf/dl-load.c: Include <stap-probe.h>.
46263         (lose): Take new parameter "nsid".
46264         Added static probe "map_failed".
46265         (_dl_map_object_from_fd): Pass namespace id to lose.
46266         Added static probe "map_start".
46267         (open_verify): Pass namespace id to lose.
46268         * elf/dl-open.c: Include <stap-probe.h>.
46269         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46270         and "reloc_complete".
46271         * elf/dl-close.c: Include <stap-probe.h>.
46272         (_dl_close_worker): Added static probes "unmap_start" and
46273         "unmap_complete".
46274         * elf/rtld-debugger-interface.txt: New file documenting the above.
46276 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46278         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46279         rather than a string variable.
46280         * sunrpc/rpc_main.c (h_output): Likewise.
46281         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46283 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46285         * inet/check_native.c: New file.
46287 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46289         [BZ #13629]
46290         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46291         if larger part has absolute value 1.0.
46292         * math/s_clog10.c (__clog10): Likewise.
46293         * math/s_clog10f.c (__clog10f): Likewise.
46294         * math/s_clog10l.c (__clog10l): Likewise.
46295         * math/s_clogf.c (__clogf): Likewise.
46296         * math/s_clogl.c (__clogl): Likewise.
46297         * math/libm-test.inc (clog_test): Add more tests.
46298         (clog10_test): Likewise.
46299         * sysdeps/i386/fpu/libm-test-ulps: Update.
46300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46302         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46303         (pltexit): Likewise.
46304         (La_regs): Likewise.
46305         (La_retval): Likewise.
46306         (int_retval): Likewise.
46307         Update #error for removed macros to refer only to definitions in
46308         tst-audit.h.
46309         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46310         macro.
46311         (pltexit): Likewise.
46312         (La_regs): Likewise.
46313         (La_retval): Likewise.
46314         (int_retval): Likewise.
46315         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46316         macro.
46317         (pltexit): Likewise.
46318         (La_regs): Likewise.
46319         (La_retval): Likewise.
46320         (int_retval): Likewise.
46321         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46322         macro.
46323         (pltexit): Likewise.
46324         (La_regs): Likewise.
46325         (La_retval): Likewise.
46326         (int_retval): Likewise.
46327         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46328         macro.
46329         (pltexit): Likewise.
46330         (La_regs): Likewise.
46331         (La_retval): Likewise.
46332         (int_retval): Likewise.
46333         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46334         macro.
46335         (pltexit): Likewise.
46336         (La_regs): Likewise.
46337         (La_retval): Likewise.
46338         (int_retval): Likewise.
46339         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46340         macro.
46341         (pltexit): Likewise.
46342         (La_regs): Likewise.
46343         (La_retval): Likewise.
46344         (int_retval): Likewise.
46345         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46346         macro definitions in tst-audit.h.
46347         * sysdeps/i386/tst-audit.h: New file.
46348         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46349         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46350         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46351         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46352         * sysdeps/sh/tst-audit.h: Likewise.
46353         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46354         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46355         * sysdeps/x86_64/tst-audit.h: Likewise.
46357 2012-07-26  Andreas Jaeger  <aj@suse.de>
46359         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46360         ptrace.
46362         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46363         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46364         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46365         PTRACE_O_MASK.
46366         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46367         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46368         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46370         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46371         value.
46373         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46374         _sigsys.
46375         (si_call_addr, si_syscall, si_arch): Define new macro.
46376         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46377         _sigsys.
46378         (si_call_addr, si_syscall, si_arch): Define new marcro.
46379         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46380         _sigsys.
46381         (si_call_addr, si_syscall, si_arch): Define new macro.
46382         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46383         _sigsys.
46384         (si_call_addr, si_syscall, si_arch): Define new macro.
46386 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46388         [BZ #13717]
46389         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46390         Change to 2.4.21 where previously 2.4.1.
46391         * sysdeps/unix/sysv/linux/configure: Regenerated.
46392         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46393         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46394         Linux kernel version.
46395         (__ASSUME_STD_AUXV): Remove.
46396         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46397         kernel version.
46398         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46399         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46400         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46401         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46402         (__ASSUME_NETLINK_SUPPORT): Likewise.
46403         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46404         (__no_netlink_support): Remove conditional definition.
46405         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46406         Remove.
46407         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46408         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46409         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46410         (if_nameindex_ioctl): Remove.
46411         (if_nameindex_netlink): Do not handle __no_netlink_support.
46412         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46413         code.
46414         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46415         Remove conditional code.
46416         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46417         code.
46418         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46419         unconditional.
46420         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46421         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46422         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46423         Remove.
46424         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46425         [!__ASSUME_STD_AUXV]: Remove conditional code.
46426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46427         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46428         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46430         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46431         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46432         code.
46433         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46435         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46436         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46437         conditional code.
46438         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46440         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46441         code.
46442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46443         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46444         conditional code.
46445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46446         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46447         code unconditional.
46448         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46449         conditional code.
46450         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46451         unconditional.
46452         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46453         conditional code.
46454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46455         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46456         unconditional.
46457         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46458         conditional code.
46459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46460         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46461         code unconditional.
46462         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46463         conditional code.
46464         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46465         unconditional.
46466         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46467         conditional code.
46468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46469         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46470         code unconditional.
46471         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46472         conditional code.
46473         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46474         unconditional.
46475         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46476         conditional code.
46478 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
46480         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46481         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46482         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46483         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46484         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46485         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46486         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46487         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46488         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46489         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46490         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46491         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46492         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46493         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46494         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46495         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46496         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46497         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46498         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46499         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46500         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46501         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46502         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46504 2012-07-25  Florian Weimer  <fweimer@redhat.com>
46506         * Versions.def: Add GLIBC_2.17.
46507         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46508         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46509         Introduce __libc_secure_getenv.
46510         * stdlib/Versions (2.17): Add secure_getenv
46511         (GLIBC_PRIVATE): Add __libc_secure_getenv.
46512         * stdlib/secure-getenv.c: Rename __secure_getenv to
46513         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
46514         symbol __secure_getenv for GLIBC_2.0.
46515         * stdlib/tst-secure-getenv.c: New.
46516         * stdlib/Makefile (tests): Add testcase.
46517         * manual/startup.texi (Environment Access): Document
46518         secure_getenv.
46519         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46520         __libc_secure_getenv.
46521         * inet/ruserpass.c (ruserpass): Likewise.
46522         * malloc/mtrace.c (mtrace): Likewise.
46523         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46524         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46525         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46526         * sysdeps/posix/tempname.c: Likewise.  Evaluate
46527         HAVE_SECURE_GETENV.
46528         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46529         __secure_getenv to __libc_secure_getenv.
46530         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46532         Likewise.
46533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46534         Likewise.
46535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46537         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46539         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46541         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46543 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46545         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46546         (struct La_i86_retval): Likewise.
46547         (struct La_x86_64_regs): Likewise.
46548         (struct La_x86_64_retval): Likewise.
46549         (struct La_x32_regs): Likewise.
46550         (struct La_x32_retval): Likewise.
46551         (struct La_ppc32_regs): Likewise.
46552         (struct La_ppc32_retval): Likewise.
46553         (struct La_ppc64_regs): Likewise.
46554         (struct La_ppc64_retval): Likewise.
46555         (struct La_sh_regs): Likewise.
46556         (struct La_sh_retval): Likewise.
46557         (struct La_s390_32_regs): Likewise.
46558         (struct La_s390_32_retval): Likewise.
46559         (struct La_s390_64_regs): Likewise.
46560         (struct La_s390_64_retval): Likewise.
46561         (struct La_sparc32_regs): Likewise.
46562         (struct La_sparc32_retval): Likewise.
46563         (struct La_sparc64_regs): Likewise.
46564         (struct La_sparc64_retval): Likewise.
46565         (struct audit_ifaces): Remove architecture-specific pltenter and
46566         pltexit members.
46567         * sysdeps/i386/ldsodefs.h: New file.
46568         * sysdeps/powerpc/ldsodefs.h: Likewise.
46569         * sysdeps/s390/ldsodefs.h: Likewise.
46570         * sysdeps/sh/ldsodefs.h: Likewise.
46571         * sysdeps/sparc/ldsodefs.h: Likewise.
46572         * sysdeps/x86_64/ldsodefs.h: Likewise.
46574 2012-07-25  Marek Polacek  <polacek@redhat.com>
46576         [BZ #6808]
46577         * math/libm-test.inc (yn_test): Add another test.
46578         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46579         to ERANGE when the result is +-Inf.
46580         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46581         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46582         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46583         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46585 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
46587         * conform/data/time.h-data (NULL): Use macro-constant.  Require
46588         equal to 0.
46589         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
46590         clock_t.
46591         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
46593 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
46595         * configure.in <sysdeps resolving>: Correct printing
46596         Implies_before.
46597         * configure: Regenerate.
46599 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
46601         * math/w_ilogb.c: Include <limits.h>.
46602         * math/w_ilogbl.c: Likewise.
46604 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46606         * manual/lang.texi (__va_copy): Document primarily as ISO C99
46607         va_copy.  Document allowing for unavailable va_copy only as
46608         pre-C99 compatibility.
46609         * manual/string.texi (Copying and Concatenation): Use va_copy
46610         instead of __va_copy in concat example.
46612 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
46614         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
46615         (__sendto): Use create_address_port.  Initialize APORT and deallocate
46616         it if not null.
46618         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
46619         with O_NOLINK passed to __file_name_lookup.
46621         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
46622         with O_NOLINK passed to __file_name_lookup.
46624         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
46625         negative N or less than NGIDS.
46627         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
46628         type to string_t.  Set ERANGE as errno and return it if NAME is not big
46629         enough.  Use memcpy instead of strncpy.
46631 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46633         * elf/Makefile (check-data): Remove.
46634         (localplt.data): New vpath directive.
46635         ($(objpfx)check-localplt.out): Use localplt.data from vpath
46636         instead of $(check-data).
46637         * scripts/data/localplt-generic.data: Move to ...
46638         * sysdeps/generic/localplt.data: ... here.
46639         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
46640         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
46641         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
46642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46643         ... here.
46644         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
46645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46646         ... here.
46647         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
46648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46649         ... here.
46650         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
46651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46652         ... here.
46653         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
46654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
46655         ... here.
46656         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
46658         ... here.
46660 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46662         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
46663         PPC32 and PPC64 files.
46664         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46665         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46667 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46669         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46670         __makecontext_ret to ...
46671         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46672         ... here and call exit if uc_link is NULL.  New file.
46673         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46674         __makecontext_ret.S.
46675         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46676         __makecontext_ret to ...
46677         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46678         ... here and call exit if uc_link is NULL.  New file.
46679         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46680         __makecontext_ret.S.
46682 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46684         * elf/elf.h (R_390_IRELATIVE): New definition.
46685         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46686         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
46687         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46688         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46689         (elf_machine_lazy_rel): Likewise.
46690         * sysdeps/s390/dl-irel.h: New file.
46691         * sysdeps/s390/s390-64/memcpy.S: New asm code.
46692         * sysdeps/s390/s390-64/memset.S: New asm code.
46693         * sysdeps/s390/s390-64/memcmp.S: New asm code.
46694         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46695         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46696         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46697         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46698         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46699         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46700         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46701         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46702         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46703         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46704         * sysdeps/s390/s390-32/memcpy.S: New asm code.
46705         * sysdeps/s390/s390-32/memset.S: New asm code.
46706         * sysdeps/s390/s390-32/memcmp.S: New asm code.
46708 2012-07-17  Marek Polacek  <polacek@redhat.com>
46710         [BZ #14349]
46711         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46712         * sysdeps/s390/s390-64/configure.in: Likewise.
46713         * sysdeps/sparc/configure.in: Likewise.
46714         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46715         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46716         * sysdeps/i386/configure.in: Likewise.
46717         * sysdeps/x86_64/configure.in: Likewise.
46718         * sysdeps/sh/configure.in: Likewise.
46719         * sysdeps/s390/s390-32/configure: Regenerated.
46720         * sysdeps/s390/s390-64/configure: Likewise.
46721         * sysdeps/x86_64/configure: Likewise.
46722         * sysdeps/sh/configure: Likewise.
46723         * sysdeps/powerpc/powerpc64/configure: Likewise.
46724         * sysdeps/powerpc/powerpc32/configure: Likewise.
46725         * sysdeps/sparc/configure: Likwise.
46726         * sysdeps/i386/configure: Likewise.
46728         * elf/dl-open.c: Comment fixes.
46730 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
46732         * Makefile [CXX] (check-data): Remove.
46733         [CXX] (c++-types.data): New vpath directive.
46734         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46735         vpath.  Do not allow for C++ type data being missing.
46736         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46737         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46738         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46739         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46740         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46741         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46742         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46744         ... here.
46745         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46747         ... here.
46748         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46750         ... here.
46751         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46753         ... here.
46754         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46756         ... here.
46757         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46759         ... here.
46760         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46761         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46762         ... here.
46763         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46764         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46766         * elf/tls-macros.h (TLS_LE): Move architecture-specific
46767         definitions to architecture-specific files.
46768         (TLS_IE): Likewise.
46769         (TLS_LD): Likewise.
46770         (TLS_GD): Likewise.
46771         * sysdeps/i386/tls-macros.h: New file.
46772         * sysdeps/powerpc/tls-macros.h: Likewise.
46773         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46774         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46775         * sysdeps/sh/tls-macros.h: Likewise.
46776         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46777         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46778         * sysdeps/x86_64/tls-macros.h: Likewise.
46780 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46782         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46783         zero value for regular exit case.
46785         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46786         (__start_context): Preserve zero value for regular exit case.
46788 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46789             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46791         * manual/setjmp.texi (setcontext): Clarify normal process
46792         termination when uc_link is the null pointer.
46793         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46794         exit call.
46796 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
46798         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46799         preprocessor.  Test for each exception mask separately.
46801 2012-07-16  Andreas Jaeger  <aj@suse.de>
46803         * po/ru.po: Update from translation team.
46805 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
46807         * conform/data/string.h-data (NULL): Use macro-constant.  Require
46808         equal to 0.
46809         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46810         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46811         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46812         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46813         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46815 2012-07-13  Andreas Jaeger  <aj@suse.de>
46817         * po/fr.po: Update from translation team.
46819 2012-07-12  Marek Polacek  <polacek@redhat.com>
46821         [BZ #14173]
46822         * math/libm-test.inc (yn_test): Add test for BZ #14173.
46823         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46824         loop condition.
46826 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
46828         [BZ #13717]
46829         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46830         Change to 2.4.1 where previously 2.4.0.
46831         * sysdeps/unix/sysv/linux/configure: Regenerated.
46832         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46833         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46834         version.
46835         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46836         (__ASSUME_AT_CLKTCK): Remove.
46837         (__ASSUME_AT_PAGESIZE): Likewise.
46838         (__ASSUME_AT_XID): Likewise.
46839         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46840         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46841         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46842         unconditionally.
46843         (HAVE_AUX_PAGESIZE): Likewise.
46844         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46845         [__ASSUME_AT_CLKTCK]: Make code unconditional.
46846         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46848 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
46850         [BZ #14307]
46851         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46852         the temporary buffer used to invoke __gethostbyname2_r,
46853         __gethostbyaddr_r and gethostbyname4_r to make room for struct
46854         host_data / struct gaih_addrtuple.
46855         * resolv/nss_dns/dns-host.c (global scope): Move definition of
46856         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46857         header file nss/nsswitch.h.
46858         * nss/nsswitch.h (global scope): Add definition of implementation
46859         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46860         resolv/nss_dns/dns-host.c).
46862 2012-07-11  Andreas Jaeger  <aj@suse.de>
46864         * po/fr.po: Update from translation team.
46866         * po/sv.po: Update from translation team
46867         * po/fr.po: Another update from translation team.
46869 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46871         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46872         for subnormals or multiply small sinh result by itself.
46873         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46876 2012-07-11  David S. Miller  <davem@davemloft.net>
46878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46880 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
46882         [BZ #14347]
46883         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46884         (INTERNAL_MARK): Shift it here.
46886 2012-07-10  Marek Polacek  <polacek@redhat.com>
46888         [BZ #14151]
46889         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
46890         libc_cv_asm_global_directive with .globl.
46891         * configure: Regenerated.
46892         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46893         with .globl.
46894         * sysdeps/i386/configure: Regenerated.
46895         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46896         with .globl.
46897         * sysdeps/x86_64/configure: Regenerated.
46898         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46899         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46900         * elf/tst-unique2mod2.c: Likewise.
46901         * elf/tst-unique2mod1.c: Likewise.
46902         * elf/tst-unique1mod2.c: Likewise.
46903         * elf/tst-unique1mod1.c: Likewise.
46904         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46905         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46906         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46907         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46908         * sysdeps/mach/sysdep.h: Likewise.
46909         * sysdeps/i386/sysdep.h: Likewise.
46910         * sysdeps/i386/i386-mcount.S: Likewise.
46911         * sysdeps/x86_64/_mcount.S: Likewise.
46912         * sysdeps/x86_64/sysdep.h: Likewise.
46913         * sysdeps/sh/_mcount.S: Likewise.
46914         * sysdeps/sh/sysdep.h: Likewise.
46915         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46916         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46917         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46918         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46919         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46920         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46921         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46922         * locale/localeinfo.h: Likewise.
46923         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46924         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46926 2012-07-09  Roland McGrath  <roland@hack.frob.com>
46928         [BZ #14336]
46929         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46930         system".
46931         * manual/message.texi (The Uniforum approach): Likewise.
46932         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46933         (glibc iconv Implementation): Likewise.
46935 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
46937         [BZ #14337]
46938         * math/s_clog.c (__clog): Avoid scaling a value down where that
46939         could result in underflow.
46940         * math/s_clog10.c (__clog10): Likewise.
46941         * math/s_clog10f.c (__clog10f): Likewise.
46942         * math/s_clog10l.c (__clog10l): Likewise.
46943         * math/s_clogf.c (__clogf): Likewise.
46944         * math/s_clogl.c (__clogl): Likewise.
46945         * math/libm-test.inc (clog_test): Add more tests.
46946         (clog10_test): Likewise.
46947         * sysdeps/i386/fpu/libm-test-ulps: Update.
46948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46950 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
46952         [BZ #14283]
46953         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46954         by 7 not 8 to examine high bit of fractional part.
46956         [BZ #14042]
46957         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46958         for call to __mcount_internal.
46959         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46960         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46961         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46963 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
46965         [BZ #14154]
46966         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46967         approximation for values within 0x1p-13f of an odd multiple of
46968         pi/4.
46969         * math/libm-test.inc (tan_test): Do not allow spurious underflow
46970         exception.  Add more tests.
46971         * sysdeps/i386/fpu/libm-test-ulps: Update.
46973         [BZ #6778]
46974         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46975         inputs and return -1 for them.  Do not check for +Inf in case not
46976         reachable for +Inf.
46977         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46978         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46979         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46980         and return -1 for them.  Do not check for +Inf in case not
46981         reachable for +Inf.
46982         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
46983         define.
46984         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46985         and return -1 for them.  Do not check for +Inf in case not
46986         reachable for +Inf.
46987         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
46988         spurious underflow.
46989         * sysdeps/i386/fpu/libm-test-ulps: Update.
46990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46992 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
46994         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
46996 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
46998         [BZ #14157]
46999         [BZ #14331]
47000         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47001         could result in spurious underflow.  Scale down values above
47002         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47003         * math/s_csqrtf.c (__csqrtf): Likewise.
47004         * math/s_csqrtl.c (__csqrtl): Likewise.
47005         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47006         spurious underflow.
47007         * sysdeps/i386/fpu/libm-test-ulps: Update.
47008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47010 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47012         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47013         xopen-msg.sed.
47014         * catgets/xopen-msg.awk: New file.
47015         * catgets/xopen-msg.sed: Removed.
47017         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47018         po2text.sed.
47019         * intl/po2test.awk: New file.
47020         * intl/po2test.sed: Removed.
47022 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47024         [BZ #14328]
47025         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47026         or multiply small sinh result by itself.
47027         * math/s_ctanf.c (__ctanf): Likewise.
47028         * math/s_ctanh.c (__ctanh): Likewise.
47029         * math/s_ctanhf.c (__ctanhf): Likewise.
47030         * math/s_ctanhl.c (__ctanhl): Likewise.
47031         * math/s_ctanl.c (__ctanl): Likewise.
47032         * math/libm-test.inc (ctan_test_tonearest): New function.
47033         (ctan_test_towardzero): Likewise.
47034         (ctan_test_downward): Likewise.
47035         (ctan_test_upward): Likewise.
47036         (ctanh_test_tonearest): Likewise.
47037         (ctanh_test_towardzero): Likewise.
47038         (ctanh_test_downward): Likewise.
47039         (ctanh_test_upward): Likewise.
47040         (main): Call these new functions.
47041         * sysdeps/i386/fpu/libm-test-ulps: Update.
47042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47044 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47046         * .gitignore: Delete /ports entry.
47048 2012-07-03  Andreas Jaeger  <aj@suse.de>
47050         * po/bg.po: Update from translation team.
47051         * po/cs.po: Likewise.
47052         * po/de.po: Likewise.
47053         * po/hr.po: Likewise.
47054         * po/nl.pl: Likewise.
47055         * po/pl.po: Likewise.
47056         * po/vi.po: Likewise.
47058 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47060         * Makeconfig [!+link] (+link-before-libc): New variable.
47061         [!+link] (+link-after-libc): Likewise.
47062         [!+link] (+link-tests): Likewise.
47063         [!+link] (+link): Define in terms of $(+link-before-libc) and
47064         $(+link-after-libc).
47065         [!+link-static] (+link-static-before-libc): New variable.
47066         [!+link-static] (+link-static-after-libc): Likewise.
47067         [!+link-static] (+link-static-tests): Likewise.
47068         [!+link-static] (+link-static): Define in terms of
47069         $(+link-static-before-libc) and $(+link-static-after-libc).
47070         [build-shared] (link-libc-before-gnulib): New variable.
47071         [build-shared] (link-libc-tests): Likewise.
47072         [build-shared] (link-libc): Define in terms of
47073         $(link-libc-before-gnulib).
47074         [!build-shared] (link-libc-tests): New variable.
47075         (link-libc-static-tests): New variable.
47076         [!gnulib] (gnulib-arch): New variable.
47077         [!gnulib] (gnulib-tests): Likewise.
47078         [!gnulib] (static-gnulib-arch): Likewise.
47079         [!gnulib] (static-gnulib-tests): Likewise.
47080         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47081         Define with "=" instead of ":=".
47082         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47083         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47084         * Rules (binaries-all-notests): New variable.
47085         (binaries-all-tests): Likewise.
47086         (binaries-static-notests): Likewise.
47087         (binaries-static-tests): Likewise.
47088         (binaries-all): Define using $(binaries-all-notests) and
47089         $(binaries-all-tests).
47090         (binaries-static): Define using $(binaries-static-notests) and
47091         $(binaries-static-tests).
47092         (binaries-shared-tests): New variable.
47093         (binaries-shared-notests): Likewise.
47094         (binaries-shared): Remove variable.
47095         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47096         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47097         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47098         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47099         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47100         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47101         * elf/Makefile (sln-modules): New variable.
47102         (extra-objs): Add $(sln-modules:=.o).
47103         (ldconfig-modules): Add static-stubs.
47104         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47105         * elf/static-stubs.c: New file.
47107         [BZ #14283]
47108         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47109         by 7 not 8 to examine high bit of fractional part.  Use volatile
47110         variables when splitting into final array of floats if
47111         __FLT_EVAL_METHOD__ != 0.
47112         * math/libm-test.inc (cos_test): Add another test.
47113         (sin_test): Likewise.
47114         * sysdeps/i386/fpu/libm-test-ulps: Update.
47116         [BZ #14273]
47117         * math/libm-test.inc (cosh_test): Add more tests.
47119         * version.h (RELEASE): Set to "development".
47120         (VERSION): Set to "2.16.90".
47122 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47124         * NEWS: Update copyright. Remove last-updated date.
47125         Mention math library bug fixes and timezone data changes.
47126         * README: Mention GNU/Hurd, x32, and HPPA support status.
47128 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47130         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47132 2012-06-27  Andreas Jaeger  <aj@suse.de>
47134         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47136 2012-06-25  Andreas Jaeger  <aj@suse.de>
47138         * sysdeps/s390/fpu/libm-test-ulps: Update.
47140 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47141             Thomas Schwinge  <thomas@codesourcery.com>
47143         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47144         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47145         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47146         fanotify_mark.
47148 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47150         * sysdeps/mach/start.c: Remove file.
47151         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47152         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47153         * sysdeps/sh/init-first.c: Likewise.
47155         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47156         registers for frame unwinding purposes, add CFI directives.
47157         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47158         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47159         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47160         Likewise.
47162         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47163         __fortify_fail returning.
47164         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47166         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47167         sysdeps/sh/____longjmp_chk.S.
47168         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47169         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47170         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47171         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47173         * sysdeps/sh/abort-instr.h: New file.
47174         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47175         process in case exit returns.
47177         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47178         initialize the GOT register before use.
47180         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47181         calculation of ARGC > 4.
47183         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47184         meaningful names to some local labels.
47186 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47187             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47189         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47190         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47191         (__arch_compare_and_exchange_val_16_acq): Likewise.
47192         (__arch_compare_and_exchange_val_32_acq): Likewise.
47193         (atomic_exchange_and_add): Fix gUSA sequence.
47194         (atomic_add): Likewise.
47195         (atomic_add_negative): Likewise.
47196         (atomic_add_zero): Likewise.
47197         (atomic_bit_test_set): Likewise.
47199 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47201         [BZ #13579]
47202         * include/link.h (struct link_map): Add l_free_initfini.
47203         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47204         l_initfini.
47205         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47206         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47207         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47208         set.
47210 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47212         * configure.in: Use AC_LANG_SOURCE.
47213         * configure: Regenerate.
47215 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47217         * configure.in (libc_cv_localstatedir): New substituted variable.
47218         * configure: Regenerated.
47219         * config.make.in (localstatedir): New variable, substituted from
47220         libc_cv_localstatedir.
47221         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47222         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47223         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47224         * sysdeps/gnu/configure: Regenerated.
47226 2012-06-21  Jeff Law  <law@redhat.com>
47228         [BZ #14277]
47229         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47230         free.  Simplify list management for _LIBC case.
47232 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47234         [BZ #14273]
47235         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47236         Clear sign bit of 64-bit integer value before comparing against
47237         overflow value.
47239         * sysdeps/mach/configure: Regenerated.
47241 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47243         [BZ #14278]
47244         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47246 2012-06-21  Jeff Law  <law@redhat.com>
47248         [BZ #13882]
47249         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47250         uint16_t for elements in the "seen" array to avoid char overflows.
47251         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47252         * elf/dl-open.c (dl_open_worker): Likewise.
47254 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47256         * scripts/list-sources.sh: Scan PORTS for translations.
47257         * po/libc.pot: Regenerated.
47259 2012-06-21  Andreas Jaeger  <aj@suse.de>
47261         [BZ #12194]
47262         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47263         warning.
47264         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47265         * bits/byteswap-16.h (__bswap_16): Likewise.
47266         * bits/byteswap.h (__bswap_constant_16): Likewise.
47268 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47270         [BZ #14117]
47271         * sysdeps/i386/fpu_control.h: Removed.
47272         * sysdeps/x86_64/fpu_control.h: Moved to ...
47273         * sysdeps/x86/fpu_control.h: Here.
47275         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47276         (_FPU_SETCW): Likewise.
47278 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47280         [BZ #14117]
47281         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47282         * sysdeps/x86/fpu/bits/mathinline.h: This.
47283         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47285         [BZ #14050]
47286         [BZ #14117]
47287         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47288         functions if __x86_64__ is defined.
47290 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47292         * string/endian.h: Add !__ASSEMBLER__ condition for including
47293         conversion interfaces.
47295 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47297         [BZ #14241]
47298         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47299         of ABS(x) in calculating zero to negative powers other than odd
47300         integers.
47301         * math/libm-test.inc (pow_test): Add more tests.
47303 2012-06-15  Andreas Jaeger  <aj@suse.de>
47305         * manual/contrib.texi (Contributors): Update entry of Liubov
47306         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47307         Machado Filho.
47309 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47311         * string/string.h: Add __wur to GNU version of strerror_r.
47313 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47315         [BZ #14229]
47316         * string/Makefile (tests): Add tst-strtok_r.
47317         * string/tst-strtok_r.c: New file.
47318         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47319         RAX_LP/RDX_LP on SAVE_PTR.
47321 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47323         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47325 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47327         * libm_test.inc (csqrt_test): Allow more spurious underflow
47328         exceptions.
47329         (j0_test): Likewise.
47330         (j1_test): Likewise.
47331         (y0_test): Likewise.
47332         (y1_test): Likewise.
47334 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47336         * po/Makefile (libc.pot): Use UTF-8 charset.
47338 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47340         [BZ #14210]
47341         Suppress sign-conversion warning from FD_SET.
47342         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47343         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47344         not unsigned long int.
47345         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47347 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47349         [BZ #14050]
47350         [BZ #14117]
47351         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47352         __extern_always_inline instead of __extern_inline.
47353         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47354         (__signbit): Likewise.
47355         (__signbitl): Support C++ namespace.
47356         (lrintf): New inline function.
47357         (lrint): Likewise.
47358         (llrintf): Likewise.
47359         (llrint): Likewise.
47360         (fmaxf): Likewise.
47361         (fmax): Likewise.
47362         (fminf): Likewise.
47363         (fmin): Likewise.
47364         (rint): Likewise.
47365         (rintf): Likewise.
47366         (ceil): Likewise.
47367         (ceilf): Likewise.
47368         (floor): Likewise.
47369         (floorf): Likewise.
47370         (nearbyint): Likewise.
47371         (nearbyintf): Likewise.
47373 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47375         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47376         non-default versions.
47378 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47380         [BZ #14218]
47381         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47383 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47385         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47386         (FE_UPWARD, FE_DOWNWARD): Don't define.
47387         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47388         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47390         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47391         reading it.
47392         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47393         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47395 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47397         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47398         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47399         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47400         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47402 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47404         [BZ #14117]
47405         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47406         * sysdeps/i386/fpu/Implies: New file.
47407         * sysdeps/x86_64/fpu/Implies: Likewise.
47408         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47409         * sysdeps/x86/fpu/bits/fenv.h: This.
47411         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47412         __SSE_MATH__.
47414 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47416         [BZ #14134]
47417         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47418         character 0xffff that matches the last element of the
47419         conversion table.
47421 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47423         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47424         fmodl commit.
47426 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47428         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47429         values higher than 25.6283.
47431 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47433         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47434         subnormal exponent extraction and add some __builtin_expect.
47435         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47436         Fix for subnormal mantissa calculation.
47438 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47440         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47441         cpu2 is -1 and errno is not ENOSYS.
47443 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
47445         [BZ #14117]
47446         * sysdeps/i386/i486/bits/string.h: Renamed to ...
47447         * sysdeps/x86/bits/string.h: This.
47448         * sysdeps/x86_64/bits/string.h: Removed.
47450         * sysdeps/i386/i486/bits/string.h: Define inline functions only
47451         if not compiling for x86-64, but compiling for >= i486.
47453         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47454         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47456         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47457         New macro from Linux kernel 3.4.0.
47458         (FP_XSTATE_MAGIC2): Likewise.
47459         (FP_XSTATE_MAGIC2_SIZE): Likewise.
47460         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47461         (struct _fpx_sw_bytes): New struct.
47462         (struct _xsave_hdr): Likewise.
47463         (struct _ymmh_state): Likewise.
47464         (struct _xstate): Likewise.
47466         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47467         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47468         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47469         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47470         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47471         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47473         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47474         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47475         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47476         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47477         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47478         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47480 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47482         [BZ #13743]
47483         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47484         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47485         (sysdep_headers): Include sys/platform/ppc.h.
47486         * sysdeps/powerpc/test-gettimebase.c: Test for
47487         __ppc_get_timebase() to catch future ISA opcode/insn changes.
47488         * manual/Makefile (appendices): Include platform.texi.
47489         * manual/contrib.texi (Contributors): Update @node pointers.
47490         * manual/maint.texi (Maintenance): Likewise.
47491         (Platform): New node.
47492         * manual/platform.texi: New file.  Document the new features.
47494 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47495             Jakub Jelinek  <jakub@redhat.com>
47497         [BZ #14188]
47498         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47499         where __builtin_expect is unavailable.
47501 2012-06-03  David S. Miller  <davem@davemloft.net>
47503         * stdlib/longlong.h: Updated from GCC.
47505 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
47507         [BZ #14042]
47508         * sysdeps/powerpc/powerpc32/mcount.c: New file.
47509         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47510         __mcount_internal.
47511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47512         (GLIBC_2.16): Likewise.
47514 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47516         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47518 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47521         (default-abi): New variable.
47522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47523         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47524         variable.
47525         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47526         Likewise.
47527         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47528         Likewise.
47529         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47530         Likewise.
47532         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47533         definition.  Document in comment.
47535 2012-06-01  David S. Miller  <davem@davemloft.net>
47537         * stdlib/longlong.h: Updated from GCC.
47539 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47541         [BZ #14117]
47542         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47543         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47544         sys/debugreg.h sys/io.h here.
47545         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47546         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47547         sys/io.h.
47548         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47549         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47550         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47551         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47552         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47553         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47555         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47556         Define only if __x86_64__ is defined.
47558 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47560         [BZ #14048]
47561         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47562         Use int64_t for variable i.
47563         * math/libm-test.inc (fmod_test): Add more tests.
47565         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47566         z computation is not scheduled after fetestexcept.
47567         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47568         Use math_force_eval instead of asm to ensure calculation scheduled
47569         before exception test.
47570         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47571         Ensure a1 + u.d computation is not scheduled after fetestexcept.
47573 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
47575         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47576         computation is not scheduled after fetestexcept.
47578 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47580         [BZ #14117]
47581         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47582         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47584 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47586         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47587         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47589 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47591         [BZ #14117]
47592         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47593         <bits/wordsize.h>.
47594         (__WCHAR_MIN): Support __WORDSIZE == 64.
47595         (__WCHAR_MAX): Likewise.
47597         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47598         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47600         [BZ #14183]
47601         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47602         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
47604         [BZ #14117]
47605         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
47606         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
47608         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
47609         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
47611         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
47612         Defined to 1 if __x86_64__ isn't defined.
47613         (_STAT_VER_LINUX_OLD): New.
47614         (st_atime): Remove duplicate.
47615         (st_mtime): Likewise.
47616         (st_ctime): Likewise.
47618 2012-05-31  David S. Miller  <davem@davemloft.net>
47620         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
47621         entries.
47623 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
47625         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
47626         gen-libm-test.pl.
47628         [BZ #14132]
47629         * elf/dl-reloc.c: Include <_itoa.h>.
47630         (_dl_reloc_bad_type): Remove use of INTUSE.
47631         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
47632         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
47633         * stdio-common/psiginfo.c (psiginfo): Likewise.
47634         * stdio-common/psignal.c (psignal): Likewise.
47635         * string/strsignal.c (strsignal): Likewise.
47636         * include/signal.h (_sys_siglist): Declare hidden proto.
47637         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
47638         INTVARDEF with libc_hidden_data_def.
47639         * stdio-common/itoa-udigits.c: Likewise.
47640         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
47641         (_itoa_lower_digits_internal): Remove declaration.
47642         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
47643         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47644         (_sys_sigabbrev_internal): Remove aliases.
47645         (_sys_siglist): Define hidden alias.
47647 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
47649         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47650         bits/sysctl.h.
47652 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47654         [BZ #14117]
47655         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
47656         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
47658         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
47659         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
47660         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
47661         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
47662         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
47663         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47665         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47666         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47667         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47669         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47670         with __addr.
47671         (insw): Likewise.
47672         (insl): Likewise.
47673         (outsb): Likewise.
47674         (outsw): Likewise.
47675         (outsl): Likewise.
47677         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47678         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47679         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47681         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47682         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47683         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47684         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47685         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47686         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47688         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47689         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47691         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47692         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47694         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47695         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47696         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47698         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47699         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47700         to ...
47701         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47703         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47704         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47705         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47707         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47708         for x86-64.
47709         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47711 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
47713         * math/math.h (M_El): Use two more decimal places.
47714         (M_LOG2El): Likewise.
47715         (M_LOG10El): Likewise.
47716         (M_LN2l): Likewise.
47717         (M_LN10l): Likewise.
47718         (M_PIl): Likewise.
47719         (M_PI_2l): Likewise.
47720         (M_PI_4l): Likewise.
47721         (M_1_PIl): Likewise.
47722         (M_2_PIl): Likewise.
47723         (M_2_SQRTPIl): Likewise.
47724         (M_SQRT2l): Likewise.
47725         (M_SQRT1_2l): Likewise.
47727 2012-05-31  David S. Miller  <davem@davemloft.net>
47729         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47730         values between float registers.
47731         * sysdeps/sparc/sparc64/memset.S: Likewise.
47732         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47734 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
47736         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47737         -D_FORTIFY_SOURCE=1.
47738         (CPPFLAGS-tst-longjmp_chk.c): Define.
47739         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47740         (CPPFLAGS-tst-longjmp_chk2.c): Define.
47741         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47742         CFLAGS-tst-wchar-h.c.
47744 2012-05-31  Marek Polacek  <polacek@redhat.com>
47746         [BZ #14132]
47747         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47748         __endmntent_internal): Remove declaration.
47749         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47750         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47751         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47753 2012-05-30  David S. Miller  <davem@davemloft.net>
47755         * sysdeps/sparc/sparc32/soft-fp/q_util.c
47756         (___Q_simulate_exceptions): Use real FP ops rather than writing
47757         into the %fsr.
47758         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47759         Likewise.
47761 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47763         [BZ #14117]
47764         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47765         * sysdeps/x86/bits/xtitypes.h: This.
47767         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47768         * sysdeps/x86/bits/wordsize.h: This.
47770         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47771         * sysdeps/x86/bits/huge_vall.h: This.
47773         * sysdeps/i386/bits/select.h: Removed.
47774         * sysdeps/x86_64/bits/select.h: Renamed to ...
47775         * sysdeps/x86/bits/select.h: This.
47777         * sysdeps/i386/bits/setjmp.h: Removed.
47778         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47779         * sysdeps/x86/bits/setjmp.h: This.
47781         * sysdeps/i386/bits/mathdef.h: Removed.
47782         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47783         * sysdeps/x86/bits/mathdef.h: This.
47785 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
47787         [BZ #14132]
47788         * include/sys/socket.h (__connect_internal)
47789         (__libc_sa_len_internal): Remove declaration.
47790         (__connect, __libc_sa_len): Declare hidden_proto.
47791         (SA_LEN): Remove use of INTUSE.
47792         * socket/connect.c: Add libc_hidden_def.
47793         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47794         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47795         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47796         alias.
47797         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47798         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47799         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47800         of adding _internal alias.
47802 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47804         [BZ #14117]
47805         * sysdeps/i386/bits/link.h: Removed.
47806         * sysdeps/i386/bits/linkmap.h: Likewise.
47807         * sysdeps/x86_64/bits/link.h: Renamed to ...
47808         * sysdeps/x86/bits/link.h: This.
47809         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47810         * sysdeps/x86/bits/linkmap.h: This.
47812         * sysdeps/i386/bits/endian.h: Removed.
47813         * sysdeps/x86_64/bits/endian.h: Renamed to ...
47814         * sysdeps/x86/bits/endian.h: This.
47816         * sysdeps/i386/bits/byteswap.h: Removed.
47817         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47818         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47819         * sysdeps/x86/bits/byteswap.h: This.
47820         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47821         * sysdeps/x86/bits/byteswap-16.h: This.
47822         * sysdeps/i386/Implies: Add x86.
47823         * sysdeps/x86_64/Implies: Likewise.
47825 2012-05-30  David S. Miller  <davem@davemloft.net>
47827         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47828         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47829         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47830         (FP_TRAPPING_EXCEPTIONS): Define.
47831         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47832         (FP_TRAPPING_EXCEPTIONS): Define.
47833         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47834         subnormals only when inexact has been signalled or underflow
47835         exceptions are enabled.
47836         (_FP_PACK_CANONICAL): Likewise.
47838 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47840         [BZ #14183]
47841         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47842         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47844 2012-05-30  Richard Henderson  <rth@twiddle.net>
47846         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47847         with #ifndef NOT_IN_libc.
47849         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
47850         marked to avoid plt entry.
47852 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47854         [BZ #14112]
47855         * Makeconfig (default-abi): New macro.
47856         (abi-includes): Likewise.
47857         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
47858         $(abi-$(default-abi)-lib-soname) for soname if defined.
47859         ($(common-objpfx)gnu/lib-names.stmp): Generate from
47860         abi-variants.
47861         * Makefile (installed-stubs): Likewise.
47862         * include/stubs-biarch.h: Removed.
47863         * scripts/lib-names.awk: Only handle one library at a time.
47864         * scripts/soversions.awk: Remove WORDSIZE support.
47865         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47866         entries.
47867         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47868         Removed.
47869         (syscall-list-default-condition): Likewise.
47870         (syscall-list-default-condition): Likewise.
47871         (syscall-list-includes): Likewise.
47872         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47873         syscall-list-* with abi-*.  Handle undefined abi-variants.
47874         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47875         * sysdeps/unix/sysv/linux/i386/Implies: New file.
47876         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47877         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47878         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47879         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47880         Removed.
47881         (syscall-list-32-options): Likewise.
47882         (syscall-list-32-condition): Likewise.
47883         (syscall-list-64-options): Likewise.
47884         (syscall-list-64-condition): Likewise.
47885         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47886         macro.
47887         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47888         Renamed to ...
47889         (abi-*): This.
47890         (abi-64-ld-soname): New macro.
47891         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47892         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47893         Renamed to ...
47894         (abi-*): This.
47895         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47896         * sysdeps/x86_64/x32/shlib-versions: Likewise.
47898 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
47900         * sysdeps/unix/sysv/linux/kernel-features.h
47901         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47902         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47903         include <kernel-features.h>.
47904         [!__NR_ftruncate64]: Remove conditional code.
47905         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47906         [__NR_ftruncate64]: Make code unconditional.
47907         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47908         * sysdeps/unix/sysv/linux/truncate64.c: Do not
47909         include <kernel-features.h>.
47910         [!__NR_ftruncate64]: Remove conditional code.
47911         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47912         [__NR_ftruncate64]: Make code unconditional.
47913         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47915         include <kernel-features.h>.
47916         [!__NR_ftruncate64]: Remove conditional code.
47917         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47918         [__NR_ftruncate64]: Make code unconditional.
47919         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47921         include <kernel-features.h>.
47922         [!__NR_ftruncate64]: Remove conditional code.
47923         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47924         [__NR_ftruncate64]: Make code unconditional.
47925         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47927         * configure.in (libc_cv_fpie): Weaken to a compile test using
47928         LIBC_TRY_CC_OPTION.
47929         * configure: Regenerated.
47931 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47935         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47937         Refreshed.
47938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47944         Refreshed.
47946 2012-05-27  David S. Miller  <davem@davemloft.net>
47948         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47949         (___Q_zero): New.
47950         (__Q_simulate_exceptions): Return void.  Change to simulate
47951         exceptions by writing into the %fsr.
47952         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47953         (__Qp_handle_exceptions): Likewise.
47954         (numbers): Delete.
47955         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47956         __Qp_handle_exceptions.
47957         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47958         __Qp_handle_exceptions.
47959         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47960         as unused and give dummy FP_RND_NEAREST initializer.
47961         (FP_INHIBIT_RESULTS): Define.
47962         (___Q_simulate_exceptions): Update declaration.
47963         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47964         formatting.
47965         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47966         as unused and give dummy FP_RND_NEAREST initializer.
47967         (__Qp_handle_exceptions): Update declaration.
47968         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47969         formatting.
47971 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
47973         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47974         the temporary FPU control word.
47975         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47976         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47977         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47978         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47979         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47980         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
47981         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
47982         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47983         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
47984         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
47985         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47987 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47989         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
47990         fields.
47992 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
47994         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
47995         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
47996         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
47997         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
47998         Likewise.
47999         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48000         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48001         Likewise.
48003 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48005         * po/h.po: Update from translation team.
48007 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48009         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48011         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48012         handling of denormals.
48013         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48014         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48015         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48016         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48017         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48018         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48019         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48020         Likewise.
48022 2012-05-26  Marek Polacek  <polacek@redhat.com>
48024         [BZ #14152]
48025         * math/libm-test.inc (fma_test): Don't always expect underflow
48026         exception.
48028 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48030         [BZ #12416]
48031         * elf/tst-execstack.c: Include stackinfo.h.
48032         (do_test): Adjust test case to ensure that pthread_getattr_np
48033         behaviour remains the same after marking stack executable.
48035 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48037         * sysdeps/unix/sysv/linux/kernel-features.h
48038         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48039         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48040         kernel-features.h.
48041         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48042         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48043         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48044         kernel-features.h.
48045         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48046         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48048 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48050         * configure.in: Define the default includes to being none.
48051         * configure: Regenerated.
48053 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48055         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48056         * sysdeps/x86_64/setjmp.S: Likewise.
48057         * sysdeps/i386/bsd-setjmp.S: Likewise.
48058         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48059         * sysdeps/i386/setjmp.S: Likewise.
48060         * sysdeps/i386/__longjmp.S: Likewise.
48061         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48062         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48064         * include/stap-probe.h: New file.
48065         * configure.in: Handle --enable-systemtap.
48066         * configure: Regenerated.
48067         * config.h.in (USE_STAP_PROBE): New #undef.
48068         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48069         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48070         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48072 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48074         [BZ #13717]
48075         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48076         to 2.4.0 where earlier.
48077         * sysdeps/unix/sysv/linux/configure: Regenerated.
48078         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48079         <kernel-features.h>.
48080         [__ASSUME_32BITUIDS]: Make code unconditional.
48081         [!__ASSUME_32BITUIDS]: Remove conditional code.
48082         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48083         <kernel-features.h>.
48084         [__ASSUME_32BITUIDS]: Make code unconditional.
48085         [!__ASSUME_32BITUIDS]: Remove conditional code.
48086         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48087         [__ASSUME_32BITUIDS]: Make code unconditional.
48088         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48089         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48090         <kernel-features.h>.
48091         [__ASSUME_32BITUIDS]: Make code unconditional.
48092         [!__ASSUME_32BITUIDS]: Remove conditional code.
48093         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
48094         <kernel-features.h>.
48095         [__ASSUME_32BITUIDS]: Make code unconditional.
48096         [!__ASSUME_32BITUIDS]: Remove conditional code.
48097         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
48098         <kernel-features.h>.
48099         [__ASSUME_32BITUIDS]: Make code unconditional.
48100         [!__ASSUME_32BITUIDS]: Remove conditional code.
48101         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
48102         <kernel-features.h>.
48103         [__ASSUME_32BITUIDS]: Make code unconditional.
48104         [!__ASSUME_32BITUIDS]: Remove conditional code.
48105         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48106         <kernel-features.h>.
48107         [__ASSUME_32BITUIDS]: Make code unconditional.
48108         [!__ASSUME_32BITUIDS]: Remove conditional code.
48109         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48110         <kernel-features.h>.
48111         [__ASSUME_32BITUIDS]: Make code unconditional.
48112         [!__ASSUME_32BITUIDS]: Remove conditional code.
48113         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48114         <kernel-features.h>.
48115         [__ASSUME_32BITUIDS]: Make code unconditional.
48116         [!__ASSUME_32BITUIDS]: Remove conditional code.
48117         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48118         <kernel-features.h>.
48119         [__ASSUME_32BITUIDS]: Make code unconditional.
48120         [!__ASSUME_32BITUIDS]: Remove conditional code.
48121         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48122         <kernel-features.h>.
48123         [__ASSUME_32BITUIDS]: Make code unconditional.
48124         [!__ASSUME_32BITUIDS]: Remove conditional code.
48125         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
48126         <kernel-features.h>.
48127         [__ASSUME_32BITUIDS]: Make code unconditional.
48128         [!__ASSUME_32BITUIDS]: Remove conditional code.
48129         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48130         <kernel-features.h>.
48131         [__NR_setresgid] (__setresgid): Do not declare.
48132         [__ASSUME_32BITUIDS]: Make code unconditional.
48133         [!__ASSUME_32BITUIDS]: Remove conditional code.
48134         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48135         <kernel-features.h>.
48136         [__NR_setresuid] (__setresuid): Do not declare.
48137         [__ASSUME_32BITUIDS]: Make code unconditional.
48138         [!__ASSUME_32BITUIDS]: Remove conditional code.
48139         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48140         <kernel-features.h>.
48141         [__ASSUME_32BITUIDS]: Make code unconditional.
48142         [!__ASSUME_32BITUIDS]: Remove conditional code.
48143         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48144         <kernel-features.h>.
48145         [__ASSUME_32BITUIDS]: Make code unconditional.
48146         [!__ASSUME_32BITUIDS]: Remove conditional code.
48147         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48148         <kernel-features.h>.
48149         [__ASSUME_32BITUIDS]: Make code unconditional.
48150         [!__ASSUME_32BITUIDS]: Remove conditional code.
48151         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
48152         <kernel-features.h>.
48153         [__ASSUME_32BITUIDS]: Make code unconditional.
48154         [!__ASSUME_32BITUIDS]: Remove conditional code.
48155         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
48156         <kernel-features.h>.
48157         [__ASSUME_32BITUIDS]: Make code unconditional.
48158         [!__ASSUME_32BITUIDS]: Remove conditional code.
48159         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48160         <kernel-features.h>.
48161         [__ASSUME_32BITUIDS]: Make code unconditional.
48162         [!__ASSUME_32BITUIDS]: Remove conditional code.
48163         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48164         <kernel-features.h>.
48165         [__ASSUME_32BITUIDS]: Make code unconditional.
48166         [!__ASSUME_32BITUIDS]: Remove conditional code.
48167         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48168         <kernel-features.h>.
48169         [__ASSUME_32BITUIDS]: Make code unconditional.
48170         [!__ASSUME_32BITUIDS]: Remove conditional code.
48171         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48172         <kernel-features.h>.
48173         [__ASSUME_32BITUIDS]: Make code unconditional.
48174         [!__ASSUME_32BITUIDS]: Remove conditional code.
48175         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48176         <kernel-features.h>.
48177         [__ASSUME_32BITUIDS]: Make code unconditional.
48178         [!__ASSUME_32BITUIDS]: Remove conditional code.
48179         * sysdeps/unix/sysv/linux/kernel-features.h
48180         (__ASSUME_SETRESUID_SYSCALL): Remove.
48181         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48182         (__ASSUME_32BITUIDS): Likewise.
48183         (__ASSUME_LDT_WORKS): Likewise.
48184         (__ASSUME_O_DIRECTORY): Likewise.
48185         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48186         architecture but not kernel version.
48187         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48188         (__ASSUME_MMAP2_SYSCALL): Likewise.
48189         (__ASSUME_STAT64_SYSCALL): Likewise.
48190         (__ASSUME_IPC64): Likewise.
48191         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48192         <kernel-features.h>.
48193         [__ASSUME_32BITUIDS]: Make code unconditional.
48194         [!__ASSUME_32BITUIDS]: Remove conditional code.
48195         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48196         <kernel-features.h>.
48197         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48198         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48199         132096]: Remove conditional code.
48200         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48201         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48202         <kernel-features.h>.
48203         [__ASSUME_32BITUIDS]: Make code unconditional.
48204         [!__ASSUME_32BITUIDS]: Remove conditional code.
48205         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48206         <kernel-features.h>.
48207         [__ASSUME_32BITUIDS]: Make code unconditional.
48208         [!__ASSUME_32BITUIDS]: Remove conditional code.
48209         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48210         <kernel-features.h>.
48211         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48212         unconditional.
48213         (__setresgid): Do not declare.
48214         [__ASSUME_32BITUIDS]: Make code unconditional.
48215         [!__ASSUME_32BITUIDS]: Remove conditional code.
48216         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48217         <kernel-features.h>.
48218         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48219         unconditional.
48220         (__setresuid): Do not declare.
48221         [__ASSUME_32BITUIDS]: Make code unconditional.
48222         [!__ASSUME_32BITUIDS]: Remove conditional code.
48223         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48224         <kernel-features.h>.
48225         [__ASSUME_32BITUIDS]: Make code unconditional.
48226         [!__ASSUME_32BITUIDS]: Remove conditional code.
48227         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48228         <kernel-features.h>.
48229         [__ASSUME_32BITUIDS]: Make code unconditional.
48230         [!__ASSUME_32BITUIDS]: Remove conditional code.
48232 2012-05-25  Richard Henderson  <rth@twiddle.net>
48234         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48235         dl_hwcap to ifunc resolver.
48236         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48237         elf_ifunc_invoke.
48238         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48239         dl_hwcap to ifunc resolver.
48240         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48242 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48244         [BZ #14153]
48245         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48246         for |x| <= 2**-26, not 2**-57.
48247         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48248         exception.
48250 2012-05-24  Jeff Law  <law@redhat.com>
48252         * stdio-common/Makefile (tests): Add bug25.
48253         * stdio-common/bug25.c: New test.
48255 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48257         [BZ #13576]
48258         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48259         multiple of MALLOC_ALIGNMENT in size.
48260         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48262 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48264         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48265         Require >= 256.
48266         (FILENAME_MAX): Use macro-int-constant.
48267         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48268         (_IOFBF): Use macro-int-constant.
48269         (_IOLBF): Likewise.
48270         (_IONBF): Likewise.
48271         (SEEK_CUR): Likewise.
48272         (SEEK_END): Likewise.
48273         (SEEK_SET): Likewise.
48274         (TMP_MAX): Likewise.
48275         (EOF): Use macro-int-constant.  Require < 0.
48276         (NULL): Use macro-constant.  Require == 0.
48277         (stdin): Require type to be FILE *.
48278         (stdout): Likewise.
48279         (stderr): Likewise.
48280         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48281         macro-int-constant.
48282         (EXIT_SUCCESS): Likewise.
48283         (NULL): Use macro-constant.  Require == 0.
48284         (RAND_MAX): Use macro-int-constant.
48285         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48286         [C99-based standards] (strtof): Require function.
48287         [C99-based standards] (strtold): Likewise.
48288         [C99-based standards] (strtoll): Likewise.
48289         [C99-based standards] (strtoull): Likewise.
48290         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48291         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48292         [ISO || ISO99 || ISO11] (math.h): Likewise.
48293         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48294         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48295         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48297 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48299         [BZ #14132]
48300         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48301         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48302         * intl/dgettext.c (DCGETTEXT): Likewise.
48303         * intl/gettext.c (DCGETTEXT): Likewise.
48304         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48305         * posix/regex_internal.h (gettext): Likewise.
48306         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48307         Remove declaration.
48308         * include/argz.h (__argz_count_internal)
48309         (__argz_stringify_internal): Remove declaration.
48310         (__argz_count, __argz_stringify): Declare hidden proto.
48311         * intl/dcgettext.c: Remove use of INTDEF.
48312         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48313         * string/argz-stringify.c: Likewise.
48314         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48315         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48316         Declare hidden proto.
48317         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48318         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48319         Declare hidden proto.
48320         * include/stdio.h (__asprintf_internal): Don't declare.
48321         (__asprintf): Don't define as macro.  Declare hidden proto.
48322         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48323         (__fsetlocking): Declare hidden proto.
48324         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48325         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48326         hidden proto.
48327         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48328         (_IO_setlinebuf): Remove use of INTUSE.
48329         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48330         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48331         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48332         Remove declaration.
48333         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48334         (_IO_do_flush): Remove use of INTUSE.
48335         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48336         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48337         (_IO_adjust_column, _IO_least_wmarker)
48338         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48339         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48340         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48341         (_IO_default_doallocate, _IO_wdefault_doallocate)
48342         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48343         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48344         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48345         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48346         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48347         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48348         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48349         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48350         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48351         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48352         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48353         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48354         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48355         proto.
48356         (_IO_flush_all_internal, _IO_adjust_column_internal)
48357         (_IO_default_uflow_internal, _IO_default_finish_internal)
48358         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48359         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48360         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48361         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48362         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48363         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48364         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48365         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48366         (_IO_file_close_internal, _IO_file_close_it_internal)
48367         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48368         (_IO_file_init_internal, _IO_file_attach_internal)
48369         (_IO_file_fopen_internal, _IO_file_read_internal)
48370         (_IO_file_sync_internal, _IO_file_seek_internal)
48371         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48372         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48373         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48374         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48375         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48376         (_IO_list_all_internal, _IO_link_in_internal)
48377         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48378         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48379         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48380         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48381         (_IO_do_write_internal, _IO_padn_internal)
48382         (_IO_getline_info_internal, _IO_getline_internal)
48383         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48384         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48385         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48386         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48387         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48388         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48389         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48390         with libc_hidden_ver, remove use of INTUSE.
48391         * libio/genops.c: Likewise.
48392         * libio/freopen.c: Likewise.
48393         * libio/freopen64.c: Likewise.
48394         * libio/iofclose.c: Likewise.
48395         * libio/iofdopen.c: Likewise.
48396         * libio/iofflush.c: Likewise.
48397         * libio/iofflush_u.c: Likewise.
48398         * libio/iofgets.c: Likewise.
48399         * libio/iofgets_u.c: Likewise.
48400         * libio/iofopen.c: Likewise.
48401         * libio/iofopncook.c: Likewise.
48402         * libio/iofread.c: Likewise.
48403         * libio/iofread_u.c: Likewise.
48404         * libio/ioftell.c: Likewise.
48405         * libio/iofwrite.c: Likewise.
48406         * libio/iogetline.c: Likewise.
48407         * libio/iogets.c: Likewise.
48408         * libio/iogetwline.c: Likewise.
48409         * libio/iopadn.c: Likewise.
48410         * libio/iopopen.c: Likewise.
48411         * libio/ioseekoff.c: Likewise.
48412         * libio/ioseekpos.c: Likewise.
48413         * libio/iosetbuffer.c: Likewise.
48414         * libio/iosetvbuf.c: Likewise.
48415         * libio/ioungetc.c: Likewise.
48416         * libio/ioungetwc.c: Likewise.
48417         * libio/iovdprintf.c: Likewise.
48418         * libio/iovsprintf.c: Likewise.
48419         * libio/iovsscanf.c: Likewise.
48420         * libio/memstream.c: Likewise.
48421         * libio/obprintf.c: Likewise.
48422         * libio/oldfileops.c: Likewise.
48423         * libio/oldiofclose.c: Likewise.
48424         * libio/oldiofdopen.c: Likewise.
48425         * libio/oldiofopen.c: Likewise.
48426         * libio/oldiopopen.c: Likewise.
48427         * libio/oldstdfiles.c: Likewise.
48428         * libio/putc.c: Likewise.
48429         * libio/setbuf.c: Likewise.
48430         * libio/setlinebuf.c: Likewise.
48431         * libio/stdfiles.c: Likewise.
48432         * libio/strops.c: Likewise.
48433         * libio/vasprintf.c: Likewise.
48434         * libio/vscanf.c: Likewise.
48435         * libio/vsnprintf.c: Likewise.
48436         * libio/vswprintf.c: Likewise.
48437         * libio/wfiledoalloc.c: Likewise.
48438         * libio/wfileops.c: Likewise.
48439         * libio/wgenops.c: Likewise.
48440         * libio/wmemstream.c: Likewise.
48441         * libio/wstrops.c: Likewise.
48442         * libio/__fpurge.c: Likewise.
48443         * libio/__fsetlocking.c: Likewise.
48444         * assert/assert.c: Likewise.
48445         * debug/fgets_chk.c: Likewise.
48446         * debug/fgets_u_chk.c: Likewise.
48447         * debug/fread_chk.c: Likewise.
48448         * debug/fread_u_chk.c: Likewise.
48449         * debug/gets_chk.c: Likewise.
48450         * debug/obprintf_chk.c: Likewise.
48451         * debug/vasprintf_chk.c: Likewise.
48452         * debug/vdprintf_chk.c: Likewise.
48453         * debug/vsnprintf_chk.c: Likewise.
48454         * debug/vsprintf_chk.c: Likewise.
48455         * malloc/mtrace.c: Likewise.
48456         * misc/error.c: Likewise.
48457         * misc/syslog.c: Likewise.
48458         * stdio-common/asprintf.c: Likewise.
48459         * stdio-common/fxprintf.c: Likewise.
48460         * stdio-common/getw.c: Likewise.
48461         * stdio-common/isoc99_fscanf.c: Likewise.
48462         * stdio-common/isoc99_scanf.c: Likewise.
48463         * stdio-common/isoc99_vfscanf.c: Likewise.
48464         * stdio-common/isoc99_vscanf.c: Likewise.
48465         * stdio-common/isoc99_vsscanf.c: Likewise.
48466         * stdio-common/printf-prs.c: Likewise.
48467         * stdio-common/printf_fp.c: Likewise.
48468         * stdio-common/printf_fphex.c: Likewise.
48469         * stdio-common/printf_size.c: Likewise.
48470         * stdio-common/putw.c: Likewise.
48471         * stdio-common/scanf.c: Likewise.
48472         * stdio-common/sprintf.c: Likewise.
48473         * stdio-common/tmpfile.c: Likewise.
48474         * stdio-common/vfprintf.c: Likewise.
48475         * stdio-common/vfscanf.c: Likewise.
48476         * stdlib/strfmon_l.c: Likewise.
48477         * sunrpc/openchild.c: Likewise.
48478         * sunrpc/xdr_stdio.c: Likewise.
48479         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48480         * sysdeps/mach/hurd/tmpfile.c: Likewise.
48482 2012-05-24  Roland McGrath  <roland@hack.frob.com>
48484         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48486         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48487         in the third column, to generate for the shared library an IFUNC
48488         that uses _dl_vdso_vsym.
48489         * Makerules (COMPILE.c, compile-stdin.c): New variables.
48490         * Makeconfig (object-suffixes-noshared): New variable.
48492         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48493         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48494         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48495         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48497         [BZ #14132]
48498         * include/sys/time.h (__gettimeofday): Remove macro.
48499         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48500         * time/gettimeofday.c (__gettimeofday): Remove #undef.
48501         Remove INTDEF.
48502         (__gettimeofday): Add libc_hidden_def.
48503         (gettimeofday): Add libc_hidden_weak.
48504         * sysdeps/mach/gettimeofday.c: Likewise.
48505         * sysdeps/posix/gettimeofday.c: Likewise.
48506         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48507         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48508         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48509         (__gettimeofday_internal): Remove strong_alias.
48510         (__gettimeofday): Add libc_hidden_def.
48511         (gettimeofday): Add libc_hidden_weak.
48512         * sysdeps/unix/syscalls.list (gettimeofday):
48513         Remove __gettimeofday_internal alias.
48515 2012-05-24  Daniel Jacobowitz  <drow@false.org>
48516             H.J. Lu  <hongjiu.lu@intel.com>
48518         [BZ #12495]
48519         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48520         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48521         (largebin_index_32_big): New.
48522         (largebin_index): Use it for 16-byte alignment.
48523         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
48524         correction with front_misalign.
48526 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48529         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48530         Likewise.
48531         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48532         Likewise.
48533         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48534         Likewise.
48535         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48536         Likewise.
48537         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48538         Likewise.
48539         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48540         Likewise.
48541         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48542         Likewise.
48543         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48544         Likewise.
48545         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48546         Likewise.
48547         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48548         Likewise.
48549         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48550         Likewise.
48551         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48552         Likewise.
48554         * scripts/data/c++-types-x32-linux-gnu.data: New file.
48555         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48557 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48559         [BZ #10846]
48560         [BZ #14036]
48561         * math/libm-test.inc (exp_test): Add test from bug 14036.
48562         (pow_test): Add test from bug 10846.
48564         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48565         and other flags.
48566         (special_function): Do not include flags in test name.
48567         (parse_args): Likewise.
48568         * sysdeps/i386/fpu/libm-test-ulps: Update.
48569         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48570         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48571         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48574         * math/gen-libm-test.pl (%beautify): Add entries for underflow
48575         exceptions.
48576         * math/libm-test.inc ("Philosophy"): Update comment about
48577         exception testing.
48578         (UNDERFLOW_EXCEPTION): New macro.
48579         (UNDERFLOW_EXCEPTION_OK): Likewise.
48580         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48581         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48582         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48583         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48584         (INVALID_EXCEPTION_OK): Update value.
48585         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48586         (OVERFLOW_EXCEPTION_OK): Likewise.
48587         (IGNORE_ZERO_INF_SIGN): Likewise.
48588         (test_exceptions): Handle underflow exceptions.
48589         (acos_test): Update for underflow exception expectations.
48590         (cexp_test): Likewise.
48591         (clog_test): Likewise.
48592         (clog10_test): Likewise.
48593         (csqrt_test): Likewise.
48594         (ctan_test): Likewise.
48595         (ctanh_test): Likewise.
48596         (exp_test): Likewise.
48597         (exp10_test): Likewise.
48598         (exp2_test): Likewise.
48599         (expm1_test): Likewise.
48600         (fma_test): Likewise.
48601         (j0_test): Likewise.
48602         (jn_test): Likewise.
48603         (nexttoward_test): Likewise.
48604         (pow_test): Likewise.
48605         (scalbn_test): Likewise.
48606         (scalbln_test): Likewise.
48607         (tan_test): Likewise.
48608         (y1_test): Likewise.
48609         * sysdeps/i386/fpu/libm-test-ulps: Update.
48610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48612 2012-05-23  David S. Miller  <davem@davemloft.net>
48614         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48615         (__libc_sigaction): Remove unused local variables.
48617 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48619         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
48621 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
48623         mktime: avoid signed integer overflow
48624         * time/mktime.c (__mktime_internal): Do not mishandle the case
48625         where diff == INT_MIN.
48627         mktime: simplify computation of average
48628         * time/mktime.c (ranged_convert): Use new time_t_avg function
48629         instead of rolling our own (probably-slower) code.
48631         mktime: do not assume signed right shift propagates sign bit
48632         * time/mktime.c (isdst_differ): New static function.
48633         (__mktime_internal): No need to normalize tm_isdst now.
48634         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
48635         tm_isdst values.
48637         mktime: merge another wrapv change from gnulib
48638         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
48639         from some compilers.
48641         mktime: remove incorrect attempt at unusual arithmetics
48642         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
48643         The code didn't really work on such machines anyway.
48644         (TYPE_MINIMUM): Assume two's complement.
48645         (twos_complement_arithmetic): Verify that long_int and time_t
48646         are two's complement (or unsigned, in the latter case).
48648         mktime: check signed shifts on long_int and time_t, too
48649         * time/mktime.c (SHR): Check that shifts work as desired
48650         on the types long_int and time_t too, as SHR is used on
48651         such types.
48653         mktime: do not assume 'long' is wide enough
48654         * time/mktime.c (verify): Move decl up.
48655         (long_int): New type.
48656         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
48657         to remove assumption in the code that 'long' is wide enough to
48658         store year values.  This assumption is not true on x32 and on
48659         some non-glibc platforms.
48661         mktime: merge wrapv change from gnulib
48662         * time/mktime.c (WRAPV): New macro.
48663         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
48664         (guess_time_tm, __mktime_internal): Do not assume that signed
48665         integer overflow wraps around; modern compilers generate code
48666         where this assumption is no longer valid.
48668 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48670         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48671         Replace "jmp L(pseudo_end)" with "ret".
48672         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48673         Likewise.
48675 2012-05-23  Andreas Jaeger  <aj@suse.de>
48677         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48678         * sysdeps/unix/sysv/linux/poll.c: Remove file.
48680 2012-05-23  Andreas Jaeger  <aj@suse.de>
48681             Maximilian Attems  <max@stro.at>
48683         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48684         New macros.
48686 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48688         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48689         code so that pseudo_end is just ret and the stack pointer is
48690         correct also for static library in error case.
48692 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
48694         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48695         move to syscalls.list.
48696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48701         * manual/install.texi (Running make install): Do not mention Linux
48702         kernel version for which pt_chown is not needed.
48703         (Linux): Do not mention problems with nscd with 2.0 kernels.
48704         * INSTALL: Regenerated.
48706 2012-05-23  Andreas Jaeger  <aj@suse.de>
48708         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48709         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48710         macro.
48711         * sysdeps/unix/sysv/linux/s390/bits/mman.h
48712         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48713         * sysdeps/unix/sysv/linux/sh/bits/mman.h
48714         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48715         * sysdeps/unix/sysv/linux/i386/bits/mman.h
48716         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48717         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48718         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48719         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48720         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48721         * sysdeps/unix/sysv/linux/bits/in.h
48722         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48724 2012-05-22  Roland McGrath  <roland@hack.frob.com>
48726         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48727         (PREPARE_VERSION): Just use assert instead, it will be elided
48728         under [NDEBUG] anyway.
48730 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48732         * sysdeps/unix/sysv/linux/Makefile: Include
48733         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48734         (sysdep_routines): Remove sysctl.
48735         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48736         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48737         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48738         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48739         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48741 2012-05-22  Andreas Jaeger  <aj@suse.de>
48743         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48744         that pseudo_end is just ret and the stack pointer is correct also
48745         for static library in error case.
48747 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
48749         [BZ #14122]
48750         * nss/nsswitch.c (defconfig_entries): New variable.
48751         (__nss_database_lookup): Don't leak defconfig entries.
48752         (nss_parse_service_list): Don't leak on error paths.
48753         (free_database_entries): New function.
48754         (free_defconfig): New function.
48755         (free_mem): Move common code to free_database_entries.
48757 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48759         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48760         Add arch_prctl.
48761         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48763         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48764         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48765         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48766         New macro.
48767         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48768         (INTERNAL_SYSCALL_TYPES): Likewise.
48769         (LOAD_ARGS_TYPES_[1-6]): Likewise.
48770         (LOAD_REGS_TYPES_[1-6]): Likewise.
48771         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48772         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48774 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48776         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48777         copysignl for GLIBC_2_0.
48778         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48779         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48780         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48781         logbl for GLIBC_2_0.
48782         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48783         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48785 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48787         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48788         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48790         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48791         Use "neg %eax".
48793         * time/mktime.c: Update copyright years.
48795 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
48797         mktime: merge comment-quoting-style change from gnulib
48798         * time/mktime.c: Quote 'like this' in comments.
48799         The GNU coding standards suggest that we no longer quote `like this',
48800         as "`" and "'" are typically rendered asymmetrically nowadays.
48801         The typical gnulib style is to quote 'like this' when quoting
48802         code, and "like this" when quoting English.
48804         * time/mktime.c (compile-command): Add "-I.".
48806         mktime: merge mktime-internal.h change from gnulib
48807         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48809         mktime: merge time_r change from gnulib
48810         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48812         mktime: merge DEBUG change from gnulib
48813         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48814         case system <time.h> has a #define.
48816         mktime: merge <sys/types.h> change from gnulib
48817         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48818         since <time.t> is now guaranteed to define time_t.
48820         mktime: merge HAVE_CONFIG_H change from gnulib
48821         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48823 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48825         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48826         Use "neg %eax".
48828         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48829         __rlim_t cast.
48830         (struct rusage): Use anonymous union to pad each field to
48831         __syscall_slong_t.
48833 2012-05-21  David S. Miller  <davem@davemloft.net>
48835         * Makefules (o-iterator): Remove .s cases.
48836         (compile-command.s): Delete.
48837         (COMPILE.s): Delete.
48838         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48840 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
48842         * configure.in (libc_cv_predef_stack_protector): Only consider
48843         "foobar" and "__stack_chk_fail" lines in libc_undefs.
48844         * configure: Regenerated.
48846 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48848         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48849         New macro.  Use R*LP on int and pointer.
48850         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48851         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48852         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48853         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48855         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48856         [__WORDSIZE_TIME64_COMPAT32] instead of
48857         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48858         (struct utmp): Likewise.
48859         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48860         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48861         Renamed to ...
48862         (__WORDSIZE_TIME64_COMPAT32): This.
48863         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48864         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48865         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48866         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48867         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48868         (__WORDSIZE_TIME64_COMPAT32): New macro.
48870 2012-05-21  Andreas Jaeger  <aj@suse.de>
48872         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48873         only if [SHARED]. Add prototype for __wcschr_ia32.
48875 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48877         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48878         of %rbp unmolested in the jmp_buf while mangling the low bits.
48879         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48880         unmolested high bits of %rbp while demangling the low bits.
48881         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48883 2012-05-21  Andreas Jaeger  <aj@suse.de>
48885         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48886         * sunrpc/svc_simple.c: Use it for registerrpc.
48887         * sunrpc/xcrypt.c: Use it for passwd2des.
48889         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48891 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48893         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48894         Don't define if [__SYSCALL_WORDSIZE != 32].
48895         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48896         New macro.
48898 2012-05-21  Bruno Haible  <bruno@clisp.org>
48899             Andreas Jaeger  <aj@suse.de>
48901         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48902         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48903         inptr and inend for must_buffer_ch.
48904         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48905         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48906         * stdio-common/Makefile (tests): Remove bug15.
48907         (bug15-ENV): Remove macro.
48908         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48909         anymore.
48911 2012-05-19  Andreas Jaeger  <aj@suse.de>
48912             Roland McGrath  <roland@hack.frob.com>
48914         * manual/contrib.texi: Completely rewritten. It contains now an
48915         alphabetical list of contributors and their contributions.
48917 2012-05-21  Richard Henderson  <rth@twiddle.net>
48919         * misc/getauxval.c (__getauxval): Use unsigned long int.
48920         * misc/sys/auxv.h: Include <sys/cdefs.h>.
48921         (getauxval): Use unsigned long int.
48923 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48925         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48927 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48929         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48930         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48931         __alignof__ (long double).
48933 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48937 2012-05-20  Richard Henderson  <rth@twiddle.net>
48939         * misc/getauxval.c: New file.
48940         * misc/sys/auxv.h: New file.
48941         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48942         (routines): Add getauxval.
48943         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48944         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48945         * elf/dl-sysdep.c (_dl_auxv): Remove.
48946         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48947         * elf/dl-support.c (_dl_auxv): New variable.
48948         (_dl_aux_init): Initialize it.
48949         * manual/startup.texi (Auxiliary Vector): New node.
48950         * sysdeps/generic/bits/hwcap.h: New file.
48951         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48952         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
48953         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48954         * sysdeps/sparc/sysdep.h: ... here.  Include it.
48955         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48956         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48958         Update.
48959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48962         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48966         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48968 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48972 2012-05-19  David S. Miller  <davem@davemloft.net>
48974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48976 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48978         [BZ #14123]
48979         * math/s_ccosh.c: Include <float.h>
48980         (__ccosh): Avoid internal overflow calculating sinh and cosh
48981         values before multiplying by sin and cos values.
48982         * math/s_ccoshf.c: Likewise.
48983         * math/s_ccoshl.c: Likewise.
48984         * math/s_csin.c: Likewise.
48985         * math/s_csinf.c: Likewise.
48986         * math/s_csinl.c: Likewise.
48987         * math/s_csinh.c: Likewise.
48988         * math/s_csinhf.c: Likewise.
48989         * math/s_csinhl.c: Likewise.
48990         * math/libm-test.inc (ccos_test): Add more tests.
48991         (ccosh_test): Likewise.
48992         (csin_test): Likewise.
48993         (csinh_test): Likewise.
48994         * sysdeps/i386/fpu/libm-test-ulps: Update.
48995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48997 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
48999         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49000         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49002         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49004 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49006         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49007         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49008         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49009         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49010         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49011         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49012         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49013         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49014         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49015         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49016         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49017         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49018         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49019         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49020         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49021         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49022         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49023         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49024         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49025         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49026         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49027         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49028         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49029         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49030         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49031         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49032         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49033         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49034         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49035         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49036         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49038 2012-05-18  Andreas Jaeger  <aj@suse.de>
49040         * csu/.gitignore: Delete.
49042 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49044         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49045         (timex): Use __syscall_slong_t.
49047 2012-05-18  Andreas Jaeger  <aj@suse.de>
49048             Carlos O'Donell  <carlos_odonell@mentor.com>
49050         * manual/install.texi (Configuring and compiling): Update
49051         description about files modified in the source directory.
49052         * INSTALL: Regenerated.
49054 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49056         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49057         value.  Use "or" to set return value to -1.
49058         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49059         negate return value.
49061 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49063         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49064         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49065         failure if the compiler has Graphite support disabled.
49066         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49067         Likewise.
49068         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49069         (CFLAGS-memmove.c): Likewise.
49070         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49071         Likewise.
49073 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49075         * sysdeps/x86_64/x32/_itoa.h: New file.
49077         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49078         getdents system call only if kernel and user dirents have the
49079         same d_ino and d_off.
49081         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49082         LLONG_MAX != LONG_MAX.
49083         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49084         (_fitoa_word): Likewise.
49086         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49087         years.
49088         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49089         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49090         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49092         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49093         include <bits/wordsize.h>.  Check __x86_64__ instead of
49094         __WORDSIZE.
49095         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49096         if __x86_64__ is defined.  Use anonymous union on fpstate.
49098         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49099         anonymous union.
49101 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49103         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49104         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49105         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49106         Refer to _rtld_local_ro instead of _rtld_global_ro.
49107         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49108         Likewise.
49109         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49110         Likewise.
49111         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49112         Likewise.
49113         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49114         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49115         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49117         * sysdeps/powerpc/powerpc32/dl-machine.c
49118         (__elf_machine_runtime_setup) [PROF]: Don't reference
49119         _dl_prof_resolve.
49121 2012-05-18  Andreas Jaeger  <aj@suse.de>
49123         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49124         function only available for GCCs before 3.4 since GCC 3.4
49125         introduced a builtin.
49126         (lrint): Likewise.
49127         (llrintf): Likewise.
49128         (llrint): Likewise.
49129         (fmaxf): Likewise.
49130         (fmax): Likewise.
49131         (fminf): Likewise.
49132         (fmin): Likewise.
49133         (rint): Likewise.
49134         (rintf): Likewise.
49135         (nearbyint): Likewise.
49136         (nearbyintf): Likewise.
49137         (ceil): Likewise.
49138         (ceilf): Likewise.
49139         (floor): Likewise.
49140         (floorf): Likewise.
49142 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49144         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49145         on both fields and cast pointer to __syscall_ulong_t.
49147         * bits/types.h (__fsword_t): New type.
49148         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49149         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49150         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49151         (__FSWORD_T_TYPE): Likewise.
49152         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49153         (__FSWORD_T_TYPE): Likewise.
49154         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49155         (__FSWORD_T_TYPE): Likewise.
49156         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49157         (__FSWORD_T_TYPE): Likewise.
49158         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49159         __SWORD_TYPE with __fsword_t.
49160         (statfs64): Likewise.
49162 2012-05-17  David S. Miller  <davem@davemloft.net>
49164         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49166 2012-05-17  Andreas Jaeger  <aj@suse.de>
49168         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49169         warning.
49171 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49173         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49175 2012-05-17  Andreas Jaeger  <aj@suse.de>
49177         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49178         when it is used.
49180 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49182         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49184 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49186         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49187         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49189 2012-05-17  Andreas Jaeger  <aj@suse.de>
49190             Carlos O'Donell  <carlos_odonell@mentor.com>
49192         [BZ #14059]
49193         * sysdeps/x86_64/multiarch/init-arch.h
49194         (bit_YMM_Usable): Rename to...
49195         (bit_AVX_Usable): ... this.
49196         (bit_FMA4_Usable): New macro.
49197         (bit_XMM_state): New macro.
49198         (bit_YMM_state): New macro.
49199         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49200         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49201         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49202         (CPUID_OSXSAVE): New macro.
49203         (CPUID_AVX): New macro.
49204         (CPUID_FMA4): New macro.
49205         (index_YMM_Usable): Rename to...
49206         (index_AVX_Usable): ... this.
49207         (HAS_AVX): Use HAS_ARCH_FEATURE.
49208         (HAS_FMA4): Likewise.
49209         (HAS_YMM_USABLE): Remove.
49210         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49211         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49212         are present.
49213         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49214         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49215         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49216         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49217         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49219 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49221         * math/libm-test.c: Support platforms without multiple rounding modes.
49222         * math/bug-nextafter.c: Support platforms without FP exceptions.
49223         * math/bug-nexttoward.c: Likewise.
49224         * math/test-fenv.c: Likewise.
49225         * math/test-misc.c: Likewise.
49226         * stdlib/bug-getcontext.c: Likewise.
49228 2012-05-17  Andreas Jaeger  <aj@suse.de>
49230         * manual/examples/search.c (critter_cmp): Change signature to
49231         avoid warnings.
49232         * manual/string.texi (Collation Functions): Likewise.
49234 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49236         * bits/types.h: Fold copyright years.
49237         * bits/typesizes.h: Likewise.
49238         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49239         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49240         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49241         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49242         * time/time.h: Likewise.
49244 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49246         [BZ #208]
49247         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49248         in instead of returning them.  Return void.
49249         (__libc_mallinfo): Accumulate over all arenas.
49250         (__malloc_stats): Adjust for change in int_mallinfo interface.
49252 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49254         [BZ #10375]
49255         * configure.in (NM): Add AC_CHECK_TOOL for it.
49256         (libc_extra_cflags): New substituted variable.
49257         Check for -fstack-protector being used implicitly.
49258         * configure: Regenerated.
49259         * config.make.in (config-extra-cflags): New variable,
49260         gets @libc_extra_cflags@.
49261         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49263         [BZ #10375]
49264         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49265         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49266         * configure: Regenerated.
49267         * config.make.in (CPPUNDEFS): New substituted variable.
49268         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49269         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49270         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49272 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49274         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49275         (mq_attr): Use __syscall_slong_t.
49277 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49279         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49280         Check __x86_64__ instead of __WORDSIZE.
49281         (_STAT_VER_LINUX): Likewise.
49282         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49283         __syscall_ulong_t and __syscall_slong_t.
49284         (stat64): Likewise.
49286 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49288         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49290 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49292         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49294 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49296         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49297         __syscall_ulong_t.
49299         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49300         include <bits/wordsize.h>.  Check __x86_64__ instead of
49301         __WORDSIZE.
49302         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49303         defined.
49304         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49306         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49307         include <bits/wordsize.h>.  Check __x86_64__ instead of
49308         __WORDSIZE.
49309         (user_regs_struct): Use "__extension__ unsigned long long"
49310         instead of "unsigned long" if __x86_64__ is defined.
49311         (user): Likewise.  Pad after pointer field if __ILP32__ is
49312         defined.
49314 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49316         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49317         versions 5 to 9.
49318         * configure: Regenerated.
49319         * manual/install.texi (texinfo): Increase version requirement to
49320         4.5 or later.
49321         * INSTALL: Regenerated.
49323         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49325 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49327         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49329         * sysdeps/x86_64/x32/ffs.c: New file.
49331         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49332         __syscall_ulong_t.
49333         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49334         defined.  Use __syscall_ulong_t.
49335         (shminfo): Use __syscall_ulong_t.
49336         (shm_info): Likewise.
49338         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49339         __syscall_ulong_t.
49341         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49342         <bits/wordsize.h>.
49343         (msgqnum_t): Use __syscall_ulong_t.
49344         (msglen_t): Likewise.
49345         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49346         __syscall_ulong_t.
49348         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49349         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49351         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49353         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49354         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49356         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49357         __syscall_slong_t.
49359         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49360         include <bits/wordsize.h>.  Check __x86_64__ instead of
49361         __WORDSIZE.
49363         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49364         "unsigned long long int" if __x86_64__ is defined.
49365         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49367         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49368         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49369         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49371         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49372         <stdint.h>.
49373         (GET_PC): Cast to uintptr_t first.
49374         (GET_FRAME): Likewise.
49375         (GET_STACK): Likewise.
49377         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49378         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49379         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49380         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49381         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49382         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49383         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49384         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49385         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49386         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49387         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49388         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49389         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49390         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49391         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49392         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49393         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49394         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49395         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49396         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49397         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49398         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49399         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49400         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49401         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49402         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49403         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49404         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49405         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49407 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49409         * Makerules (+depfiles): Also collect depfiles from .oS in
49410         $(extra-objs).
49411         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49412         .oS, $(libnldbl-routines)).
49414         * Makerules (native-compile-mkdep-flags): Define.
49415         * sunrpc/Makefile (extra-objs): Add $(addprefix
49416         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49417         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49418         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49419         calling $(make-target-directory).
49421 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49423         * bits/types.h (__snseconds_t): Removed.
49424         * time/time.h (struct timespec): Replace __snseconds_t with
49425         __syscall_slong_t.
49426         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49427         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49428         Likewise.
49429         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49430         (__SNSECONDS_T_TYPE): Likewise.
49431         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49432         (__SNSECONDS_T_TYPE): Likewise.
49433         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49434         (__SNSECONDS_T_TYPE): Likewise.
49436 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49438         * sysdeps/mach/hurd/bits/typesizes.h
49439         (__SYSCALL_SLONG_TYPE): New macro.
49440         (__SYSCALL_ULONG_TYPE): Likewise.
49442 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49444         * bits/types.h (__syscall_slong_t): New type.
49445         (__syscall_ulong_t): Likewise.
49447         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49448         (__SYSCALL_ULONG_TYPE): Likewise.
49449         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49450         (__SYSCALL_SLONG_TYPE): Likewise.
49451         (__SYSCALL_ULONG_TYPE): Likewise.
49452         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49453         (__SYSCALL_SLONG_TYPE): Likewise.
49454         (__SYSCALL_ULONG_TYPE): Likewise.
49455         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49456         (__SYSCALL_SLONG_TYPE): Likewise.
49457         (__SYSCALL_ULONG_TYPE): Likewise.
49459 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49461         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49462         Add sigaltstack-offsets.sym.
49463         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49464         <sigaltstack-offsets.h>.
49465         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
49466         longjmp_msg pointer.
49467         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
49468         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49469         signal stack.
49470         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49472 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49474         * elf/stackguard-macros.h: Remove file.
49475         * sysdeps/generic/stackguard-macros.h: New file.
49476         * sysdeps/i386/stackguard-macros.h: Likewise.
49477         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49478         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49479         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49480         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49481         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49482         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49483         * sysdeps/x86_64/stackguard-macros.h: Likewise.
49484         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49485         <elf/stackguard-macros.h>.
49487         [BZ #14109]
49488         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49489         __aligned__ in attribute.
49490         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49491         (gregset_t): Likewise.
49493 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49495         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49496         * sysdeps/x86_64/64/Implies-after: Here.  New file.
49497         * sysdeps/x86_64/x32/Implies-after: New file.
49499 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49501         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49502         and access return value for _dl_profile_fixup.  Use R10_LP to
49503         load frame size.
49505 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49507         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49509 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49511         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49512         * sysdeps/x86_64/x32/sysdep.h: New file.
49514 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49516         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49517         * sysdeps/x86_64/setjmp.S: Likewise.
49519 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49521         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49522         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49523         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49524         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49525         remove unused global constant.
49527 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
49529         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49530         include of <not-cancel.h>.
49532 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49534         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49536 2012-05-15  Jeff Law  <law@redhat.com>
49537             Andreas Jaeger  <aj@suse.de>
49539         [BZ #13594]
49540         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49541         out from...
49542         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49543         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49544         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49545         code changing __hst_map_handle.map.
49547 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49549         * configure.in (sysnames): Look for Implies-before and Implies-after
49550         files.
49551         * configure: Regenerated.
49553 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49555         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49556         8-byte data alignment with LP_SIZE alignment.
49558 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49560         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49561         into R10_LP.
49563 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49565         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49567 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49569         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49570         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49571         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49572         Likewise.
49573         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49575 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49577         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49578         (stackinfo_sub_sp): Likewise.
49580 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49582         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49583         RAX_LP.
49585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49587         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49588         into R*_LP.
49590 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49592         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49593         sizes into R*_LP.
49595 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49597         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49599 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49601         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
49602         into R11_LP and load __x86_64_shared_cache_size_half into
49603         R8_LP.
49605 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49607         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
49608         R8_LP.
49610 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49612         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
49613         logb for POWER7.
49614         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
49615         logbf for POWER7.
49616         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
49617         logbl for POWER7.
49618         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
49619         powerpc32/power7/fpu/s_logb.c via #include.
49620         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
49621         powerpc32/power7/fpu/s_logbf.c via #include.
49622         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
49623         powerpc32/power7/fpu/s_logbl.c via #include.
49625 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49627         * README.libm: Remove file.
49629 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49631         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
49632         count for x32.  Use R*_LP and omit operand-size suffix.
49634 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49636         * shlib-versions: Move x86_64-.*-linux.* entries to ...
49637         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
49638         * sysdeps/x86_64/x32/shlib-versions: New file.
49640 2012-05-14  Roland McGrath  <roland@hack.frob.com>
49642         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49643         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
49644         Use _dl_fatal_printf instead.
49646 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49648         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
49649         set if not set by the user.  Do not allow for being unset.
49650         * sysdeps/unix/sysv/linux/configure: Regenerated.
49652 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49654         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
49655         the `q' suffix from lea and replace .quad with ASM_ADDR.
49657 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49659         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
49660         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
49661         instead of $17.
49662         (PTR_DEMANGLE): Likewise.
49664 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49666         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49667         (LP_OP): Likewise.
49668         (ASM_ADDR): Likewise.
49669         (RAX_LP): Likewise.
49670         (RBP_LP): Likewise.
49671         (RBX_LP): Likewise.
49672         (RCX_LP): Likewise.
49673         (RDI_LP): Likewise.
49674         (RSI_LP): Likewise.
49675         (RSP_LP): Likewise.
49676         (R8_LP): Likewise.
49677         (R9_LP): Likewise.
49678         (R10_LP): Likewise.
49679         (R10_LP): Likewise.
49680         (R11_LP): Likewise.
49681         (R12_LP): Likewise.
49682         (R13_LP): Likewise.
49683         (R14_LP): Likewise.
49684         (R15_LP): Likewise.
49686 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49688         * sysdeps/x86_64/x32/dl-machine.h: New file.
49690 2012-05-14  Andreas Jaeger  <aj@suse.de>
49692         * manual/Makefile (subdir): Remove export of subdir.
49693         (all): Remove target.
49694         (.PHONY): Remove all from list.
49695         (mkinstalldirs): Remove.
49696         (.PHONY): Remove installdirs from list.
49697         ($(inst_infodir)/libc.info): Use make-target-directory.
49698         (installdirs): Remove.
49699         (subdir_%): Remove.
49700         (glibc-targets): Remove.
49701         (lib): Remove.
49702         (stubs): Remove.
49703         ($(objpfx)stubs ../po/manual.pot): Remove.
49704         ($(objpfx)stamp%): Remove.
49705         (make-target-directory): Remove.
49706         (subdir_install): Remove.
49707         (routines): Remove.
49708         (aux): Remove.
49709         (sources): Remove.
49710         (objects): Remove.
49711         (headers): Remove.
49713         [BZ #13750]
49714         * manual/.gitignore: Remove, it's not needed anymore.
49715         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49716         all files in it.
49717         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49718         directory.
49719         (texis): Renamed to $(objpfx)texis.
49720         (texis-path): New, contains path to generated files.
49721         (chapters.%): Use texis-path for complete path, add extra argument
49722         libc-texinfo.sh.
49723         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49724         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49725         (summary,texi, stamp-summary): Use complete path of
49726         files. Generate files in build dir.
49727         (dir-add.texi): Build in build dir.
49728         (libm-err.texi,stamp-libm-err): Likewise.
49729         (version.texi, stamp-version): Likewise.
49730         (.%c.texi): Likewise.
49731         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49732         (mostlyclean): Remove target.
49733         (realclean): Remove target.
49734         (generated): Add new variable with contents from mostlyclean and
49735         realclean, remove entries duplicated in common-mostlyclean, add
49736         stamp-libm-err and stamp-version.
49737         (generated-dirs): Add libc directory.
49738         ($(inst_infodir)/libc.info): Install files from build dir.
49740         * manual/install.texi (Configuring and compiling): Adjust since
49741         the info files are not part of the tar ball anymore.
49743 2012-05-14  Andreas Jaeger  <aj@suse.de>
49745         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49746         variable.
49748 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49750         [BZ #13717]
49751         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49752         to 2.2.0 where earlier.
49753         * sysdeps/unix/sysv/linux/configure: Regenerated.
49754         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49755         Remove conditional code.
49756         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49757         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49758         Remove conditional code.
49759         [!__NR_lchown]: Likewise.
49760         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49761         [__NR_lchown]: Likewise.
49762         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49763         comment referencing __ASSUME_LCHOWN_SYSCALL.
49764         * sysdeps/unix/sysv/linux/i386/sigaction.c
49765         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49766         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49767         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49768         Remove conditional code.
49769         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49770         (__protocol_available): Remove #if 0 code.
49771         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49772         conditional code.
49773         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49774         * sysdeps/unix/sysv/linux/kernel-features.h
49775         (__ASSUME_GETCWD_SYSCALL): Don't define.
49776         (__ASSUME_REALTIME_SIGNALS): Likewise.
49777         (__ASSUME_PREAD_SYSCALL): Likewise.
49778         (__ASSUME_PWRITE_SYSCALL): Likewise.
49779         (__ASSUME_POLL_SYSCALL): Likewise.
49780         (__ASSUME_LCHOWN_SYSCALL): Likewise.
49781         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49782         non-SPARC.
49783         (__ASSUME_SIOCGIFNAME): Don't define.
49784         (__ASSUME_MSG_NOSIGNAL): Likewise.
49785         (__ASSUME_SENDFILE): Define unconditionally.
49786         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49787         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49788         conditional code.
49789         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49790         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49791         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49792         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49793         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49794         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49795         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49797         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49798         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49800         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49801         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49803         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49804         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49806         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49807         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49809         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49810         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49812         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49813         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49815         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49816         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49818         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49819         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49820         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49821         Remove conditional code.
49822         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49823         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49824         Remove conditional code.
49825         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49826         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49827         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49828         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49829         Remove conditional code.
49830         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49831         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49832         Remove conditional code.
49833         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49834         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49835         Remove conditional code.
49836         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49837         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49838         Remove conditional code.
49839         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49840         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49841         Remove conditional code.
49842         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49843         * sysdeps/unix/sysv/linux/sh/pwrite64.c
49844         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49845         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49846         * sysdeps/unix/sysv/linux/sigaction.c
49847         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49848         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49849         * sysdeps/unix/sysv/linux/sigpending.c
49850         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49851         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49852         * sysdeps/unix/sysv/linux/sigprocmask.c
49853         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49854         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49855         * sysdeps/unix/sysv/linux/sigsuspend.c
49856         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49857         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49858         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49859         (__libc_missing_rt_sigs): Remove.
49860         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49861         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49862         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49863         Remove conditional code.
49864         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49865         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49866         return 1.
49867         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49868         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49869         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49870         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49872 2012-05-14  Andreas Jaeger  <aj@suse.de>
49874         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49875         it's not used in glibc.
49876         (__coshm1): Likewise.
49877         (__acosh1p): Likewise.
49878         (__sgn): Likewise.
49880         * manual/string.texi (Copying and Concatenation): Add missing
49881         variable in concat example.
49882         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49884 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49886         [BZ #14103]
49887         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49888         __builtin_clzl with __builtin_clzll.
49890 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49892         [BZ #14104]
49893         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49894         libc_freeres_ptr.
49896 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49898         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49899         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49900         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49901         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49903 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
49905         * NEWS: Update ia64 info.
49907 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
49909         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49910         used as bcopy.
49912 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
49914         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49915         * sysdeps/unix/syscalls.list (dup3): Likewise.
49916         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49917         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49919 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49921         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49922         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49924 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49926         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49927         thread pointer.
49928         (TLS_IE): Use mov/add instead of movq/addq to load thread
49929         pointer.
49930         (TLS_GD_PREFIX): New.
49931         (TLS_GD): Use it.
49933 2012-05-11  David S. Miller  <davem@davemloft.net>
49935         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49936         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49937         (_FPU_SETCW): Likewise.
49939 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49941         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49942         is 32-byte aligned.
49944 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
49946         [BZ #11837]
49947         * iconvdata/gb18030.c: Update tables.
49948         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
49949         characters specially.
49950         (BODY for TO_LOOP): Add encoding of missing ranges.
49952 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
49954         [BZ #13673]
49955         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49956         * sysdeps/mach/hurd/dup3.c: Likewise.
49957         * sysdeps/mach/hurd/readlinkat.c: Likewise.
49958         * sysdeps/powerpc/memmove.c:: Likewise.
49960 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49962         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49963         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49965 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49967         * elf/elf.h (R_X86_64_RELATIVE64): New.
49968         (R_X86_64_NUM): Updated.
49969         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49970         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
49971         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49972         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49973         tst-quad1pie tst-quad2pie
49974         (modules-names): Add tst-quadmod1 tst-quadmod2.
49975         ($(objpfx)tst-quad1): New dependency.
49976         ($(objpfx)tst-quad2): Likewise.
49977         ($(objpfx)tst-quad1pie): Likewise.
49978         ($(objpfx)tst-quad2pie): Likewise.
49979         * sysdeps/x86_64/tst-quad1.c: New file.
49980         * sysdeps/x86_64/tst-quad1pie.c: New file.
49981         * sysdeps/x86_64/tst-quad2.c: Likewise.
49982         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
49983         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
49984         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
49985         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
49986         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
49988 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49990         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
49991         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
49992         * streams/stropts.h (t_scalar_t): Define type.
49994         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
49995         (_PATH_PRESERVE): Set to "/var/lib".
49996         (_PATH_RWHODIR): Set to "/var/spool/rwho".
49998         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
49999         instead of int.
50001         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50002         if __dir_mkfile succeeded.
50004         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50005         checking for _hurd_dtablesize.  Unlock it right after having
50006         finished _hurd_dtable allocation.
50008 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50010         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50011         * sysdeps/mach/hurd/configure: Regenerated.
50012         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50013         special-casing to...
50014         * sysdeps/gnu/configure.in: ... this new file.
50015         * sysdeps/unix/sysv/linux/configure: Regenerated.
50016         * sysdeps/gnu/configure: New generated file.
50018         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50019         for Linux: use nsec instead of usec, as well as:
50020         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50021         members of type struct timespec.
50022         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50023         New macros.
50024         (struct stat64): Likewise.
50025         (_STATBUF_ST_NSEC): New macro.
50026         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50028         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50029         __strtoul_internal rather than strtoul.
50031 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50033         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50034         and reject them.
50036 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50038         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50039         which preserves existing values.
50040         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50042 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50044         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50045         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50046         greater than FD_SETSIZE.
50048 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50050         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50051         allocated, call __vm_protect to finish enabling the existing space, and
50052         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50053         allocate the remainder.
50055 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50057         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50058         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50060 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50062         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50063         sysdeps/mach/hurd/readlink.c.
50065         * posix/tst-sysconf.c (posix_options): Only use
50066         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50067         _POSIX_SYNCHRONIZED_IO when they are defined
50068         * sysdeps/mach/hurd/bits/posix_opt.h:
50069         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50070         (_XOPEN_REALTIME): Undefine macro.
50071         (_XOPEN_REALTIME_THREADS): Undefine macro.
50072         (_XOPEN_SHM): Undefine macro.
50073         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50074         macro to -1.
50075         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50076         macro to -1.
50077         (_POSIX_ASYNC_IO): Undefine macro.
50078         (_POSIX_PRIORITIZED_IO): Undefine macro.
50079         (_POSIX_SPIN_LOCKS): Define macro to -1.
50081         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50082         SA_NODEFER, SA_RESETHAND.
50083         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50084         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50085         F_DUPFD_CLOEXEC.
50087 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50089         * elf/Makefile (pldd-modules): Define unconditionally.
50091 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50093         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50095 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50097         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50098         Return ENOENT when name is empty.
50099         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50101 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50103         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50105         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50107 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50109         Fix mlock in all cases except non-readable pages.
50110         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50111         instead of VM_PROT_ALL as parameter to __vm_wire function.
50113         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50114         (__mkdir): When path is `/', just fail with EEXIST.
50115         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50117 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50119         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50120         <sys/uio.h> (for writev).
50121         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50122         and <sys/param.h> (for MIN).
50124 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50126         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50127         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50128         if interrupted.
50130 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50132         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50133         Depend on against $(link-rpcuserlibs).
50135 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50137         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50138         (__libc_stack_end): Do not use attribute_relro.
50139         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50140         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50141         to libthread-provided value.
50142         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50143         attribute_relro.
50145 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50147         [BZ #3748]
50148         * bits/libc-lock.h (__libc_once_get): New macro.
50149         * sysdeps/mach/bits/libc-lock.h: Likewise.
50150         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50151         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50152         instead of using implementation details.
50154         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50155         * libio/freopen.c: Likewise.
50156         * libio/freopen64.c: Likewise.
50157         * misc/syslog.c: Likewise.
50158         * nscd/connections.c: Likewise.
50159         * nscd/netgroupcache.c: Likewise.
50160         * sysdeps/posix/getcwd.c: Likewise.
50162 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50164         * math/w_ilogbf.c: Add #include <limits.h>.
50166 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50168         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50169         path instead of returning without unlocking.
50171         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50172         immediate-write ioctls.
50173         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50175 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50177         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50178         __builtin_frame_address instead of making assumptions about the
50179         location of the return address relative to DATA.  Force early load of
50180         the return address.
50181         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50182         __builtin_frame_address.
50184         dup3 for GNU Hurd.
50185         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50186         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50187         implement dup3 and do some further code clean-ups.
50188         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50189         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50191 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50193         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50195         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50196         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50197         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50198         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50199         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50200         d->port.lock.
50202         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50203         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50204         when handler == SIG_ERR, not when handler != SIG_ERR.
50206 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50208         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50209         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50210         definitions.
50212         accept4 for GNU Hurd.
50213         * include/sys/socket.h (__libc_accept4): New prototype.
50214         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50215         to implement __libc_accept4.
50216         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50217         __libc_accept4.
50218         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50220         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50221         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50222         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50223         signal-defines.sym.
50225 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50227         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50229 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50231         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50232         assertion on O_CLOEXEC flag.
50233         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50234         * hurd/intern-fd.c: Likewise.
50235         * hurd/port2fd.c: Likewise.
50237 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50239         [BZ #3906]
50240         * bits/in.h (IPV6_PKTINFO): Define new macro.
50241         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50243 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50245         [BZ #13954]
50246         [BZ #13955]
50247         [BZ #13956]
50248         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50249         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50250         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50251         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50252         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50253         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50254         * math/libm-test.inc (logb_test) : Additional logb tests.
50256 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50257             Andreas Jaeger  <aj@suse.de>
50259         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50260         * configure: Regenerated.
50261         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50262         * config.make.in (link-obsolete-rpc): New substituted variable.
50263         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50264         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50265         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50266         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50267         so that libc.a contains the symbols.
50268         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50269         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50270         * sunrpc/auth_none.c: Likewise.
50271         * sunrpc/auth_unix.c: Likewise.
50272         * sunrpc/authdes_prot.c: Likewise.
50273         * sunrpc/authuxprot.c: Likewise.
50274         * sunrpc/clnt_gen.c: Likewise.
50275         * sunrpc/clnt_perr.c: Likewise.
50276         * sunrpc/clnt_raw.c: Likewise.
50277         * sunrpc/clnt_simp.c: Likewise.
50278         * sunrpc/clnt_tcp.c: Likewise.
50279         * sunrpc/clnt_udp.c: Likewise.
50280         * sunrpc/clnt_unix.c: Likewise.
50281         * sunrpc/des_crypt.c: Likewise.
50282         * sunrpc/des_soft.c: Likewise.
50283         * sunrpc/get_myaddr.c: Likewise.
50284         * sunrpc/key_call.c: Likewise.
50285         * sunrpc/key_prot.c: Likewise.
50286         * sunrpc/netname.c: Likewise.
50287         * sunrpc/pm_getmaps.c: Likewise.
50288         * sunrpc/pm_getport.c: Likewise.
50289         * sunrpc/pmap_clnt.c: Likewise.
50290         * sunrpc/pmap_prot.c: Likewise.
50291         * sunrpc/pmap_prot2.c: Likewise.
50292         * sunrpc/pmap_rmt.c: Likewise.
50293         * sunrpc/publickey.c: Likewise.
50294         * sunrpc/rpc_cmsg.c: Likewise.
50295         * sunrpc/rpc_common.c: Likewise.
50296         * sunrpc/rpc_dtable.c: Likewise.
50297         * sunrpc/rpc_prot.c: Likewise.
50298         * sunrpc/rpc_thread.c: Likewise.
50299         * sunrpc/rtime.c: Likewise.
50300         * sunrpc/svc.c: Likewise.
50301         * sunrpc/svc_auth.c: Likewise.
50302         * sunrpc/svc_raw.c: Likewise.
50303         * sunrpc/svc_run.c: Likewise.
50304         * sunrpc/svc_tcp.c: Likewise.
50305         * sunrpc/svc_udp.c: Likewise.
50306         * sunrpc/svc_unix.c: Likewise.
50307         * sunrpc/svcauth_des.c: Likewise.
50308         * sunrpc/xcrypt.c: Likewise.
50309         * sunrpc/xdr.c: Likewise.
50310         * sunrpc/xdr_array.c: Likewise.
50311         * sunrpc/xdr_float.c: Likewise.
50312         * sunrpc/xdr_intXX_t.c: Likewise.
50313         * sunrpc/xdr_mem.c: Likewise.
50314         * sunrpc/xdr_rec.c: Likewise.
50315         * sunrpc/xdr_ref.c: Likewise.
50316         * sunrpc/xdr_sizeof.c: Likewise.
50317         * sunrpc/xdr_stdio.c: Likewise.
50319 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50321         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50322         change.  Update copyright years.
50324 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50326         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50328 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50329             Joseph Myers  <joseph@codesourcery.com>
50330             Paul Pluzhnikov  <ppluzhnikov@google.com>
50332         [BZ #14012]
50333         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50334         requiring rpcgen.
50335         [cross-compiling] (extra-libs): Likewise.
50336         [cross-compiling] (extra-libs-others): Likewise.
50337         [cross-compiling] (librpcsvc-routines): Likewise.
50338         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50339         [cross-compiling] (omit-deps): Likewise.
50340         (sunrpc-CPPFLAGS): New variable.
50341         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50342         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50343         (cross-rpcgen-objs): New variable.
50344         (extra-objs): Append $(cross-rpcgen-objs).
50345         ($(cross-rpcgen-objs)): New rule.
50346         ($(objpfx)cross-rpcgen): Likewise.
50347         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50348         comment.
50349         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50350         ($(objpfx)x%.stmp): Likewise.
50351         * sunrpc/proto.h [IS_IN_build] (_): Define.
50352         [IS_IN_build] (_libc_intl_domainname): Likewise.
50354 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50356         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50357         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50358         and R_X86_64_TPOFF64.
50360 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50362         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50363         sysdeps/unix/sysv/syscalls.list.
50364         (stime): Likewise.
50365         (utime): Likewise.
50366         * sysdeps/unix/sysv/syscalls.list: Remove file.
50368 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50370         [BZ #3440]
50371         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50372         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50373         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50374         (__LC_IDENTIFICATION): Make these macros useful in #if
50375         expressions, as required by C99.
50377 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50379         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50380         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50381         after this.
50383 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50385         * stdlib/longlong.h: Updated from GCC.
50387 2012-05-09  Andreas Jaeger  <aj@suse.de>
50389         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50390         default is first entry.
50391         (run_mode): Set type.
50392         (main): Remove informal message about syslog.
50393         (options): Fix typo.
50395         [BZ #14053]
50396         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50397         to asm.
50398         (lrint): Likewise.
50399         (llrintf): Likewise.
50400         (llrint): Likewise.
50401         (rint): Likewise.
50402         (rintf): Likewise.
50403         (nearbyint): Likewise.
50404         (nearbyintf): Likewise.
50406 2012-05-09  Andreas Jaeger  <aj@suse.de>
50407             Pedro Alves  <palves@redhat.com>
50409         * nscd/nscd.c (run_mode): Use enum.
50410         (main): Cleanup coding style issue.
50412 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50413             Andreas Jaeger  <aj@suse.de>
50415         * nscd/nscd.c (go_background): Replaced with...
50416         (run_mode): ... this.
50417         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50418         (options): Add -F --foreground.
50419         (main): Implement it.
50420         (parse_opt): Parse it.
50422 2012-05-09  Andreas Jaeger  <aj@suse.de>
50424         [BZ #14083]
50425         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50426         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50427         -Wconversion warning.
50428         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50429         Likewise.
50431 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50433         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50434         == 0.
50435         (LC_ALL): Use macro-int-constant.
50436         (LC_COLLATE): Likewise.
50437         (LC_CTYPE): Likewise.
50438         (LC_MESSAGES): Likewise.
50439         (LC_MONETARY): Likewise.
50440         (LC_NUMERIC): Likewise.
50441         (LC_TIME): Likewise.
50442         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50443         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50444         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50445         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50446         Specify type.
50447         [C99-based standards] (float_t): Expect type.
50448         [C99-based standards] (double_t): Expect type.
50449         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
50450         type.
50451         [C99-based standards] (HUGE_VALL): Likewise.
50452         [C99-based standards] (INFINITY): Likewise.
50453         [C99-based standards] (NAN): Likewise.
50454         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50455         [C99-based standards] (FP_NAN): Likewise.
50456         [C99-based standards] (FP_NORMAL): Likewise.
50457         [C99-based standards] (FP_SUBNORMAL): Likewise.
50458         [C99-based standards] (FP_ZERO): Likewise.
50459         [C99-based standards] (FP_FAST_FMA): Use
50460         optional-macro-int-constant.  Specify type.  Require == 1.
50461         [C99-based standards] (FP_FAST_FMAF): Likewise.
50462         [C99-based standards] (FP_FAST_FMAL): Likewise.
50463         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50464         [C99-based standards] (FP_ILOGBNAN): Likewise.
50465         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50466         Specify type.
50467         [C99-based standards] (MATH_ERREXCEPT): Likewise.
50468         [C99-based standards] (math_errhandling): Specify type.
50469         [ISO99 || ISO11] (signgam): Do not allow.
50470         [non-C99-based standards] (copysignf): Do not allow.
50471         [non-C99-based standards] (exp2f): Likewise.
50472         [non-C99-based standards] (log2f): Likewise.
50473         [non-C99-based standards] (modff): Allow.
50474         [non-C99-based standards] (erff): Do not allow.
50475         [non-C99-based standards] (erfcf): Likewise.
50476         [non-C99-based standards] (gammaf): Likewise.
50477         [non-C99-based standards] (hypotf): Likewise.
50478         [non-C99-based standards] (j0f): Likewise.
50479         [non-C99-based standards] (j1f): Likewise.
50480         [non-C99-based standards] (jnf): Likewise.
50481         [non-C99-based standards] (lgammaf): Likewise.
50482         [non-C99-based standards] (tgammaf): Likewise.
50483         [non-C99-based standards] (y0f): Likewise.
50484         [non-C99-based standards] (y1f): Likewise.
50485         [non-C99-based standards] (ynf): Likewise.
50486         [non-C99-based standards] (isnanf): Likewise.
50487         [non-C99-based standards] (acoshf): Likewise.
50488         [non-C99-based standards] (asinhf): Likewise.
50489         [non-C99-based standards] (atanhf): Likewise.
50490         [non-C99-based standards] (cbrtf): Likewise.
50491         [non-C99-based standards] (expm1f): Likewise.
50492         [non-C99-based standards] (ilogbf): Likewise.
50493         [non-C99-based standards] (log1pf): Likewise.
50494         [non-C99-based standards] (logbf): Likewise.
50495         [non-C99-based standards] (nextafterf): Likewise.
50496         [non-C99-based standards] (remainderf): Likewise.
50497         [non-C99-based standards] (rintf): Likewise.
50498         [non-C99-based standards] (scalbf): Likewise.
50499         [non-C99-based standards] (copysignl): Likewise.
50500         [non-C99-based standards] (exp2l): Likewise.
50501         [non-C99-based standards] (log2l): Likewise.
50502         [non-C99-based standards] (modfl): Allow.
50503         [non-C99-based standards] (erfl): Do not allow.
50504         [non-C99-based standards] (erfcl): Likewise.
50505         [non-C99-based standards] (gammal): Likewise.
50506         [non-C99-based standards] (hypotl): Likewise.
50507         [non-C99-based standards] (j0l): Likewise.
50508         [non-C99-based standards] (j1l): Likewise.
50509         [non-C99-based standards] (jnl): Likewise.
50510         [non-C99-based standards] (lgammal): Likewise.
50511         [non-C99-based standards] (tgammal): Likewise.
50512         [non-C99-based standards] (y0l): Likewise.
50513         [non-C99-based standards] (y1l): Likewise.
50514         [non-C99-based standards] (ynl): Likewise.
50515         [non-C99-based standards] (isnanl): Likewise.
50516         [non-C99-based standards] (acoshl): Likewise.
50517         [non-C99-based standards] (asinhl): Likewise.
50518         [non-C99-based standards] (atanhl): Likewise.
50519         [non-C99-based standards] (cbrtl): Likewise.
50520         [non-C99-based standards] (expm1l): Likewise.
50521         [non-C99-based standards] (ilogbl): Likewise.
50522         [non-C99-based standards] (log1pl): Likewise.
50523         [non-C99-based standards] (logbl): Likewise.
50524         [non-C99-based standards] (nextafterl): Likewise.
50525         [non-C99-based standards] (remainderl): Likewise.
50526         [non-C99-based standards] (rintl): Likewise.
50527         [non-C99-based standards] (scalbl): Likewise.
50528         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50529         [non-C99-based standards] (FP_*): Do not allow.
50530         [C99-based standards] (FP_*): Change to
50531         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50532         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50533         allow.
50534         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50535         (SIG_ERR): Likewise.
50536         [X/Open-based standards] (SIG_HOLD): Likewise.
50537         (SIG_IGN): Likewise.
50538         (SIGABRT): Use macro-int-constant.  Specify type.  Require
50539         positive value.
50540         (SIGFPE): Likewise.
50541         (SIGILL): Likewise.
50542         (SIGINT): Likewise.
50543         (SIGSEGV): Likewise.
50544         (SIGTER): Likewise.
50545         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50546         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50547         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50548         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50549         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50550         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50551         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50552         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50553         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50554         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50555         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50556         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50557         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50558         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50559         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50560         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50561         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50562         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50563         [X/Open-based standards] (SIGTRAP): Likewise.
50564         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50565         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50566         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50567         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50568         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50569         allow.
50571 2012-05-08  Ian Wienand  <ianw@vmware.com>
50573         [BZ #14080]
50574         * time/tzset.c (__tzset_parse_tz): Update default rules for
50575         daylight time changes in the Energy Policy Act of 2005.
50577 2012-05-09  Andreas Jaeger  <aj@suse.de>
50579         [BZ #13983]
50580         * elf/ldconfig.c (parse_conf): Change string to make clear that
50581         ldconfig only issued a warning if ld.so.conf does not exist.
50583 2012-05-08  David S. Miller  <davem@davemloft.net>
50585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50586         movxtod instead of popping the value on the stack.
50588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50590 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
50592         * config.h.in: Add HAVE_ARM_PCS_VFP.
50594 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
50596         [BZ #13979]
50597         * include/features.h: Warn if user requests __FORTIFY_SOURCE
50598         checking but the checks are disabled for any reason.
50600 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
50602         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
50603         and ELF64_R_TYPE with ELFW(R_TYPE).
50605 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
50607         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
50608         (ulimit): Likewise.
50610         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
50611         (settimeofday): Likewise.
50613 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
50615         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
50616         a struct th_u2 inside the union, and move tu_block/tu_code into
50617         a new th_u3 union of tu_block/tu_code inside of that.  Move
50618         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
50619         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
50620         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
50621         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
50622         (th_stuff): Change to th_u1.tu_stuff.
50623         (th_data): Define.
50624         (th_msg): Change to th_u1.th_u2.tu_data.
50626 2012-05-07  David S. Miller  <davem@davemloft.net>
50628         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50630         [BZ #14074]
50631         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50632         (SETUP_PIC_REG): Use it.
50633         (SETUP_PIC_REG_LEAF): Use it.
50635 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
50637         [BZ #13885]
50638         [BZ #13923]
50639         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50640         USE_AS_EXPM1L.
50641         (EXPL_FINITE): Likewise.
50642         (FLDLOG): Likewise.
50643         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50644         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50645         e_expl.S.
50646         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50647         USE_AS_EXPM1L.
50648         (EXPL_FINITE): Likewise.
50649         (FLDLOG): Likewise.
50650         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50651         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50652         e_expl.S.
50653         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
50654         test of -max_value argument for long double.
50655         * sysdeps/i386/fpu/libm-test-ulps: Update.
50656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50658 2012-05-06  David S. Miller  <davem@davemloft.net>
50660         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
50661         quad soft-float symbols whose references which are compiler
50662         generated.
50663         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50665 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
50667         [BZ #13884]
50668         [BZ #13914]
50669         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50670         USE_AS_EXP10L.
50671         (EXPL_FINITE): Likewise.
50672         (FLDLOG): Likewise.
50673         (c0): Likewise.
50674         (c1): Likewise.
50675         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50676         Adjust comments for base varying.
50677         (__expl_finite): Change alias to EXPL_FINITE.
50678         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50679         e_expl.S.
50680         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50681         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50682         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50683         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50684         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50685         USE_AS_EXP10L.
50686         (EXPL_FINITE): Likewise.
50687         (FLDLOG): Likewise.
50688         (c0): Likewise.
50689         (c1): Likewise.
50690         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50691         Adjust comments for base varying.
50692         (__expl_finite): Change alias to EXPL_FINITE.
50693         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
50694         tests for bugs.
50695         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50697         [BZ #14064]
50698         * math/libm-test.inc (check_float_internal): Correct ulp
50699         calculation for subnormal expected results.
50701 2012-05-06  Andreas Jaeger  <aj@suse.de>
50703         * Makeconfig (+math-flags): New, set to -frounding-math.
50704         (+cflags): Add +math-flags so that all of glibc gets compiled with
50705         it.
50707         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50709 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
50711         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50712         Disable one test.
50714         [BZ #13787]
50715         [BZ #13922]
50716         [BZ #14036]
50717         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50718         (__ieee754_expl): Allow for and saturate large arguments.
50719         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50720         (u_threshold): Likewise.
50721         (__exp): Call __ieee754_exp before checking for overflow and
50722         underflow.
50723         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50724         (u_threshold): Likewise.
50725         (__expf): Call __ieee754_expf before checking for overflow and
50726         underflow.
50727         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50728         (u_threshold): Likewise.
50729         (__expl): Call __ieee754_expl before checking for overflow and
50730         underflow.
50731         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50732         (__ieee754_expl): Allow for and saturate large arguments.
50733         * math/libm-test.inc (exp_test): Add another test.  Do not allow
50734         missing overflow exception on overflow.
50735         (expm1_test): Do not allow missing overflow exception on overflow.
50737         * sysdeps/i386/fpu/e_expl.c: Move to ...
50738         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
50739         rather than using inline asm.
50740         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50741         * sysdeps/x86_64/fpu/e_expl.S: Copy from
50742         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50744         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50745         (nice): Likewise.
50746         (poll): Likewise.
50747         (signal): Likewise.
50748         (time): Likewise.
50749         (times): Likewise.
50751 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50753         * sysdeps/unix/syscalls.list (adjtime): Add entry from
50754         sysdeps/unix/common/syscalls.list.
50755         (fchmod): Likewise.
50756         (fchown): Likewise.
50757         (ftruncate): Likewise.
50758         (getrusage): Likewise.
50759         (gettimeofday): Likewise.
50760         (setpgid): Likewise.
50761         (setregid): Likewise.
50762         (setreuid): Likewise.
50763         (sigaction): Likewise.
50764         (truncate): Likewise.
50765         (vhangup): Likewise.
50766         * sysdeps/unix/common/syscalls.list: Remove file.
50767         * sysdeps/unix/bsd/Implies: Don't include unix/common.
50768         * sysdeps/unix/sysv/linux/Implies: Likewise.
50770 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
50772         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50774         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50775         Moved to ...
50776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50777         Here.
50778         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50779         to ...
50780         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50781         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50782         to ...
50783         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50784         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50785         to ...
50786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50787         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50788         to ...
50789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50790         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50791         to ...
50792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50793         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50794         to ...
50795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50796         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50797         to ...
50798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50799         Here.
50800         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50801         to ...
50802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50803         Here.
50804         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50805         to ...
50806         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50807         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50808         Moved to ...
50809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50810         Here.
50811         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50812         to ...
50813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50815 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50817         * sysdeps/unix/common/bits/dirent.h: Remove file.
50818         * sysdeps/unix/common/bits/fcntl.h: Likewise.
50820         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50821         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50822         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50823         * sysdeps/unix/bsd/isatty.c: Likewise.
50824         * sysdeps/unix/bsd/tcdrain.c: Likewise.
50825         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50826         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50828 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50830         [BZ #13563]
50831         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50832         long double comparison inaccuracies.
50833         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50834         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50836 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
50838         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50839         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50841 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50843         [BZ #14049]
50844         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50845         nonzero digits before rounding a hex value.
50846         * stdlib/tst-strtod.c (tests): Add another test.
50848 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50850         * sysdeps/s390/fpu/libm-test-ulps: Update.
50852 2012-05-03  Andreas Jaeger  <aj@suse.de>
50854         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50855         does not get optimized out.
50856         (malloc_opt_barrier): New.
50858 2012-05-03  Andreas Jaeger  <aj@suse.de>
50859             Roland McGrath  <roland@hack.frob.com>
50861         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50862         intermediate file deletion.
50863         (generated): Add .symlist files.
50865 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
50867         [BZ #13775]
50868         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50869         Redirect under this condition.
50870         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50871         [__USE_GNU] (__dprintf_chk): Not under this condition.
50872         [__USE_GNU] (__vdprintf_chk): Likewise.
50873         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50874         under this condition.
50875         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50876         [__USE_XOPEN2K8] (dprintf): Define under this condition.
50877         [__USE_XOPEN2K8] (vdprintf): Likewise.
50878         [__USE_GNU] (__dprintf_chk): Not under this condition.
50879         [__USE_GNU] (__vdprintf_chk): Likewise.
50880         [__USE_GNU] (dprintf): Likewise.
50881         [__USE_GNU] (vdprintf): Likewise.
50883 2012-05-03  Roland McGrath  <roland@hack.frob.com>
50885         * elf/Makefile (common-generated): Set this instead of generated for
50886         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
50887         $(all-built-dso)-derived lists.
50889 2012-05-03  Andreas Jaeger  <aj@suse.de>
50891         * sysdeps/i386/fpu/libm-test-ulps: Update.
50893         * FAQ: Removed.
50894         * FAQ.in: Likewise.
50895         * scripts/gen-FAQ.pl: Likewise.
50896         * manual/install.texi (Installation): Point to online location of
50897         FAQ.
50898         * Makefile (files-for-dist): Remove FAQ.
50899         (FAQ): Remove.
50901 2012-05-02  Allan McRae  <allan@archlinux.org>
50903         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50904         (LDFLAGS-reldepmod5.so): Likewise.
50905         (LDFLAGS-reldep6mod1.so): Likewise.
50906         (LDFLAGS-reldep6mod4.so): Likewise.
50907         (LDFLAGS-reldep8mod3.so): Likewise.
50908         (LDFLAGS-unload4mod1.so): Likewise.
50909         (LDFLAGS-unload4mod2.so): Likewise.
50910         (LDFLAGS-tst-initorder): Likewise.
50911         (LDFLAGS-tst-initordera2.so): Likewise.
50912         (LDFLAGS-tst-initordera3.so): Likewise.
50913         (LDFLAGS-tst-initordera4.so): Likewise.
50914         (LDFLAGS-tst-initorderb2.so): Likewise.
50915         (LDFLAGS-noload): Likewise.
50916         (LDFLAGS-next): Likewise.
50917         (LDFLAGS-order2mod1.so): Likewise.
50918         (LDFLAGS-order2mod2.so): Likewise.
50919         (LDFLAGS-tst-initorder2): Likewise.
50920         (LDFLAGS-tst-initorder2a.so): Likewise.
50921         (LDFLAGS-tst-initorder2b.so): Likewise.
50922         (LDFLAGS-tst-initorder2c.so): Likewise.
50923         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50925 2012-05-02  David S. Miller  <davem@davemloft.net>
50927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50929 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
50931         [BZ #14055]
50932         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50934 2012-05-02  Andreas Jaeger  <aj@suse.de>
50936         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50937         since we manipulate rounding mode.
50938         (CPPFLAGS-test-idouble.c): Likewise.
50939         (CPPFLAGS-test-ifloat.c): Likewise.
50940         (CFLAGS-test-ldouble.c): Likewise.
50941         (CFLAGS-test-double.c): Likewise.
50942         (CFLAGS-test-float.c): Likewise.
50943         (CFLAGS-test-misc.c): Likewise.
50944         (CFLAGS-test-test-fenv.c): Likewise.
50946 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50948         [BZ #2550]
50949         [BZ #2570]
50950         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50951         comparisons to determine direction to adjust input.
50953 2012-05-01  Roland McGrath  <roland@hack.frob.com>
50955         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50956         output to the target.
50958         * scripts/localplt.awk: New file.
50959         * elf/Makefile ($(objpfx)check-localplt): Target removed.
50960         (check-localplt-CFLAGS): Variable removed.
50961         ($(all-built-dso:=.jmprel)): New static pattern rule.
50962         (generated): Add those targets.
50963         (localplt-built-dso): New variable.
50964         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50966         * elf/check-localplt.c: File removed.
50968         * scripts/check-execstack.awk: New file.
50969         * elf/Makefile ($(objpfx)check-execstack): Target removed.
50970         (check-execstack-CFLAGS): Variable removed.
50971         ($(objpfx)check-execstack.h): Target removed.
50972         ($(objpfx)execstack-default): New target.
50973         (generated): Add that instead of check-execstack.h.
50974         ($(all-built-dso:=.phdr)): New static pattern rule.
50975         (generated): Add those targets.
50976         * elf/check-execstack.c: File removed.
50978         * scripts/check-textrel.awk: New file.
50979         * elf/Makefile ($(objpfx)check-textrel): Target removed.
50980         (check-textrel-CFLAGS): Variable removed.
50981         (all-built-dso): Use := to define.o
50982         ($(all-built-dso:=.dyn)): New static pattern rule.
50983         (generated): Add those targets.
50984         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
50985         * config.make.in (READELF): New substituted variable.
50986         * elf/check-textrel.c: File removed.
50988 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50990         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50991         allow.
50992         * conform/data/ctype.h-data [C99-based standards] (isblank):
50993         Expect function.
50994         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
50995         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
50996         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50997         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
50998         Specify type.  Require positive value.
50999         (EILSEQ): Likewise.
51000         (ERANGE): Likewise.
51001         [ISO || POSIX] (EILSEQ): Do not expect.
51002         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51003         Specify type.  Require positive value.
51004         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51005         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51006         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51007         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51008         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51009         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51010         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51011         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51012         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51013         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51014         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51015         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51016         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51017         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51018         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51019         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51020         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51021         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51022         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51023         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51024         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51025         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51026         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51027         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51028         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51029         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51030         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51031         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51032         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51033         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51034         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51035         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51036         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51037         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51038         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51039         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51040         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51041         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51042         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51043         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51044         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51045         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51046         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51047         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51048         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51049         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51050         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51051         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51052         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51053         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51054         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51055         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51056         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51057         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51058         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51059         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51060         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51061         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51062         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51063         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51064         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51065         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51066         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51067         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51068         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51069         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51070         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51071         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51072         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51073         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51074         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51075         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51076         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51077         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51078         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51079         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51080         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51081         Require >= 2.
51082         (FLT_ROUNDS): Expect as macro, not constant.
51083         (FLT_MANT_DIG): Use macro-int-constant.
51084         (DBL_MANT_DIG): Likewise.
51085         (LDBL_MANT_DIG): Likewise.
51086         (FLT_DIG): Likewise.
51087         (DBL_DIG): Likewise.
51088         (LDBL_DIG): Likewise.
51089         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51090         (DBL_MIN_EXP): Likewise.
51091         (LDBL_MIN_EXP): Likewise.
51092         (FLT_MAX_EXP): Use macro-int-constant.
51093         (DBL_MAX_EXP): Likewise.
51094         (LDBL_MAX_EXP): Likewise.
51095         (FLT_MAX_10_EXP): Likewise.
51096         (DBL_MAX_10_EXP): Likewise.
51097         (LDBL_MAX_10_EXP): Likewise.
51098         (FLT_MAX): Use macro-constant.
51099         (DBL_MAX): Likewise.
51100         (LDBL_MAX): Likewise.
51101         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51102         (DBL_EPSILON): Likewise.
51103         (LDBL_EPSILON): Likewise.
51104         (FLT_MIN): Likewise.
51105         (DBL_MIN): Likewise.
51106         (LDBL_MIN): Likewise.
51107         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51108         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51109         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51110         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51111         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51112         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51113         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51114         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51115         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51116         [ISO11] (FLT_TRUE_MIN): Likewise.
51117         [ISO11] (LDBL_TRUE_MIN): Likewise.
51118         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51119         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51120         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51121         (SCHAR_MAX): Likewise.
51122         (UCHAR_MAX): Likewise.
51123         (CHAR_MIN): Likewise.
51124         (CHAR_MAX): Likewise.
51125         (MB_LEN_MAX): Use macro-int-constant.
51126         (SHRT_MIN): Use macro-int-constant.  Specify type.
51127         (SHRT_MAX): Likewise.
51128         (USHRT_MAX): Likewise.
51129         (INT_MAX): Likewise.
51130         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51131         bound negative.
51132         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51133         bound with "U".
51134         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51135         bound with "L".
51136         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51137         bound negative.  Suffix upper bound with "L".
51138         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51139         bound with "UL".
51140         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51141         Specify type.
51142         [C99-based standards] (LLONG_MAX): Likewise.
51143         [C99-based standards] (ULLONG_MAX): Likewise.
51144         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51145         == 0.
51146         [ISO11] (max_align_t): Require type.
51147         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51149         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51150         from $CFLAGS, without defining away __attribute__ calls.
51151         (checknamespace): Use $CFLAGS_namespace.
51153         * conform/conformtest.pl (@keywords): Only include C99 keywords
51154         for standards based on C99 or C11.
51156         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51157         Disable tests.
51158         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51159         UNIX98]: Likewise.
51161         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51162         usability of symbols in #if.
51164         * conform/conformtest.pl: If macro or constant types start
51165         "promoted:", expect the symbol to be of the following type
51166         promoted by the integer promotions.
51168         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51169         in one place.  Also handle "macro-constant".
51171         * conform/conformtest.pl: Only accept expected macro values with
51172         "==".  Parse all "macro" lines in one place.
51173         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51175         * conform/conformtest.pl: Handle braced types on "constant" lines
51176         instead of handling "typed-constant".
51177         * conform/data/signal.h-data: Use "constant" instead of
51178         "typed-constant".
51180         * conform/conformtest.pl: Handle "optional-" at start of lines in
51181         one place rather than duplicating several cases.  Handle each
51182         format of "macro" line with initial "optional-".
51184         * conform/conformtest.pl: Only accept expected constant or
51185         optional-constant values with "==".  Parse all "constant" lines in
51186         one place.  Parse all "optional-constant" lines in one place.
51187         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51188         * conform/data/fmtmsg.h-data: Likewise.
51189         * conform/data/netinet/in.h-data: Likewise.
51190         * conform/data/tar.h-data: Likewise.
51191         * conform/data/limits.h-data: Use "==" form on "constant" and
51192         "optional-constant" lines.
51194         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51195         Use -std=c99 for XOPEN2K.
51196         (@knownproblems): Remove.
51197         (newtoken): Don't check %isknown.
51199         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51200         Do not expect macro.
51201         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51202         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51203         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51204         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51205         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51206         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51207         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51208         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51209         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51210         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51211         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51212         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51213         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51214         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51215         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51216         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51217         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51218         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51219         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51220         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51221         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51222         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51223         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51224         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51225         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51226         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51227         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51228         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51229         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51230         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51231         [XPG3] (acosh): Likewise.
51232         [XPG3] (asinh): Likewise.
51233         [XPG3] (atanh): Likewise.
51234         [XPG3] (cbrt): Likewise.
51235         [XPG3] (expm1): Likewise.
51236         [XPG3] (ilogb): Likewise.
51237         [XPG3] (log1p): Likewise.
51238         [XPG3] (logb): Likewise.
51239         [XPG3] (nextafter): Likewise.
51240         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51241         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51242         [XPG3] (remainder): Likewise.
51243         [XPG3] (rint): Likewise.
51244         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51245         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51246         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51247         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51248         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51249         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51250         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51251         [UNIX98 || XOPEN2K] (scalb): Expect.
51252         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51253         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51254         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51255         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51256         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51257         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51258         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51259         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51260         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51261         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51262         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51263         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51264         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51265         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51266         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51267         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51268         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51269         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51270         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51271         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51272         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51273         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51274         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51275         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51276         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51277         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51278         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51279         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51280         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51281         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51282         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51283         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51284         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51285         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51286         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51287         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51288         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51289         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51290         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51291         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51292         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51293         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51294         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51295         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51296         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51297         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51298         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51299         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51300         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51301         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51302         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51303         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51304         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51305         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51306         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51307         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51308         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51309         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51310         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51311         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51312         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51313         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51314         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51315         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51316         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51317         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51318         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51319         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51320         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51321         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51322         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51323         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51324         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51325         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51326         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51327         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51328         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51329         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51330         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51331         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51332         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51333         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51334         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51335         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51336         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51337         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51338         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51339         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51340         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51341         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51342         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51343         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51344         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51345         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51346         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51347         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51348         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51349         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51350         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51351         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51352         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51353         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51354         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51355         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51356         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51357         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51358         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51359         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51360         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51361         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51362         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51363         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51364         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51365         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51366         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51367         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51368         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51369         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51370         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51371         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51372         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51373         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51374         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51375         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51376         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51377         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51378         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51379         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51380         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51381         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51382         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51383         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51384         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51385         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51386         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51387         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51388         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51390         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51391         _XOPEN_SOURCE_EXTENDED for XPG4.
51393         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51395         * Makeconfig (localtime): Remove variable.
51396         (inst_localtime-file): Likewise.
51398 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51401         Update.
51402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51403         Update.
51404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51405         Update.
51406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51407         Update.
51408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51409         Update.
51410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51411         Update.
51412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51413         Update.
51414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51415         Update.
51416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51417         Update.
51419 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51421         [BZ #2550]
51422         [BZ #2570]
51423         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51424         comparisons to determine direction to adjust input.
51425         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51426         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51427         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51428         Likewise.
51429         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51430         Likewise.
51431         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51432         Likewise.
51433         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51434         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51435         Likewise.
51436         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51437         Likewise.
51438         * math/libm-test.inc (nexttoward_test): Add more tests.
51440 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51442         [BZ #14040]
51443         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51444         in version GLIBC_2.1, not GLIBC_2.0.
51445         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51446         Likewise.
51448 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
51450         [BZ #13942]
51451         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51452         (1 - x) * (1 + x).
51453         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51454         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51455         * math/libm-test.inc (acos_test): Add more tests.
51456         (asin_test): Likewise.
51457         * sysdeps/i386/fpu/libm-test-ulps: Update.
51458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51460         [BZ #14034]
51461         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51462         of square root.
51463         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51464         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51465         * math/libm-test.inc (acos_test_tonearest): New function.
51466         (acos_test_towardzero): Likewise.
51467         (acos_test_downward): Likewise.
51468         (acos_test_upward): Likewise.
51469         (asin_test_tonearest): Likewise.
51470         (asin_test_towardzero): Likewise.
51471         (asin_test_downward): Likewise.
51472         (asin_test_upward): Likewise.
51473         (main): Call the new functions.
51474         * sysdeps/i386/fpu/libm-test-ulps: Update.
51475         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51477         [BZ #13884]
51478         [BZ #13924]
51479         * math/e_exp10.c: Include <float.h>.
51480         (__ieee754_exp10): Handle underflow here rather than multiplying
51481         large negative argument by M_LN10.
51482         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51483         of __ieee754_expf.
51484         * math/e_exp10l.c: Include <float.h>.
51485         (__ieee754_exp10l): Handle underflow here rather than multiplying
51486         large negative argument by M_LN10l.
51487         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
51488         spurious overflow exception on underflow.
51490 2012-04-29  Marek Polacek  <polacek@redhat.com>
51492         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51493         (__fortify_function): New macro.
51494         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51495         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51496         __extern_always_inline.
51497         * libio/bits/stdio2.h: Likewise.
51498         * libio/bits/stdio.h: Likewise.
51499         * string/string.h: Likewise.
51500         * string/bits/string3.h: Likewise.
51501         * include/stdio.h: Likewise.
51502         * stdlib/bits/stdlib.h: Likewise.
51503         * stdlib/stdlib.h: Likewise.
51504         * rt/bits/mqueue2.h: Likewise.
51505         * rt/mqueue.h: Likewise.
51506         * posix/bits/unistd.h: Likewise.
51507         * posix/unistd.h: Likewise.
51508         * io/bits/poll2.h: Likewise.
51509         * io/bits/fcntl2.h: Likewise.
51510         * io/fcntl.h: Likewise.
51511         * io/sys/poll.h: Likewise.
51512         * misc/bits/syslog.h: Likewise.
51513         * misc/bits/syslog-ldbl.h: Likewise.
51514         * misc/sys/syslog.h: Likewise.
51515         * socket/bits/socket2.h: Likewise.
51516         * socket/sys/socket.h: Likewise.
51517         * debug/tst-chk1.c: Likewise.
51518         * wcsmbs/bits/wchar2.h: Likewise.
51519         * wcsmbs/bits/wchar-ldbl.h: Likewise.
51520         * wcsmbs/wchar.h: Likewise.
51522 2012-04-29  Andreas Jaeger  <aj@suse.de>
51524         * Makerules (tests): Remove enable-check-abi protection.
51525         (check-abi-warn): Remove.
51526         (check-abi-%): Remove check-abi-warn usage.
51528         * configure.in: Remove check-abi configure option.
51529         * configure: Regenerated.
51530         * config.make.in (enable-check-abi): Remove.
51532 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
51534         [BZ #14033]
51535         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51536         double functions to double *_finite functions.
51538         [BZ #13941]
51539         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51540         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51541         LDBL_MIN_EXP.
51542         * stdio-common/Makefile (tests): Add tst-sprintf3.
51543         * stdio-common/tst-sprintf3.c: New file.
51545         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51546         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51548 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51550         * conform/conformtest.pl: Remove duplicate typed-constant
51551         handling.
51553 2012-04-28  David S. Miller  <davem@davemloft.net>
51555         * Makerules (%.abilist): Add vpath on sysdep_dirs.
51556         (check-abi-%): Remove AWK script prerequisite and explicit
51557         abilist directory.
51558         (check-abi): Rewrite to just diff the symlist with the abilist.
51559         (config-tls, config-abi-config): Delete, no longer used.
51560         (update-abi-%): Remove AWK script and explicit abilist directory.
51561         (update-abi): Rewrite to simply compare and conditionally copy the
51562         symlist and the sysdep abilist file.  Remove update-abi-config
51563         checks.
51564         * abilist/ld.abilist: Remove.
51565         * abilist/libBrokenLocale.abilist: Remove.
51566         * abilist/libanl.abilist: Remove.
51567         * abilist/libcrypt.abilist: Remove.
51568         * abilist/libdl.abilist: Remove.
51569         * abilist/librt.abilist: Remove.
51570         * abilist/libthread_db.abilist: Remove.
51571         * abilist/libutil.abilist: Remove.
51572         * scripts/extract-abilist.awk: Remove.
51573         * scripts/merge-abilist.awk: Remove.
51574         * sysdeps/generic/libcidn.abilist: New file.
51575         * sysdeps/generic/libnss_compat.abilist: New file.
51576         * sysdeps/generic/libnss_db.abilist: New file.
51577         * sysdeps/generic/libnss_dns.abilist: New file.
51578         * sysdeps/generic/libnss_files.abilist: New file.
51579         * sysdeps/generic/libnss_hesiod.abilist: New file.
51580         * sysdeps/generic/libnss_nis.abilist: New file.
51581         * sysdeps/generic/libnss_nisplus.abilist: New file.
51582         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51583         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51584         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51585         file.
51586         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51587         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51588         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51589         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51590         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51591         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51592         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51593         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51594         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51595         file.
51596         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51597         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51598         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51599         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51600         file.
51601         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
51602         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51603         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
51604         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
51605         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
51606         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
51607         file.
51608         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
51609         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
51610         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
51611         file.
51612         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
51613         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
51614         New file.
51615         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
51616         New file.
51617         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
51618         New file.
51619         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
51620         New file.
51621         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
51622         New file.
51623         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
51624         New file.
51625         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
51626         New file.
51627         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
51628         New file.
51629         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
51630         New file.
51631         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
51632         New file.
51633         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
51634         New file.
51635         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
51636         New file.
51637         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
51638         New file.
51639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
51640         file.
51641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
51642         New file.
51643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
51644         New file.
51645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
51646         file.
51647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
51648         New file.
51649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
51650         New file.
51651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
51652         file.
51653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
51654         New file.
51655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51656         New file.
51657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
51658         New file.
51659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
51660         New file.
51661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
51662         New file.
51663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51664         New file.
51665         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51667         file.
51668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51669         New file.
51670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51671         file.
51672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51673         file.
51674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51675         file.
51676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51677         file.
51678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51679         file.
51680         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51681         New file.
51682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51683         file.
51684         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51685         file.
51686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51687         New file.
51688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51689         file.
51690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51692         file.
51693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51694         New file.
51695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51696         file.
51697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51698         file.
51699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51700         file.
51701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51702         file.
51703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51704         file.
51705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51706         New file.
51707         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51708         file.
51709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51710         file.
51711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51712         New file.
51713         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51714         file.
51715         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51716         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51717         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51718         file.
51719         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51720         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51721         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51722         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51723         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51724         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51725         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51726         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51727         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51728         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51729         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51731         file.
51732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51733         New file.
51734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51735         file.
51736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51737         file.
51738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51739         file.
51740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51741         file.
51742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51743         file.
51744         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51745         New file.
51746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51747         New file.
51748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51749         file.
51750         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51751         New file.
51752         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51753         file.
51754         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51756         file.
51757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51758         New file.
51759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51760         file.
51761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51762         file.
51763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51764         file.
51765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51766         file.
51767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51768         file.
51769         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51770         New file.
51771         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51772         New file.
51773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51774         file.
51775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51776         New file.
51777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51778         file.
51780 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51782         * conform/conformtest.pl: Fix typo in handling typed-constant from
51783         allow-header.
51785 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51787         * README: Cut down references to pre-2.6 Linux kernels and
51788         Linuxthreads.  Update lists of configurations in libc and ports
51789         and sort alphabetically.  Say "or newer" with Linux kernel version
51790         requirements.
51792         * config.h.in [IS_IN_build]: Allow compiling without optimization.
51794 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51796         [BZ #887]
51797         * math/libm-test.inc (logb_test_downward): New test to expose
51798         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51799         rounding mode.
51801 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51803         [BZ #14027]
51804         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51805         to be done.
51806         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51807         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51809 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
51811         * sysdeps/unix/i386/brk.S: Remove file.
51812         * sysdeps/unix/i386/dl-brk.S: Likewise.
51813         * sysdeps/unix/i386/pipe.S: Likewise.
51814         * sysdeps/unix/i386/sigreturn.S: Likewise.
51815         * sysdeps/unix/i386/syscall.S: Likewise.
51816         * sysdeps/unix/i386/vfork.S: Likewise.
51817         * sysdeps/unix/i386/wait.S: Likewise.
51819         * sysdeps/unix/common/tcsendbrk.c: Move to ...
51820         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51822         * configure.in (arm*-none*): Do not allow without
51823         --enable-hacker-mode.
51824         (netbsd*): Remove case setting base_os.
51825         (386bsd*): Likewise.
51826         (freebsd*): Likewise.
51827         (bsdi*): Likewise.
51828         (osf*): Likewise.
51829         (sunos*): Likewise.
51830         (ultrix*): Likewise.
51831         (newsos*): Likewise.
51832         (dynix*): Likewise.
51833         (*bsd*): Likewise.
51834         (sysv*): Likewise.
51835         (isc*): Likewise.
51836         (esix*): Likewise.
51837         (sco*): Likewise.
51838         (minix*): Likewise.
51839         (irix4*): Likewise.
51840         (irix6*): Likewise.
51841         (solaris[2-9]*): Likewise.
51842         (none): Likewise.
51843         * configure: Regenerated.
51845 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51847         [BZ #11521]
51848         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51849         overflow or cancellation in calculating denominator.
51850         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51851         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51852         down expression to avoid unexpected rounding in newer GCCs.
51853         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51855 2012-04-26  David S. Miller  <davem@davemloft.net>
51857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51858         long-double compat symbols.
51859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51873 2012-04-25  David S. Miller  <davem@davemloft.net>
51875         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51876         HWCAP_* values only after the memory barriers have been defined.
51877         (atomic_full_barrier): Define.
51878         (atomic_read_barrier): Define.
51879         (atomic_write_barrier): Define.
51881 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51883         * shlib-versions: Add libgcc_s version information.
51884         * sysdeps/generic/libgcc_s.h: Remove.
51885         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51886         libgcc_s.h.
51887         * sysdeps/gnu/unwind-resume.c: Likewise.
51888         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51890 2012-04-25  David S. Miller  <davem@davemloft.net>
51892         * sysdeps/unix/sparc/brk.S: Delete.
51893         * sysdeps/unix/sparc/dl-brk.S: Delete.
51894         * sysdeps/unix/sparc/pipe.S: Delete.
51895         * sysdeps/unix/sparc/sysdep.S: Delete.
51896         * sysdeps/unix/sparc/sysdep.h: Delete.
51897         * sysdeps/unix/sparc/vfork.S: Delete.
51898         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51899         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51900         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51901         (ret_ERRVAL, r0, r1, MOVE): Define.
51902         (JUMPTARGET): Remove.
51903         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51904         sysdeps/unix/sparc/sysdep.h
51905         (ENTRY, END): Remove.
51906         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51908 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
51910         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51911         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51912         -DIS_IN_build.
51914         * timezone/README: Update upstream location and email address for
51915         tzcode and tzdata.
51916         * timezone/zdump.c: Update from tzcode 2012b.
51917         * timezone/zic.c: Likewise.
51919         * configure.in (libc_cv_as_needed): Remove test.
51920         * configure: Regenerated.
51921         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51922         conditional definition.
51923         [$(have-as-needed) != yes] (no-as-needed): Likewise.
51924         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51925         * config.make.in (have-as-needed): Remove variable.
51927 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51928             Paul Pluzhnikov  <ppluzhnikov@google.com>
51930         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51931         strings correctly.
51933 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
51935         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51936         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51937         * sysdeps/sh/strlen.S: Likewise.
51939 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51941         * sysdeps/unix/fork.S: Remove file.
51942         * sysdeps/unix/i386/fork.S: Likewise.
51943         * sysdeps/unix/sparc/fork.S: Likewise.
51945         * sysdeps/unix/system.c: Remove file.
51946         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51948         * sysdeps/unix/getegid.S: Remove file.
51949         * sysdeps/unix/geteuid.S: Likewise.
51951 2012-04-24  Roland McGrath  <roland@hack.frob.com>
51953         * scripts/check-localplt.awk: New file.
51954         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51955         of diff.
51956         * scripts/data/localplt-generic.data: Add a comment.
51958         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51959         NODE when __dir_mkfile failed.
51960         * sysdeps/mach/hurd/symlinkat.c: Likewise.
51961         Reported by Ludovic Courtès <ludo@gnu.org>.
51963 2012-04-24  Andreas Jaeger  <aj@suse.de>
51965         * Makerules (common-clean): Also remove gen-as-const-headers
51966         files.
51968 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51970         * Makerules (native-compile): Do not change working directory for
51971         build.  Use $(OUTPUT_OPTION) in command.
51972         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51974 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51976         [BZ #13886]
51977         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51978         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51979         * math/libm-test.inc (floor_test): Add more tests.
51980         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
51982 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51984         * sysdeps/unix/getdents.c: Remove file.
51985         * sysdeps/unix/sysv/getdents.c: Likewise.
51986         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
51988         * sysdeps/unix/syscalls.list (madvise): Add syscall from
51989         sysdeps/unix/mman/syscalls.list.
51990         (mmap): Likewise.
51991         (mprotect): Likewise.
51992         (msync): Likewise.
51993         (munmap): Likewise.
51994         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
51995         * sysdeps/unix/mman/syscalls.list: Remove.
51996         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
51998         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
51999         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52000         * configure: Regenerated.
52001         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52002         $(libgcc_s_suffix).
52003         * config.make.in (libgcc_s_suffix): Remove variable.
52005 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52007         * sysdeps/unix/sysv/gethostname.c: Move to ...
52008         * sysdeps/posix/gethostname.c: ... here.
52010         * sysdeps/unix/execve.S: Remove file.
52012         * sysdeps/unix/_exit.S: Remove file.
52014 2012-04-23  Andreas Jaeger  <aj@suse.de>
52016         [BZ #13739]
52017         * manual/Makefile: Remove make dist support, there's no
52018         need for a stand-alone documentation tar ball.
52019         (TEXI2DVI): Define always, it's not in Makeconfig.
52020         (dist): Removed.
52021         (tar-it): Removed.
52022         (edition): Removed.
52023         (glibc-doc-$(edition).tar): Removed
52024         (%.Z): Removed.
52025         (%.gz): Removed.
52026         (%.uu): Removed.
52027         (ETAGS): Remove, it's in Makeconfig.
52028         (move-if-change): Remove, it's in Makeconfig.
52030 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52032         [BZ #13970]
52033         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52034         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52035         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52036         (strtod_l, strtof_l, strtold_l): Remove __wur.
52037         It is not necessarily an error to ignore strtol's return value.
52038         One can reliably look at the stored endptr to decide whether
52039         the number had valid syntax.
52041 2012-04-21  Andreas Jaeger  <aj@suse.de>
52043         [BZ #13739]
52044         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52046 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52048         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52049         * sysdeps/unix/sysv/Versions: Remove file.
52051 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52053         [BZ #13927]
52054         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52056 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52058         [BZ #7064]
52059         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52060         version from __vm86.
52062 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52064         * sysdeps/unix/common/lxstat.c: Remove file.
52065         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52067         * sysdeps/unix/sysv/Makefile: Remove file.
52069         * sysdeps/unix/sysv/direct.h: Remove file.
52071         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52072         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52073         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52074         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52075         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52076         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52077         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52079         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52081         * sysdeps/unix/xmknod.c: Remove file.
52082         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52084         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52086         * sysdeps/unix/sysv/i386/time.S: Remove file.
52088         * sysdeps/unix/fxstat.c: Remove file.
52089         * sysdeps/unix/xstat.c: Likewise.
52090         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52092         * sysdeps/unix/sysv/sigaction.c: Remove file.
52094         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52095         (sysdep_headers): Remove variable.
52096         [termio.h not in sysdep_headers] (generated): Likewise.
52097         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52098         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52099         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52100         * sysdeps/unix/sysv/tcflow.c: Likewise.
52101         * sysdeps/unix/sysv/tcflush.c: Likewise.
52102         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52103         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52104         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52105         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52106         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52108         * sysdeps/unix/siglist.c: Remove file.
52110         * sysdeps/unix/getppid.S: Remove file.
52112         * sysdeps/unix/mkdir.c: Remove file.
52113         * sysdeps/unix/rmdir.c: Likewise.
52115 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52117         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52118         ERR_MAX value.
52119         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52120         errlist-compat value.
52122 2012-04-18  David S. Miller  <davem@davemloft.net>
52124         * sysdeps/generic/memcopy.h (reg_char): Delete.
52125         * debug/strcat_chk.c: Use char, not reg_char.
52126         * debug/strcpy_chk.c: Likewise.
52127         * debug/strncat_chk.c: Likewise.
52128         * debug/strncpy_chk.c: Likewise.
52129         * string/memchr.c: Likewise.
52130         * string/memrchr.c: Likewise.
52131         * string/rawmemchr.c: Likewise.
52132         * string/strcat.c: Likewise.
52133         * string/strchr.c: Likewise.
52134         * string/strchrnul.c: Likewise.
52135         * string/strcmp.c: Likewise.
52136         * string/strcpy.c: Likewise.
52137         * string/strncat.c: Likewise.
52138         * string/strncmp.c: Likewise.
52139         * string/strncpy.c: Likewise.
52141 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52143         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52144         __builtin_memcopy is called when src and dest ranges are known to not
52145         overlap.
52147 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52149         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52150         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52151         fwd_align_merge macro call.
52152         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52153         bwd_align_merge macro call.
52154         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52156 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52158         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52159         bwd_align_merge macros.
52160         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52161         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52162         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52164 2012-04-18  David S. Miller  <davem@davemloft.net>
52166         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52168 2012-04-18  Andreas Jaeger  <aj@suse.de>
52170         [BZ# 6794]
52171         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52172         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52173         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52175         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52176         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52177         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52179         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52180         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52181         Adjust for changed ldbl-128 files.
52183         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52184         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52185         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52187 2012-04-17  David S. Miller  <davem@davemloft.net>
52189         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52191 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52193         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52194         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52195         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52196         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52197         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52198         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52200 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52202         [BZ #6794]
52203         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52204         * math/libm-test.inc: Add ilogb errno and exception tests.
52205         * math/w_ilogb.c: New file: ilogb wrapper.
52206         * math/w_ilogbf.c: New file: ilogbf wrapper.
52207         * math/w_ilogbl.c: New file: ilogbl wrapper.
52208         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52209         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52210         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52211         exception being thrown with 0.0 as argument.
52212         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52213         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52214         exception being thrown with 0.0 as argument.
52215         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52216         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52217         exception being thrown with 0.0 as argument.
52218         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52219         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52220         exception being thrown with 0.0 as argument.
52221         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52222         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52223         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52224         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52225         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52226         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52227         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52228         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52229         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52231 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52233         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52234         with altivec.
52236 2012-04-16  Marek Polacek  <polacek@redhat.com>
52238         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52240 2012-04-16  Marek Polacek  <polacek@redhat.com>
52242         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52243         operands of fdivp instruction.
52245 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52247         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52248         * elf/tst-auditmod3b.c: Likewise.
52249         * elf/tst-auditmod4b.c: Likewise.
52250         * elf/tst-auditmod5b.c: Likewise.
52251         * elf/tst-auditmod6b.c: Likewise.
52252         * elf/tst-auditmod6c.c: Likewise.
52253         * elf/tst-auditmod7b.c: Likewise.
52254         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52255         * sysdeps/x86_64/preconfigure.in: Likewise.
52256         * sysdeps/x86_64/preconfigure: Regenerated.
52258 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52260         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52261         __ILP32__.
52263 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52265         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52266         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52268 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52270         [BZ #13973]
52271         * locale/iso-639.def: Fix gl language name. Spotted by
52272         Yaron Shahrabani.
52274 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52276         [BZ #2074]
52277         * libio/libio.h (__io_write_fn): Update comment.
52279 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52281         [BZ #2074]
52282         * stdio.texi (Hook Functions): The user provided writer function
52283         is not allowed to return -1.
52285 2012-04-11  David S. Miller  <davem@davemloft.net>
52287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52289 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52291         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52292         Add a leading slash to rtkaio.
52294 2012-04-11  Jim Meyering  <meyering@redhat.com>
52296         [BZ #11959]
52297         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52298         It is not necessarily an error to ignore fwrite's return
52299         value.  One can reliably use ferror to test for errors after
52300         the fact.
52302 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52304         * bits/types.h (__snseconds_t): New type.
52305         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52307         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52308         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52309         (__SNSECONDS_T_TYPE): Likewise.
52310         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52311         (__SNSECONDS_T_TYPE): Likewise.
52312         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52313         (__SNSECONDS_T_TYPE): Likewise.
52315 2012-04-10  Andreas Jaeger  <aj@suse.de>
52317         [BZ #2636]
52318         * manual/time.texi (Processor Time): Return type of times is
52319         elapsed real time since an arbitrary point in the past.
52320         (CPU Time): Move CLK_TCK from here...
52321         (Processor Time): ...to here.  Correct description.
52322         * manual/conf.texi (Constants for Sysconf): Correct description of
52323         _SC_CLK_TCK.
52325 2012-04-10  David S. Miller  <davem@davemloft.net>
52327         [BZ #13967]
52328         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52329         where the is a gap between DT_REL(A) and DT_JMPREL.
52331 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52333         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52334         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52335         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52337 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52339         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52340         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52341         (dl_main): Handle --inhibit-cache.
52342         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52343         _dl_inhibit_cache.
52344         * elf/dl-load.c (_dl_map_object): Use it.
52345         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52347 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52349         [BZ #13872]
52350         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52351         (__ieee754_powl): Saturate large exponents rather than testing for
52352         overflow of y*log2(x).
52353         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52354         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52355         exceptions.
52357         [BZ #11521]
52358         * math/s_ctan.c: Include <float.h>.
52359         (__ctan): Avoid internal overflow or cancellation in calculating
52360         denominator.
52361         * math/s_ctanf.c: Likewise.
52362         * math/s_ctanl.c: Likewise.
52363         * math/s_ctanh.c: Likewise.
52364         * math/s_ctanhf.c: Likewise.
52365         * math/s_ctanhl.c: Likewise.
52366         * math/libm-test.inc (ctan_test): Add more tests.
52367         (ctanh_test): Likewise.
52368         * sysdeps/i386/fpu/libm-test-ulps: Update.
52369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52371 2012-04-09  Andreas Jaeger  <aj@suse.de>
52373         [BZ #6894]
52374         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52375         is an optional BSD extension.
52377         [BZ #10254]
52378         * manual/stdio.texi (Opening Streams): Document additional fopen
52379         parameters.
52381 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52383         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52384         %eax without telling the compiler.
52386 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52388         [BZ # 13963]
52389         * manual/install.texi: Use sourceware.org.
52391 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52393         [BZ #13873]
52394         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52395         (__ieee754_pow): Generate overflow and underflow using huge*huge
52396         and tiny*tiny rather than just returning constant infinity or zero
52397         for large exponents.
52398         * math/libm-test.inc (pow_test): Require overflow exceptions for
52399         applicable cases of large exponents.
52401         [BZ #706]
52402         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52403         (__ieee754_pow): Use iterative multiplication algorithm only for
52404         integer exponents with absolute value below 1024.  Check for odd
52405         integer exponents when using algorithm for real exponents.
52406         * math/libm-test.inc (pow_test): Add more tests.
52407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52409 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52411         [BZ #13705]
52412         * math/libm-test.inc (exp_test): Do not allow overflow exception
52413         on underflow test.
52415 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52417         [BZ #13705]
52418         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52419         instead of __kernel_standard_f.
52421 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52423         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52424         * sysdeps/x86_64/memset_chk.S: Likewise.
52426 2012-04-08  Andreas Jaeger  <aj@suse.de>
52428         [BZ #10153]
52429         * manual/startup.texi (Environment Access): Describe return value
52430         for putenv and setenv.
52432         [BZ #6895]
52433         * manual/filesys.texi (Directory Entries): Add description for
52434         DT_LNK.
52436         [BZ #6890]
52437         * manual/filesys.texi (Directory Entries): Clarify that it's file
52438         system not operating system in the description of DT_UNKNOWN.
52440         [BZ #6578]
52441         * manual/syslog.texi (closelog): Fix reference, it's openlog.
52443 2012-04-08  Stephen Compall  <s11@member.fsf.org>
52445         [BZ #6649]
52446         * manual/llio.texi (Opening and Closing Files): Add cross
52447         reference to explain mode argument.
52449 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
52451         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52452         * sysdeps/x86_64/memset_chk.S: Likewise.
52454 2012-04-07  David S. Miller  <davem@davemloft.net>
52456         * elf/elf.h (R_SPARC_WDISP10): Define.
52457         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52458         R_SPARC_SIZE32.
52459         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52460         R_SPARC_SIZE64 and R_SPARC_H34.
52462 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
52464         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52465         conditions and remove no longer applicable assertion.
52467 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52469         * bits/byteswap.h: Include <features.h>.
52470         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52471         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52473 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52475         * bits/byteswap.h (__bswap_16): Removed.
52476         Include <bits/byteswap-16.h> to get __bswap_16.
52477         * sysdeps/i386/bits/byteswap.h: Likewise.
52478         * sysdeps/s390/bits/byteswap.h: Likewise.
52479         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52480         * bits/byteswap-16.h: New file.
52481         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52482         * sysdeps/s390/bits/byteswap-16.h: Likewise.
52483         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52484         * string/Makefile (headers): Add bits/byteswap-16.h.
52486 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52488         [BZ #13895]
52489         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52490         extra indirection.
52491         * nss/Makefile (tests-static, tests): Add tst-nss-static.
52492         * nss/tst-nss-static.c: New.
52494 2012-04-06  Robert Millan  <rmh@gnu.org>
52496         [BZ #6486]
52497         * manual/llio.texi (File Position Primitive): lseek
52498         refers to WHENCE when it really means OFFSET.
52500 2012-04-06  Andreas Jaeger  <aj@suse.de>
52502         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52503         strncmp declarations.
52505         * abilist/libc.abilist: Add __poll and __ppoll.
52507 2012-04-05  David S. Miller  <davem@davemloft.net>
52509         * scripts/check-local-headers.sh: Accept a host triplet in the
52510         path matched by the exclude regexp.
52512         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52513         definition.
52514         * sysdeps/powerpc/powerpc32/dl-machine.h
52515         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52516         * sysdeps/s390/s390-32/dl-machine.h
52517         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52518         * sysdeps/sparc/sparc32/dl-machine.h
52519         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52520         * sysdeps/sparc/sparc64/dl-machine.h
52521         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52523         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52524         lazy binding.
52525         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52526         undefined symbol errors.
52528         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52529         DT_NEEDED entries.
52531 2012-04-05  Michael Matz  <matz@suse.de>
52533         [BZ #13592]
52534         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52536 2012-04-05  Andreas Jaeger  <aj@suse.de>
52538         [BZ #13908]
52539         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52540         comment.
52542 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52544         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52545         which ROUND is no valid rounding mode.
52547 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52549         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52550         read again.
52551         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52553 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52555         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52556         an exception using FPU order intentionally.
52558 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52560         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52561         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52562         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52563         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52565 2012-04-05  Simon Josefsson  <simon@josefsson.org>
52567         [BZ #12340]
52568         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52569         EINVAL when BUFLEN is too smal.
52571 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52573         [BZ #13553]
52574         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52575         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52577 2012-04-03  Andreas Jaeger  <aj@suse.de>
52579         [BZ #13938]
52580         * manual/setjmp.texi (System V contexts): Fix sentence.
52582         [BZ #13926]
52583         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52584         New macro for this case.
52585         [!__GNUC__] (__bswap_64): New inline function for this case.
52586         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52587         * bits/byteswap.h: Likewise.
52588         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52589         ull, guard with __GLIBC_HAVE_LONG_LONG.
52591         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52592         __GLIBC_HAVE_LONG_LONG.
52594         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52595         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52597 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52599         [BZ #13691]
52600         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52601         inptr and inend, rather than using last_ch.
52603 2012-04-02  David S. Miller  <davem@davemloft.net>
52605         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
52606         * stdio-common/printf-parse.h (read_int): Change return type to
52607         'int', return -1 on INT_MAX overflow.
52608         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
52609         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
52610         overflows INT_MAX.  Check for overflow of in-format-string precision
52611         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
52612         SIZE_MAX not INT_MAX for integer overflow test.
52613         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
52614         skip the construct in the format string but do not record anything.
52615         * stdio-common/bug22.c: Adjust to test both width/prevision
52616         INT_MAX overflow as well as total length INT_MAX overflow.  Check
52617         explicitly for proper errno values.
52619 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52621         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
52622         CHAR_MAX.
52623         * string/test-strcmp.c [! WIDE]: Likewise.
52624         * time/tst-mktime2.c: Likewise for INT_MAX.
52625         * string/test-string.h: #include <sys/param.h> for MIN.
52627         * csu/init-first.c (__libc_init_first): Call __ctype_init.
52628         * sysdeps/i386/init-first.c (init): Likewise.
52629         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
52630         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52631         * sysdeps/sh/init-first.c (init): Likewise.
52633 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
52635         * po/ru.po: Update from translation team.
52636         * po/vi.po: Likewise.
52638 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52640         * resolv/nss_dns/dns-host.c: Merge copyright years.
52642 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52644         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52645         Optimize memcpy with prefetch if
52646         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
52647         src, dst pointers have unequal 16 byte alignments.
52649 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52651         [BZ #13928]
52652         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
52653         from a CNAME entry and return the minimum ttl for the query.
52654         (gaih_getanswer_slice): Likewise.
52656 2012-03-30  Jeff Law  <law@redhat.com>
52658         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
52659         due to long keys.
52660         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
52661         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
52663         * resolv/nss_dns/dns-host.c: Update copyright year.
52665 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
52667         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
52668         requests to save a system call.  Fix check that all bytes are sent.
52670         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52671         comments for sendmmsg.
52673 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52675         [BZ #13691]
52676         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52677         with only 1 character between 0x0041 and 0x01b0.
52678         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52679         * wcsmbs/tst-mbsnrtowcs.c: New file.
52681 2012-03-29  David S. Miller  <davem@davemloft.net>
52683         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52684         small copies by hand.
52686 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52688         [BZ #13761]
52689         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52690         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52691         group memberships.
52693 2012-03-28  David S. Miller  <davem@davemloft.net>
52695         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52696         that branches into memcpy.
52697         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52698         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52699         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52700         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52701         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52702         bits.
52703         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52704         implementation too.
52705         * sysdeps/sparc/mempcpy.S: New file.
52707         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52708         the IFUNC routine in the libc case.
52709         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52711         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52712         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52713         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52714         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52715         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52716         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52717         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52718         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52720         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52721         loop to 256 bytes instead of 64 bytes and fix test signedness.
52723         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52724         * sysdeps/sparc/sparc32/Makefile: rather than here...
52725         * sysdeps/sparc/sparc64/Makefile: and here.
52727 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
52729         * malloc/mallocbug.c: Avoid warnings about unused variables.
52731 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52733         [BZ #13760]
52734         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52735         in the right place. Discard and retry query if response is
52736         larger than input buffer size.
52738 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
52740         [BZ #369]
52741         [BZ #2678]
52742         [BZ #3866]
52743         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52744         x for large integer exponent.
52745         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52746         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
52747         sign of result as needed afterwards.
52748         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52749         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52750         result for underflowing pow the same as for overflow.
52751         (__kernel_standard_l): Handle powl overflow and underflow here
52752         rather than calling __kernel_standard.
52753         * math/libm-test.inc (pow_test): Add more tests.
52755         [BZ #3868]
52756         [BZ #13879]
52757         [BZ #13910]
52758         [BZ #13911]
52759         [BZ #13912]
52760         [BZ #13913]
52761         [BZ #13915]
52762         [BZ #13916]
52763         [BZ #13917]
52764         [BZ #13918]
52765         [BZ #13919]
52766         [BZ #13920]
52767         [BZ #13921]
52768         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52769         * sysdeps/ieee754/k_standard.c: Include <float.h>.
52770         (__kernel_standard_l): New function.
52771         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52772         __kernel_standard.
52773         * math/w_acosl.c (__acosl): Likewise.
52774         * math/w_asinl.c (__asinl): Likewise.
52775         * math/w_atan2l.c (__atan2l): Likewise.
52776         * math/w_atanhl.c (__atanhl): Likewise.
52777         * math/w_coshl.c (__coshl): Likewise.
52778         * math/w_exp10l.c (__exp10l): Likewise.
52779         * math/w_exp2l.c (__exp2l): Likewise.
52780         * math/w_fmodl.c (__fmodl): Likewise.
52781         * math/w_hypotl.c (__hypotl): Likewise.
52782         * math/w_j0l.c (__j0l, __y0l): Likewise.
52783         * math/w_j1l.c (__j1l, __y1l): Likewise.
52784         * math/w_jnl.c (__jnl, __ynl): Likewise.
52785         * math/w_lgammal.c (__lgammal): Likewise.
52786         * math/w_log10l.c (__log10l): Likewise.
52787         * math/w_log2l.c (__log2l): Likewise.
52788         * math/w_logl.c (__logl): Likewise.
52789         * math/w_powl.c (__powl): Likewise.
52790         * math/w_remainderl.c (__remainderl): Likewise.
52791         * math/w_scalbl.c (sysv_scalbl): Likewise.
52792         * math/w_sinhl.c (__sinhl): Likewise.
52793         * math/w_sqrtl.c (__sqrtl): Likewise.
52794         * math/w_tgammal.c (__tgammal): Likewise.
52795         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52796         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52797         * math/libm-test.inc (acos_test): Add more tests.
52798         (acosh_test): Likewise.
52799         (asin_test): Likewise.
52800         (atanh_test): Likewise.
52801         (exp_test): Likewise.
52802         (exp10_test): Likewise.
52803         (exp2_test): Likewise.
52804         (expm1_test): Likewise.
52805         (lgamma_test): Likewise.
52806         (log_test): Likewise.
52807         (log10_test): Likewise.
52808         (log1p_test): Likewise.
52809         (log2_test): Likewise.
52810         (pow_test): Do not allow some spurious overflow exceptions.
52811         (sqrt_test): Add more tests.
52812         (tgamma_test): Likewise.
52813         (y0_test): Likewise.
52814         (y1_test): Likewise.
52815         (yn_test): Likewise.
52817 2012-03-27  Anton Blanchard  <anton@samba.org>
52819         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52820         MAP_HUGETLB.
52821         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52822         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52823         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52825 2012-03-27  David S. Miller  <davem@davemloft.net>
52827         * conform/Makefile: Run run-conformtest.sh using $(BASH).
52829         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52830         have-as-vis3 check.
52832 2012-03-27  Andreas Jaeger  <aj@suse.de>
52834         * sysdeps/x86_64/elf/configure.in: Moved to ...
52835         * sysdeps/x86_64/configure.in: ... here.
52836         * sysdeps/x86_64/elf/start.S: Moved to ...
52837         * sysdeps/x86_64/start.S: ... here.
52838         * sysdeps/x86_64/elf/configure: Delete.
52840         * sysdeps/x86_64/configure.in: Merge contents from
52841         sysdeps/i386/configure.in (without i686 check).
52843         * sysdeps/i386/elf/Versions: Merge into ...
52844         * sysdeps/i386/Versions: ... this.
52845         * sysdeps/i386/elf/Versions: Delete file.
52846         * sysdeps/i386/elf/start.S: Moved to ...
52847         * sysdeps/i386/start.S: ...here.
52848         * sysdeps/i386/elf/configure.in: Merge into...
52849         * sysdeps/i386/configure.in: ...here.
52850         * sysdeps/i386/elf/configure.in: Delete file.
52851         * sysdeps/i386/elf/configure: Delete file.
52853         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52854         * debug/backtracesyms.c: ... here.
52855         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52856         * debug/backtracesymsfd.c: ... here.
52857         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52858         * sysdeps/generic/ifunc-sel.h: ... here.
52860         * sysdeps/unix/i386/start.c: Delete file.
52861         * sysdeps/unix/sparc/start.c: Delete file.
52862         * sysdeps/unix/start.c: Delete file.
52864         * sysdeps/sh/elf/configure.in: Moved to ...
52865         * sysdeps/sh/configure.in: ... here.
52866         * sysdeps/sh/elf/start.S: Moved to ...
52867         * sysdeps/sh/start.S: ... here.
52868         * sysdeps/sh/elf/configure: Delete file.
52870         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52871         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52872         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52873         * sysdeps/powerpc/powerpc64/entry.h: ... here.
52874         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52875         * sysdeps/powerpc/powerpc64/start.S: here.
52876         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52877         * sysdeps/powerpc/powerpc64/Makefile: ... this.
52878         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52879         * sysdeps/powerpc/powerpc64/configure.in: ... this.
52880         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52882         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52883         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52884         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52885         * sysdeps/powerpc/powerpc32/start.S: ... here.
52886         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52887         * sysdeps/powerpc/powerpc32/configure.in: ... this.
52888         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52890         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52891         * sysdeps/powerpc/ifunc-sel.h: ... here.
52892         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52893         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52895         * sysdeps/sparc/elf/configure.in: Moved to ...
52896         * sysdeps/sparc/configure.in: ... here.
52897         * sysdeps/sparc/elf/configure: Delete file.
52898         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52899         * sysdeps/sparc/sparc32/start.S: ... here.
52900         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52901         * sysdeps/sparc/sparc64/start.S: ... here.
52902         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52903         * sysdeps/sparc/sparc32/Makefile: ... this.
52904         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52905         * sysdeps/sparc/sparc64/Makefile: ... this.
52907         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52908         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52909         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52910         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52911         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52912         * sysdeps/s390/s390-32/setjmp.S: ... here.
52913         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52914         * sysdeps/s390/s390-32/configure.in: ... here.
52915         * sysdeps/s390/s390-32/elf/configure: Delete file.
52916         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52917         * sysdeps/s390/s390-32/start.S: ... here.
52919         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52920         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52921         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52922         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52923         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52924         * sysdeps/s390/s390-64/setjmp.S: ... here.
52925         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52926         * sysdeps/s390/s390-64/configure.in: ... here
52927         * sysdeps/s390/s390-64/elf/configure: Delete file.
52928         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52929         * sysdeps/s390/s390-64/start.S: ... here.
52930         * sysdeps/s390/s390-64/elf/configure: Delete.
52932         * configure.in: Remove support for elf directories in sysdeps.
52934         * configure: Regenerated.
52935         * sysdeps/i386/configure: Regenerated.
52936         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52937         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52938         * sysdeps/s390/s390-32/configure: Regenerated.
52939         * sysdeps/s390/s390-64/configure: Regenerated.
52940         * sysdeps/sh/configure: Regenerated.
52941         * sysdeps/sparc/configure: Regenerated.
52942         * sysdeps/x86_64/configure: Regenerated.
52944 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
52946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52948         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52949         denormal result into account.
52951 2012-03-25  Roland McGrath  <roland@hack.frob.com>
52953         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52954         Reported by Allan McRae <allan@archlinux.org>.
52956 2012-03-23  Jeff Law  <law@redhat.com>
52958         * nss/getnssent.c (__nss_getent): Fix typo.
52960 2012-03-23  David S. Miller  <davem@davemloft.net>
52962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52964 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
52966         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52967         to pad to uint64_t for each field.
52968         (dl_tls_index): Replace unsigned long with uint64_t.
52970 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
52971         Paul Pluzhnikov  <ppluzhnikov@google.com>
52973         [BZ #6528]
52974         * grp/Makefile (otherlibs): Don't set it.
52975         * inet/Makefile (otherlibs): Likewise.
52976         * login/Makefile (otherlibs): Likewise.
52977         * nscd/Makefile (otherlibs): Likewise.
52978         * posix/Makefile (otherlibs): Likewise.
52979         * pwd/Makefile (otherlibs): Likewise.
52980         * rt/Makefile (otherlibs): Likewise.
52981         * sunrpc/Makefile (otherlibs): Likewise.
52982         * nss/Makefile (otherlibs): Likewise.
52983         Add libnss_files to routines and static-only-routines.
52984         ($(objpfx)getent): Remove rule.
52985         * resolv/Makefile: Add libnss_dns and libresolv to routines and
52986         static-only-routines.
52988 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52990         [BZ #13892]
52991         * math/s_cexp.c: Include <float.h>.
52992         (__cexp): Handle exp result overflowing not necessarily
52993         overflowing both real and imaginary parts of result.
52994         * math/s_cexpf.c: Likewise.
52995         * math/s_cexpl.c: Likewise.
52996         * math/libm-test.inc (cexp_test): Add more tests.
52997         * sysdeps/i386/fpu/libm-test-ulps: Update.
52998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53000 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53002         * include/link.h (ELFW): New macro.
53003         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53004         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53006 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53008         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53009         with uint64_t.
53011 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53013         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53014         declaration.
53015         (struct La_x32_retval): Likewise.
53017 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53019         * sysdeps/x86_64/preconfigure.in: New file.
53020         * sysdeps/x86_64/preconfigure: New generated file.
53022 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53024         [BZ #13824]
53025         * math/e_exp2l.c: Include <float.h>.
53026         (__ieee754_exp2l): Handle overflow and underflow cases
53027         separately.  Only pass fractional part of argument to
53028         __ieee754_expl.
53029         * math/libm-test.inc (exp2_test): Add more tests.
53031         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53032         negating x to take absolute value.
53033         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53034         Likewise.
53035         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53036         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53037         Likewise.
53038         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53039         computing low part if x was negated.
53040         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53042 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53044         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53045         la_x32_gnu_pltexit.
53046         (pltexit): Cast int_retval to ptrdiff_t.
53047         * elf/tst-auditmod3b.c: Likewise.
53048         * elf/tst-auditmod4b.c: Likewise.
53049         * elf/tst-auditmod5b.c: Likewise.
53050         * elf/tst-auditmod6b.c: Likewise.
53051         * elf/tst-auditmod6c.c: Likewise.
53052         * elf/tst-auditmod7b.c: Likewise.
53054         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53055         and x32_gnu_pltexit.
53057         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53058         __ELF_NATIVE_CLASS.
53059         (La_x32_regs): New macro.
53060         (La_x32_retval): Likewise.
53061         (la_x32_gnu_pltenter): New function prototype.
53062         (la_x32_gnu_pltexit): Likewise.
53064 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53066         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53067         exponent.
53069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53071         * configure.in (libc_cv_cc_nofma): Check for option to disable
53072         generation of FMA instructions.
53073         * configure: Regenerate.
53074         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53075         * sysdeps/ieee754/dbl-64/Makefile: New file.
53076         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53077         Remove brandred-fma4.
53078         (CFLAGS-brandred-fma4.c): Remove.
53079         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53080         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53081         define.
53082         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53083         define.
53085 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53087         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53088         LLONG_MAX != LONG_MAX.
53089         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53090         (_fitoa_word): Likewise.
53091         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53092         LLONG_MAX != LONG_MAX.
53093         * stdio-common/_itowa.h: Include <_itoa.h>.
53094         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53095         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53096         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53097         only if not defined.
53098         (_ITOA_WORD_TYPE): Likewise.
53099         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53100         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53102 2012-03-21  David S. Miller  <davem@davemloft.net>
53104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53106 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53108         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53109         of x86_64 when setting libc_cv_slibdir, libdir and
53110         libc_cv_localedir.
53111         * sysdeps/unix/sysv/linux/configure: Regenerated.
53113 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53115         * manual/lang.texi (Old Varargs): Remove section.
53116         (How Variadic): Update menu.
53117         (va_start): Do not mention varargs.h.
53119 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53120             Joseph Myers  <joseph@codesourcery.com>
53122         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53123         link test.
53124         * configure: Regenerated.
53126 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53128         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53129         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53130         conformtest.pl
53132 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53134         * NOTES: Remove.
53135         * Makefile (files-for-dist): Remove NOTES.
53136         (NOTES): Remove rule.
53137         * README: Don't refer to NOTES.
53138         * manual/creature.texi: Don't include macros.texi.
53139         * manual/intro.texi (creature.texi): Remove comment referring to
53140         NOTES.
53142         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53143         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53144         * configure: Regenerated.
53145         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53146         LIBC_TRY_CC_OPTION.
53147         (libc_cv_as_i686): Likewise.
53148         (libc_cv_cc_avx): Likewise.
53149         (libc_cv_cc_sse2avx): Likewise.
53150         (libc_cv_cc_fma4): Likewise.
53151         (libc_cv_cc_novzeroupper): Likewise.
53152         * sysdeps/i386/configure: Regenerated.
53154         [BZ #13883]
53155         * sysdeps/i386/fpu/s_cexp.S: Remove.
53156         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53157         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53158         * math/libm-test.inc (cexp_test): Add more tests.
53159         * sysdeps/i386/fpu/libm-test-ulps: Update.
53160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53162 2012-03-21  Allan McRae  <allan@archlinux.org>
53164         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53166 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53168         [BZ #13871]
53169         * math/w_exp2.c: Do not include <float.h>.
53170         (o_threshold, u_threshold): Remove.
53171         (__exp2): Calculate result before checking finiteness and calling
53172         __kernel_standard.
53173         * math/w_exp2f.c: Likewise.
53174         * math/w_exp2l.c: Likewise.
53175         * math/libm-test.inc (exp2_test): Require overflow exception for
53176         1e6 input.
53178         [BZ #3866]
53179         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53180         range of signed 64-bit integers before using fistpll.  Remove
53181         checks for whether integers fit in mantissa bits.
53182         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53183         the range of signed 32-bit integers before using fistpl.  Remove
53184         checks for whether integers fit in mantissa bits.
53185         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53186         (__ieee754_powl): Test for y outside the range of signed 64-bit
53187         integers before using fistpll.  Reduce 64-bit values to 63-bit
53188         ones as needed.
53189         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53190         divide-by-zero is raised for zero to large negative powers.
53191         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53192         (__ieee754_powl): Test for y outside the range of signed 64-bit
53193         integers before using fistpll.  Reduce 64-bit values to 63-bit
53194         ones as needed.
53195         * math/libm-test.inc (pow_test): Add more tests.
53197 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53199         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53200         <stdio-common/_itoa.h>.
53201         * debug/segfault.c: Likewise.
53202         * elf/dl-cache.c: Likewise.
53203         * elf/dl-minimal.c: Likewise.
53204         * elf/dl-misc.c: Likewise.
53205         * elf/dl-sysdep.c: Likewise.
53206         * elf/dl-version.c: Likewise.
53207         * elf/rtld.c: Likewise.
53208         * hurd/hurdsock.c: Likewise.
53209         * hurd/lookup-retry.c: Likewise.
53210         * malloc/malloc.c: Likewise.
53211         * malloc/mtrace.c: Likewise.
53212         * nscd/nscd_getgr_r.c: Likewise.
53213         * nscd/nscd_getpw_r.c: Likewise.
53214         * nscd/nscd_getserv_r.c: Likewise.
53215         * posix/getopt_init.c: Likewise.
53216         * posix/wordexp.c: Likewise.
53217         * stdio-common/_itoa.c: Likewise.
53218         * stdio-common/printf_fphex.c: Likewise.
53219         * stdio-common/vfprintf.c: Likewise.
53220         * string/_strerror.c: Likewise.
53221         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53222         * sysdeps/i386/i686/hp-timing.h: Likewise.
53223         * sysdeps/mach/_strerror.c: Likewise.
53224         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53225         * sysdeps/mach/hurd/sethostid.c: Likewise.
53226         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53227         * sysdeps/mach/xpg-strerror.c: Likewise.
53228         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53229         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53230         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53231         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53232         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53233         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53234         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53235         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53236         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53237         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53238         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53239         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53240         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53241         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53242         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53243         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53244         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53245         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53246         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53247         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53248         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53250         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53252         * stdio-common/_itoa.h: Moved to ...
53253         * sysdeps/generic/_itoa.h: Here.
53255         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53257         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53258         instead of "_itoa.h" and "_itowa.h".
53259         * stdio-common/vfprintf.: Likewise.
53261 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53263         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53264         <bits/wordsize.h>.
53265         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53266         (__signbit): Likwise.
53267         (llrintf): Likwise.
53268         (llrint): Likwise.
53270 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53272         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53273         __WORDSIZE != 64.
53275 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53277         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53278         OVERFLOW_EXCEPTION_OK.
53279         * math/libm-test.inc ("Philosophy"): Update comment about
53280         exception testing.
53281         (OVERFLOW_EXCEPTION): Define.
53282         (OVERFLOW_EXCEPTION_OK): Likewise.
53283         (INVALID_EXCEPTION_OK): Renumber.
53284         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53285         (IGNORE_ZERO_INF_SIGN): Likewise.
53286         (test_exceptions): Handle FE_OVERFLOW.
53287         (exp10_test): Expect overflow exceptions.
53288         (exp2_test): Likewise.
53289         (expm1_test): Likewise.
53290         (nextafter_test): Likewise.
53291         (pow_test): Likewise.
53292         (scalbn_test): Likewise.
53293         (scalbln_test): Likewise.
53295 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53297         * sysdeps/x86_64/bits/atomic.h
53298         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53299         64bit integer.
53300         (atomic_exchange_acq): Likewise.
53301         (__arch_exchange_and_add_body): Likewise.
53302         (__arch_add_body): Likewise.
53303         (atomic_add_negative): Likewise.
53304         (atomic_add_zero): Likewise.
53306 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53308         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53309         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53311 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53313         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53314         Check __x86_64__ instead of __WORDSIZE.
53316 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53318         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53320 2012-03-19  David S. Miller  <davem@davemloft.net>
53322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53324         * sysdeps/sparc/fpu/fenv_private.h: New file.
53325         * sysdeps/sparc/fpu/math_private.h: Use it.
53326         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53327         Remove.
53328         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53329         (libc_feholdexcept_setroundl): Remove.
53330         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53331         Remove.
53332         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53333         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53335 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53337         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53338         int64_t instead of long int.
53339         (INSERT_WORDS64): Likwise.
53341 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53343         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53344         _Unwind_GetCFA return to _Unwind_Ptr first.
53346 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53348         [BZ #13629]
53349         * math/s_clog.c: Include <float.h>.
53350         (__clog): Scale large or subnormal inputs.
53351         * math/s_clogf.c: Likewise.
53352         * math/s_clogl.c: Likewise.
53353         * math/s_clog10.c: Include <float.h>.
53354         (M_LOG10_2): Define.
53355         (__clog10): Scale large or subnormal inputs.
53356         * math/s_clog10f.c: Likewise.
53357         * math/s_clog10l.c: Likewise.
53358         * math/libm-test.inc (clog_test): Add more tests.
53359         (clog10_test): Likewise.
53360         * sysdeps/i386/fpu/libm-test-ulps: Update.
53361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53363         [BZ #11451]
53364         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53365         x and y.
53366         * math/libm-test.inc (atan2_test): Add another test.
53368         * Makerules (common-objdir-compile): Remove.
53369         * sysdeps/unix/Makefile (config-generated): Do not add
53370         $(unix-generated) to variable.
53371         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53372         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53373         Remove rule.
53374         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53375         Likewise.
53376         [generic bits/local_lim.h] (before-compile): Do not append to
53377         variable.
53378         [generic bits/local_lim.h] (common-generated): Likewise.
53379         [generic sys/param.h] (before-compile): Do not append to variable.
53380         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53381         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53382         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53383         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53384         include.
53385         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53386         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53387         [generic sys/param.h] ($(addprefix
53388         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53389         [generic sys/param.h] (common-generated): Do not append to
53390         variable.
53391         [generic sys/param.h] (sysdep_headers): Likewise.
53392         [generic bits/errno.h] (before-compile): Do not append to
53393         variable.
53394         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53395         rule.
53396         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53397         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53398         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53399         [generic bits/errno.h] (common-generated): Do not append to
53400         variable.
53401         [generic bits/ioctls.h] (before-compile): Do not append to
53402         variable.
53403         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53404         rule.
53405         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53406         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53407         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53408         rule.
53409         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53410         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53411         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53412         [generic bits/ioctls.h] (common-generated): Do not append to
53413         variable.
53414         [generic sys/syscall.h] (syscall.h): Remove variable.
53415         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53416         rule.
53417         [generic sys/syscall.h] (before-compile): Do not append to
53418         variable.
53419         [generic sys/syscall.h] (common-generated): Likewise.
53420         * sysdeps/unix/errnos-tmpl.c: Remove file.
53421         * sysdeps/unix/errnos.awk: Likewise.
53422         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53423         * sysdeps/unix/ioctls.awk: Likewise.
53424         * sysdeps/unix/mk-local_lim.c: Likewise.
53425         * sysdeps/unix/snarf-ioctls: Likewise.
53427 2012-03-19  Richard Henderson  <rth@twiddle.net>
53429         * sysdeps/i386/fpu/fenv_private.h: New file.
53430         * sysdeps/i386/fpu/math_private.h: Use it.
53431         (math_opt_barrier, math_force_eval): Remove.
53432         (libc_feholdexcept_setround_53bit): Remove.
53433         (libc_feupdateenv_53bit): Remove.
53434         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53435         (math_opt_barrier, math_force_eval): Remove.
53436         (libc_feholdexcept): Remove.
53437         (libc_feholdexcept_setround): Remove.
53438         (libc_fetestexcept, libc_fesetenv): Remove.
53439         (libc_feupdateenv_test): Remove.
53440         (libc_feupdateenv, libc_feholdsetround): Remove.
53441         (libc_feresetround): Remove.
53443         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53444         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53446         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53447         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53448         (libc_feupdateenv_testl): New.
53449         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53450         (libc_feupdateenv_testf): New.
53451         (libc_feupdateenv): Use libc_feupdateenv_test.
53452         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53453         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53455         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53456         (libc_feholdsetroundf, libc_feholdsetroundl): New.
53457         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53458         (libc_feresetround_noex): New.
53459         (libc_feresetround_noexf): New.
53460         (libc_feresetround_noexl): New.
53461         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53462         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53463         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53464         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53465         SET_RESTORE_ROUND.
53466         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53467         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53468         (__cos): Likewise.
53469         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53470         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53471         SET_RESTORE_ROUND_NOEX.
53472         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53473         SET_RESTORE_ROUND_NOEXF.
53474         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53475         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53476         (libc_feholdsetroundf): New.
53477         (libc_feresetround, libc_feresetroundf): New.
53479         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53480         (libc_feholdexcept_setround_53bit): Convert from macro to function.
53481         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
53483         * sysdeps/generic/math_private.h: Include <fenv.h>.
53484         (default_libc_feholdexcept): New.
53485         (default_libc_feholdexcept_setround): New.
53486         (default_libc_fesetenv, default_libc_feupdateenv): New.
53487         (libc_feholdexcept): Only define if undefined.
53488         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53489         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53490         (libc_feholdexcept_setroundl): Likewise.
53491         (libc_feholdexcept_setround_53bit): Likewise.
53492         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53493         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53494         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53495         (libc_feupdateenv_53bit): Likewise.
53496         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53497         (libc_feholdexcept): Convert from macro to inline function.
53498         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53499         (libc_fesetenv, libc_feupdateenv): Likewise.
53501         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53502         not previously defined.
53503         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53504         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53505         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53506         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53507         * sysdeps/ieee754/flt-32/math_private.h: New file.
53508         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53509         math_private.h below SET_FLOAT_WORD.
53510         (__isnan, __isinf_ns, __finite): Remove.
53511         (__isnanf, __isinf_nsf, __finitef): Remove.
53513 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
53515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53517 2012-03-17  David S. Miller  <davem@davemloft.net>
53519         [BZ #6471]
53520         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53521         for 2.16.
53523 2012-03-16  David S. Miller  <davem@davemloft.net>
53525         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53526         warnings.
53528         [BZ #6471]
53529         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53530         properly.
53531         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53532         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53533         sysdep_routines when subdir is sysvipc.
53534         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53535         __getshmlba helper.
53537         * sysdeps/sparc/fpu/libm-test/ulps: Update.
53539 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53541         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53542         [__LP64__].
53544 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53546         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53547         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53548         (__lround): Renamed to ...
53549         (__llround): This.  Replace long int with long long int.
53550         Define lround functions as aliases of llround functions.
53551         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53553 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53555         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53556         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
53557         adresses to uintptr_t.  Replace "long int" and "unsigned long
53558         int" with "greg_t" on va_arg.
53560 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53562         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53563         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53565         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53566         Move e_machine check before EI_CLASS check.  Handle x32
53567         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53568         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53569         SKIP_EM_IA_64 and include
53570         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53572         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53573         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53574         (add_system_dir): New macro.
53576         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53577         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53579 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53581         [BZ #2551]
53582         [BZ #2552]
53583         [BZ #2553]
53584         [BZ #2554]
53585         [BZ #2562]
53586         [BZ #2563]
53587         [BZ #2565]
53588         [BZ #2566]
53589         [BZ #2576]
53590         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53591         (y0): Likewise.
53592         * math/w_j0f.c (j0f): Likewise.
53593         (y0f): Likewise.
53594         * math/w_j0l.c (__j0l): Likewise.
53595         (__y0l): Likewise.
53596         * math/w_j1.c (j1): Likewise.
53597         (y1): Likewise.
53598         * math/w_j1f.c (j1f): Likewise.
53599         (y1f): Likewise.
53600         * math/w_j1l.c (__j1l): Likewise.
53601         (__y1l): Likewise.
53602         * math/w_jn.c (jn): Likewise.
53603         (yn): Likewise.
53604         * math/w_jnf.c (jnf): Likewise.
53605         (ynf): Likewise.
53606         * math/w_jnl.c (__jnl): Likewise.
53607         (__ynl): Likewise.
53608         * math/libm-test.inc (j0_test): Add more tests.
53609         (j1_test): Likewise.
53610         (jn_test): Likewise.  Add trailing semicolon to existing test.
53611         (y0_test): Likewise.
53612         (y1_test): Likewise.
53613         * sysdeps/i386/fpu/libm-test-ulps: Update.
53614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53616         [BZ #13851]
53617         [BZ #13854]
53618         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
53619         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
53620         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
53621         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
53622         (__tanl): Set errno for infinite argument.
53623         * sysdeps/i386/fpu/mptan.c: Remove.
53624         * sysdeps/i386/fpu/s_tan.S: Likewise.
53625         * sysdeps/i386/fpu/s_tanl.S: Likewise.
53626         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
53627         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
53628         * math/libm-test.inc (tan_test): Add more tests and enable more
53629         tests for double and long double.
53630         * sysdeps/i386/fpu/libm-test-ulps: Update.
53631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53633 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
53635         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
53636         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
53638 2012-03-16  Roland McGrath  <roland@hack.frob.com>
53640         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
53641         * configure.in: Use it for both main tree and add-ons.
53642         * configure: Regenerated.
53644 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53646         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
53648 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53650         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
53651         in comment.
53653         [BZ #13851]
53654         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
53655         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
53656         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
53657         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
53658         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
53659         infinite argument.
53660         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
53661         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
53662         != 0 for prec == 2.
53663         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
53664         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53665         * sysdeps/i386/fpu/s_cosl.S: Likewise.
53666         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53667         * sysdeps/i386/fpu/s_sinl.S: Likewise.
53668         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53669         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53670         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53671         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53672         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53673         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53674         * math/libm-test.inc (cos_test): Add more tests and enable more
53675         tests for long double.
53676         (sin_test): Likewise.
53677         (sincos_test): Likewise.
53678         * sysdeps/i386/fpu/libm-test-ulps: Update.
53679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53681 2012-03-16  David S. Miller  <davem@davemloft.net>
53683         * sysdeps/sparc/fpu/math_private.h: New file.
53685 2012-03-15  David S. Miller  <davem@davemloft.net>
53687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53688         file.
53689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53691         file.
53692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53693         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53694         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53695         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53696         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53697         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53698         sysdep routines.
53699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53701         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53702         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53704         * sysdeps/sparc/sparc-ifunc.h: New file.
53705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53706         sparc-ifunc.h
53707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53709         Likewise.
53710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53711         Likewise.
53712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53716         Likewise.
53717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53722         Likewise.
53723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53724         Likewise.
53725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53729         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53730         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53731         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53732         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53733         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53734         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53735         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53736         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53737         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53738         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53739         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53740         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53741         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53742         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53743         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53744         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53745         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53746         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53747         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53748         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53750 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53752         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53753         scaling.
53754         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53756 2012-03-15  Andreas Jaeger  <aj@suse.de>
53758         [BZ #13852]
53759         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53760         ieee754/flt-32 implementation for sin, cos and sincos.
53761         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53762         * sysdeps/i386/fpu/s_cosf.S: Likewise.
53763         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53764         * sysdeps/i386/fpu/s_sinf.S: Likewise.
53765         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53766         ieee754/flt-32 implementation for tan.
53768         * math/libm-test.inc (cos_test): Enable some large input tests for
53769         float as well
53770         (sin_test): Likewise.
53771         (sincos_test): Likewise.
53772         (tan_test): Add tests for large input.
53774         * sysdeps/i386/fpu/libm-test-ulps: Update.
53776 2012-03-15  Andreas Jaeger  <aj@suse.de>
53778         [BZ #13658]
53779         * math/libm-test.inc (cos_test): Add more test cases.
53780         (sin_test): Likewise.
53781         (sincos_test): Likewise.
53783 2012-03-15  Andreas Jaeger  <aj@suse.de>
53785         [BZ #13837]
53786         * math/libm-test.inc (cos_test): Add a test case for large input
53787         value.
53788         (sin_test): Likewise.
53789         (sincos_test): Likewise.
53791 2012-03-15  Andreas Jaeger  <aj@suse.de>
53792             Joseph Myers  <joseph@codesourcery.com>
53794         [BZ #13658]
53795         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53796         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53797         * sysdeps/i386/fpu/branred.c: Likewise.
53798         * sysdeps/i386/fpu/dosincos.c: Likewise.
53799         * sysdeps/i386/fpu/mpa.c: Likewise.
53800         * sysdeps/i386/fpu/s_cos.S: Likewise.
53801         * sysdeps/i386/fpu/s_sin.S: Likewise.
53802         * sysdeps/i386/fpu/s_sincos.S: Likewise.
53803         * sysdeps/i386/fpu/sincos32.c: Likewise.
53805         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53806         Define.
53807         (libc_feupdateenv_53bit): Define.
53808         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53809         Define.
53810         (libc_feupdateenv_53bit): Define.
53812         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53813         53 bit (without extend i386 double precision).
53815         * math/libm-test.inc (sincos_test): Add tests for large input.
53816         (sin): Likewise.
53817         (cos): Likewise.
53819         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53821 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53825 2012-03-15  David S. Miller  <davem@davemloft.net>
53827         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53828         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53829         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53830         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53835         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53836         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53837         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53838         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53839         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53840         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53841         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53843         file.
53844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53846         file.
53847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53849         file.
53850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53852         file.
53853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53854         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53855         fmin/fmax sysdep routines.
53856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53858 2012-03-14  David S. Miller  <davem@davemloft.net>
53860         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53861         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53862         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53863         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53864         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53865         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53866         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53867         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53868         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53869         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53870         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53871         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53872         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53873         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53874         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53875         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53876         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53877         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53878         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53879         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53880         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53881         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53882         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53883         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53884         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53885         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53886         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53887         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53888         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53889         routines.
53890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53891         file.
53892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53894         file.
53895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53897         file.
53898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53900         file.
53901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53903         file.
53904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53906         file.
53907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53908         file.
53909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53910         file.
53911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53912         file.
53913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53914         New file.
53915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53916         file.
53917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53918         file.
53919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53921         file.
53922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53924         file.
53925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53927         file.
53928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53930         VIS3 routines.
53932         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53933         New file.
53935         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53937         * sysdeps/sparc/configure.in: New file.
53938         * sysdeps/sparc/configure: Generate.
53939         * configure.in (libc_cv_sparc_as_vis3): Substitute.
53940         * configure: Regenerate.
53941         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53942         * config.make.in (have-as-vis3): New.
53943         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53944         available use -Av9d instead of -Av9a.
53945         * sysdeps/sparc/sparc64/Makefile: Likewise.
53946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53948         New file.
53949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53950         file.
53951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53952         New file.
53953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53954         file.
53955         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53956         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53957         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53958         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53959         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53961         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53962         fzeros/fnegs to load 0x80000000 into a float register instead of
53963         using the stack.
53964         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53966 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53968         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53969         bits/syscall.h.
53970         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53971         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53972         ($(inst_includedir)/bits/syscall.h): Remove rule.
53973         ($(objpfx)bits/syscall.d): Include instead of
53974         $(objpfx)syscall-list.d.
53975         (generated): Change syscall-list.h and syscall-list.d to
53976         bits/syscall.h and bits/syscall.d.
53978 2012-03-14  Roland McGrath  <roland@hack.frob.com>
53980         [BZ #13846]
53981         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
53983 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53985         [BZ #13841]
53986         * math/s_csqrt.c: Include <float.h>.
53987         (__csqrt): Scale large or subnormal inputs.
53988         * math/s_csqrtf.c: Likewise.
53989         * math/s_csqrtl.c: Likewise.
53990         * math/libm-test.inc (csqrt_test): Add more tests.
53991         * sysdeps/i386/fpu/libm-test-ulps: Update.
53992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53994         [BZ #13840]
53995         * math/libm-test.inc (hypot_test): Add more tests.
53997 2012-03-13  David S. Miller  <davem@davemloft.net>
53999         [BZ #13840]
54000         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54001         double-precision for the calculation instead of scaling.
54003 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54005         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54006         manipulate bits before adding and subtracting TWO52[sx].
54007         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54008         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54009         Likewise.
54010         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54012 2012-03-13  David S. Miller  <davem@davemloft.net>
54014         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54015         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54016         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54017         rtld-global-offsets.h
54018         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54020         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54021         large parameters.
54023         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54025         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54026         'err' in the ifdef scope in which it is actually used.
54028         * nss/nss_db/db-init.c: Include string.h
54030 2012-03-12  David S. Miller  <davem@davemloft.net>
54032         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54033         masking out of the most significant byte of random value used.
54034         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54035         Fix coding style in previous change.
54037         * sysdeps/unix/sysv/linux/kernel-features.h
54038         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54039         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54040         expression.
54041         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54042         later.
54044 2012-03-11  David S. Miller  <davem@davemloft.net>
54046         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54047         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54048         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54049         for 'resultvar' otherwise things get truncated on 64-bit.
54051         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54052         Fix masking out of the most significant byte of random value used.
54054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54056 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54060 2012-03-09  David S. Miller  <davem@davemloft.net>
54062         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54063         variables with appropriate CPP guards.
54064         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54065         from the frame pointer, not the stack pointer.  Correct layout
54066         comments.  Fix test on resulting framesize and the management of
54067         the outregs buffer for pltexit.  Preserve floating point return
54068         values across _dl_call_pltexit call.
54069         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54070         framesize and the management of the outregs buffer for pltexit.
54071         Preserve floating point return values across _dl_call_pltexit
54072         call.
54073         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54074         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54075         (la_sparc64_gnu_pltexit): New functions.
54076         (print_exit): Fix format string for return register value.
54078 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54080         * sunrpc/Makefile (others): Add rpcgen.
54081         ($(objpfx)rpcgen): Remove special build rule and dependency on
54082         libc.
54083         * sunrpc/rpcgen.c: New file.
54085 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54087         [BZ #13673]
54088         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54089         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54090         * sysdeps/i386/crti.S: Likewise.
54091         * sysdeps/i386/crtn.S: Likewise.
54092         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54093         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54094         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54095         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54096         * sysdeps/sh/crti.S: Likewise.
54097         * sysdeps/sh/crtn.S: Likewise.
54098         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54100         [BZ #13673]
54101         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54102         with URL.
54103         * locale/programs/locfile-kw.gperf: Likewise.
54104         * locale/programs/charmap-kw.h: Regenerated.
54105         * locale/programs/locfile-kw.h: Likewise.
54107         [BZ #13673]
54108         * intl/plural.y: Replace FSF snail mail address with URL.
54109         * intl/plural.c: Regenerated.
54111 2012-03-09  Richard Henderson  <rth@twiddle.net>
54113         * include/math_private.h: Remove file.
54114         * math/math_private.h: Move file ...
54115         * sysdeps/generic/math_private.h: ... here.
54117         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54118         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54119         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54121         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54122         and <math_private.h>.
54123         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54124         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54125         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54126         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54127         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54128         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54129         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54130         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54131         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54132         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54133         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54134         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54135         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54136         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54137         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54138         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54139         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54140         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54141         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54142         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54143         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54144         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54145         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54146         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54147         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54148         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54149         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54150         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54151         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54152         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54153         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54154         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54155         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54156         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54157         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54158         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54159         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54160         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54161         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54162         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54163         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54164         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54165         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54166         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54167         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54168         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54169         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54170         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54171         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54172         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54173         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54174         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54175         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54176         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54177         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54178         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54179         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54180         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54181         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54182         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54183         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54184         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54185         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54186         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54187         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54188         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54189         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54190         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54191         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54192         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54193         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54194         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54195         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54196         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54197         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54198         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54199         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54200         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54201         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54202         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54203         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54204         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54205         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54206         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54207         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54208         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54209         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54210         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54211         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54212         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54213         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54214         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54215         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54216         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54217         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54218         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54219         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54220         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54221         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54222         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54223         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54224         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54225         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54226         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54227         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54228         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54229         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54230         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54231         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54232         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54233         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54234         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54235         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54236         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54237         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54238         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54239         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54240         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54241         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54242         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54243         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54244         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54245         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54246         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54247         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54248         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54249         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54250         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54251         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54252         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54253         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54254         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54255         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54256         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54257         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54258         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54259         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54260         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54261         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54262         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54263         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54264         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54265         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54266         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54267         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54268         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54269         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54270         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54271         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54272         * sysdeps/ieee754/k_standard.c: Likewise.
54273         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54274         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54275         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54276         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54277         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54278         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54279         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54280         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54281         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54282         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54283         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54284         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54285         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54286         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54287         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54288         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54289         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54290         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54291         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54292         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54293         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54294         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54295         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54296         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54297         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54298         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54299         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54300         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54301         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54302         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54303         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54304         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54305         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54306         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54307         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54308         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54309         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54310         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54311         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54312         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54313         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54314         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54315         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54316         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54317         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54318         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54319         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54320         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54321         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54322         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54323         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54324         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54325         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54326         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54327         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54328         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54329         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54330         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54331         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54332         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54333         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54334         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54335         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54336         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54337         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54338         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54339         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54340         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54341         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54342         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54343         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54344         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54345         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54346         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54347         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54348         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54349         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54350         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54351         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54352         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54353         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54354         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54355         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54356         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54357         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54358         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54359         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54360         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54361         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54362         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54363         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54364         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54365         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54366         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54367         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54368         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54369         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54370         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54371         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54372         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54373         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54374         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54375         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54376         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54377         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54378         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54379         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54380         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54381         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54382         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54383         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54384         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54385         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54386         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54387         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54388         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54389         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54390         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54391         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54392         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54393         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54394         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54395         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54396         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54397         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54398         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54399         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54400         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54401         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54402         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54403         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54404         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54405         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54406         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54407         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54408         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54409         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54410         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54411         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54412         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54413         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54414         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54415         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54416         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54417         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54418         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54419         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54420         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54421         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54422         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54423         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54424         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54425         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54426         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54427         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54428         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54429         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54430         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54431         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54432         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54433         * sysdeps/ieee754/s_lib_version.c: Likewise.
54434         * sysdeps/ieee754/s_matherr.c: Likewise.
54435         * sysdeps/ieee754/s_signgam.c: Likewise.
54436         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54437         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54438         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54439         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54440         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54441         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54442         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54443         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54444         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54445         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54446         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54447         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54448         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54449         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54450         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54451         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54452         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54453         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54454         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54455         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54456         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54458 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54460         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54461         * sunrpc/rpc_main.c: Likewise.
54462         * sunrpc/rpc_svcout.c: Likewise.
54464 2012-03-09  David S. Miller  <davem@davemloft.net>
54466         * include/math_private.h: New file.
54468 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54470         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54471         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54472         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54473         from <bits/socket_type.h>.
54474         (enum __socket_type): Don't define here.
54475         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54476         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54477         bits/socket_type.h.
54479         [BZ #13566]
54480         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54481         checking __USE_GNU.
54483         * Makerules ($(inst_includedir)/%.h): New rule.
54484         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54485         (install-others): Remove variable setting.
54486         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54488 2012-03-08  Richard Henderson  <rth@twiddle.net>
54490         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54491         from macro to inline function; merge with the
54492         !__LIBC_INTERNAL_MATH_INLINES version.
54493         (__ieee754_sqrtf): Likewise.
54495         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54496         to inline function.
54497         (__rintf, __floor, __floorf): Likewise.
54499         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54500         macro to inline function.
54501         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54503         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54504         not <math/math_private.h>.
54506 2012-03-08  David S. Miller  <davem@davemloft.net>
54508         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54509         copyright year.
54510         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54512 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
54514         * resolv/gai_misc.c (handle_requests): Fix struct timespec
54515         normalization.
54516         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54517         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54519 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
54521         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
54522         be defined individually, they must be defined as a block.  Define
54523         S for printing a string instead of hidint the different by using a
54524         macro for adding the 'l'.
54525         * stdio-common/tst-fphex-wide.c: Adjust.
54527 2012-03-07  Marek Polacek  <polacek@redhat.com>
54529         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54531 2012-03-08  Marek Polacek  <polacek@redhat.com>
54533         [BZ #13806]
54534         * stdio-common/Makefile (tests): Add tst-fphex-wide.
54535         * stdio-common/tst-fphex.c: Define a few macros to make the
54536         test reusable.  Use them.
54537         * stdio-common/tst-fphex-wide.c: New file.
54539 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
54541         [BZ #6911]
54542         * manual/macros.texi (gnusystems): New macro.
54543         (nongnusystems): Likewise.
54544         (gnulinuxhurdsystems): Likewise.
54545         (gnuhurdsystems): Likewise..
54546         (gnulinuxsystems): Likewise.
54547         * manual/charset.texi: Use new macros or @theglibc{} to refer to
54548         variants of the GNU system, not "GNU system".
54549         * manual/conf.texi: Likewise.
54550         * manual/errno.texi: Likewise.  Update example of errno macro
54551         expansion.
54552         * manual/filesys.texi: Likewise.
54553         (getumask): Document as specific to GNU/Hurd.
54554         * manual/install.texi: Likewise.  Reword some references to
54555         GNU/Linux.
54556         * manual/intro.texi: Likewise.
54557         * manual/io.texi: Likewise.
54558         (File Name Portability): Detail which constraints are inapplicable
54559         to all GNU systems and which are only inapplicable to GNU/Hurd.
54560         * manual/job.texi: Likewise.
54561         * manual/llio.texi: Likewise.
54562         (O_NOCTTY): Document as present on GNU/Linux.
54563         * manual/maint.texi: Likewise.
54564         * manual/memory.texi: Likewise.
54565         * manual/pattern.texi: Likewise.
54566         * manual/pipe.texi: Likewise.
54567         * manual/process.texi: Likewise.
54568         * manual/resource.texi: Likewise.
54569         (RUSAGE_CHILDREN): Remove statement about specifying a particular
54570         child on GNU/Hurd.
54571         * manual/setjmp.texi: Likewise.
54572         * manual/signal.texi: Likewise.
54573         * manual/startup.texi: Likewise.
54574         * manual/stdio.texi: Likewise.
54575         * manual/terminal.texi: Likewise.
54576         (ONLCR): Document as POSIX.
54577         (OXTABS): Document availability on GNU/Linux as XTABS.
54578         (ONOEOT): Document availability separately from other bits.
54579         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54580         * manual/time.texi: Likewise.
54581         * manual/users.texi: Likewise.
54582         * INSTALL: Regenerated.
54583         * sysdeps/gnu/errlist.c: Regenerated.
54585         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54586         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54587         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
54588         puts.
54589         * configure: Regenerated.
54591 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
54593         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54594         default includes instead of AC_HEADER_CHECK.
54595         * sysdeps/i386/configure: Regenerated.
54597         [BZ #10716]
54598         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54599         * math/s_cacoshf.c (__cacoshf): Likewise.
54600         * math/s_cacoshl.c (__cacoshl): Likewise.
54601         * math/s_casinh.c (__casinh): Set signs of result from argument.
54602         * math/s_casinhf.c (__casinhf): Likewise.
54603         * math/s_casinhl.c (__casinhl): Likewise.
54604         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
54605         (casinh_test): Add more tests.
54606         * sysdeps/i386/fpu/libm-test-ulps: Update.
54607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54609 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
54611         * po/zh_TW.po: Update from translation team.
54613         * login/Makefile (distribute): Remove variable.
54614         * catgets/Makefile: Likewise.
54615         * mach/Makefile: Likewise.
54616         * malloc/Makefile: Likewise.
54617         * misc/Makefile: Likewise.
54618         * iconv/Makefile: Likewise.
54619         * nscd/Makefile: Likewise.
54620         * hurd/Makefile: Likewise.
54621         * manual/Makefile: Likewise.
54622         * locale/Makefile: Likewise.
54623         * intl/Makefile: Likewise.
54624         * conform/Makefile: Likewise.
54625         * nss/Makefile: Likewise.
54626         * time/Makefile: Likewise.
54627         * soft-fp/Makefile: Likewise.
54628         * dirent/Makefile: Likewise.
54629         * gmon/Makefile: Likewise.
54630         * po/Makefile: Likewise.
54631         * rt/Makefile: Likewise.
54632         * socket/Makefile: Likewise.
54633         * math/Makefile: Likewise.
54634         * signal/Makefile: Likewise.
54635         * debug/Makefile: Likewise.
54636         * elf/Makefile: Likewise.
54637         * timezone/Makefile: Likewise.
54638         * stdlib/Makefile: Likewise.
54639         * iconvdata/Makefile: Likewise.
54640         * sunrpc/Makefile: Likewise.
54641         * io/Makefile: Likewise.
54642         * argp/Makefile: Likewise.
54643         * inet/Makefile: Likewise.
54644         * hesiod/Makefile: Likewise.
54645         * grp/Makefile: Likewise.
54646         * csu/Makefile: Likewise.
54647         * wctype/Makefile: Likewise.
54648         * crypt/Makefile: Likewise.
54649         * libio/Makefile: Likewise.
54650         * string/Makefile: Likewise.
54651         * nis/Makefile: Likewise.
54652         * resolv/Makefile: Likewise.
54653         * stdio-common/Makefile: Likewise.
54654         * wcsmbs/Makefile: Likewise.
54655         * dlfcn/Makefile: Likewise.
54656         * posix/Makefile: Likewise.
54658         [BZ #6959]
54659         * timezone/Makefile: Don't install timezone files, just the programs
54660         and scripts.
54662 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
54664         * nss/databases.def: Add missing gshadow entry.
54666         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
54668 2012-03-06  Marek Polacek  <polacek@redhat.com>
54670         [BZ #13726]
54671         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54672         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54673         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54674         * stdio-common/tst-long-dbl-fphex.c: New file.
54676 2012-03-06  David S. Miller  <davem@davemloft.net>
54678         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54679         (set_obp_int): New function.
54680         (get_obp_int): New function.
54681         (__get_clockfreq_via_dev_openprom): Likewise.
54682         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54683         Avoid unused variable warnings on 'val' and use builtin_expect.
54684         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54685         __builtin_expect.
54686         (INLINE_CLONE_SYSCALL): Likewise.
54688 2012-03-05  David S. Miller  <davem@davemloft.net>
54690         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54692 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
54694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54696         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54697         only for |x| >= 40.
54698         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54700 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
54702         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54703         Replace gettimeofday with __vdso_gettimeofday.
54705         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54706         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54707         __vdso_clock_gettime and __vdso_getcpu.
54709         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54710         time with __vdso_time.
54712 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54714         * manual/lang.texi (size_t): Note types to which size_t may be
54715         equivalent with the GNU C Library, but do not describe when
54716         differences between them are significant.
54718 2012-03-05  Andreas Jaeger  <aj@suse.de>
54720         * sysdeps/i386/fpu/libm-test-ulps: Update.
54722 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54724         [BZ #3976]
54725         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54726         (__ieee754_pow): Save and restore rounding mode and use
54727         round-to-nearest for main computations.
54728         * math/libm-test.inc (pow_test_tonearest): New function.
54729         (pow_test_towardzero): Likewise.
54730         (pow_test_downward): Likewise.
54731         (pow_test_upward): Likewise.
54732         (main): Call the new functions.
54733         * sysdeps/i386/fpu/libm-test-ulps: Update.
54734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54736         [BZ #3976]
54737         * math/libm-test.inc (cosh_test_tonearest): New function.
54738         (cosh_test_towardzero): Likewise.
54739         (cosh_test_downward): Likewise.
54740         (cosh_test_upward): Likewise.
54741         (sinh_test_tonearest): Likewise.
54742         (sinh_test_towardzero): Likewise.
54743         (sinh_test_downward): Likewise.
54744         (sinh_test_upward): Likewise.
54745         (main): Call the new functions.
54746         * sysdeps/i386/fpu/libm-test-ulps: Update.
54747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54749 2012-03-05  Tom de Vries  <tom@codesourcery.com>
54751         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54752         default stack guard is set in last bytes.
54753         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54755 2012-03-05  Kees Cook  <keescook@chromium.org>
54757         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54759         [BZ #13656]
54760         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54761         possibly allocate from heap instead of stack.
54762         * stdio-common/bug-vfprintf-nargs.c: New file.
54763         * stdio-common/Makefile (tests): Add nargs overflow test.
54765 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
54767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54769 2012-03-03  Marek Polacek  <polacek@redhat.com>
54771         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54772         * math/math_private.h: Likewise.
54773         * stdlib/tst-strtod.c: Likewise.
54774         * sysdeps/i386/i486/bits/atomic.h: Likewise.
54775         * sysdeps/x86_64/bits/atomic.h: Likewise.
54777 2012-03-02  David S. Miller  <davem@davemloft.net>
54779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54783         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54784         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54785         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54786         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54788 2012-03-02  Roland McGrath  <roland@hack.frob.com>
54790         [BZ #13792]
54791         * manual/examples/README: New file, says the example source files
54792         can be used under GPL>=2.
54793         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54794         line containing just "*/".
54795         * manual/examples/add.c: Add copyright header (GPL>=2).
54796         * manual/examples/argp-ex1.c: Likewise.
54797         * manual/examples/argp-ex2.c: Likewise.
54798         * manual/examples/argp-ex3.c: Likewise.
54799         * manual/examples/argp-ex4.c: Likewise.
54800         * manual/examples/atexit.c: Likewise.
54801         * manual/examples/db.c: Likewise.
54802         * manual/examples/dir.c: Likewise.
54803         * manual/examples/dir2.c: Likewise.
54804         * manual/examples/execinfo.c: Likewise.
54805         * manual/examples/filecli.c: Likewise.
54806         * manual/examples/filesrv.c: Likewise.
54807         * manual/examples/fmtmsgexpl.c: Likewise.
54808         * manual/examples/genpass.c: Likewise.
54809         * manual/examples/inetcli.c: Likewise.
54810         * manual/examples/inetsrv.c: Likewise.
54811         * manual/examples/isockad.c: Likewise.
54812         * manual/examples/longopt.c: Likewise.
54813         * manual/examples/memopen.c: Likewise.
54814         * manual/examples/memstrm.c: Likewise.
54815         * manual/examples/mkfsock.c: Likewise.
54816         * manual/examples/mkisock.c: Likewise.
54817         * manual/examples/mygetpass.c: Likewise.
54818         * manual/examples/pipe.c: Likewise.
54819         * manual/examples/popen.c: Likewise.
54820         * manual/examples/rprintf.c: Likewise.
54821         * manual/examples/search.c: Likewise.
54822         * manual/examples/select.c: Likewise.
54823         * manual/examples/setjmp.c: Likewise.
54824         * manual/examples/sigh1.c: Likewise.
54825         * manual/examples/sigusr.c: Likewise.
54826         * manual/examples/stpcpy.c: Likewise.
54827         * manual/examples/strdupa.c: Likewise.
54828         * manual/examples/strftim.c: Likewise.
54829         * manual/examples/strncat.c: Likewise.
54830         * manual/examples/subopt.c: Likewise.
54831         * manual/examples/swapcontext.c: Likewise.
54832         * manual/examples/termios.c: Likewise.
54833         * manual/examples/testopt.c: Likewise.
54834         * manual/examples/testpass.c: Likewise.
54835         * manual/examples/timeval_subtract.c: Likewise.
54837         [BZ #13792]
54838         * manual/time.texi (Elapsed Time): Move timeval_subtract example
54839         function to ...
54840         * manual/timeval_subtract.c.texi: ... here, new file.
54842 2012-03-02  David S. Miller  <davem@davemloft.net>
54844         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54846 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
54848         [BZ #3976]
54849         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54850         (__sin): Save and restore rounding mode and use round-to-nearest
54851         for all computations.
54852         (__cos): Save and restore rounding mode and use round-to-nearest
54853         for all computations.
54854         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54855         <fenv.h>.
54856         (tan): Save and restore rounding mode and use round-to-nearest for
54857         all computations.
54858         * math/libm-test.inc (cos_test_tonearest): New function.
54859         (cos_test_towardzero): Likewise.
54860         (cos_test_downward): Likewise.
54861         (cos_test_upward): Likewise.
54862         (sin_test_tonearest): Likewise.
54863         (sin_test_towardzero): Likewise.
54864         (sin_test_downward): Likewise.
54865         (sin_test_upward): Likewise.
54866         (tan_test_tonearest): Likewise.
54867         (tan_test_towardzero): Likewise.
54868         (tan_test_downward): Likewise.
54869         (tan_test_upward): Likewise.
54870         (main): Call the new functions.
54871         * sysdeps/i386/fpu/libm-test-ulps: Update.
54872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54874         [BZ #10135]
54875         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54876         small n, then large n, before computing and testing k+n.
54877         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54878         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54879         Likewise.
54880         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54881         Likewise.
54882         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54883         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54884         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54885         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54886         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54887         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54888         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54889         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54890         * math/libm-test.inc (scalbn_test): Add more tests.
54891         (scalbln_test): Likewise.
54893         * manual/filesys.texi (mode_t): Describe constraints on size and
54894         signedness, not exact equivalence to a particular type.
54895         (ino_t): Likewise.
54896         (ino64_t): Likewise.
54897         (dev_t): Likewise.
54898         (nlink_t): Likewise.
54899         (blkcnt_t): Likewise.
54900         (blkcnt64_t): Likewise.
54901         * manual/llio.texi (off_t): Likewise.
54903         [BZ #3976]
54904         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54905         (__ieee754_exp): Save and restore rounding mode and use
54906         round-to-nearest for all computations.
54907         * math/libm-test.inc (exp_test_tonearest): New function.
54908         (exp_test_towardzero): Likewise.
54909         (exp_test_downward): Likewise.
54910         (exp_test_upward): Likewise.
54911         (main): Call the new functions.
54912         * sysdeps/i386/fpu/libm-test-ulps: Update.
54913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54915 2012-03-01  Chris Demetriou  <cgd@google.com>
54917         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54918         have predictable order.
54920 2012-03-01  David S. Miller  <davem@davemloft.net>
54922         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54924         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54925         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54926         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54927         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54929         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54930         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54931         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54933         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54934         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54935         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54936         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54937         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54941         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54942         * sysdeps/sparc/fpu/libm-test-ulps: to here.
54943         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54945         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54946         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54947         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54948         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54949         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54950         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54951         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54952         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54953         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54954         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54955         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54956         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54957         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54958         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54959         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54960         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54961         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54962         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54963         * sysdeps/sparc/elf/configure: Regenerated.
54965 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
54967         * configure.in (AS, LD): Require binutils 2.20 or later.
54968         * configure: Regenerated.
54969         * manual/install.texi (Tools for Compilation): Give binutils 2.20
54970         as required minimum version.
54971         * INSTALL: Regenerated.
54973         [BZ #2541]
54974         [BZ #4108]
54975         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54976         before squaring exponent.
54977         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54978         bottom long double and 27 bits of top long double before squaring
54979         exponent.
54980         * math/libm-test.inc (erfc_test): Add more tests.
54981         * sysdeps/i386/fpu/libm-test-ulps: Update.
54982         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54985 2012-03-01  Kai Tietz  <ktietz@redhat.com>
54987         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
54988         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
54989         containing bit-fields.
54990         * soft-fp/extended.h (_FP_UNION_E): Likewise.
54991         * soft-fp/single.h (_FP_UNION_S): Likewise.
54992         * soft-fp/double.h (_FP_UNION_D): Likewise.
54994 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54996         [BZ #13786]
54997         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
54998         not include ../strcmp.S.
54999         [USE_AS_STRNCASECMP_L]: Likewise.
55000         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55001         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55002         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55003         (__strncasecmp_l_ia32): Define as alias to
55004         __strncasecmp_l_nonascii.
55006         [BZ #5794]
55007         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55008         * sysdeps/i386/fpu/libm-test-ulps: Update.
55009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55011         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55014 2012-02-29  Jeff Law  <law@redhat.com>
55016         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55017         out of bounds read.
55019 2012-02-29  Marek Polacek  <polacek@redhat.com>
55021         [BZ #13706]
55022         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55023         * elf/Makefile: Add rules to run tst-unused-dep.out.
55025 2012-02-28  David S. Miller  <davem@davemloft.net>
55027         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55028         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55029         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55030         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55031         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55032         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55034 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55036         * math/libm-test.inc (llround_test): Move one test from
55037         lround_test.  Use TEST_f_L in moved test.
55038         (lround_test): Move misplaced test to llround_test.  Add testcase
55039         from bug 2561.
55041 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55043         * sysdeps/x86_64/fpu/e_expf.S: New file.
55044         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55046 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55048         [BZ #13637]
55049         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55050         of remain_len that may cause incomplete multi-byte character and
55051         false match.
55052         * posix/bug-regex33.c: New file.
55053         * posix/Makefile (tests): Add bug-regex33.
55055 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55057         * manual/macros.texi: New file.
55058         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55059         * manual/libc.texinfo: Include macros.texi.
55060         * manual/creatute.texi: Likewise.
55061         * manual/install.texi: Likewise.
55062         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55063         @glibcadj{} in references to the GNU C Library.
55064         * manual/charset.texi: Likewise.
55065         * manual/conf.texi: Likewise.
55066         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55067         when not using those macros.
55068         * manual/creature.texi: Likewise.
55069         * manual/crypt.texi: Likewise.
55070         * manual/errno.texi: Likewise.
55071         * manual/filesys.texi: Likewise.
55072         * manual/header.texi: Likewise.
55073         * manual/install.texi: Likewise.
55074         * manual/intro.texi: Likewise.
55075         * manual/io.texi: Likewise.
55076         * manual/job.texi: Likewise.
55077         * manual/lang.texi: Likewise.
55078         * manual/libc.texiinfo: Likewise.
55079         * manual/llio.texi: Likewise.
55080         * manual/locale.texi: Likewise.
55081         * manual/maint.texi: Likewise.
55082         * manual/math.texi: Likewise.
55083         * manual/memory.texi: Likewise.
55084         * manual/message.texi: Likewise.
55085         * manual/nss.texi: Likewise.
55086         * manual/pattern.texi: Likewise.
55087         * manual/process.texi: Likewise.
55088         * manual/resource.texi: Likewise.
55089         * manual/search.texi: Likewise.
55090         * manual/setjmp.texi: Likewise.
55091         * manual/signal.texi: Likewise.
55092         * manual/socket.texi: Likewise.
55093         * manual/startup.texi: Likewise.
55094         * manual/stdio.texi: Likewise.
55095         * manual/string.texi: Likewise.
55096         * manual/sysinfo.texi: Likewise.
55097         * manual/syslog.texi: Likewise.
55098         * manual/terminal.texi: Likewise.
55099         * manual/time.texi: Likewise.
55100         * manual/users.texi: Likewise.
55101         * INSTALL: Regenerated.
55102         * NOTES: Regenerated.
55103         * sysdeps/gnu/errlist.c: Regenerated.
55105 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55107         * include/dirent.h: Include <dirstream.h> before
55108         <dirent/dirent.h>.
55110 2012-02-28  David S. Miller  <davem@davemloft.net>
55112         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55113         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55114         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55115         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55117 2012-02-27  David S. Miller  <davem@davemloft.net>
55119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55121         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55122         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55125         frame pointer instead of stack pointer relative arg slot.
55126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55127         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55128         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55130 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55132         [BZ #3992]
55133         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55135 2012-02-27  David S. Miller  <davem@davemloft.net>
55137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55141         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55142         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55143         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55144         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55146 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55148         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55149         later.  Allow versions 5-9.
55150         * configure: Regenerated.
55151         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55152         required minimum version and 4.6 as recommended version.  Do not
55153         mention bugs in GCC 2.7 and 2.8.
55154         * INSTALL: Regenerated.
55156 2012-02-27  David S. Miller  <davem@davemloft.net>
55158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55160         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55162         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55163         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55164         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55165         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55167         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55168         manipulate bits before adding and subtracting TWO112[sx].
55169         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55171 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55173         [BZ #13775]
55174         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55175         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55176         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55177         being in POSIX, because they are in 1003.1-2008.
55179         * rt/tst-aio.c: Include <fcntl.h>.
55180         * rt/tst-aio7.c: Likewise.
55181         * rt/tst-aio64.c: Likewise.
55183         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55185 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55187         * manual/install.texi (--with-headers): Describe headers as
55188         interface headers, not private headers.
55189         (Specific advice for GNU/Linux systems): Describe use of headers
55190         from "make headers_install", not private headers from older
55191         kernels.
55192         * INSTALL: Regenerated.
55193         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55194         Change to 2.6.19.
55195         * sysdeps/unix/sysv/linux/configure: Regenerated.
55197         * manual/llio.texi (fclean): Remove documentation.
55199         * manual/Makefile (libc-texi-generated): New variable.  Include
55200         version.texi.
55201         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55202         $(libc-texi-generated), not duplicated list of files.
55203         (version.texi, stamp-version): New rules.
55204         (realclean): Remove $(libc-texi-generated), not individual files
55205         from that list.  Do not remove dir-add.texinfo.
55206         * manual/libc.texinfo: Comment out uses of edition numbers and
55207         references to printed manual.  Remove last-updated dates.
55208         (EDITION): Comment out.
55209         (ISBN): Likewise.
55210         (VERSION, UPDATED): Remove.
55211         (version.texi): Include.
55213 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55215         * sysdeps/posix/spawni.c: Include <signal.h>.
55216         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55217         * sysdeps/pthread/aio_fsync.c: Likewise.
55219 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55221         * conform/Makefile (tests): Run only when not cross-compiling and
55222         when fast-check is not defined.
55224         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55225         * conform/data/limits.h-data: Fixes for POSIX2008.
55226         * conform/run-conformtest.sh: Run all tests.
55227         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55228         headers.
55229         * include/bits/dlfcn.h: Likewise.
55230         * include/langinfo.h: Likewise.
55231         * include/monetary.h: Likewise.
55232         * include/sys/poll.h: Likewise.
55234         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55235         for __USE_GNU.
55236         * posix/spawn.h: Define __need_sigset_t.
55237         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55238         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55239         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55240         to get sigevent_t only.
55241         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55242         only for __USE_GNU.
55243         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55244         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55245         process_vm_writev only for __USE_GNU.
55246         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55248         * conform/Makefile: For now ignore errors from run-conformtest.
55249         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55250         POSIX to avoid namespace pollution.  Don't prepend headers.
55251         * conform/data/aio.h-data: Fixes for POSIX testing.
55252         * conform/data/fcntl.h-data: Likewise.
55253         * conform/data/glob.h-data: Likewise.
55254         * conform/data/grp.h-data: Likewise.
55255         * conform/data/pthread.h-data: Likewise.
55256         * conform/data/pwd.h-data: Likewise.
55257         * conform/data/signal.h-data: Likewise.
55258         * conform/data/spawn.h-data: Likewise.
55259         * conform/data/stdio.h-data: Likewise.
55260         * conform/data/stdlib.h-data: Likewise.
55261         * conform/data/stropts.h-data: Likewise.
55262         * conform/data/sys/mman.h-data: Likewise.
55263         * conform/data/sys/stat.h-data: Likewise.
55264         * conform/data/sys/types.h-data: Likewise.
55265         * conform/data/sys/wait.h-data: Likewise.
55266         * conform/data/time.h-data: Likewise.
55267         * conform/data/unistd.h-data: Likewise.
55268         * conform/data/utime.h-data: Likewise.
55270         * io/sys/stat.h: fchmod was always in POSIX.
55271         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55272         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55273         * rt/aio.h: Define __need_timespec before including <time.h>.
55274         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55275         struct.  Add forward declaration of pthread_attr_t and use it in
55276         sigevent.
55277         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55278         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55279         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55280         always remove CLK_TCK definition.
55282 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55284         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55286 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55288         * conform/run-conformtest.sh: New file.
55289         * conform/Makefile: Run run-conformtest for tests.
55290         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55291         support.
55293         * conform/data/uchar.h-data: New file.
55294         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55295         * conform/data/arpa/inet.h-data: Likewise.
55296         * conform/data/assert.h-data: Likewise.
55297         * conform/data/complex.h-data: Likewise.
55298         * conform/data/cpio.h-data: Likewise.
55299         * conform/data/ctype.h-data: Likewise.
55300         * conform/data/dirent.h-data: Likewise.
55301         * conform/data/dlfcn.h-data: Likewise.
55302         * conform/data/errno.h-data: Likewise.
55303         * conform/data/fcntl.h-data: Likewise.
55304         * conform/data/float.h-data: Likewise.
55305         * conform/data/fmtmsg.h-data: Likewise.
55306         * conform/data/fnmatch.h-data: Likewise.
55307         * conform/data/ftw.h-data: Likewise.
55308         * conform/data/glob.h-data: Likewise.
55309         * conform/data/grp.h-data: Likewise.
55310         * conform/data/iconv.h-data: Likewise.
55311         * conform/data/inttypes.h-data: Likewise.
55312         * conform/data/langinfo.h-data: Likewise.
55313         * conform/data/libgen.h-data: Likewise.
55314         * conform/data/limits.h-data: Likewise.
55315         * conform/data/locale.h-data: Likewise.
55316         * conform/data/math.h-data: Likewise.
55317         * conform/data/monetary.h-data: Likewise.
55318         * conform/data/mqueue.h-data: Likewise.
55319         * conform/data/ndbm.h-data: Likewise.
55320         * conform/data/net/if.h-data: Likewise.
55321         * conform/data/netdb.h-data: Likewise.
55322         * conform/data/netinet/in.h-data: Likewise.
55323         * conform/data/nl_types.h-data: Likewise.
55324         * conform/data/poll.h-data: Likewise.
55325         * conform/data/pthread.h-data: Likewise.
55326         * conform/data/pwd.h-data: Likewise.
55327         * conform/data/regex.h-data: Likewise.
55328         * conform/data/sched.h-data: Likewise.
55329         * conform/data/search.h-data: Likewise.
55330         * conform/data/semaphore.h-data: Likewise.
55331         * conform/data/setjmp.h-data: Likewise.
55332         * conform/data/signal.h-data: Likewise.
55333         * conform/data/spawn.h-data: Likewise.
55334         * conform/data/stdarg.h-data: Likewise.
55335         * conform/data/stdio.h-data: Likewise.
55336         * conform/data/stdlib.h-data: Likewise.
55337         * conform/data/string.h-data: Likewise.
55338         * conform/data/strings.h-data: Likewise.
55339         * conform/data/stropts.h-data: Likewise.
55340         * conform/data/sys/ipc.h-data: Likewise.
55341         * conform/data/sys/mman.h-data: Likewise.
55342         * conform/data/sys/msg.h-data: Likewise.
55343         * conform/data/sys/resource.h-data: Likewise.
55344         * conform/data/sys/select.h-data: Likewise.
55345         * conform/data/sys/sem.h-data: Likewise.
55346         * conform/data/sys/shm.h-data: Likewise.
55347         * conform/data/sys/socket.h-data: Likewise.
55348         * conform/data/sys/stat.h-data: Likewise.
55349         * conform/data/sys/statvfs.h-data: Likewise.
55350         * conform/data/sys/time.h-data: Likewise.
55351         * conform/data/sys/timeb.h-data: Likewise.
55352         * conform/data/sys/times.h-data: Likewise.
55353         * conform/data/sys/types.h-data: Likewise.
55354         * conform/data/sys/uio.h-data: Likewise.
55355         * conform/data/sys/un.h-data: Likewise.
55356         * conform/data/sys/utsname.h-data: Likewise.
55357         * conform/data/sys/wait.h-data: Likewise.
55358         * conform/data/syslog.h-data: Likewise.
55359         * conform/data/tar.h-data: Likewise.
55360         * conform/data/termios.h-data: Likewise.
55361         * conform/data/utime.h-data: Likewise.
55362         * conform/data/utmpx.h-data: Likewise.
55363         * conform/data/varargs.h-data: Likewise.
55364         * conform/data/wchar.h-data: Likewise.
55365         * conform/data/wctype.h-data: Likewise.
55366         * conform/data/wordexp.h-data: Likewise.
55368         * include/stropts.h: New file.
55369         * include/uchar.h: New file.
55370         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55371         * include/assert.h: Likewise.
55372         * include/ctype.h: Likewise.
55373         * include/dirent.h: Likewise.
55374         * include/dlfcn.h: Likewise.
55375         * include/fcntl.h: Likewise.
55376         * include/fnmatch.h: Likewise.
55377         * include/glob.h: Likewise.
55378         * include/grp.h: Likewise.
55379         * include/libio.h: Likewise.
55380         * include/locale.h: Likewise.
55381         * include/math.h: Likewise.
55382         * include/net/if.h: Likewise.
55383         * include/netdb.h: Likewise.
55384         * include/netinet/in.h: Likewise.
55385         * include/pthread.h: Likewise.
55386         * include/pwd.h: Likewise.
55387         * include/regex.h: Likewise.
55388         * include/sched.h: Likewise.
55389         * include/search.h: Likewise.
55390         * include/setjmp.h: Likewise.
55391         * include/signal.h: Likewise.
55392         * include/stdio.h: Likewise.
55393         * include/stdlib.h: Likewise.
55394         * include/string.h: Likewise.
55395         * include/sys/cdefs.h: Likewise.
55396         * include/sys/mman.h: Likewise.
55397         * include/sys/msg.h: Likewise.
55398         * include/sys/resource.h: Likewise.
55399         * include/sys/select.h: Likewise.
55400         * include/sys/socket.h: Likewise.
55401         * include/sys/stat.h: Likewise.
55402         * include/sys/statvfs.h: Likewise.
55403         * include/sys/time.h: Likewise.
55404         * include/sys/times.h: Likewise.
55405         * include/sys/uio.h: Likewise.
55406         * include/sys/utsname.h: Likewise.
55407         * include/sys/wait.h: Likewise.
55408         * include/termios.h: Likewise.
55409         * include/time.h: Likewise.
55410         * include/ulimit.h: Likewise.
55411         * include/unistd.h: Likewise.
55412         * include/utime.h: Likewise.
55413         * include/wchar.h: Likewise.
55414         * include/wctype.h: Likewise.
55415         * include/wordexp.h: Likewise.
55417         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55419         * time/time.h: TIME_UTC must be a macro.
55420         Make timespec_get available for ISO C11 only as well.
55422 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55424         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55425         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55427 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55429         * configure.in: Use -o not -a in test for unsupported multi-arch.
55431 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55433         * manual/texinfo.tex: Update to version 2012-01-19.16.
55435 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55437         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55439 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55441         [BZ #13738]
55442         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55443         * manual/fdl-1.3.texi: New file.
55444         * manual/fdl-1.1.texi: File removed.
55446         [BZ #13738]
55447         * manual/libc.texinfo (FDL_VERSION): New @set.
55448         Use it for mention of FDL in cover text.
55449         (Documentation License): Use it in @include file name.
55451 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55452             Roland McGrath  <roland@hack.frob.com>
55454         [BZ #5461]
55455         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55456         (not LONG_LONG_MAX and LONG_LONG_MIN.
55457         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55458         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
55459         name.
55460         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55462 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55464         [BZ #2547]
55465         [BZ #11365]
55466         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55467         manipulate bits before adding and subtracting TWO23[sx].
55468         * math/libm-test.inc (nearbyint_test): Add more tests.
55470 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55472         [BZ #2548]
55473         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55474         bits before adding and subtracting TWO23[sx].
55475         * math/libm-test.inc (rint_test): Add more tests.
55476         (rint_test_tonearest): Likewise.
55477         (rint_test_towardzero): Likewise.
55478         (rint_test_downward): Likewise.
55479         (rint_test_upward: Likewise.
55481 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55483         [BZ #10110]
55484         * include/stdc-predef.h: New file.  Extracted from features.h.
55485         * include/features.h: Include stdc-predef.h.
55486         * Makefile (headers): Add stdc-predef.h.
55487         * CONFORMANCE (Compiler limitations): Update.
55489 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55491         * manual/libc.texinfo (VERSION, UPDATED): Revert.
55493 2012-02-21  David S. Miller  <davem@davemloft.net>
55495         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55496         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55498 2012-02-20  David S. Miller  <davem@davemloft.net>
55500         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55501         using a normal save/restore sequence, rather than allocating a
55502         dummy stack frame just to store a frame pointer and restore.
55503         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55505 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55507         * manual/install.texi: Fix stray word in line-wrapped comment.
55509 2012-02-20  David S. Miller  <davem@davemloft.net>
55511         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55512         both binutils and gcc support GOTDATA.
55514         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55515         "rd %pc" in the PIC register setup sequences.
55517         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55518         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55519         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55520         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55521         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55522         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55523         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55524         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55525         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55526         (SYSCALL_ERROR_HANDLER): Likewise.
55527         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55528         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55529         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55530         (SYSCALL_ERROR_HANDLER): Likewise.
55532         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55533         (HAVE_GCC_GOTDATA): New.
55534         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55535         relocation support in both binutils and gcc.
55536         * sysdeps/sparc/elf/configure: Regenerate.
55538         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55539         * sysdeps/sparc/sparc32/elf/configure: Delete.
55540         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55541         * sysdeps/sparc/sparc64/elf/configure: Delete.
55542         * sysdeps/sparc/elf/configure.in: New file.
55543         * sysdeps/sparc/elf/configure: Generate.
55545         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55546         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55547         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55548         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55549         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55551 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55553         * manual/install.texi: Do not mention specific glibc version
55554         numbers.
55555         * manual/libc.texinfo (VERSION, UPDATED): Update.
55556         (@copying): Use @copyright{} and range of years.
55558 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55560         [BZ #13695]
55561         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55562         [crti.S not in sysdirs] (generated): Do not append.
55563         [crti.S not in sysdirs] (omit-deps): Likewise.
55564         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55565         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55566         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55567         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55568         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55569         Likewise.
55570         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55571         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55572         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55573         * csu/defs.awk: Remove file.
55574         * sysdeps/generic/initfini.c: Likewise.
55575         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55576         variable.
55577         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55578         Likewise.
55580 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55582         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55583         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55584         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55585         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55586         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55587         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55588         <bits/epoll.h>.
55589         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55590         (__EPOLL_PACKED): Define to empty if not defined by
55591         <bits/epoll.h>.
55592         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55593         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55594         bits/epoll.h.
55596 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55598         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55599         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55600         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55601         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
55602         <bits/timerfd.h>.
55603         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
55604         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55605         bits/timerfd.h.
55607 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55609         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
55610         in C locale.
55611         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55612         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55613         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
55614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55616 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
55618         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55619         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55621 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
55623         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
55624         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
55625         defined.
55626         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
55627         Likewise.
55628         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
55629         entry for 2.16.
55631 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
55633         * math/w_acos.c: Use non-signaling floating-point comparisons.
55634         * math/w_acosf.c: Likewise.
55635         * math/w_acosh.c: Likewise.
55636         * math/w_acoshf.c: Likewise.
55637         * math/w_acoshl.c: Likewise.
55638         * math/w_acosl.c: Likewise.
55639         * math/w_asin.c: Likewise.
55640         * math/w_asinf.c: Likewise.
55641         * math/w_asinl.c: Likewise.
55642         * math/w_atanh.c: Likewise.
55643         * math/w_atanhf.c: Likewise.
55644         * math/w_atanhl.c: Likewise.
55645         * math/w_exp2.c: Likewise.
55646         * math/w_exp2f.c: Likewise.
55647         * math/w_exp2l.c: Likewise.
55648         * math/w_j0.c: Likewise.
55649         * math/w_j0f.c: Likewise.
55650         * math/w_j0l.c: Likewise.
55651         * math/w_j1.c: Likewise.
55652         * math/w_j1f.c: Likewise.
55653         * math/w_j1l.c: Likewise.
55654         * math/w_jn.c: Likewise.
55655         * math/w_jnf.c: Likewise.
55656         * math/w_log.c: Likewise.
55657         * math/w_log10.c: Likewise.
55658         * math/w_log10f.c: Likewise.
55659         * math/w_log10l.c: Likewise.
55660         * math/w_log2.c: Likewise.
55661         * math/w_log2f.c: Likewise.
55662         * math/w_log2l.c: Likewise.
55663         * math/w_logf.c: Likewise.
55664         * math/w_logl.c: Likewise.
55665         * math/w_sqrt.c: Likewise.
55666         * math/w_sqrtf.c: Likewise.
55667         * math/w_sqrtl.c: Likewise.
55668         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55669         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55670         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55671         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55672         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55674 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55676         [BZ #9739]
55677         * manual/string.texi (strnlen): Use correct parameter name in
55678         equivalent expression.
55680 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55682         [BZ #11174]
55683         * manual/users.texi (seteuid): Consistently use neweuid for
55684         argument name.
55686 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55688         [BZ #13704]
55689         * manual/nss.texi (Services in the NSS configuration): Correct
55690         list of services in example configuration file.
55692 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
55694         [BZ #11322]
55695         * manual/arith.texi: Remove statements about negative zero
55696         behaving identically to zero.
55698 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55700         [BZ #5993]
55701         * manual/install.texi: Do not document upgrading from libc5.
55703 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55705         [BZ #4596]
55706         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55708 2012-02-18  David S. Miller  <davem@davemloft.net>
55710         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55711         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55712         %o7 across the call.
55713         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55714         instead.
55715         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55716         SETUP_PIC_REG_LEAF.
55717         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55718         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55719         * sysdeps/sparc/crtn.S: Likewise.
55721 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
55723         * aout/Makefile: Remove.
55725 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
55727         [BZ #13058]
55728         * manual/examples/argp-ex1.c (main): Format definition in GNU
55729         style.
55730         * manual/examples/argp-ex2.c (main): Likewise.
55731         * manual/examples/argp-ex3.c (main): Likewise.
55732         * manual/examples/argp-ex4.c (main): Likewise.
55733         * manual/examples/longopt.c (main): Use new-style prototype
55734         definition.
55735         * manual/examples/strncat.c (main): Specify return type and use
55736         (void) for arguments.
55737         * manual/examples/subopt.c (main): Use char **argv argument.
55739 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55741         [BZ #5077]
55742         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55743         rounding modes.
55745 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
55747         [BZ #6907]
55748         * manual/string.texi (strchr): Change when strchrnul is
55749         recommended.
55751 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
55753         [BZ #174]
55754         * manual/locale.texi (setlocale): Document LOCPATH.
55756 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55758         [BZ #10210]
55759         * manual/process.texi (execle): Move @dots{} before last argument.
55761 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
55763         [BZ #12047]
55764         * manual/charset.texi (Generic Charset Conversion): Fix typo
55765         (LC_TYPE -> LC_CTYPE).
55767 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
55769         [BZ #5805]
55770         * manual/arith.texi (scalbn): Use @var{} on parameter names.
55771         (scalbnf): Likewise.
55772         (scalbnl): Likewise.
55773         (scalbln): Likewise.
55774         (scalblnf): Likewise.
55775         (scalblnl): Likewise.
55776         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55777         (vwarnx): Likewise.
55778         (verr): Likewise.
55779         (verrx): Likewise.
55780         * manual/filesys.texi (telldir): Use braces around return type.
55781         * manual/llio.texi (mmap): Add space after comma.
55782         (mmap64): Likewise.
55783         * manual/math.texi (jn): Use @var{} on parameter names.
55784         (jnf): Likewise.
55785         (jnl): Likewise.
55786         (yn): Likewise.
55787         (ynf): Likewise.
55788         (ynl): Likewise.
55789         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55790         line.
55791         * manual/resource.texi (ulimit): Use @dots{} instead of literal
55792         "...".
55793         (sched_get_priority_min): Remove semicolon on @deftypefun line.
55794         (sched_get_priority_max): Likewise.
55795         * manual/signal.texi (sigvec): Add space after comma.
55796         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55797         names.
55798         (if_indextoname): Likewise.
55799         (if_freenameindex): Likewise.
55800         (sendto): Use ',' instead of '.' in prototype.
55801         * manual/startup.texi (syscall): Use @dots{} instead of literal
55802         "...".
55803         * manual/stdio.texi (__fpending): Separate initial words of
55804         paragraph from @deftypefun line.
55805         * manual/syslog.texi (syslog): Use @dots{} instead of literal
55806         "...".
55807         (vsyslog): Use @var{} on parameter names.
55808         * manual/terminal.texi (stty): Use @var{} on parameter names.
55809         * manual/users.texi (getutmp): Use @var{} on parameter names.
55810         (getutmpx): Likewise.
55812 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55814         [BZ #6884]
55815         * manual/stdio.texi (fopen): Fix typos in description of
55816         ",ccs=STRING".
55818 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
55820         [BZ #4026]
55821         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55822         get clock_id definition.
55824 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
55826         [BZ #4822]
55827         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55828         (madvise): Cast every argument to void on its own.
55830 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55832         [BZ #9902]
55833         * manual/startup.texi (Exit Status): Fix typo.
55835 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55837         [BZ #10140]
55838         * manual/examples/argp-ex1.c: Include <stdlib.h>.
55839         * manual/examples/argp-ex2.c: Likewise.
55840         * manual/examples/argp-ex3.c: Likewise.
55842 2012-02-16  Richard Henderson  <rth@redhat.com>
55844         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55845         * sysdeps/s390/s390-32/initfini.c: Remove.
55846         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55847         * sysdeps/s390/s390-64/initfini.c: Remove.
55849 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55851         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55852         compiler output for sysdeps/generic/initfini.c.
55853         * sysdeps/sh/elf/initfini.c: Remove file.
55855 2012-02-16  David S. Miller  <davem@davemloft.net>
55857         [BZ #11494]
55858         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55860         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55861         * sysdeps/sparc/crti.S: New file.
55862         * sysdeps/sparc/crtn.S: New file.
55863         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55864         * sysdeps/sparc/sparc64/Makefile: Likewise.
55866 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
55868         [BZ #3335]
55869         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55871 2012-02-15  Roland McGrath  <roland@hack.frob.com>
55873         [BZ #4822]
55874         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55876         * mach/devstream.c (cookie_io_functions_t): Macro removed.
55877         (write, read, close): Likewise.
55878         Patch by Aurelien Jarno <aurelien@aurel32.net>.
55880 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
55882         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55883         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55884         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55885         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55886         <bits/signalfd.h>.
55887         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55888         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55889         bits/signalfd.h.
55891 2012-02-14  Marek Polacek  <polacek@redhat.com>
55893         * sysdeps/x86_64/crti.S: New file.
55894         * sysdeps/x86_64/crtn.S: New file.
55895         * sysdeps/x86_64/elf/initfini.c: Remove file.
55897 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55899         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55900         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55901         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55902         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55903         <bits/inotify.h>.
55904         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55905         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55906         bits/inotify.h.
55908 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55910         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55911         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55912         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55913         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55914         <bits/eventfd.h>.
55915         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55916         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55917         bits/eventfd.h.
55919 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
55921         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55922         __feraiseexcept instead of feraiseexcept.
55924         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55925         nanosleep invocations.
55926         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55927         strings, and add error checking for a nanosleep invocations.
55929 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
55931         Replace FSF snail mail address with URLs, as per GNU coding standards.
55932         Most of the snail mail addresses were wrong anyway, and omitting
55933         them makes the source code easier to maintain.  Almost all of the
55934         changes are to license notices and to locale LC_IDENTIFICATION
55935         addresses, except for this one:
55936         * manual/libc.texinfo: In "Published by", give the FSF's URL,
55937         not its snail mail address.
55939 2012-02-09  Richard Henderson  <rth@twiddle.net>
55941         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55942         of kernel-features.h.
55944         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55946 2012-02-08  Marek Polacek  <polacek@redhat.com>
55948         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55949         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55950         * sysdeps/gnu/_G_config.h: Likewise.
55951         * sysdeps/generic/_G_config.h: Likewise.
55953 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
55955         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55956         tests.
55957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55959         * sysdeps/powerpc/powerpc32/crti.S: New file.
55960         * sysdeps/powerpc/powerpc32/crtn.S: New file.
55961         * sysdeps/powerpc/powerpc64/crti.S: New file.
55962         * sysdeps/powerpc/powerpc64/crtn.S: New file.
55964         * Makeconfig (have-initfini): Don't set.
55965         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55966         * configure.in (nopic_initfini): Don't substitute.
55967         * config.h.in (HAVE_INITFINI): Don't #undef.
55968         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55969         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55971 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
55973         Support crti.S and crtn.S provided directly by architectures.
55974         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55975         [crti.S in sysdirs] (omit-deps): Likewise.
55976         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55977         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55978         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55979         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
55980         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
55981         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
55982         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55983         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
55984         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
55985         compiler output for sysdeps/generic/initfini.c.
55986         * sysdeps/i386/elf/Makefile: Remove file.
55987         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
55989 2012-02-07  Marek Polacek  <polacek@redhat.com>
55991         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
55992         * sysdeps/gnu/_G_config.h: Likewise.
55993         * sysdeps/mach/hurd/_G_config.h: Likewise.
55995 2012-02-07  Marek Polacek  <polacek@redhat.com>
55997         * math/Makefile (tests): Add tst-CMPLX2.
55998         * math/tst-CMPLX2.c: New file.
56000 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56002         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56004         * math/libm-test.inc (jn_test): Add missing L suffix.
56006 2012-02-06  Marek Polacek  <polacek@redhat.com>
56008         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56009         * sysdeps/i386/fpu/e_powf.S: Likewise.
56010         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56011         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56012         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56013         * sysdeps/i386/fpu/e_pow.S: Likewise.
56014         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56015         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56016         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56017         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56018         * sysdeps/i386/fpu/e_log2.S: Likewise.
56019         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56020         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56021         * sysdeps/i386/fpu/e_powl.S: Likewise.
56022         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56023         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56024         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56025         * sysdeps/i386/fpu/e_logl.S: Likewise.
56026         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56027         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56028         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56029         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56030         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56031         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56032         * sysdeps/i386/fpu/e_log.S: Likewise.
56033         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56034         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56035         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56036         * sysdeps/i386/fpu/e_logf.S: Likewise.
56037         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56038         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56039         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56040         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56041         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56042         * sysdeps/i386/fpu/e_log10.S: Likewise.
56043         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56044         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56045         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56046         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56047         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56048         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56049         * sysdeps/i386/asm-syntax.h: Likewise.
56050         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56051         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56052         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56053         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56054         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56055         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56056         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56057         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56058         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56059         * sysdeps/powerpc/sysdep.h: Likewise.
56060         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56061         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56063 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56065         [BZ #411]
56066         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56068 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56070         * sysdeps/i386/sysdep.h: Include <features.h>.
56071         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56072         version.
56074 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56076         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56077         Define.
56078         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56079         LOAD_PIC_REG_STR.
56081 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56083         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56084         (SETUP_PIC_REG): Use GET_PC_THUNK.
56085         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56086         macro.
56088 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56090         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56091         for non-PIC compilation.
56092         (SETUP_PIC_REG): Add .p2align directive.
56093         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56094         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56095         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56096         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56097         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56098         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56099         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56100         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56101         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56102         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56103         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56104         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56105         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56106         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56107         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56108         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56109         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56110         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56111         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56112         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56113         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56114         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56115         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56116         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56117         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56118         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56119         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56120         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56121         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56122         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56123         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56124         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56125         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56126         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56127         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56128         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56129         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56130         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56131         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56132         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56133         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56135 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56137         * math/tst-CMPLX.c: Include <stdio.h>.
56139 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56141         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56142         float.
56143         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56144         * sysdeps/sparc/bits/mathdef.h: Likewise.
56146 2012-01-31  Marek Polacek  <polacek@redhat.com>
56148         * libio/libio.h: Don't define _PARAMS.
56149         * locale/programs/config.h: Don't define PARAMS.
56150         * stdlib/strtol_l.c: Likewise.
56151         (__strtol_l): Remove PARAMS from the prototype.
56153 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56155         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56156         names.  Just use the correct names.  Remove unnecessary wrapper
56157         functions.
56158         * malloc/arena.c: Likewise.
56159         * malloc/hooks.c: Likewise.
56161         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56162         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56163         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56165 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56167         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56168         into tail calls.
56169         (update_get_addr): New function.
56170         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56171         GET_ADDR_MODULE parameter.
56173 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56175         * crypt/cert.c: Remove __STDC__ conditionals.
56176         * crypt/crypt-entry.c: Likewise.
56177         * crypt/crypt_util.c: Likewise.
56178         * libio/filedoalloc.c: Likewise.
56179         * libio/fileops.c: Likewise.
56180         * libio/genops.c: Likewise.
56181         * libio/iofclose.c: Likewise.
56182         * libio/iofdopen.c: Likewise.
56183         * libio/iofopen.c: Likewise.
56184         * libio/iofopen64.c: Likewise.
56185         * libio/iogetdelim.c: Likewise.
56186         * libio/iopopen.c: Likewise.
56187         * libio/obprintf.c: Likewise.
56188         * libio/oldfileops.c: Likewise.
56189         * libio/oldiofclose.c: Likewise.
56190         * libio/oldiofdopen.c: Likewise.
56191         * libio/oldiofopen.c: Likewise.
56192         * libio/oldiopopen.c: Likewise.
56193         * libio/wfiledoalloc.c: Likewise.
56194         * libio/wgenops.c: Likewise.
56195         * locale/programs/xmalloc.c: Likewise.
56196         * misc/syslog.c: Likewise.
56197         * stdio-common/xbug.c: Likewise.
56198         * string/memchr.c: Likewise.
56199         * string/memcmp.c: Likewise.
56200         * string/memrchr.c: Likewise.
56201         * string/rawmemchr.c: Likewise.
56202         * sysdeps/posix/getcwd.c: Likewise.
56203         * time/strftime_l.c: Likewise.
56205 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56207         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56208         * config.make.in (config-cflags-sse2avx): Define.
56209         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56210         Fix typo.
56212 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56214         * scripts/config.guess: Update from upstream config git repository.
56215         * scripts/config.sub: Likewise.
56217 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56219         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56220         (EM_NUM): Update.
56221         (R_TILEPRO_*, R_TILEGX_*): New macros.
56223         * scripts/firstversions.awk: Fix bug in version range handling.
56225         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56227         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56229         * include/sys/epoll.h: New file.
56230         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56231         libc_hidden_def.
56233 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56235         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56236         Avoid unnecessary __WORDSIZE == 64 test.
56237         (fmaxf): Use VEX format if possible.
56238         (fmax): Likewise.
56239         (fminf): Likewise.
56240         (fmin): Likewise.
56242         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56243         * math/math_private.h: Remove libc_fegetround* and
56244         libc_fesetround*.
56245         * sysdeps/i386/configure.in: Check for -msse2avx.
56246         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56247         also if SSE2AVX is defined.
56248         Remove libc_fegetround* and libc_fesetround*.
56249         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56250         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56251         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56252         of HAS_YMM_USABLE.
56253         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56254         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56255         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56256         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56257         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56259         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56261 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56263         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56264         size is not set.
56265         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56267 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56269         [BZ #13618]
56270         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56271         relocation.
56272         * Makeconfig (libm): Define.
56273         * elf/Makefile: Add rules to build and run tst-relsort1.
56274         * elf/tst-relsort1.c: New file.
56275         * elf/tst-relsort1mod1.c: New file.
56276         * elf/tst-relsort1mod2.c: New file.
56278 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56280         * math/s_ldexp.c: Remove __STDC__ conditionals.
56281         * math/s_ldexpf.c: Likewise.
56282         * math/s_ldexpl.c: Likewise.
56283         * math/s_nextafter.c: Likewise.
56284         * math/s_nexttowardf.c: Likewise.
56285         * math/s_significand.c: Likewise.
56286         * math/s_significandf.c: Likewise.
56287         * math/s_significandl.c: Likewise.
56288         * math/w_jnl.c: Likewise.
56289         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56290         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56291         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56292         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56293         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56294         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56295         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56296         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56297         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56298         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56299         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56300         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56301         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56302         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56303         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56304         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56305         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56306         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56307         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56308         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56309         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56310         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56311         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56312         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56313         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56314         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56315         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56316         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56317         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56318         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56319         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56320         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56321         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56322         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56323         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56324         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56325         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56326         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56327         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56328         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56329         * sysdeps/ieee754/k_standard.c: Likewise.
56330         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56331         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56332         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56333         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56334         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56335         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56336         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56337         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56338         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56339         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56340         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56341         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56342         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56343         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56344         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56345         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56346         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56347         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56348         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56349         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56350         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56351         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56352         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56353         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56354         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56355         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56356         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56357         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56358         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56359         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56360         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56361         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56362         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56363         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56364         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56365         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56366         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56367         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56368         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56369         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56370         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56371         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56372         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56373         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56374         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56375         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56376         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56377         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56378         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56379         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56380         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56381         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56382         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56383         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56384         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56385         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56386         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56387         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56388         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56389         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56390         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56391         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56392         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56393         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56394         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56395         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56396         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56397         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56398         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56399         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56400         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56401         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56402         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56403         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56404         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56405         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56406         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56407         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56408         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56409         * sysdeps/ieee754/s_matherr.c: Likewise.
56410         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56411         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56412         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56413         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56415 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56417         * crypt/md5.h: Remove __STDC__ conditionals.
56418         * libio/libioP.h: Likewise.
56419         * locale/programs/config.h: Likewise.
56420         * sysdeps/generic/sysdep.h: Likewise.
56421         * sysdeps/i386/asm-syntax.h: Likewise.
56422         * sysdeps/s390/asm-syntax.h: Likewise.
56423         * sysdeps/unix/sysdep.h: Likewise.
56424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56427 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56429         * libio/libio.h: Remove __STDC__ conditionals.
56430         * malloc/obstack.h: Likewise.
56431         * math/complex.h: Likewise.
56432         * math/math.h: Likewise.
56433         * sysdeps/generic/_G_config.h: Likewise.
56434         * sysdeps/gnu/_G_config.h: Likewise.
56435         * sysdeps/mach/hurd/_G_config.h: Likewise.
56436         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56437         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56438         * sysdeps/sparc/bits/mathdef.h: Likewise.
56440 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
56442         [BZ #13583]
56443         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56444         Clean up HAS_* macros.
56445         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56446         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56447         possible.
56448         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56449         HAS_AVX.
56450         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56451         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56452         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56453         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56454         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56456 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
56458         * elf/tst-unique3.cc (gets): Remove declaration.
56459         * elf/tst-unique3lib.cc (gets): Likewise.
56460         * elf/tst-unique3lib2.cc (gets): Likewise.
56461         * elf/tst-unique4.cc (gets): Likewise.
56463 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
56465         * include/stdio.h: Add C++ protection.  Add gets declarations and
56466         definitions.
56467         * debug/tst-chk1.c: Don't declare gets here.
56468         * stdio-common/tst-gets.c: Likewise.
56470 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56472         * posix/glob: Remove directory.
56474 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56476         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56478 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
56480         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56481         of the non-standard EPFNOSUPPORT.
56483 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56485         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56486         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56487         ANYWHERE set to 1 only on KERN_NO_SPACE error.
56489 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
56491         * wcsmbs/uchar.h: Test __STDC_VERSION__.
56493 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
56495         * nscd/aicache.c (addhstaiX): Do not cache negative results of
56496         transient errors.
56497         * nscd/grpcache.c (cache_addgr): Likewise.
56498         * nscd/hstcache.c (cache_addhst): Likewise.
56499         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56500         * nscd/pwdcache.c (cache_addpw): Likewise.
56501         * nscd/servicescache.c (cache_addserv): Likewise.
56503 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
56505         * malloc/malloc.c: Various cleanups.
56506         * malloc/hooks.c: Likewise.
56508         * stdlib/Makefile (tests): Add bug-fmtmsg1.
56509         * stdlib/bug-fmtmsg1.c: New file.
56511         * stdlib/fmtmsg.c (init): Add missing unlock.
56512         Patch by Peng Haitao <penght@cn.fujitsu.com>.
56514 2012-01-12  Marek Polacek  <polacek@redhat.com>
56516         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56517         and _GNU_SOURCE.
56519 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56521         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56522         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56523         macro to ensure uniqueness of label name.
56524         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56525         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56527 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
56529         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56531         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56532         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56533         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56534         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56536 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
56538         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56540         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56541         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56542         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56544         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56546         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56547         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56548         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56549         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56551         * math/bits/math-finite.h: Add ldexp support.
56553 2012-01-10  Marek Polacek  <polacek@redhat.com>
56555         * locale/programs/localedef.h (show_archive_content): Add noreturn
56556         attribute.
56558 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
56560         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56562 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56564         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56566         * io/Makefile (headers): Add bits/poll2.h.
56568 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
56570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56571         typo #include statement.
56573 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56575         * include/sys/cdefs.h: Define __attribute_alloc_size.
56576         * catgets/gencat.c: Add alloc_size attribute and apply consistently
56577         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56578         * elf/pldd.c: Likewise.
56579         * iconv/iconv_charmap.c: Likewise.
56580         * iconv/iconvconfig.c: Likewise.
56581         * iconv/strtab.c: Likewise.
56582         * locale/programs/locale.c: Likewise.
56583         * locale/programs/localedef.h: Likewise.
56584         * locale/programs/simple-hash.c: Likewise.
56585         * nscd/nscd.h: Likewise.
56586         * nss/makedb.c: Likewise.
56587         * sysdeps/generic/ldconfig.h: Likewise.
56588         * locale/programs/localedef.c: Remove xmalloc prototype.
56589         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56591 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56593         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56594         appropriate.
56596 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56598         * math/Makefile (tests): Add tst-CMPLX.
56599         * math/tst-CMPLX.c: New file.
56601         * math/complex.h (CMPLXL): Fix typo.
56603         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
56604         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
56605         GLIBC_2.16.
56606         * debug/tst-chk1.c: Add poll and ppoll tests.
56607         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
56608         * include/sys/poll.h: Add hidden proto for ppoll.
56609         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
56610         * sysdeps/mach/hurd/ppoll.c: Likewise.
56611         * io/ppoll.c: Likewise.
56612         * debug/poll_chk.c: New file.
56613         * debug/ppoll_chk.c: New file.
56614         * include/bits/poll2.h: New file.
56615         * io/bits/poll2.h: New file.
56617         [BZ #1350]
56618         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
56620         * configure.in: static is always set to yes.  Remove.
56621         * config.make.in: Don't set build-static.
56622         * Makeconfig: Remove use of build-static.
56623         * dlfcn/Makefile: Likewise.
56624         * elf/Makefile: Likewise.
56625         * math/Makefile: Likewise.
56626         * misc/Makefile: Likewise.
56627         * nptl/Makefile: Likewise.
56628         * sysdeps/mach/hurd/Makefile: Likewise.
56630         * configure.in: PWD_P is not used anymore.
56631         * config.make.in: Remove PWD_P entry.
56633         * configure.in: Remove last remnants of RANLIB.
56634         No need to check for signed size_t anymore.
56635         Don't set libc_commonpagesize and libc_relro_required here for Alpha
56636         and IA-64.
56637         Remove __builtin_expect test because we require at least gcc 3.4.
56638         * aclocal.m4: Likewise.
56640         * wcsmbs/mbrtoc16.c: Implement using towc function.
56641         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
56642         * wcsmbs/wcsmbsload.c: Likewise.
56643         * iconv/gconv_simple.c: Likewise.
56644         * iconv/gconv_int.h: Likewise.
56645         * iconv/gconv_builtin.h: Likewise.
56646         * iconv/iconv_prog.c: Remove CHAR16 handling.
56648         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
56650         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
56652         * configure.in: Remove --with-elf and --enable-bounded options.
56653         Dont set base_machine for ia64.  More non-ELF conditions removed.
56654         Remove testing and setting of leading underscore information.
56655         * config.make.in (build-bounded): Set to no.
56656         * config.h.in: Remove NO_UNDERSCORES entry.
56657         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
56658         them.
56659         * csu/start.c: Remove !NO_UNDERSCORE code.
56660         * locale/localeinfo.h: Likewise.
56661         * sysdeps/generic/machine-gmon.h: Likewise.
56662         * sysdeps/generic/sysdep.h: Likewise.
56663         * sysdeps/i386/sysdep.h: Likewise.
56664         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56665         * sysdeps/mach/sysdep.h: Likewise.
56666         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56667         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56668         * sysdeps/sh/sysdep.h: Likewise.
56669         * sysdeps/sparc/sparc32/alloca.S: Likewise.
56670         * sysdeps/unix/i386/sysdep.S: Likewise.
56671         * sysdeps/unix/sparc/start.c: Likewise.
56672         * sysdeps/unix/sparc/sysdep.S: Likewise.
56673         * sysdeps/unix/sparc/sysdep.h: Likewise.
56674         * sysdeps/unix/start.c: Likewise.
56675         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56676         * sysdeps/x86_64/sysdep.h: Likewise.
56678 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
56680         [BZ #13553]
56681         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56682         for non-gcc.
56683         * argp/argp-fmtstream.h: Use const instead __const.
56684         * argp/argp.h: Likewise.
56685         * assert/assert.h: Likewise.
56686         * bits/fenv.h: Likewise.
56687         * bits/sched.h: Likewise.
56688         * bits/sigset.h: Likewise.
56689         * bits/sigthread.h: Likewise.
56690         * catgets/nl_types.h: Likewise.
56691         * conform/data/pthread.h-data: Likewise.
56692         * crypt/crypt-private.h: Likewise.
56693         * crypt/crypt.h: Likewise.
56694         * crypt/crypt_util.c: Likewise.
56695         * ctype/ctype.h: Likewise.
56696         * debug/execinfo.h: Likewise.
56697         * debug/mbsnrtowcs_chk.c: Likewise.
56698         * debug/mbsrtowcs_chk.c: Likewise.
56699         * debug/wcsnrtombs_chk.c: Likewise.
56700         * debug/wcsrtombs_chk.c: Likewise.
56701         * debug/wcstombs_chk.c: Likewise.
56702         * dirent/dirent.h: Likewise.
56703         * dlfcn/dlfcn.h: Likewise.
56704         * elf/neededtest4.c: Likewise.
56705         * grp/grp.h: Likewise.
56706         * gshadow/gshadow.h: Likewise.
56707         * iconv/gconv.h: Likewise.
56708         * iconv/gconv_int.h: Likewise.
56709         * iconv/gconv_simple.c: Likewise.
56710         * iconv/iconv.h: Likewise.
56711         * iconv/loop.c: Likewise.
56712         * iconv/skeleton.c: Likewise.
56713         * include/aio.h: Likewise.
56714         * include/aliases.h: Likewise.
56715         * include/argz.h: Likewise.
56716         * include/arpa/inet.h: Likewise.
56717         * include/assert.h: Likewise.
56718         * include/dirent.h: Likewise.
56719         * include/dlfcn.h: Likewise.
56720         * include/execinfo.h: Likewise.
56721         * include/fcntl.h: Likewise.
56722         * include/fenv.h: Likewise.
56723         * include/glob.h: Likewise.
56724         * include/grp.h: Likewise.
56725         * include/libintl.h: Likewise.
56726         * include/mntent.h: Likewise.
56727         * include/netdb.h: Likewise.
56728         * include/pwd.h: Likewise.
56729         * include/rpc/netdb.h: Likewise.
56730         * include/sched.h: Likewise.
56731         * include/search.h: Likewise.
56732         * include/shadow.h: Likewise.
56733         * include/signal.h: Likewise.
56734         * include/stdio.h: Likewise.
56735         * include/stdlib.h: Likewise.
56736         * include/string.h: Likewise.
56737         * include/sys/socket.h: Likewise.
56738         * include/sys/stat.h: Likewise.
56739         * include/sys/statfs.h: Likewise.
56740         * include/sys/statvfs.h: Likewise.
56741         * include/sys/syslog.h: Likewise.
56742         * include/sys/time.h: Likewise.
56743         * include/sys/uio.h: Likewise.
56744         * include/time.h: Likewise.
56745         * include/unistd.h: Likewise.
56746         * include/utmp.h: Likewise.
56747         * include/wchar.h: Likewise.
56748         * include/wctype.h: Likewise.
56749         * inet/aliases.h: Likewise.
56750         * inet/arpa/inet.h: Likewise.
56751         * inet/netinet/ether.h: Likewise.
56752         * inet/netinet/in.h: Likewise.
56753         * intl/libintl.h: Likewise.
56754         * io/bits/fcntl2.h: Likewise.
56755         * io/fcntl.h: Likewise.
56756         * io/ftw.h: Likewise.
56757         * io/sys/poll.h: Likewise.
56758         * io/sys/stat.h: Likewise.
56759         * io/sys/statfs.h: Likewise.
56760         * io/sys/statvfs.h: Likewise.
56761         * io/utime.h: Likewise.
56762         * libio/bits/stdio.h: Likewise.
56763         * libio/bits/stdio2.h: Likewise.
56764         * libio/libio.h: Likewise.
56765         * libio/libioP.h: Likewise.
56766         * libio/stdio.h: Likewise.
56767         * locale/lc-ctype.c: Likewise.
56768         * locale/locale.h: Likewise.
56769         * login/utmp.h: Likewise.
56770         * malloc/arena.c: Likewise.
56771         * malloc/malloc.c: Likewise.
56772         * malloc/malloc.h: Likewise.
56773         * malloc/mcheck.c: Likewise.
56774         * malloc/mtrace.c: Likewise.
56775         * math/bits/mathcalls.h: Likewise.
56776         * math/fenv.h: Likewise.
56777         * math/math_private.h: Likewise.
56778         * misc/bits/error.h: Likewise.
56779         * misc/bits/syslog.h: Likewise.
56780         * misc/err.h: Likewise.
56781         * misc/error.h: Likewise.
56782         * misc/fstab.h: Likewise.
56783         * misc/mntent.h: Likewise.
56784         * misc/regexp.h: Likewise.
56785         * misc/search.h: Likewise.
56786         * misc/sgtty.h: Likewise.
56787         * misc/sys/mman.h: Likewise.
56788         * misc/sys/syslog.h: Likewise.
56789         * misc/sys/uio.h: Likewise.
56790         * misc/sys/xattr.h: Likewise.
56791         * misc/ttyent.h: Likewise.
56792         * nis/rpcsvc/ypclnt.h: Likewise.
56793         * nss/nss.h: Likewise.
56794         * posix/bits/unistd.h: Likewise.
56795         * posix/fnmatch.h: Likewise.
56796         * posix/glob.h: Likewise.
56797         * posix/sched.h: Likewise.
56798         * posix/spawn.h: Likewise.
56799         * posix/sys/wait.h: Likewise.
56800         * posix/unistd.h: Likewise.
56801         * posix/wordexp.h: Likewise.
56802         * pwd/pwd.h: Likewise.
56803         * resolv/netdb.h: Likewise.
56804         * resource/sys/resource.h: Likewise.
56805         * rt/aio.h: Likewise.
56806         * rt/bits/mqueue2.h: Likewise.
56807         * rt/mqueue.h: Likewise.
56808         * shadow/shadow.h: Likewise.
56809         * signal/signal.h: Likewise.
56810         * socket/send.c: Likewise.
56811         * socket/sendto.c: Likewise.
56812         * socket/sys/socket.h: Likewise.
56813         * stdio-common/printf.h: Likewise.
56814         * stdlib/bits/stdlib.h: Likewise.
56815         * stdlib/fmtmsg.h: Likewise.
56816         * stdlib/monetary.h: Likewise.
56817         * stdlib/stdlib.h: Likewise.
56818         * stdlib/ucontext.h: Likewise.
56819         * streams/stropts.h: Likewise.
56820         * string/argz.h: Likewise.
56821         * string/bits/string2.h: Likewise.
56822         * string/string.h: Likewise.
56823         * string/strings.h: Likewise.
56824         * sunrpc/rpc/auth.h: Likewise.
56825         * sunrpc/rpc/auth_des.h: Likewise.
56826         * sunrpc/rpc/clnt.h: Likewise.
56827         * sunrpc/rpc/netdb.h: Likewise.
56828         * sunrpc/rpc/pmap_clnt.h: Likewise.
56829         * sunrpc/rpc/xdr.h: Likewise.
56830         * sysdeps/generic/inttypes.h: Likewise.
56831         * sysdeps/generic/net/if.h: Likewise.
56832         * sysdeps/generic/sys/swap.h: Likewise.
56833         * sysdeps/gnu/net/if.h: Likewise.
56834         * sysdeps/gnu/utmpx.h: Likewise.
56835         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56836         * sysdeps/i386/i486/bits/string.h: Likewise.
56837         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56838         * sysdeps/s390/bits/string.h: Likewise.
56839         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56840         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56841         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56842         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56843         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56844         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56845         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56846         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56847         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56848         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56849         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56850         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56851         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56852         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56853         * sysdeps/unix/sysv/linux/readv.c: Likewise.
56854         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56855         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56856         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56857         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56858         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56859         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56860         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56861         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56862         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56863         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56864         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56865         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56866         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56867         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56868         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56869         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56870         * sysvipc/sys/ipc.h: Likewise.
56871         * sysvipc/sys/msg.h: Likewise.
56872         * sysvipc/sys/sem.h: Likewise.
56873         * sysvipc/sys/shm.h: Likewise.
56874         * termios/termios.h: Likewise.
56875         * time/sys/time.h: Likewise.
56876         * time/time.h: Likewise.
56877         * wcsmbs/bits/wchar2.h: Likewise.
56878         * wcsmbs/uchar.h: Likewise.
56879         * wcsmbs/wchar.h: Likewise.
56880         * wctype/wctype.h: Likewise.
56882         [BZ #13551]
56883         * Makeconfig: Remove all but ELF support including AIX support.
56884         * Makerules: Likewise.
56885         * config.h.in: Likewise.
56886         * config.make.in: Likewise.
56887         * configure: Likewise.
56888         * configure.in: Likewise.
56889         * csu/Makefile: Likewise.
56890         * csu/version.c: Likewise.
56891         * debug/Makefile: Likewise.
56892         * dlfcn/Makefile: Likewise.
56893         * elf/Makefile: Likewise.
56894         * extra-lib.mk: Likewise.
56895         * iconv/Makefile: Likewise.
56896         * include/libc-symbols.h: Likewise.
56897         * include/shlib-compat.h: Likewise.
56898         * resolv/Makefile: Likewise.
56899         * resolv/res_libc.c: Likewise.
56900         * rt/Makefile: Likewise.
56901         * sysdeps/i386/asm-syntax.h: Likewise.
56902         * sysdeps/i386/sysdep.h: Likewise.
56903         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56904         * sysdeps/mach/sysdep.h: Likewise.
56905         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56906         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56907         * sysdeps/s390/asm-syntax.h: Likewise.
56908         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56909         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56910         * sysdeps/sh/sysdep.h: Likewise.
56911         * sysdeps/unix/sparc/sysdep.h: Likewise.
56912         * sysdeps/wordsize-32/divdi3.c: Likewise.
56913         * sysdeps/x86_64/sysdep.h: Likewise.
56915         * argp/Versions: Remove _argp_unlock_xxx.
56917         [BZ #13559]
56918         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
56919         * abilist/libBrokenLocale.abilist: Likewise.
56920         * abilist/libanl.abilist: Likewise.
56921         * abilist/libc.abilist: Likewise.
56922         * abilist/libcrypt.abilist: Likewise.
56923         * abilist/libdl.abilist: Likewise.
56924         * abilist/libm.abilist: Likewise.
56925         * abilist/libnsl.abilist: Likewise.
56926         * abilist/libpthread.abilist: Likewise.
56927         * abilist/libresolv.abilist: Likewise.
56928         * abilist/librt.abilist: Likewise.
56929         * abilist/libthread_db.abilist: Likewise.
56930         * abilist/libutil.abilist: Likewise.
56931         * abilist/libnss_db.abilist: New file.
56933         * scripts/abilist.awk: Add support for indirect functions.
56935         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56937         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56939         * shlib-versions: Remove entries for ports architectures.
56941         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
56942         files in ports.
56943         * elf/stackguard-macros.h: Remove support for IA-64.
56944         * elf/tst-auditmod1.c: Likewise.
56945         * sysdeps/generic/ldsodefs.h: Likewise.
56947         * sysdeps/unix/sysv/linux/configure.in: Ports should define
56948         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56949         configure files.
56951         [BZ #13552]
56952         * configure.in: Remove --enable-omitfp support.
56953         * FAQ.in: Adjust.
56954         * config.make.in: Likewise.
56955         * Makeconfig: Likewise.
56956         * manual/install.texi: Likewise.
56958         In case anyone cares, the IA-64 architecture could move to ports.
56959         * sysdeps/ia64/*: Removed.
56960         * sysdeps/unix/sysv/linux/ia64/*: Removed.
56961         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56963         [BZ #13555]
56964         * configure.in: Remove entries for unsupported architectures.
56966         [BZ #13533]
56967         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56968         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
56969         routines.
56970         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56971         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56972         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
56973         fall back to using wcrtomb.
56974         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56975         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
56976         renaming.
56977         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56978         * wcsmbs/tst-c16c32-1.c: New file.
56980         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
56981         local variable.
56983         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
56985         * elf/tst-unique3.cc: Add explicit declaration of gets.
56986         * elf/tst-unique3lib.cc: Likewise.
56987         * elf/tst-unique3lib2.cc: Likewise.
56988         * elf/tst-unique4.cc: Likewise.
56990         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
56992 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
56994         [BZ #13566]
56995         * assert/assert.h (static_assert): Don't define for C++.
56996         * libio/stdio.h (gets): Do declare for C++ <= C++11.
56997         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
56999 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57001         * iconv/loop.c (single loop): Fix assertion in storing of
57002         remaining bytes.
57004         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57006 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57008         * posix/getconf.c: Update copyright year.
57009         * nss/getent.c: Likewise.
57010         * nss/makedb.c: Likewise.
57011         * iconv/iconvconfig.c: Likewise.
57012         * iconv/iconv_prog.c: Likewise.
57013         * elf/ldconfig.c: Likewise.
57014         * elf/pldd.c: Likewise.
57015         * elf/sotruss.ksh: Likewise.
57016         * catgets/gencat.c: Likewise.
57017         * csu/version.c: Likewise.
57018         * elf/ldd.bash.in: Likewise.
57019         * elf/sprof.c (print_version): Likewise.
57020         * locale/programs/locale.c: Likewise.
57021         * locale/programs/localedef.c: Likewise.
57022         * login/programs/pt_chown.c: Likewise.
57023         * nscd/nscd.c (print_version): Likewise.
57024         * debug/xtrace.sh: Likewise.
57025         * malloc/memusage.sh: Likewise.
57026         * malloc/mtrace.pl: Likewise.
57027         * debug/catchsegv.sh: Likewise.
57029 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57031         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57032         pure attribute.
57034 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57036         [BZ #13533]
57037         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57038         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57039         transformations.
57040         * iconv/gconv_int.h: Likewise.
57041         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57042         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57043         from libc for GLIBC_2.16.
57044         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57045         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57046         * wcsmbs/uchar.h: Really define mbstate_t.
57047         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57048         * wcsmbs/c16rtomb.c: New file.
57049         * wcsmbs/mbrtoc16.c: New file.
57050         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57051         for C/POSIX locale.
57052         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57053         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57055         * wcsmbs/wchar.h: Add missing __restrict.
57057 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57059         [BZ #13532]
57060         * time/Makefile (routines): Add timespec_get.
57061         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57062         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57063         timespec for ISO C11.
57064         * time/timespec_get.c: New file.
57065         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57066         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57068         [BZ #13531]
57069         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57070         * stdlib/stdlib.h: Declare aligned_alloc.
57071         * Versions.def: Add GLIBC_2.16 for libc.
57072         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57074         [BZ 13527]
57075         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57076         ISO C11.
57078         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57079         code.
57081         [BZ #13528]
57082         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57084         [BZ #13529]
57085         * assert/assert.h (static_assert): Define.
57087         * version.h: Update for 2.16 development version.
57089         [BZ #13526]
57090         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57091         _ISOC11_SOURCE.
57093         * version.h (RELEASE): Bump for 2.15 release.
57094         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57096         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57097         Patch by Marek Polacek <mpolacek@redhat.com>.
57099         * bits/byteswap.h: Protect long long constants with __extension__.
57100         * sysdeps/i386/bits/byteswap.h: Likewise.
57101         * sysdeps/ia64/bits/byteswap.h: Likewise.
57102         * sysdeps/s390/bits/byteswap.h: Likewise.
57103         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57105 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57107         [BZ #13540]
57108         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57109         destination buffer.
57110         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57112 2011-12-23  Marek Polacek  <polacek@redhat.com>
57114         * elf/dl-addr.c (determine_info): Add inline keyword.
57115         * elf/tst-auditmod4b.c (check_avx): Likewise.
57116         * elf/tst-auditmod6b.c (check_avx): Likewise.
57117         * elf/tst-auditmod6c.c (check_avx): Likewise.
57118         * elf/tst-auditmod7b.c (check_avx): Likewise.
57120 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57122         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57123         !__SSE_MATH__.
57125 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57127         [BZ #13540]
57128         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57129         processing for last bytes.
57131 2011-08-06  Bruno Haible  <bruno@clisp.org>
57133         [BZ #13061]
57134         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57135         U+0385, not to U+1FEE.
57137         [BZ #13062]
57138         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57139         entry for U+00A5 U+0301.
57141 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57143         [BZ #13166]
57144         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57145         buffer for the output is too small.
57147         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57148         optimization.
57150         [BZ #13185]
57151         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57152         SSE flags if possible.
57154 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57156         [BZ #13540]
57157         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57158         processing for last bytes.
57160 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57162         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57163         (syscall-list-default-options, syscall-list-default-condition)
57164         (syscall-list-includes): Define.
57165         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57166         list of ABIs and options and #if conditions for each ABI.  Do not
57167         handle common syscalls between ABIs specially.
57168         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57169         Remove.
57170         (syscall-list-variants, syscall-list-32bit-options)
57171         (syscall-list-32bit-condition, syscall-list-64bit-options)
57172         (syscall-list-64bit-condition): Define.
57173         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57174         (syscall-list-variants, syscall-list-32bit-options)
57175         (syscall-list-32bit-condition, syscall-list-64bit-options)
57176         (syscall-list-64bit-condition): Define.
57177         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57178         Remove.
57179         (syscall-list-variants, syscall-list-32bit-options)
57180         (syscall-list-32bit-condition, syscall-list-64bit-options)
57181         (syscall-list-64bit-condition): Define.
57182         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57183         Remove.
57184         (syscall-list-variants, syscall-list-32bit-options)
57185         (syscall-list-32bit-condition, syscall-list-64bit-options)
57186         (syscall-list-64bit-condition): Define.
57188 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57190         * locale/iso-639.def: Add brx entry.
57192         [BZ #13328]
57193         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57194         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57196         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57197         __feraiseexcept_renamed.
57199 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57201         [BZ #13538]
57202         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57203         EPOLLET with unsigned values.
57204         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57205         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57207         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57208         to large cancellation.
57209         * math/s_cacoshf.c: Likewise.
57210         * math/s_cacoshl.c: Likewise.
57212 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57214         [BZ #13305]
57215         [BZ #12786]
57216         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57217         * math/s_cacoshf.c: Likewise.
57218         * math/s_cacoshl.c: Likewise.
57220 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57222         [BZ #13439]
57223         * iconv/gconv.h: Define __GCONV_SWAP.
57224         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57225         * iconvdata/utf-16.c: Likewise.
57226         * iconvdata/utf-32.c: Likewise.
57228 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57230         [BZ #13524]
57231         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57232         numerator after shifting it by one limb.
57234 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57236         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57237         under [__USE_EXTERN_INLINES].
57239 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57241         [BZ #13446]
57242         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57244 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57246         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57247         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57248         optimized code.
57249         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57250         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57251         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57252         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57253         for strncasecmp/strncasecmp_l compilation.
57254         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57255         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57257 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57259         [BZ #13484]
57260         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57261         of __asm__.
57263 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57265         [BZ #13506]
57266         * time/tzfile.c (__tzfile_read): Check values from file header.
57268 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57270         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57271         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57272         * powerpc/powerpc32/dl-start.S: Likewise.
57273         * powerpc/powerpc32/elf/start.S: Likewise.
57274         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57275         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57276         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57277         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57278         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57279         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57280         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57281         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57282         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57283         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57284         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57285         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57286         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57287         * powerpc/powerpc32/memset.S: Likewise.
57288         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57289         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57290         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57291         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57292         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57293         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57294         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57295         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57296         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57297         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57298         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57299         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57300         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57302 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57304         * math/libm-test.inc: Added more nearbyint tests.
57305         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57306         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57307         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57308         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57310 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57312         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57313         FD_CLOEXEC.
57315 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57317         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57318         Add wcscpy-ssse3 wcscpy-c.
57319         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57320         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57321         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57322         * sysdeps/x86_64/wcschr.S: New file.
57323         * sysdeps/x86_64/wcsrchr.S: New file.
57324         * string/test-strcmp.c: Remove checking of wcscmp function for
57325         wrong alignments.
57326         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57327         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57328         wcsrchr-sse2 wcsrchr-c.
57329         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57330         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57331         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57332         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57333         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57334         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57335         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57336         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57337         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57338         * wcsmbc/wcschr.c (WCSCHR): New macro.
57340 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57342         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57343         * wcsmbs/test-wcsrchr.c: New file.
57344         * string/test-strrchr.c: Add wcsrchr support.
57345         (WIDE): New macro.
57346         * wcsmbs/test-wcscpy.c: New file.
57347         * string/test-strcpy.c: Add wcscpy support.
57348         (WIDE): New macro.
57350 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57352         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57353         the inner loop.
57355 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57357         [BZ #13472]
57358         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57360 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57362         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57363         Minor optimizations.
57365         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57366         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57367         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57369 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57371         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57372         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57373         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57374         for gcc to avoid warnings.
57375         * inet/Makefile (tests): Add tst-checks.
57376         * inet/tst-checks.c: New file.
57378         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57379         warning.
57381         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57382         __wmemcmp_sse2.
57384         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57385         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57387         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57389 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57391         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57392         problem.
57394         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57396 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57398         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57399         conditional on GCC version.
57400         (__arch_compare_and_exchange_val_8_acq)
57401         (__arch_compare_and_exchange_val_16_acq)
57402         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57403         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57404         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57406 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57408         * sysdeps/sh/backtrace.c: New file.
57410 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57412         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57413         parenthesis.
57415 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57417         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57418         falling back to utime.
57420 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57422         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57423         expectations for float.
57425 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57427         * locale/weight.h (findidx): Add parameter len.
57428         * locale/weightwc.h (findidx): Likewise.
57429         * posix/fnmatch_loop.c (FCT): Adjust caller.
57430         * posix/regcomp.c (build_equiv_class): Likewise.
57431         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57432         * posix/regexec.c (check_node_accept_bytes): Likewise.
57433         * string/strcoll_l.c (STRCOLL): Likewise.
57434         * string/strxfrm_l.c (STRXFRM): Likewise.
57436 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57438         * Makefile.in: Remove CVSOPT handling.
57439         * configure.in: Remove use of AC_REVISION.
57440         * iconvdata/Makefile (distribute): No need to filter out CVS.
57441         * scripts/list-sources.sh: Remove CVS, subversion and monotone
57442         handling.
57444 2011-11-16  Andreas Schwab  <schwab@redhat.com>
57446         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57447         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57448         [USE_AS_STRNCASECMP_L]: Likewise.
57449         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57450         NO_TLS_DIRECT_SEG_REFS.
57451         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57452         Fix argument offsets for non-PIC.
57453         [USE_AS_STRNCASECMP_L]: Likewise.
57454         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57455         NO_TLS_DIRECT_SEG_REFS.
57457 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57459         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57460         O_CLOEXEC.
57461         * locale/loadlocale.c (_nl_load_locale): Likewise.
57463 2011-11-15  Andreas Schwab  <schwab@redhat.com>
57465         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57466         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57467         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57468         (SYSCALL_GETTIME): Set errno on error.
57470         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57471         count references to noai6ai_cached.
57473 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57475         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57477         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57478         FD_CLOEXEC for /proc/self/maps.
57480         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57481         FD_CLOEXEC for /proc/meminfo.
57483         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57484         gai.conf.
57486         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
57487         FD_CLOEXEC for given file.
57489         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57491         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57492         FD_CLOEXEC for /etc/hosts.
57493         (_gethtent): Likewise.
57495         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57497         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57498         cancellation and set FD_CLOEXEC for /etc/netgroup.
57500         * nss/nss_files/files-key.c (search): Don't allow cancellation when
57501         reading /etc/publickey.
57503         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57504         allow cancellation when reading /etc/group.
57506         * nss/nss_files/files-alias.c (internal_setent): Don't allow
57507         cancellation.
57508         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
57510         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57511         when using data file.
57513         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57515         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57516         (write_nis_obj): Use "c" and "e" in fopen.
57518         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57520         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57522         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57524         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57526         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57527         locale.alias.
57529         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57531         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57533         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57535         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57536         file parsing and set FD_CLOEXEC.
57538 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57540         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57542 2011-11-14  Andreas Schwab  <schwab@redhat.com>
57544         * malloc/arena.c (arena_get2): Don't call reused_arena when
57545         _int_new_arena failed.
57547 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57549         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57550         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57551         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57552         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57553         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57554         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57555         to compile strcasecmp and strncasecmp.
57556         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57557         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57559         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57561 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
57563         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57564         locale-defines.sym to gen-as-const-headers.
57565         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57566         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57567         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57568         to compile strcasecmp and strncasecmp.
57569         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57570         strcasecmp_l and strncasecmp_l.
57571         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57572         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57573         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57574         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57575         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57576         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57577         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57578         * sysdeps/i386/i686/multiarch/strncase.S: New file.
57579         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57580         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57581         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57583 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
57585         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57586         result of SYSDEP_GETTIME_CPU to retval.
57587         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57588         parameter list to macro.  Remove trailing semicolon.  Adjust users.
57590         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57591         variable.
57593         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57594         mantissa words.
57595         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57597         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57598         from unused variable.
57600         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57601         DWARF definitions.
57602         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
57603         for assembling.
57605         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
57606         over namespaces.
57608         * sunrpc/rpc_prot.c (rejected): Fix case value.
57610         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
57611         unsigned long long int to avoid warnings in shift.
57613         * posix/regex_internal.c (re_string_reconstruct): Actually use result
57614         of use of trans.
57615         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
57616         variable tmp.
57618         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
57619         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
57620         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
57622         * nis/nis_table.c (nis_list): Use variable of correct type for
57623         result of __follow_path call.
57625 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57627         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
57628         of math functions ceil, trunc, floor, round, and sqrt, when
57629         avaliable on the platform.
57630         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
57631         name clash.
57632         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57633         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57634         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57636 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
57638         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
57639         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57641 2011-11-11  Roland McGrath  <roland@hack.frob.com>
57643         * include/unistd.h: Fix __readlink return type.
57644         Reported by Chris Metcalf <cmetcalf@tilera.com>.
57646 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
57648         * stdlib/ucontext.h: Undo last change for makecontext.
57650 2011-11-11  Andreas Schwab  <schwab@redhat.com>
57652         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
57654         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
57655         * setjmp/setjmp.h: Mark functions as non-leaf.
57656         * setjmp/bits/setjmp2.h: Likewise.
57657         * stdlib/ucontext.h: Likewise.
57659 2011-11-10  Andreas Schwab  <schwab@redhat.com>
57661         * malloc/arena.c (_int_new_arena): Don't increment narenas.
57662         (reused_arena): Don't check arena limit.
57663         (arena_get2): Atomically check arena limit.
57665 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
57667         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57668         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57670         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57671         instructions.
57673 2011-11-07  Andreas Schwab  <schwab@redhat.com>
57675         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57676         handler when locking.
57678         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57679         Fix size of allocated buffer.
57681 2011-11-04  Andreas Schwab  <schwab@redhat.com>
57683         [BZ #10103]
57684         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57685         declarations for long double functions.
57686         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57688         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57690 2011-11-03  Andreas Schwab  <schwab@redhat.com>
57692         * nscd/nscd.c (main): Don't start AVC thread until credentials are
57693         installed.
57695         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57696         is disabled.
57698 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57700         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57702 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57704         * include/alloca.h (stackinfo_alloca_round): Define.
57705         (extend_alloca): Use it.
57706         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57707         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57708         here.
57710         * scripts/check-local-headers.sh: Ignore libaudit.h.
57712         * nscd/Makefile (extra-objs): Make recursively expanded.
57714 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
57716         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57717         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57719         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57720         * posix/tst-rfc3484-2.c: Likewise.
57721         * posix/tst-rfc3484-3.c: Likewise.
57723         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57724         process_vm_writev.
57725         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57726         process_vm_writev.
57727         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57728         process_vm_writev from libc using GLIBC_2.15 version.
57730         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57732 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
57734         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57735         stack usage.
57737 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
57739         [BZ #13367]
57740         * nss/getent.c (initgroups_keys): Show error message in case no group
57741         names are given.
57743         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57744         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57745         __bump_nl_timestamp.
57746         * nscd/connections (nscd_init): When host database is served open
57747         netlink socket and request notification about configuration changes.
57748         (main_loop_poll): Track netlink file descriptor and bump timestamp
57749         in case data becomes available.
57750         (main_loop_epoll): Likewise.
57751         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57752         (database_pers_head): Add extra_data fileds.
57753         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57754         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57755         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57756         Adjust caller.
57757         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57758         in6ai data, call __free_in6ai.
57759         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57760         Add -DHAVE_NETLINK.
57761         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
57762         interface information.  Reuse previous data if netlink timestamp
57763         is not changed.
57764         (__bump_nl_timestamp): New function.
57765         (__free_in6ai): New function.
57767 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
57769         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57770         close_not_cancel_no_status here.
57771         (__check_pf): Reorganize code a bit to not call close twice if OOM.
57773 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57775         [BZ #13276]
57776         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57777         return value.
57779         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57780         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57781         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57783 2011-07-03  Andreas Jaeger  <aj@suse.de>
57785         [BZ #10709]
57786         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57787         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57788         * math/libm-test.inc (sin_test): Add test case.
57790 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57792         [BZ #13337]
57793         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57794         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57796         * elf/chroot_canon.c (chroot_canon): Cleanups.
57798         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57800         [BZ #13335]
57801         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57802         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57804         * string/test-strchr.c: Make usable for strchrnul testing.
57805         * string/test-strchrnul.c: New file.
57806         * string/Makefile (strop-tests): Add strchrnul.
57808         * po/it.po: Update from translation team.
57809         * po/es.po: Likewise.
57811 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
57813         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57814         the three constants needed as parameters.  Drop the others.
57815         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57816         __m128i_strloadu_tolower.
57817         Create and initialize variable zero and use it in all the places
57818         where _mm_setzero_si128 was used.
57820         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57821         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57822         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57823         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57824         anymore.
57825         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57826         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57827         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57828         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57829         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57830         __mpranred, __mptan.
57831         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57832         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57833         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57834         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57835         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57836         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57837         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57838         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57839         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57841 2011-10-28  Andreas Schwab  <schwab@redhat.com>
57843         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57844         redefine if SHARED.
57845         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57847         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57848         wide char related routines to wcsmbs subdir.
57850 2011-10-27  Andreas Schwab  <schwab@redhat.com>
57852         [BZ #13344]
57853         * misc/sys/cdefs.h (__THROWNL): Define.
57854         * posix/unistd.h: Use __THREADNL instead of __THREAD
57855         for memory synchronization functions.
57857 2011-10-26  Roland McGrath  <roland@hack.frob.com>
57859         [BZ #13349]
57860         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57861         doesn't exist.
57862         * manual/stdio.texi (Obstack Streams): Node removed.
57864 2011-10-26  Andreas Schwab  <schwab@redhat.com>
57866         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57867         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57868         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57870         * math/math_private.h (math_force_eval): Allow non-addressable
57871         arguments.
57872         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57874 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57876         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57877         file is not needed.
57879         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57880         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57881         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57882         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57883         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57884         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57885         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57886         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57887         Add AVX variants.
57888         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57889         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57890         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57891         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57892         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57893         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57894         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57895         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57896         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57897         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57898         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57899         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57900         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57901         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57902         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57903         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57904         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57905         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57906         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57908         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57909         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
57911         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57912         place.  Use VEX encoding when compiling for AVX.
57914 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57916         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57917         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57919         * string/test-strchr.c (do_test): Don't generate NUL bytes.
57921 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57923         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57924         useless if() expression.
57925         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57926         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57927         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57928         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57929         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57930         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57931         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57932         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57933         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57934         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57935         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57936         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57937         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57938         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57939         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57940         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57941         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57942         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57943         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57945         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57947 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57949         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57950         condition.
57951         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57953 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57955         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57956         .text section.  Avoid duplicate constants.
57957         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57958         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57959         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57960         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57961         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57962         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57963         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57964         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57965         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57966         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57967         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57968         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57969         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57970         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57971         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57972         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57973         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57974         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57975         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57976         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57977         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57978         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57979         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57980         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
57981         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
57982         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
57983         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
57984         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
57985         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
57986         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
57987         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
57988         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
57989         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57990         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
57991         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
57992         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
57993         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
57994         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
57995         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
57996         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
57997         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
57998         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
57999         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58000         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58001         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58003 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58005         * sysdeps/x86_64/dla.h: Move to ...
58006         * sysdeps/x86_64/fpu/dla.h: ...here.
58007         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58008         situations.  Use __builtin_fma only for gcc 4.6 and up.
58010         * config.make.in: Add have-mfma4 entry.
58011         * configure.in: Substitute libc_cv_cc_fma4.
58012         * math/Makefile (dbl-only-routines): Add sincostab.
58013         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58014         Use __sincostab not sincos.
58015         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58016         name is a macro.
58017         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58018         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58019         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58020         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58021         using __copysign.
58022         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58023         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58024         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58025         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58026         and __inv.
58027         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58028         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58029         __copysign.
58030         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58031         define aliases when function name is a macro.
58032         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58033         sysdeps/ieee754/dbl-64/sincos.tbl.
58034         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58035         fma4-enabled routines.
58036         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58037         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58038         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58039         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58040         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58041         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58042         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58043         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58044         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58045         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58046         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58047         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58048         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58049         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58050         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58051         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58052         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58053         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58054         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58055         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58056         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58057         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58058         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58059         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58060         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58061         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58062         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58063         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58064         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58065         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58067         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58068         rename.
58069         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58070         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58071         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58072         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58073         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58074         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58075         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58076         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58078 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58080         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58082 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58084         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58086         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58087         prediction.
58088         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58090         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58091         Remove unused variable magic_bits.
58092         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58094         * string/strnlen.c: Define and use STRNLEN macro.
58095         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58096         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58097         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58098         * wcsmbs/wcslen.c: Define and use WCSLEN.
58099         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58100         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58101         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58102         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58103         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58104         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58105         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58107 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58109         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58110         strnlen-sse2-no-bsf.
58111         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58112         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58113         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58114         Add strnlen support.
58115         (USE_AS_STRNLEN): New macro.
58116         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58117         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58118         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58119         * sysdeps/x86_64/wcslen.S: New file.
58121 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58123         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58124         XMM-moves are used for copying on small sizes.
58126 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58128         * wcsmbs/Makefile (strop-tests): Add wcschr.
58129         * wcsmbs/test-wcschr.c: New file.
58130         * string/test-strchr.c: Update.
58131         Add wcschr support.
58132         (WIDE): New macro.
58134 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58136         * wcsmbs/Makefile (strop-tests): Add wcslen.
58137         * wcsmbs/test-wcslen.c: New file.
58138         * string/test-strlen.c: Update.
58139         Add wcslen support.
58140         (WIDE): New macro.
58142 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58144         * po/it.po: Update from translation team.
58146 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58148         * sysdeps/x86_64/wcscmp.S: Update.
58149         Fix wrong comparison semantics.
58150         wcscmp shall use signed comparison not unsigned.
58151         Don't use substraction to avoid overflow bug.
58152         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58153         * wcsmbc/wcscmp.c: Likewise.
58154         * string/test-strcmp.c: Likewise.
58155         Add new tests to check cases with negative values.
58157 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58159         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58160         * sysdeps/x86_64/dla.h: ...here.  New file.
58161         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58162         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58163         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58164         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58165         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58166         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58167         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58168         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58169         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58171 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58173         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58174         __ynl_finite aliases.
58176 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58178         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58180         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58181         define DLA_FMA.
58182         [DLA_FMA] (EMULV): Use DLA_FMA.
58183         [DLA_FMA] (MUL12): Use EMULV.
58184         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58185         that are not needed.
58186         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58187         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58188         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58189         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58190         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58191         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58192         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58194 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58196         * math/s_nan.c: Undef __nan.
58197         * math/s_nanf.c: Undef __nanf.
58198         * math/s_nanl.c: Undef __nanl.
58199         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58200         "math_private.h".
58202 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58204         * math/s_catan.c: Add branch predictions.
58205         * math/s_catanf.c: Likewise.
58206         * math/s_catanh.c: Likewise.
58207         * math/s_catanhf.c: Likewise.
58208         * math/s_catanhl.c: Likewise.
58209         * math/s_catanl.c: Likewise.
58210         * math/s_cexp.c: Likewise.
58211         * math/s_cexpf.c: Likewise.
58212         * math/s_cexpl.c: Likewise.
58213         * math/s_clog.c: Likewise.
58214         * math/s_clog10.c: Likewise.
58215         * math/s_clog10f.c: Likewise.
58216         * math/s_clog10l.c: Likewise.
58217         * math/s_clogf.c: Likewise.
58218         * math/s_clogl.c: Likewise.
58219         * math/s_csqrt.c: Likewise.
58220         * math/s_csqrtf.c: Likewise.
58221         * math/s_csqrtl.c: Likewise.
58222         * math/s_ctanf.c: Likewise.
58223         * math/s_ctanh.c: Likewise.
58224         * math/s_ctanhf.c: Likewise.
58225         * math/s_ctanhl.c: Likewise.
58226         * math/s_ctanl.c: Likewise.
58228         * math/math_private.h: Define __nan, __nanf, __nanl.
58229         * math/s_cacosh.c: Include <math_private.h>.
58230         * math/s_cacoshl.c: Likewise.
58231         * math/s_casinh.c: Likewise.
58232         * math/s_casinhf.c: Likewise.
58233         * math/s_casinhl.c: Likewise.
58234         * math/s_ccos.c: Rely entire on ccosh.
58235         * math/s_ccosf.c: Rely entire on ccoshf.
58236         * math/s_ccosl.c: Rely entirely on ccoshl.
58237         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58238         Remove tests for FE_INVALID.
58239         * math/s_ccoshf.c: Likewise.
58240         * math/s_ccoshl.c: Likewise.
58241         * math/s_csin.c: Likewise.
58242         * math/s_csinf.c: Likewise.
58243         * math/s_csinh.c Likewise.
58244         * math/s_csinhf.c: Likewise.
58245         * math/s_csinhl.c: Likewise.
58246         * math/s_csinl.c: Likewise.
58247         * math/s_ctan.c: Likewise.
58248         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58249         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58250         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58252 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58254         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58255         compilation problems.
58257         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58258         __builtin_expect.
58260 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58262         * sysdeps/i386/configure.in: Test for -mfma4 option.
58263         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58264         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58265         COMMON_CPUID_INDEX_80000001.
58266         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58267         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58268         use it if FMA3 is not supported.
58269         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58271         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58272         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58274 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58276         [BZ #12892]
58277         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58278         it would create a cycle with a link time dependency.
58280 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58282         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58283         instruction.
58284         * string/Makefile (strop-tests): Add rawmemchr.
58285         * string/test-rawmemchr.c: New file.
58287         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58288         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58289         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58290         when compiling str{,n}casecmp and when AVX is available.  Hook up
58291         new optimized code in initializers.
58293 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58295         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58296         __feraiseexcept instead of feraiseexcept.
58298 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58300         * math/math_private.h: Define defaults for libc_fetestexcept and
58301         libc_feupdateenv.
58302         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58303         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58304         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58305         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58306         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58307         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58308         libc_fetestexcept and libc_feupdateenv.
58310         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58311         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58312         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58313         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58314         libc_feholdexcept_setround.
58316         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58317         Add s_nearbyint-c and s_nearbyintf-c.
58318         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58319         nearbyintf inlines.
58320         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58321         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58322         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58323         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58325         * math/math_private.h: Define defaults for libc_fegetround,
58326         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58327         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58328         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58329         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58330         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58331         standard functions.
58332         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58333         Remove comments and hacks for old compiler versions.
58334         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58335         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58336         libc_feholdexceptl.
58338 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58340         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58341         (__feraiseexcept_renamed): Add __NTH.
58342         (feraiseexcept): Add __NTH.  Rename local variables to fix
58343         namespace violations.
58345 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58347         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58349         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58351         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58352         recently added interfaces.
58353         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58355         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58356         about macro parameter expansion.
58358         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58359         __NO_MATH_INLINES is defined.  Cleanups.
58361         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58362         and __floorf is target has SSE4.1.
58363         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58364         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58365         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58366         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58368         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58369         name.
58370         (floorf): Likewise.
58372         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58374 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58376         * misc/sys/cdefs.h: Fix last change.
58378         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58379         database lookup.
58381 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58383         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58385         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58386         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58387         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58388         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58389         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58390         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58391         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58392         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58393         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58394         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58395         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58396         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58397         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58398         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58399         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58400         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58401         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58402         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58403         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58404         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58405         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58406         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58408         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58409         ceil, ceilf, floor, floorf.
58411         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58412         Perform IRELATIVE relocations last.
58414         * elf/do-rel.h: Add another parameter nrelative, replacing the
58415         local variable with the same name.  Change name of the function
58416         to end in Rel or Rela (uppercase).
58417         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58418         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58419         elf_dynamic_do_##reloc function.
58421 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58423         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58424         is sufficient, at least on modern CPUs.
58426         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58428         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58429         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58431         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58432         __expl_finite.
58433         * math/bits/math-finite.h: Add entries for exp.
58434         * math/e_expl.c: Add __*_finite alias.
58435         * sysdeps/i386/fpu/e_exp.S: Likewise.
58436         * sysdeps/i386/fpu/e_expf.S: Likewise.
58437         * sysdeps/i386/fpu/e_expl.c: Likewise.
58438         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58439         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58440         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58441         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58442         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58443         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58444         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58446         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58447         is sufficient, at least on modern CPUs.
58449         * ctype/ctype-info.c (__ctype_init): Define.
58450         * include/ctype.h (__ctype_init): Declare.
58451         (__ctype_b_loc): The variable is always initialized.
58452         (__ctype_toupper_loc): Likewise.
58453         (__ctype_tolower_loc): Likewise.
58454         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58455         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58457 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
58459         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58461         * configure.in: Also look in $cxxmachine/include for C++ system
58462         headers.
58464 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58466         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58467         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58468         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58469         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
58470         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58471         (USE_AS_WMEMCMP): New macro.
58472         Fixing indents.
58473         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58474         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58475         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58476         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58477         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58478         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58479         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58480         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58481         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58482         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58483         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58484         (USE_AS_WMEMCMP): New macro.
58485         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58486         * sysdeps/string/test-memcmp.c: Update.
58487         Fix simple_wmemcmp.
58488         Add new tests.
58489         * wcsmbs/wmemcmp.c: Update.
58490         (WMEMCMP): New macro.
58491         Fix overflow bug.
58493 2011-10-12  Andreas Jaeger  <aj@suse.de>
58495         [BZ #13268]
58496         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58498 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58500         * libio/iofwide.c (do_length): Avoid warning.
58502         * ctype/ctype.h (__isctype_f): Add missing __THROW.
58504 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
58506         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58508         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58509         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58510         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58511         * sysdeps/i386/i686/fpu/e_log.S: New file.
58512         * sysdeps/i386/i686/fpu/e_logf.S: New file.
58513         * sysdeps/i386/i686/fpu/e_logl.S: New file.
58515         * ctype/ctype.h: Add support for inlined isXXX functions when
58516         compiling C++ code.
58518 2011-10-14  Andreas Schwab  <schwab@redhat.com>
58520         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58522         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58524 2011-10-13  Roland McGrath  <roland@hack.frob.com>
58526         [BZ #13291]
58527         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58529 2011-10-13  Andreas Schwab  <schwab@redhat.com>
58531         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58532         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58533         feraiseexcept.
58535         * sysdeps/x86_64/memrchr.S: Check for zero size.
58537         * string/stratcliff.c: Add memrchr tests.
58539 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58541         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58542         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58543         rawmemchr-sse2 rawmemchr-sse2-bsf.
58544         * sysdeps/i386/i686/multiarch/memchr.S: New file.
58545         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58546         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58547         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58548         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58549         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58550         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58551         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58552         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58553         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58554         * string/memrchr.c (MEMRCHR): New macro.
58556 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
58558         Add integration with gcc's -ffinite-math-only and optimize wrapper
58559         functions in libm.
58560         * Versions.def: Define GLIBC_2.15 version for libm.
58561         * math/Makefile (headers): Add bits/math-finite.h.
58562         * math/bits/math-finite.h: New file.
58563         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58564         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58565         * math/e_acoshl.c: Add __*_finite alias.
58566         * math/e_acosl.c: Likewise.
58567         * math/e_asinl.c: Likewise.
58568         * math/e_atan2l.c: Likewise.
58569         * math/e_atanhl.c: Likewise.
58570         * math/e_coshl.c: Likewise.
58571         * math/e_exp10.c: Likewise.
58572         * math/e_exp10f.c: Likewise.
58573         * math/e_exp10l.c: Likewise.
58574         * math/e_exp2l.c: Likewise.
58575         * math/e_fmodl.c: Likewise.
58576         * math/e_gammal_r.c: Likewise.
58577         * math/e_hypotl.c: Likewise.
58578         * math/e_j0l.c: Likewise.
58579         * math/e_j1l.c: Likewise.
58580         * math/e_jnl.c: Likewise.
58581         * math/e_lgammal_r.c: Likewise.
58582         * math/e_log10l.c: Likewise.
58583         * math/e_log2l.c: Likewise.
58584         * math/e_logl.c: Likewise.
58585         * math/e_powl.c: Likewise.
58586         * math/e_sinhl.c: Likewise.
58587         * math/e_sqrtl.c: Likewise.
58588         * math/e_scalb.c: Completely rewritten and optimized.
58589         * math/e_scalbf.c: Likewise.
58590         * math/e_scalbl.c: Likewise.
58591         * math/w_acos.c: Likewise.
58592         * math/w_acosf.c: Likewise.
58593         * math/w_acosl.c: Likewise.
58594         * math/w_acosh.c: Likewise.
58595         * math/w_acoshf.c: Likewise.
58596         * math/w_acoshl.c: Likewise.
58597         * math/w_asin.c: Likewise.
58598         * math/w_asinf.c: Likewise.
58599         * math/w_asinl.c: Likewise.
58600         * math/w_atan2.c: Likewise.
58601         * math/w_atan2f.c: Likewise.
58602         * math/w_atan2l.c: Likewise.
58603         * math/w_atanh.c: Likewise.
58604         * math/w_atanhf.c: Likewise.
58605         * math/w_atanhl.c: Likewise.
58606         * math/w_exp10.c: Likewise.
58607         * math/w_exp10f.c: Likewise.
58608         * math/w_exp10l.c: Likewise.
58609         * math/w_fmod.c: Likewise.
58610         * math/w_fmodf.c: Likewise.
58611         * math/w_fmodl.c: Likewise.
58612         * math/w_j0.c: Likewise.
58613         * math/w_j0f.c: Likewise.
58614         * math/w_j0l.c: Likewise.
58615         * math/w_j1.c: Likewise.
58616         * math/w_j1f.c: Likewise.
58617         * math/w_j1l.c: Likewise.
58618         * math/w_jn.c: Likewise.
58619         * math/w_jnf.c: Likewise.
58620         * math/w_log.c: Likewise.
58621         * math/w_logf.c: Likewise.
58622         * math/w_logl.c: Likewise.
58623         * math/w_log10.c: Likewise.
58624         * math/w_log10f.c: Likewise.
58625         * math/w_log10l.c: Likewise.
58626         * math/w_log2.c: Likewise.
58627         * math/w_log2f.c: Likewise.
58628         * math/w_log2l.c: Likewise.
58629         * math/w_pow.c: Likewise.
58630         * math/w_powf.c: Likewise.
58631         * math/w_powl.c: Likewise.
58632         * math/w_remainder.c: Likewise.
58633         * math/w_remainderf.c: Likewise.
58634         * math/w_remainderl.c: Likewise.
58635         * math/w_scalb.c: Likewise.
58636         * math/w_scalbf.c: Likewise.
58637         * math/w_scalbl.c: Likewise.
58638         * math/w_sqrt.c: Likewise.
58639         * math/w_sqrtf.c: Likewise.
58640         * math/w_sqrtl.c: Likewise.
58641         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
58642         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
58643         used.
58644         * math/math_private.h: Declare __kernel_standard_f.
58645         * math/w_cosh.c: Remove cruft and optimize a bit.
58646         * math/w_coshf.c: Likewise.
58647         * math/w_coshl.c: Likewise.
58648         * math/w_exp2.c: Likewise.
58649         * math/w_exp2f.c: Likewise.
58650         * math/w_exp2l.c: Likewise.
58651         * math/w_hypot.c: Likewise.
58652         * math/w_hypotf.c: Likewise.
58653         * math/w_hypotl.c: Likewise.
58654         * math/w_lgamma.c: Likewise.
58655         * math/w_lgamma_r.c: Likewise.
58656         * math/w_lgammaf.c: Likewise.
58657         * math/w_lgammaf_r.c: Likewise.
58658         * math/w_lgammal.c: Likewise.
58659         * math/w_lgammal_r.c: Likewise.
58660         * math/w_sinh.c: Likewise.
58661         * math/w_sinhf.c: Likewise.
58662         * math/w_sinhl.c: Likewise.
58663         * math/w_tgamma.c: Likewise.
58664         * math/w_tgammaf.c: Likewise.
58665         * math/w_tgammal.c: Likewise.
58666         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58667         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58668         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58669         Minor optimizations.  Pretty printing.  Remove cruft.
58670         * sysdeps/i386/fpu/e_acosf.S: Likewise.
58671         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58672         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58673         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58674         * sysdeps/i386/fpu/e_acosl.c: Likewise.
58675         * sysdeps/i386/fpu/e_asin.S: Likewise.
58676         * sysdeps/i386/fpu/e_asinf.S: Likewise.
58677         * sysdeps/i386/fpu/e_atan2.S: Likewise.
58678         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58679         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58680         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58681         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58682         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58683         * sysdeps/i386/fpu/e_exp10.S: Likewise.
58684         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58685         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58686         * sysdeps/i386/fpu/e_exp2.S: Likewise.
58687         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58688         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58689         * sysdeps/i386/fpu/e_fmod.S: Likewise.
58690         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58691         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58692         * sysdeps/i386/fpu/e_hypot.S: Likewise.
58693         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58694         * sysdeps/i386/fpu/e_log.S: Likewise.
58695         * sysdeps/i386/fpu/e_log10.S: Likewise.
58696         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58697         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58698         * sysdeps/i386/fpu/e_log2.S: Likewise.
58699         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58700         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58701         * sysdeps/i386/fpu/e_logf.S: Likewise.
58702         * sysdeps/i386/fpu/e_logl.S: Likewise.
58703         * sysdeps/i386/fpu/e_pow.S: Likewise.
58704         * sysdeps/i386/fpu/e_powf.S: Likewise.
58705         * sysdeps/i386/fpu/e_powl.S: Likewise.
58706         * sysdeps/i386/fpu/e_remainder.S: Likewise.
58707         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58708         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58709         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58710         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58711         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58712         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58713         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58714         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58715         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58716         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58717         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58718         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58719         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58720         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58721         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58722         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58723         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58724         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58725         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58726         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58727         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58728         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58729         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58730         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58731         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58732         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58733         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58734         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58735         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58736         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58737         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58738         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58739         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58740         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58741         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58742         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58743         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58744         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58745         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58746         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58747         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58748         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58749         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58750         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58751         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58752         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58753         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58754         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58755         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58756         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58757         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58758         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58759         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58760         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58761         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58762         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58763         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58764         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58765         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58766         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58767         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58768         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58769         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58770         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58771         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58772         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58773         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58774         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58775         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58776         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58777         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58778         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58779         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58780         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58781         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58782         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58783         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58784         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58785         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58786         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58787         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58788         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58789         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58790         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58791         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58792         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58793         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58794         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58795         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58796         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58797         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58798         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58799         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58800         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58801         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58802         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58803         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58804         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58805         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58806         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58807         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58808         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58809         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58810         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58811         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58812         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58813         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58814         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58815         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58816         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58817         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58818         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58819         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58820         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58821         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58822         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58823         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58824         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58825         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
58826         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58827         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58828         (__isnanf): Likewise.
58829         (__isinf_ns): Likewise.
58830         (__isinf_nsf): Likewise.
58831         (__finite): Likewise.
58832         (__finitef): Likewise.
58833         (__ieee754_sqrt): Define as macro.
58834         (__ieee754_sqrtf): Define as macro.
58835         (__ieee754_sqrtl): Define as macro.
58836         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58837         inlined copy.
58838         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58839         __FINITE_MATH_ONLY__ consistent.
58840         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58842 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
58844         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58845         of rawmemchr.
58847         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58849 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
58851         * po/ja.po: Update from translation team.
58853 2011-10-08  Roland McGrath  <roland@hack.frob.com>
58855         * locale/programs/locarchive.c (prepare_address_space): New function.
58856         (create_archive, enlarge_archive, open_archive): Use it.
58858         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58859         inside [SHARED], where it is used.
58861         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58863         * nss/getent.c (netgroup_keys): Remove unused variable.
58864         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58866 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
58868         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58869         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58870         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58871         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58872         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58873         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58874         * math/Makefile (libm-calls): Add s_isinf_ns.
58875         * math/divtc3.c: Use __isinf_nsl instead of isinf.
58876         * math/multc3.c: Likewise.
58877         * math/s_casin.c: Likewise.
58878         * math/s_casinf.c: Likewise.
58879         * math/s_casinl.c: Likewise.
58880         * math/s_ccos.c: Likewise.
58881         * math/s_ccosf.c: Likewise.
58882         * math/s_ccosl.c: Likewise.
58883         * math/s_ctan.c: Likewise.
58884         * math/s_ctanf.c: Likewise.
58885         * math/s_ctanh.c: Likewise.
58886         * math/s_ctanhf.c: Likewise.
58887         * math/s_ctanhl.c: Likewise.
58888         * math/s_ctanl.c: Likewise.
58889         * math/w_fmod.c: Likewise.
58890         * math/w_fmodf.c: Likewise.
58891         * math/w_fmodl.c: Likewise.
58892         * math/w_remainder.c: Likewise.
58893         * math/w_remainderf.c: Likewise.
58894         * math/w_remainderl.c: Likewise.
58895         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58896         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58897         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58898         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58899         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58900         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58901         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58902         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58904         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58905         of the number.
58906         * stdio-common/printf_fphex.c: Likewise.
58907         * stdio-common/printf_size.c: Likewise.
58909         * math/e_exp10.c: Include math_private.h using <...> not "...".
58910         * math/e_exp10f.c: Likewise.
58911         * math/e_exp10l.c: Likewise.
58912         * math/e_exp2l.c: Likewise.
58913         * math/e_j0l.c: Likewise.
58914         * math/e_j1l.c: Likewise.
58915         * math/e_jnl.c: Likewise.
58916         * math/e_lgammal_r.c: Likewise.
58917         * math/e_rem_pio2l.c: Likewise.
58918         * math/e_scalb.c: Likewise.
58919         * math/e_scalbf.c: Likewise.
58920         * math/e_scalbl.c: Likewise.
58921         * math/k_cosl.c: Likewise.
58922         * math/k_sinl.c: Likewise.
58923         * math/k_tanl.c: Likewise.
58924         * math/s_cacoshf.c: Likewise.
58925         * math/s_catan.c: Likewise.
58926         * math/s_catanf.c: Likewise.
58927         * math/s_catanh.c: Likewise.
58928         * math/s_catanhf.c: Likewise.
58929         * math/s_catanhl.c: Likewise.
58930         * math/s_catanl.c: Likewise.
58931         * math/s_ccosh.c: Likewise.
58932         * math/s_ccoshf.c: Likewise.
58933         * math/s_ccoshl.c: Likewise.
58934         * math/s_cexp.c: Likewise.
58935         * math/s_cexpf.c: Likewise.
58936         * math/s_cexpl.c: Likewise.
58937         * math/s_clog.c: Likewise.
58938         * math/s_clog10.c: Likewise.
58939         * math/s_clog10f.c: Likewise.
58940         * math/s_clog10l.c: Likewise.
58941         * math/s_clogf.c: Likewise.
58942         * math/s_clogl.c: Likewise.
58943         * math/s_csin.c: Likewise.
58944         * math/s_csinf.c: Likewise.
58945         * math/s_csinh.c: Likewise.
58946         * math/s_csinhf.c: Likewise.
58947         * math/s_csinhl.c: Likewise.
58948         * math/s_csinl.c: Likewise.
58949         * math/s_csqrt.c: Likewise.
58950         * math/s_csqrtf.c: Likewise.
58951         * math/s_csqrtl.c: Likewise.
58952         * math/s_ctan.c: Likewise.
58953         * math/s_ctanf.c: Likewise.
58954         * math/s_ctanh.c: Likewise.
58955         * math/s_ctanhf.c: Likewise.
58956         * math/s_ctanhl.c: Likewise.
58957         * math/s_ctanl.c: Likewise.
58958         * math/s_ldexp.c: Likewise.
58959         * math/s_ldexpf.c: Likewise.
58960         * math/s_ldexpl.c: Likewise.
58961         * math/s_significand.c: Likewise.
58962         * math/s_significandf.c: Likewise.
58963         * math/s_significandl.c: Likewise.
58964         * math/w_acos.c: Likewise.
58965         * math/w_acosf.c: Likewise.
58966         * math/w_acosh.c: Likewise.
58967         * math/w_acoshf.c: Likewise.
58968         * math/w_acoshl.c: Likewise.
58969         * math/w_acosl.c: Likewise.
58970         * math/w_asin.c: Likewise.
58971         * math/w_asinf.c: Likewise.
58972         * math/w_asinl.c: Likewise.
58973         * math/w_atan2.c: Likewise.
58974         * math/w_atan2f.c: Likewise.
58975         * math/w_atan2l.c: Likewise.
58976         * math/w_atanh.c: Likewise.
58977         * math/w_atanhf.c: Likewise.
58978         * math/w_atanhl.c: Likewise.
58979         * math/w_cosh.c: Likewise.
58980         * math/w_coshf.c: Likewise.
58981         * math/w_coshl.c: Likewise.
58982         * math/w_dremf.c: Likewise.
58983         * math/w_exp10.c: Likewise.
58984         * math/w_exp10f.c: Likewise.
58985         * math/w_exp10l.c: Likewise.
58986         * math/w_exp2.c: Likewise.
58987         * math/w_exp2f.c: Likewise.
58988         * math/w_fmod.c: Likewise.
58989         * math/w_fmodf.c: Likewise.
58990         * math/w_fmodl.c: Likewise.
58991         * math/w_hypot.c: Likewise.
58992         * math/w_hypotf.c: Likewise.
58993         * math/w_hypotl.c: Likewise.
58994         * math/w_j0.c: Likewise.
58995         * math/w_j0f.c: Likewise.
58996         * math/w_j0l.c: Likewise.
58997         * math/w_j1.c: Likewise.
58998         * math/w_j1f.c: Likewise.
58999         * math/w_j1l.c: Likewise.
59000         * math/w_jn.c: Likewise.
59001         * math/w_jnf.c: Likewise.
59002         * math/w_jnl.c: Likewise.
59003         * math/w_lgamma.c: Likewise.
59004         * math/w_lgamma_r.c: Likewise.
59005         * math/w_lgammaf.c: Likewise.
59006         * math/w_lgammaf_r.c: Likewise.
59007         * math/w_lgammal.c: Likewise.
59008         * math/w_lgammal_r.c: Likewise.
59009         * math/w_log.c: Likewise.
59010         * math/w_log10.c: Likewise.
59011         * math/w_log10f.c: Likewise.
59012         * math/w_log10l.c: Likewise.
59013         * math/w_log2.c: Likewise.
59014         * math/w_log2f.c: Likewise.
59015         * math/w_log2l.c: Likewise.
59016         * math/w_logf.c: Likewise.
59017         * math/w_logl.c: Likewise.
59018         * math/w_pow.c: Likewise.
59019         * math/w_powf.c: Likewise.
59020         * math/w_powl.c: Likewise.
59021         * math/w_remainder.c: Likewise.
59022         * math/w_remainderf.c: Likewise.
59023         * math/w_remainderl.c: Likewise.
59024         * math/w_scalb.c: Likewise.
59025         * math/w_scalbf.c: Likewise.
59026         * math/w_scalbl.c: Likewise.
59027         * math/w_sinh.c: Likewise.
59028         * math/w_sinhf.c: Likewise.
59029         * math/w_sinhl.c: Likewise.
59030         * math/w_sqrt.c: Likewise.
59031         * math/w_sqrtf.c: Likewise.
59032         * math/w_sqrtl.c: Likewise.
59033         * math/w_tgamma.c: Likewise.
59034         * math/w_tgammaf.c: Likewise.
59035         * math/w_tgammal.c: Likewise.
59037         * po/ja.po: Update from translation team.
59039 2011-09-29  Andreas Jaeger  <aj@suse.de>
59041         [BZ #13179]
59042         * sunrpc/netname.c (netname2host): Fix logic.
59044         [BZ #6779]
59045         [BZ #6783]
59046         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59047         correctly.
59048         * math/w_remainder.c (__remainder): Likewise.
59049         * math/w_remainderf.c (__remainderf): Likewise.
59050         * math/libm-test.inc (remainder_test): Add test cases.
59052 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59054         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59055         sdiv_qrnnd.
59057 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59059         * string/test-memcmp.c: Avoid unncessary #defines.
59060         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59062 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59064         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59065         Use new sse2 version for core i3 - i7 as it's faster
59066         than sse42 version.
59067         (bit_Prefer_PMINUB_for_stringop): New.
59068         * sysdeps/x86_64/rawmemchr.S: Update.
59069         Replace with faster SSE2 version.
59070         * sysdeps/x86_64/memrchr.S: New file.
59071         * sysdeps/x86_64/memchr.S: Update.
59072         Replace with faster SSE2 version.
59074 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59076         * elf/dl-load.c (lose): Add cast to avoid warning.
59078 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59080         * po/ca.po: Update from translation team.
59082         * inet/getnetgrent_r.c: Hook up nscd.
59083         * nscd/Makefile (routines): Add nscd_netgroup.
59084         (nscd-modules): Add netgroupcache.
59085         (CFLAGS-netgroupcache.c): Define.
59086         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59087         (cache_search): Add const to second parameter.
59088         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59089         INNETGR.
59090         (dbs): Add netgrdb entry.
59091         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59092         (verify_persistent_db): Handle netgrdb.
59093         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59094         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59095         GETFDNETGR.
59096         (netgroup_response_header): Define.
59097         (innetgroup_response_header): Define.
59098         (datahead): Add netgroup_response_header and innetgroup_response_header
59099         elements.
59100         * nscd/nscd.conf: Add entries for netgroup cache.
59101         * nscd/nscd.h (dbtype): Add netgrdb.
59102         (_PATH_NSCD_NETGROUP_DB): Define.
59103         (netgroup_iov_disabled): Declare.
59104         (xmalloc, xcalloc, xrealloc): Move declarations here.
59105         (cache_search): Adjust prototype.
59106         Add netgroup-related prototypes.
59107         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59108         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59109         (__nscd_innetgr): Declare.
59110         * nscd/selinux.c (perms): Use access_vector_t as element type and
59111         add netgroup-related initializers.
59112         * nscd/netgroupcache.c: New file.
59113         * nscd/nscd_netgroup.c: New file.
59114         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59115         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59116         For four parameters use innetgr.
59117         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59118         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59119         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59120         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59122         * nscd/connections.c (register_traced_file): Don't register file
59123         for disabled databases.
59125 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59127         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59129         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59130         from tree and freeing node.
59132 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59134         * nss/nsswitch.c (__nss_database_lookup): Handle
59135         nss_parse_service_list out of memory case.
59137 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59139         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59140         out of memory case.
59142 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59144         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59145         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59146         pass it down.
59147         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59148         elf_machine_rela, elf_machine_lazy_rel.
59149         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59150         (ELF_DYNAMIC_DO_REL): Likewise.
59151         (ELF_DYNAMIC_DO_RELA): Likewise.
59152         (ELF_DYNAMIC_RELOCATE): Likewise.
59153         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59154         to ELF_DYNAMIC_DO_REL.
59155         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59156         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59157         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59158         elf_machine_rela.
59159         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59160         skip_ifunc, don't call ifunc function if non-zero.
59161         (elf_machine_rela): Likewise.
59162         (elf_machine_lazy_rel): Likewise.
59163         (elf_machine_lazy_rela): Likewise.
59164         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59165         (elf_machine_lazy_rel): Likewise.
59166         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59167         Likewise.
59168         (elf_machine_lazy_rel): Likewise.
59169         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59170         Likewise.
59171         (elf_machine_lazy_rel): Likewise.
59172         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59173         (elf_machine_lazy_rel): Likewise.
59174         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59175         (elf_machine_lazy_rel): Likewise.
59176         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59177         (elf_machine_lazy_rel): Likewise.
59178         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59179         (elf_machine_lazy_rel): Likewise.
59180         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59181         (elf_machine_lazy_rel): Likewise.
59182         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59183         (elf_machine_lazy_rel): Likewise.
59185 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59187         * nss/nss_files/files-init.c (_nss_files_init): Use static
59188         initialization for all the *_traced_file variables.
59190 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59192         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59194 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59196         [BZ #13226]
59197         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59199 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59201         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59202         Reread the line before reparsing it.
59204 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59206         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59208 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59209             Maxim Kuvyrkov  <maxim@codesourcery.com>
59210             Joseph Myers  <joseph@codesourcery.com>
59212         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59213         if needed for __stack_chk_guard.
59215 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59217         * sysdeps/posix/spawni.c (script_execute): Always define it.
59218         It will be optimized away if unused.
59219         (maybe_script_execute): New function.
59220         (__spawni): Call it.
59222         * Makerules: Don't include tls.make.
59223         (config-tls): Always set to thread.
59224         * tls.make.c: File removed.
59226 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59228         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59229         * config.make.in (CPPFLAGS-config): New substituted variable.
59231 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59233         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59235         [BZ #13192]
59236         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59237         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59239 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59241         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59242         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59243         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59244         (CALL_FAIL): Likewise.
59245         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59246         (CALL_FAIL): Macro removed.
59247         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59249 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59251         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59252         for __FINITE_MATH_ONLY__ == 1.
59254 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59256         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59257         __ieee754_sqrt instead of sqrt.
59258         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59259         __ieee754_sqrtf instead of sqrtf.
59260         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59261         __floorf instead of floorf.
59262         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59263         __floorf, __truncf instead of floorf, truncf.
59265 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59267         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59269         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59270         __extern_always_inline.
59271         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59272         32-bit.
59274 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59276         * elf/rtld.c (dl_main): Also relocate in dependency order when
59277         doing symbol dependency testing.
59279 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59281         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59282         Always define `refsym'.
59284 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59286         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59287         (__FD_ELT): Renamed from __FDELT.
59288         * misc/bits/select2.h (__FD_ELT): Likewise.
59289         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59290         __FD_MASK instead of __FDELT, __FDMASK.
59291         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59292         Likewise.
59293         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59294         Likewise.
59296         * elf/Makefile (gen-ldd): Fix pattern.
59298         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59299         (init_tls): Likewise.
59301 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59303         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59305 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59307         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59308         `struct cmsghdr *' instead of `void *'.
59309         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59310         Likewise.
59312 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59314         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59315         if non-absolute.
59316         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59317         ldd_rewrite_script.
59319 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59321         * configure.in: Remove --with-tls option.
59322         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59323         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59324         out in case it is missing.
59325         * sysdeps/ia64/elf/configure.in: Likewise.
59326         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59327         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59328         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59329         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59330         * sysdeps/sh/elf/configure.in: Likewise.
59331         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59332         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59333         * sysdeps/x86_64/elf/configure.in: Likewise.
59334         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59335         * sysdeps/mach/hurd/tls.h: Likewise.
59337         [BZ #13067]
59338         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59340         [BZ #13090]
59341         * configure.in: Fix use of AC_INIT.
59343         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59345 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59347         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59348         __set_errno.
59349         * malloc/hooks.c: Likewise.
59351         [BZ #11929]
59352         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59353         variables statically.
59354         (narenas): Initialize.
59355         (list_lock): Initialize.
59356         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59357         initializtion of main_arena and list_lock.  Small cleanups.
59358         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59359         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59360         Add initializers to main_arena and mp_.
59361         (malloc_state): Remove pagesize member.  Change all users to use
59362         GLRO(dl_pagesize).
59364         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59365         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59366         is always initialized.
59368         * malloc/malloc.c: Removed unused configurations and dead code.
59369         * malloc/arena.c: Likewise.
59370         * malloc/hooks.c: Likewise.
59371         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59373         * include/tls.h: Removed.  USE___THREAD must always be defined.
59374         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59375         * elf/dl-libc.c: Likewise.
59376         * elf/dl-tsd.c: Likewise.
59377         * include/errno.h: Likewise.
59378         * include/netdb.h: Likewise.
59379         * include/resolv.h: Likewise.
59380         * inet/herrno-loc.c: Likewise.
59381         * inet/herrno.c: Likewise.
59382         * malloc/arena.c: Likewise.
59383         * malloc/hooks.c: Likewise.
59384         * malloc/malloc.c: Likewise.
59385         * resolv/res-state.c: Likewise.
59386         * resolv/res_libc.c: Likewise.
59387         * sysdeps/i386/dl-machine.h: Likewise.
59388         * sysdeps/ia64/dl-machine.h: Likewise.
59389         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59390         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59391         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59392         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59393         * sysdeps/sh/dl-machine.h: Likewise.
59394         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59395         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59396         * sysdeps/unix/i386/sysdep.S: Likewise.
59397         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59398         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59399         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59400         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59401         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59402         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59403         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59404         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59405         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59406         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59407         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59408         * sysdeps/x86_64/dl-machine.h: Likewise.
59409         * tls.make.c: Likewise.
59411         * configure.in: Remove --with-__thread option.  Make tests for
59412         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59413         tls_model attribute fail if no support is available.  Remove
59414         USE_IN_LIBIO.
59415         * Makeconfig: Adjust for dropped configure option.  All features are
59416         now mandatory.
59417         * Makerules: Likewise.
59418         * Versions.def: Likewise.
59419         * argp/argp-fmtstream.c: Likewise.
59420         * argp/argp-fmtstream.h: Likewise.
59421         * argp/argp-help.c: Likewise.
59422         * assert/assert.c: Likewise.
59423         * config.h.in: Likewise.
59424         * config.make.in: Likewise.
59425         * configure: Likewise.
59426         * configure.in: Likewise.
59427         * csu/Versions: Likewise.
59428         * csu/init.c: Likewise.
59429         * elf/tst-audit2.c: Likewise.
59430         * elf/tst-tls10.c: Likewise.
59431         * elf/tst-tls10.h: Likewise.
59432         * elf/tst-tls11.c: Likewise.
59433         * elf/tst-tls12.c: Likewise.
59434         * elf/tst-tls14.c: Likewise.
59435         * elf/tst-tlsmod11.c: Likewise.
59436         * elf/tst-tlsmod12.c: Likewise.
59437         * elf/tst-tlsmod13.c: Likewise.
59438         * elf/tst-tlsmod13a.c: Likewise.
59439         * elf/tst-tlsmod14a.c: Likewise.
59440         * elf/tst-tlsmod15b.c: Likewise.
59441         * elf/tst-tlsmod16a.c: Likewise.
59442         * elf/tst-tlsmod16b.c: Likewise.
59443         * elf/tst-tlsmod7.c: Likewise.
59444         * elf/tst-tlsmod8.c: Likewise.
59445         * elf/tst-tlsmod9.c: Likewise.
59446         * gmon/gmon.c: Likewise.
59447         * grp/fgetgrent_r.c: Likewise.
59448         * grp/putgrent.c: Likewise.
59449         * hurd/fopenport.c: Likewise.
59450         * include/libc-symbols.h: Likewise.
59451         * include/tls.h: Likewise.
59452         * intl/gettextP.h: Likewise.
59453         * intl/loadinfo.h: Likewise.
59454         * locale/global-locale.c: Likewise.
59455         * locale/localeinfo.h: Likewise.
59456         * mach/devstream.c: Likewise.
59457         * malloc/arena.c: Likewise.
59458         * malloc/set-freeres.c: Likewise.
59459         * misc/err.c: Likewise.
59460         * misc/getttyent.c: Likewise.
59461         * misc/mntent_r.c: Likewise.
59462         * posix/getopt.c: Likewise.
59463         * posix/wordexp.c: Likewise.
59464         * pwd/fgetpwent_r.c: Likewise.
59465         * resolv/Versions: Likewise.
59466         * resolv/res_hconf.c: Likewise.
59467         * shadow/fgetspent_r.c: Likewise.
59468         * shadow/putspent.c: Likewise.
59469         * stdio-common/printf_fphex.c: Likewise.
59470         * stdio-common/tmpfile.c: Likewise.
59471         * stdlib/abort.c: Likewise.
59472         * stdlib/fmtmsg.c: Likewise.
59473         * sunrpc/auth_unix.c: Likewise.
59474         * sunrpc/clnt_perr.c: Likewise.
59475         * sunrpc/clnt_tcp.c: Likewise.
59476         * sunrpc/clnt_udp.c: Likewise.
59477         * sunrpc/clnt_unix.c: Likewise.
59478         * sunrpc/openchild.c: Likewise.
59479         * sunrpc/svc_simple.c: Likewise.
59480         * sunrpc/svc_tcp.c: Likewise.
59481         * sunrpc/svc_udp.c: Likewise.
59482         * sunrpc/svc_unix.c: Likewise.
59483         * sunrpc/xdr.c: Likewise.
59484         * sunrpc/xdr_array.c: Likewise.
59485         * sunrpc/xdr_rec.c: Likewise.
59486         * sunrpc/xdr_ref.c: Likewise.
59487         * sunrpc/xdr_stdio.c: Likewise.
59489 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59491         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59493 2011-07-03  Andreas Jaeger  <aj@suse.de>
59495         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59496         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59497         regenerate with gen-libm-tests.pl.
59499 2010-05-12  Petr Baudis  <pasky@suse.cz>
59501         [BZ #11589]
59502         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59503         around j0() zero points by switching to j1().
59504         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59505         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59506         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59507         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59509 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59511         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59512         instead of 0.
59513         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59514         instead of 0.
59515         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59516         Patch in part by Pavel Roskin <proski@gnu.org>.
59518         [BZ #13138]
59519         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59520         realloc.
59521         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
59522         Free memory block if necessary.
59524         [BZ #12847]
59525         * libio/genops.c (INTDEF): For string streams the _lock pointer can
59526         be NULL.  Don't lock in this case.
59528 2011-09-09  Roland McGrath  <roland@hack.frob.com>
59530         * elf/elf.h (ELFOSABI_GNU): New macro.
59531         (ELFOSABI_LINUX): Define to that.
59533 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
59535         * string/strncat.c (strncat): Undef the symbol in case it has been
59536         defined in bits/string.h.
59538 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59540         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59542         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59543         link map.
59545 2011-08-17  Andreas Jaeger  <aj@suse.de>
59547         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59549 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59550             Ian Lance Taylor  <iant@google.com>
59552         * math/libm-test.inc (lround_test): New testcase.
59553         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59555 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
59557         * Makefile: Remove support for automatic cvs check-ins.
59558         * Makerules: Likewise.
59559         * config.make.in: Likewise.
59560         * configure.in: Likewise.
59561         * intl/Makefile: Likewise.
59562         * locale/Makefile: Likewise.
59563         * po/Makefile: Likewise.
59564         * posix/Makefile: Likewise.
59565         * sysdeps/gnu/Makefile: Likewise.
59566         * sysdeps/mach/hurd/Makefile: Likewise.
59567         * sysdeps/sparc/sparc32/Makefile: Likewise.
59569         [BZ #13118]
59570         * posix/Makefile (bug-regex32-ENV): Define.
59571         Patch by John Stanley <jpsinthemix@verizon.net>.
59573         * misc/Makefile (headers): Add bits/select2.h.
59574         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59575         * misc/bits/select2.h: New file.
59576         * include/bits/select2.h: New file.
59577         * debug/Makefile (routines): Add fdelt_chk.
59578         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59579         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59580         FD_ISSET.
59581         * debug/fdelt_chk.c: New file.
59583         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
59584         * wcsmbs/test-wmemcmp.c: Likewise.
59585         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
59586         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
59588 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59590         * string/Makefile (strop-tests): Add memcmp.
59591         * string/test-wmemcmp.c: New file.
59592         * string/test-memcmp.c: Add wmemcmp support.
59594 2011-09-08  Roland McGrath  <roland@hack.frob.com>
59596         [BZ #13153]
59597         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59598         2011-07-19 change.
59600         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59601         garbage value in a __mach_port_mod_refs call in the cases of the
59602         task-self and thread-self ports.
59604 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59606         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
59608 2011-09-08  Andreas Schwab  <schwab@redhat.com>
59610         * elf/dl-load.c (lose): Check for non-null L.
59612 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59614         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
59616         * elf/dl-libc.c (dlerror_run): Pass back error code from
59617         dl_catch_error.
59619         [BZ #13123]
59620         * elf/dl-load.c (lose): Free l_origin if it is valid.
59622         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
59623         names.
59624         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
59625         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59626         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59627         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59628         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
59629         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
59631 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59633         * sysdeps/powerpc/fpu/e_hypot.c: New file.
59634         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
59635         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
59636         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
59637         * sysdeps/powerpc/fpu/k_cosf.c: New file.
59638         * sysdeps/powerpc/fpu/k_sinf.c: New file.
59639         * sysdeps/powerpc/fpu/s_cosf.c: New file.
59640         * sysdeps/powerpc/fpu/s_sinf.c: New file.
59641         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
59642         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
59644 2011-08-15  Alan Modra  <amodra@gmail.com>
59646         [BZ #13092]
59647         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
59648         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
59649         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
59650         ppc_mcount to static-only-routines.
59651         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
59652         __mcount_internal.
59653         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
59654         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
59656 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
59658         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
59659         for finite and infinity parameters.
59661 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59663         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
59664         and add nop instructions for throughput optimization.
59665         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59667 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
59669         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59670         aligned copy for power7 with vector-scalar instructions.
59671         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59673 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
59675         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59676         AVX check.
59678 2011-09-07  Andreas Schwab  <schwab@redhat.com>
59680         [BZ #13144]
59681         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59682         last change.
59684 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59686         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59687         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59688         syscall wrapper around clock_gettime in __vdso_clock_gettime.
59689         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59690         clock_gettime.
59692 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59694         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59695         Forgot to demangle the pointer.
59697         * sysdeps/i386/sysdep.h: Define atom_text_section.
59698         * sysdeps/x86_64/sysdep.h: Likewise.
59699         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59700         section with atom_text_section.
59701         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59702         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59703         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59704         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59705         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59707         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59708         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59709         already be defined.  Change to take two parameters and don't assign
59710         result to variable.  Adjust all users.
59711         Define INTERNAL_GETTIME if not already defined.
59712         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59713         call.
59714         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59715         HAVE_CLOCK_GETTIME_VSYSCALL.
59716         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59718         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59719         gettimeofday vsyscall, just use time.
59721 2011-09-06  Andreas Schwab  <schwab@redhat.com>
59723         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59724         <errno.h>.
59726 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59728         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59729         syscall on x86-64.
59730         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59731         syscall.
59732         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59733         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59734         syscall if possible.
59736 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59738         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59739         e_ident.  Don't pass to find_mapsXX.
59740         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59742 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59744         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59745         strchr-sse2-no-bsf strrchr-sse2-no-bsf
59746         * sysdeps/x86_64/multiarch/strchr.S: Update.
59747         Check bit_slow_BSF bit.
59748         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59749         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59750         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59752 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59754         [BZ #13134]
59755         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59756         before glibc 2.15.
59757         (tryshell): Define.
59758         (__spawni): Change last parameter to be flag.  Test
59759         SPAWN_XFLAGS_USE_PATH flag to use path or not.
59760         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59761         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59762         * posix/spawni.c: Likewise.
59763         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59764         * posix/spawnp.c: Likewise.  Change normal version to use
59765         SPAWN_XFLAGS_USE_PATH.
59766         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59767         SPAWN_XFLAGS_TRY_SHELL.
59769         [BZ #13150]
59770         * posix/glob.h: Remove gcc 1.x support.
59772         [BZ #13068]
59773         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59775 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59777         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59778         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59779         strrchr-sse2-bsf
59780         * sysdeps/i386/i686/multiarch/strchr.S: New file.
59781         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59782         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59783         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59784         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59785         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59787 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59789         * sysdeps/x86_64/wcscmp.S: New file.
59791         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59792         wcscmp-c wcscmp-sse2
59793         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59794         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59795         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59796         * wcsmbs/wcscmp.c: Allow renaming.
59798 2011-09-05  David S. Miller  <davem@davemloft.net>
59800         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59801         stack slot, rather than the struct return pointer slot.
59802         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59803         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59805         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59807 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59809         * po/ja.po: Update from translation team.
59811         [BZ #13144]
59812         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59813         kernel in 64-bit binaries.
59815 2011-09-01  David S. Miller  <davem@davemloft.net>
59817         * elf/elf.h (HWCAP_SPARC_*): Move to..
59818         * sysdeps/sparc/sysdep.h: this new file and add new values.
59819         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59820         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59821         _DL_HWCAP_COUNT to 24.
59822         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59823         entries.
59824         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59825         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59826         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59827         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59828         instead of magic constants.
59829         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59831 2011-08-31  David S. Miller  <davem@davemloft.net>
59833         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59834         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59835         Reimplement to do errno handling inline.
59836         (SYSCALL_ERROR_HANDLER): New macro.
59837         (__SYSCALL_STRING): Do not do errno handling in asm.
59838         (__CLONE_SYSCALL_STRING): Delete.
59839         (__INTERNAL_SYSCALL_STRING): Delete.
59840         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59841         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59842         (PSEUDO): Reimplement to do errno handling inline.
59843         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59844         (SYSCALL_ERROR_HANDLER): New macro.
59845         (__SYSCALL_STRING): Do not do errno handling in asm.
59846         (__CLONE_SYSCALL_STRING): Delete.
59847         (__INTERNAL_SYSCALL_STRING): Delete.
59848         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59849         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59850         i386.
59851         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59852         (inline_syscall*): Add 'err' argument.
59853         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59854         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59855         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59856         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59858         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59859         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59861 2011-08-30  Andreas Schwab  <schwab@redhat.com>
59863         * elf/rtld.c (dl_main): Relocate objects in dependency order.
59865 2011-08-29  Jiri Olsa <jolsa@redhat.com>
59867         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59868         directive.
59870 2011-08-24  David S. Miller  <davem@davemloft.net>
59872         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59874 2011-08-24  Andreas Schwab  <schwab@redhat.com>
59876         * elf/Makefile: Add rules to build and run unload8 test.
59877         * elf/unload8.c: New file.
59878         * elf/unload8mod1.c: New file.
59879         * elf/unload8mod1x.c: New file.
59880         * elf/unload8mod2.c: New file.
59881         * elf/unload8mod3.c: New file.
59883         * elf/dl-close.c (_dl_close_worker): Reset private search list if
59884         it wasn't used.
59886 2011-08-23  David S. Miller  <davem@davemloft.net>
59888         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59889         subtract stack bias.
59890         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59891         %sp not %fp in calculations.
59892         (_JMPBUF_UNWINDS_ADJ): Likewise.
59894         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59895         (aio_suspend): Call it to force an exception region around the
59896         AIO_MISC_WAIT() invocation.
59898 2011-08-23  Andreas Schwab  <schwab@redhat.com>
59900         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59901         backslash.
59903 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
59905         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59906         protection macro.
59907         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59908         and <dl-machine.h>.
59909         (Elf64_FuncDesc): Remove.
59911 2011-08-22  David S. Miller  <davem@davemloft.net>
59913         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59914         sigaltstack check, add missing cfi directives.
59915         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59916         missing cfi directives, and sigaltstack handling.
59918 2011-08-16  Andreas Schwab  <schwab@redhat.com>
59920         [BZ #11724]
59921         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59922         object is seen twice.
59923         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59925         * elf/Makefile (distribute): Add tst-initorder2.c.
59926         (tests): Add tst-initorder2.
59927         (modules-names): Add tst-initorder2a tst-initorder2b
59928         tst-initorder2c tst-initorder2d.  Add rules to build them.
59929         ($(objpfx)tst-initorder2.out): New rule.
59930         * elf/tst-initorder2.c: New file.
59931         * elf/tst-initorder2.exp: New file.
59933 2011-08-22  Andreas Schwab  <schwab@redhat.com>
59935         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59937         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59938         dependencies back to end of function.
59940         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59941         $(elfobjdir)/ld.so.
59943 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
59945         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59946         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59947         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59948         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59949         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59950         of __vdso_gettimeofday.
59951         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59952         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
59953         attribute_hidden.
59954         (_libc_vdso_platform_setup): Remove initialization of
59955         __vdso_gettimeofday and __vdso_time.
59957 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59959         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59960         and fgetc_unlocked.
59961         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59962         getc_unlocked.
59964         * elf/dl-open.c (add_to_global): Report additions to the global scope
59965         for LD_DEBUG=scopes.
59966         (dl_open_worker): Also print scope of newly loaded dependencies.
59967         (_dl_show_scope): Indicate if there is no scope.
59969         [BZ #13114]
59970         * stdio-common/Makefile (tests): Add bug24.
59971         * stdio-common/bug24.c: New file.
59973 2011-08-19  Andreas Jaeger  <aj@suse.de>
59975         [BZ #13114]
59976         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59977         non-existant file when using close-on-exec mode.
59979 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59981         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
59982         the very first instruction.
59984         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
59985         the CFI state in the end.
59986         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
59987         inclusion of dl-trampoline.h.
59988         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
59990 2011-08-19  Andreas Schwab  <schwab@redhat.com>
59992         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
59993         expectations for long double.
59995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
59996         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
59998 2011-08-14  David S. Miller  <davem@davemloft.net>
60000         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60001         artificual limit depends upon the system page size.
60003 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60005         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60006         * resolv/Makefile: Define CFLAGS-libresolv.
60008 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60010         * nss/makedb.c (compute_tables): Make variables used in nested
60011         function static.
60013 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60015         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60016         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60017         if buffer was too small.
60019         * elf/pldd.c (main): Attach to all threads in the process.
60020         Rewrite /proc handling to use *at functions.
60022 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60024         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60025         specifies first scope to show.
60026         (dl_open_worker): Update callers.  Move printing scope of new
60027         object to before the relocation.
60028         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60029         * sysdeps/generic/ldsodefs.h: Update declaration.
60031         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60032         string for the scope number.
60034 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60036         * nscd/servicescache.c (cache_addserv): Make sure written is always
60037         initialized.
60039 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60041         * sysdeps/i386/i486/bits/atomic.h
60042         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60043         statement expression, so as to suppress "set but not used" warning.
60044         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60046         * string/strncat.c (STRNCAT): Use prototype definition.
60048         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60049         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60050         -Iprograms here.
60051         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60052         (localedef-modules): Add localedef.
60053         (locale-modules): Add locale.
60055         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60056         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60057         to avoid a warning.
60059 2011-08-14  David S. Miller  <davem@davemloft.net>
60061         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60062         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60064 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60066         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60067         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60068         * elf/rtld.c (dl_main): Set l_name of vDSO.
60069         Call _dl_show_scope when DL_DEBUG_SCOPES.
60070         (process_dl_debug): Recognize scopes flag and also set it for all.
60071         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60072         Declare _dl_show_scope.
60074         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60075         (do_dlopen): Pass caller_dlopen to dl_open.
60076         (__libc_dlopen_mode): Initialize caller_dlopen.
60078         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60079         of libc.  Make tolower call locale-independent.  Optimize a bit by
60080         using isdigit instead of isalnum.
60081         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60083 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60085         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60086         was a dependency or dynamically loaded.
60088 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60090         * intl/l10nflist.c: Allow architecture-specific pop function.
60091         * sysdeps/x86_64/l10nflist.c: New file.
60093         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60094         classification.
60096 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60098         * include/dirent.h: Add libc_hidden_proto for scandirat and
60099         scandirat64.  Don't declare __scandirat64.
60100         * dirent/scandirat.c: Add libc_hidden_def.
60101         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60102         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60104 2011-08-10  David S. Miller  <davem@davemloft.net>
60106         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60107         enum.
60108         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60109         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60110         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60112 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60114         * Versions.def [libc]: Add GLIBC_2.15.
60115         * dirent/Makefile (routines): Add scandirat and scandirat64.
60116         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60117         GLIBC_2.15.
60118         * dirent/dirent.h: Declare scandirat and scandirat64.
60119         * dirent/scandirat.c: New file.
60120         * dirent/scandirat64.c: New file.
60121         * sysdeps/wordsize-64/scandirat.c: New file.
60122         * sysdeps/wordsize-64/scandirat64.c: New file.
60123         * dirent/opendir.c: Define opendirat.
60124         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60125         using scandirat.
60126         * dirent/scandir64.c: Adjust for scandir.c change.
60127         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60128         __scandirat64, and __scandir_cancel_handler.
60129         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60130         additional parameter and use openat instead of open (outside of ld.so).
60131         Add new __opendir as wrapper around __opendirat.
60132         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60133         here without requiring old scandirat implementation.
60135 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60137         * dirent/scandir.c (cancel_handler): Renamed to
60138         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60139         defined.  Adjust users.
60140         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60141         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60143 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60145         * string/test-string.h (IMPL): Use __STRING to expand name and then
60146         stringify it.
60148         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60149         of cleanups.
60151 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60153         * string/Makefile: Update.
60154         (strop-tests): Append strncat.
60155         * string/test-wcscmp.c: New file.
60156         New comprehensive test for wcscmp.
60157         * string/test-strcmp.c: Update.
60158         (WIDE): New define.
60160 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60162         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60163         line.
60165 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60167         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60168         encoding to ACE if AI_IDN.
60170 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60172         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60173         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60175 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60177         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60178         Fix overflow bug in strncat.
60179         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60181         * string/test-strncat.c: Update.
60182         Add new tests for checking overflow bugs.
60184 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60186         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60187         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60188         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60189         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60190         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60191         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60192         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60193         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60194         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60196         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60197         (USE_AS_STRCAT): Define.
60198         Add strcat and strncat support.
60199         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60201 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60203         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60204         __n bigger than INT_MAX+1.
60205         (__strncmp_g): Likewise.
60207 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60209         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60210         * libio/stido.h: Likewise.
60212         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60213         (AF_NFC): Define.
60214         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60215         (AF_NFC): Define.
60217         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60218         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60219         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60220         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60221         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60223         [BZ #13021]
60224         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60225         installed.
60227         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60228         typo.
60229         (_dl_x86_64_save_sse): Likewise.
60231 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60233         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60234         OSXSAVE.
60235         (_dl_x86_64_save_sse): Likewise.
60237         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60239         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60241 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60243         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60244         change.
60245         (_dl_x86_64_save_sse): Use correct AVX check.
60247 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60249         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60250         bug in strncpy/strncat.
60251         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60253 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60255         * string/tester.c (test_strcat): Add tests for different alignments
60256         of source and destination.
60257         (test_strncat): Likewise.
60259 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60261         [BZ #12852]
60262         * posix/glob.c (glob): Check passed in values before using them in
60263         expressions to avoid some overflows.
60264         (glob_in_dir): Likewise.
60266         [BZ #13007]
60267         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60268         check for AVX enablement so that we don't crash with old kernels and
60269         new hardware.
60270         * elf/tst-audit4.c: Add same checks here.
60271         * elf/tst-audit6.c: Likewise.
60273         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60275 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60277         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60279 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60281         * po/cs.po: Update from translation team.
60282         * po/bg.po: Likewise.
60284 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60286         * misc/sys/cdefs.h: Add support for const attribute.
60287         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60288         to gnu_dev_{major,minor,makedev} functions.
60290 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60292         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60294 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60296         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60297         strlen results.
60299 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60301         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60302         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60303         register in order to avoid conflicts with the soft frame pointer
60304         being held in r11 when necessary.
60305         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60306         (INTERNAL_VSYSCALL_NCS): Likewise.
60308 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60310         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60311         * elf/dl-fini.c (_dl_fini): Adjust caller.
60312         * elf/dl-close.c (_dl_close_worker): Likewise.
60313         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60315 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60317         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60318         "aux_cache->nlibs < 0".
60320         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60321         in the reload-count case.
60323 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60325         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60326         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60327         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60328         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60329         * sysdeps/x86_64/multiarch/strcat.S: New file.
60330         * sysdeps/x86_64/multiarch/strncat.S: New file.
60331         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60332         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60333         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60334         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60335         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60336         (USE_AS_STRCAT): Define.
60337         Add strcat and strncat support.
60338         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60339         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60340         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60341         * string/strncat.c: Update.
60342         (USE_AS_STRNCAT): Define.
60343         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60344         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60345         and i7.
60346         * sysdeps/x86_64/multiarch/init-arch.h
60347         (bit_Prefer_PMINUB_for_stringop): New.
60348         (index_Prefer_PMINUB_for_stringop): Likewise.
60349         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60350         bit_Prefer_PMINUB_for_stringop.
60352 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60354         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60355         buffer64.
60356         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60357         of casting of buffer.
60358         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60359         buffer32 and buffer64.
60360         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60361         writes instead of casting of buffer.
60362         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60363         buffer32.
60364         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60365         casting of buffer.
60367 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60369         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60371 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60373         * nscd/nscd.c (termination_handler): Don't do anything for a database
60374         if it has not yet been initialized.
60376 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60378         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60380 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60382         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60384 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60386         * po/nl.po: Update from translation team.
60387         * po/sv.po: Likewise.
60389 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60391         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60392         now disallowed by GCC.
60394         * configure.in (use-default-link): Default to yes if a test -shared
60395         link meets our qualifications.
60396         * configure: Regenerated.
60398         * config.make.in (output-format): New variable.
60399         * configure.in: Check for ld --print-output-format support.
60400         * configure: Regenerated.
60401         * Makerules ($(common-objpfx)format.lds)
60402         [$(output-format) != unknown]: Just use $(output-format),
60403         instead of the linker-script munging.
60405 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60407         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60408         of $(common-objpfx)shlib.lds.
60409         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60411         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60412         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60414         * configure.in (-z relro check): Adjust test code to add a large
60415         writable data section after it.
60416         * configure: Regenerated.
60418 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60420         * configure.in (-z relro check): Fix test code to make the variable
60421         truly const.
60422         * configure: Regenerated.
60424 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60426         * nscd/nscd.h (struct traced_file): Define.
60427         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60428         elements.  Add traced_files.
60429         (inotify_fd): Declare.
60430         (register_traced_file): Declare.
60431         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60432         (inotify_fd): Export.
60433         (resolv_conf_descr): Remove.
60434         (nscd_init): Move inotify descriptor creation to main.
60435         Don't register files for notification here.
60436         (register_traced_file): New function.
60437         (invalidate_cache): Don't use reset_res to determine whether to call
60438         res_init, go through the list of registered files.
60439         (main_loop_poll): The inotify descriptors are now stored in the
60440         structures for the traced files.
60441         (main_loop_epoll): Likewise
60442         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
60443         to __nss_disable_nscd.
60444         * nscd/cache.c (prune_cache): There is no single inotify descriptor
60445         for a database anymore.  Check the records for all the registered
60446         files instead.
60447         * nss/Makefile (libnss_files-routines): Add files-init.
60448         (libnss_db-routines): Add db-init.
60449         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60450         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60451         * nss/nss_db/db-init.c: New file.
60452         * nss/nss_files/files-init.c: New file.
60453         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
60454         __nss_lookup_function.
60455         (__nss_lookup_function): Call nss_load_library.
60456         (nss_load_all_libraries): New function.
60457         (__nss_disable_nscd): Take parameter with callback function for files
60458         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
60459         used for the cached services.
60460         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60461         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60462         options for features to all the files in nscd.
60464         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60466 2011-07-10  Roland McGrath  <roland@hack.frob.com>
60468         * csu/elf-init.c (__libc_csu_init): Comment typo.
60470 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
60472         * po/pl.po: Update from translation team.
60473         * po/ja.po: Likewise.
60474         * po/ru.po: Likewise.
60475         * po/ko.po: Likewise.
60476         * po/fr.po: Likewise.
60478 2011-07-09  Roland McGrath  <roland@hack.frob.com>
60480         * configure.in (.ctors/.dtors header and trailer check):
60481         Use an empirical test on a built program.
60482         * configure: Regenerated.
60484         * configure.in (-z relro check): Use an empirical test on a built DSO.
60485         Detect, but do not require, on ia64.
60486         * configure: Regenerated.
60488         * configure.in (READELF): Find it with AC_CHECK_TOOL.
60489         Update tests that use readelf to use $READELF instead.
60490         * configure: Regenerated.
60492 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
60494         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60495         if the result is not used.
60497 2011-07-05  Andreas Jaeger  <aj@suse.de>
60499         [BZ#9696]
60500         * stdlib/tst-strtod.c: Add testcase.
60502 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
60504         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60505         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60506         The latter has a higher limit.  Take additional parameter to pass to
60507         the new function.
60508         (__pathconf): Pass file to __statfs_link_max.
60509         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60510         __statfs_link_max.
60511         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60512         __statfs_link_max.
60514         [BZ #12868]
60515         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60516         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60517         Handle Lustre.
60518         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60519         (__statfs_filesize_max): Likewise.
60520         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60522 2011-07-05  Andreas Jaeger  <aj@suse.de>
60524         * resolv/res_comp.c (dn_skipname): Remove unused variable.
60526 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
60528         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60529         `status' variable.
60530         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60531         Likewise.
60533 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
60535         * Makefile (strop-tests): Add strncat.
60536         * string/test-strncat.c: New file.
60538 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
60540         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60542 2011-06-21  Andreas Jaeger  <aj@suse.de>
60544         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60545         Copy rule from iconvdata/Makefile.
60547 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60549         [BZ #12922]
60550         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60551         but no long options are defined, just return 'W'.
60553 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
60555         [BZ #9696]
60556         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60558 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60560         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60561         netgroups to read.
60562         (innetgr): Likewise.
60564 2011-07-05  Roland McGrath  <roland@hack.frob.com>
60566         * config.make.in (install_root): Default to $(DESTDIR).
60568 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
60570         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60572 2011-07-02  Roland McGrath  <roland@hack.frob.com>
60574         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60576         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60577         containing directory rather than embedding absolute directory names.
60579         * scripts/check-local-headers.sh: Rewritten using awk.
60580         Match by word, not by line.  Print error messages for matches.
60581         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60583         * Makerules [shlib-lds-flags empty]:
60584         ($(common-objpfx)libc_pic.opts): New target.
60585         ($(common-objpfx)libc_pic.os.clean): New target.
60586         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60588         * config.make.in (OBJCOPY): New variable.
60589         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60590         * configure: Regenerated.
60592         * config.make.in (use-default-link): New variable.
60593         * configure.in (use_default_link): Grok --with-default-link to set it.
60594         * configure: Regenerated.
60595         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60596         (shlib-lds, shlib-lds-flags): Define to empty.
60598         * Makerules (shlib-lds): New variable.
60599         (shlib-lds-flags): New variable.
60600         (build-shlib, build-moduile, build-module-asneeded): Use it.
60601         ($(common-objpfx)libc.so): Use $(shlib-lds).
60602         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
60603         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
60605         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
60606         DT_FLAGS/DT_FLAGS_1 with zero flags.
60608         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
60609         linker script munging.
60611 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
60613         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
60614         as 128-bit value.
60615         * crypt/sha512.c (sha512_process_block): Perform total addition using
60616         128-bit if possible.
60617         (__sha512_finish_ctx): Likewise.
60618         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
60619         as 64-bit value.
60620         * crypt/sha256.c (SWAP64): Define.
60621         (sha256_process_block): Perform total addition using 64-bit if
60622         possible.
60623         (__sha256_finish_ctx): Likewise.
60625 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
60627         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
60628         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60629         * nscd/hstcache.c (cache_addhst): Likewise.
60630         * nscd/grpcache.c (cache_addgr): Likewise.
60631         * nscd/aicache.c (addhstaiX): Likewise
60632         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
60634 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
60636         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
60637         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60638         * nscd/hstcache.c (cache_addhst): Likewise.
60639         * nscd/grpcache.c (cache_addgr): Likewise.
60640         * nscd/aicache.c (addhstaiX): Likewise
60642 2011-07-01  Andreas Schwab  <schwab@redhat.com>
60644         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
60645         domain only when needed.
60647 2011-06-30  Andreas Schwab  <schwab@redhat.com>
60649         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
60650         is always restored.
60652 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
60654         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
60655         are re-adding the entry.
60656         * nscd/servicescache.c (cache_addserv): Likewise.
60658 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
60660         * sysdeps/generic/dl-irel.h: fix protection against multiple
60661         inclusions.
60662         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
60664 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
60666         [BZ #12935]
60667         * malloc/memusage.sh: Fix quoting in message.
60668         * debug/xtrace.sh: Likewise.
60670         * configure.in: Remove support for --experimental-malloc option, make
60671         it the default.
60672         * config.make.in: Likewise.
60673         * malloc/Makefile: Likewise.
60675 2011-06-27  Andreas Schwab  <schwab@redhat.com>
60677         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60678         two-byte characters.
60680 2011-06-27  Roland McGrath  <roland@hack.frob.com>
60682         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60683         AC_CACHE_CHECK invocation.
60684         * configure: Regenerated.
60686         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60688 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
60690         [BZ #12350]
60691         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
60692         bit from old_res_options.
60694         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60696         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60697         value type for setfct.
60699 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
60701         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60702         __gettimeofday instead of gettimeofday.
60704 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
60706         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60708 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
60710         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60712         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60713         info.
60715 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60717         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60718         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60719         strcpy-sse2-unaligned strncpy-sse2-unaligned
60720         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60721         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60722         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60723         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60724         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60725         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60726         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60727         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60728         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60729         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60730         (STRCPY): Support SSE2 and SSSE3 versions.
60732 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
60734         [BZ #12874]
60735         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60736         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60737         kernels which artificially limit size of requests.
60739 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60741         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60742         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60743         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60744         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60745         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60746         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60747         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60748         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60749         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60750         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60751         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60752         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60753         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60754         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60755         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60756         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60757         Enable unaligned load optimization for Intel Core i3, i5 and i7
60758         processors.
60759         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60760         Define.
60761         (index_Fast_Unaligned_Load): Define.
60762         (HAS_FAST_UNALIGNED_LOAD): Define.
60764 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
60766         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60768 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60770         [BZ #12907]
60771         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60772         until it is clear that the information is realy needed.
60773         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60775 2011-06-22  Andreas Schwab  <schwab@redhat.com>
60777         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60779 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60781         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60782         /sys/devices/system/cpu/online if it is usable.
60784         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60785         reading the information from the /proc filesystem to once a second.
60787 2011-06-21  Andreas Jaeger  <aj@suse.de>
60789         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60790         NULL after inclusion of kernel headers.
60792 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
60794         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60795         calls to internal_setent.
60797         [BZ #12885]
60798         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60799         addresses using gethostbyname4_r ignore IPv4 addresses.
60801         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60802         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
60804         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60806 2011-06-20  David S. Miller  <davem@davemloft.net>
60808         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60809         inclusions.
60810         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60812         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60813         (elf_irel): Use it.
60814         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60815         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60816         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60817         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60818         * sysdeps/x86_64/dl-irel.h: Likewise.
60820         * elf/dl-runtime.c: Use elf_ifunc_invoke.
60821         * elf/dl-sym.c: Likewise.
60823 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60825         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
60826         need to dereference resplen2.
60828 2011-06-14  Andreas Schwab  <schwab@redhat.com>
60830         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60832 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60834         * Makeconfig: Define vardbdir and inst_vardbdir.
60835         * nss/Makefile: Add rules to install db-Makefile.
60837         * nss/nss_db/db-XXX.c: Cleanup.
60839         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60840         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60841         GLIBC_PRIVATE.
60842         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60843         * nss/makedb.c: Implement -g option to specify that value strings
60844         are generated and should not be added to table iterated over for
60845         get*ent calls.
60846         * nss/nss_db/db-initgroups.c: New file.
60848         * nss/getent.c: Add support for initgroups lookups through getgrouplist
60849         interface.
60851         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60852         (internal_getgrouplist): Adjust to name change.
60853         Update use_initgroups_entry if this is not the first call.
60854         * nss/databases.def: Add initgroups entry.
60856         * nss/makedb.c (compute_tables): Check result of multiple hash table
60857         sizes to minimize maximum chain length.
60859 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
60861         * Versions.def: Add entry for libnss_db.
60862         * shlib-versions: Likewise.
60863         * nss/Makefile: Add rules to build libnss_db.
60864         * nss/Versions: Add libnss_db information.  Organize libnss_files
60865         entries better.
60866         * nss/db-Makefile: Add gshadow support.  Change rules for the new
60867         makedb progra.  Some minor improvements to generate smaller files.
60868         * nss/nss_db/nss_db.h: Move NSS database header data structures to
60869         here from...
60870         * nss/makedb.c: ...here.
60871         Improve database format to be smaller and require less memory at
60872         runtime.
60873         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
60874         db anymore.
60875         * nss/nss_db/db-netgrp.c: Likewise.
60876         * nss/nss_db/db-open.c: Likewise.
60877         * nss/nss_files/flies-XXX.x: Adjust comments.
60878         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60879         * nss/nss_files/files-grp.c: Likewise.
60880         * nss/nss_files/files-hosts.c: Likewise.
60881         * nss/nss_files/files-network.c: Likewise.
60882         * nss/nss_files/files-proto.c: Likewise.
60883         * nss/nss_files/files-pwd.c: Likewise.
60884         * nss/nss_files/files-rpc.c: Likewise.
60885         * nss/nss_files/files-service.c: Likewise.
60886         * nss/nss_files/files-sgrp.c: Likewise.
60887         * nss/nss_files/files-spwd.c: Likewise.
60888         * nss/nss_db/db-alias.c: Removed.
60889         * nss/nss_db/dummy-db.h: Removed.
60891 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
60893         * nss/makedb.c: Rewritten to not use database library.
60894         * nss/Makefile: Update to build new makedb program.
60896 2011-06-14  Andreas Jaeger  <aj@suse.de>
60898         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60899         memset declaration.
60901 2011-06-10  Andreas Schwab  <schwab@redhat.com>
60903         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60904         tmpbuf.
60906 2011-06-10  Roland McGrath  <roland@hack.frob.com>
60908         * Makerules (shlib.lds): Fail if the linker script comes out empty.
60909         * elf/Makefile ($(objpfx)ld.so): Likewise.
60911         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60912         Don't list ld.so twice in dependencies.
60914         * posix/bug-regex31.c: Include <stdlib.h>.
60916         * nscd/hstcache.c (cache_addhst): Remove unused variable.
60918         * nis/nss_compat/compat-spwd.c
60919         (getspent_next_nss_netgr): Remove unused variable.
60920         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60922         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60923         nonmembers" output to use the right array.
60925         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60927         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60929         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60930         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60931         * catgets/gencat.c (read_input_file): Likewise.
60932         * locale/programs/locarchive.c (enlarge_archive): Likewise.
60934         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60935         variable definition inside #if's controlling its use.
60937         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60939         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60941         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60943         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60944         unreachable code.
60946         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60948         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60949         * configure: Regenerated.
60951         * Makerules: Revert last change.
60952         * elf/Makefile: Likewise.
60954 2011-06-09  Roland McGrath  <roland@hack.frob.com>
60956         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60957         * elf/Makefile ($(objpfx)librtld.os): Likewise.
60958         (reloc-link): Likewise.
60960 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
60962         * elf/Makefile: Add rules to build pldd.
60963         * elf/pldd.c: New file.
60964         * elf/pldd-xx.c: New file.
60966 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
60968         * version.h: Update for 2.15 development version.
60970 2011-06-07  David S. Miller  <davem@davemloft.net>
60972         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60973         ifuncs.
60974         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60975         elf_machine_lazy_rel): Likewise.
60976         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60977         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60978         elf_machine_lazy_rel): Likewise.
60979         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
60980         dl_hwcap via passed in argument.
60981         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
60982         Likewise.
60984 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60986         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
60988 2011-06-06  Roland McGrath  <roland@hack.frob.com>
60990         [BZ #12849]
60991         * manual/fdl-1.1.texi: New file, verbatim from:
60992         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
60993         * manual/lgpl-2.1.texi: New file, verbatim from:
60994         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
60995         * manual/Makefile (licenses): New variable, list those new file names.
60996         (texis): Use it.
60997         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
60999         * manual/fdl.texi: File removed.
61000         * manual/lesser.texi: File removed.
61001         * manual/libc.texinfo (Copying, Documentation License):
61002         Use new @include file names, put @appendix directive before @include.
61004 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61006         [BZ #12841]
61007         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61008         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61009         (mq_open): Add __NTH.
61011 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61013         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61014         Assume Intel Core i3/i5/i7 processor if AVX is available.
61016 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61018         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61019         typo.
61021 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61023         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61024         memory.  Use alloca_account.  Fix memory leak when retrying.
61026 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61028         * version.h (RELEASE): Bump for 2.14 release.
61029         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61031         * config.make.in (RANLIB): Remove entry.
61033 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61035         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61036         (libc.pot): Work around missing support for .ksh extension in xgettext.
61038         [BZ #12684]
61039         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61040         if both request failed.
61041         (send_dg): In case of server errors clear resplen or *resplen2.
61043         [BZ #12454]
61044         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61045         when there are multiple maps.
61046         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61047         (_dl_fini): Remove test here.
61049         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61051 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61053         [BZ #12350]
61054         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61055         bit from old_res_options.
61056         (gaih_inet): Likewise.
61058         [BZ #11099]
61059         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61060         as signed.
61062         * resolv/res_init.c (res_setoptions): Make the code more compact.
61064         [BZ #11558]
61065         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61066         set RES_USEVC.
61068         [BZ #11634]
61069         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61071         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61073         [BZ #11781]
61074         * malloc/malloc.h: Declare malloc hook variables as volatile.
61076         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61077         in last patch.
61079         [BZ #11799]
61080         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61081         raise in the comment.
61082         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61083         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61084         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61086 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61088         [BZ #12811]
61089         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61090         grow the buffers more if it already has to be sufficient.
61091         (build_wcs_upper_buffer): Likewise.
61092         * posix/regexec.c (check_matching): Likewise.
61093         (clean_state_log_if_needed): Likewise.
61094         (extend_buffers): Don't enlarge buffers beyond size of the input
61095         buffer.
61096         Patches mostly by Emil Wojak <emil@wojak.eu>.
61097         * posix/bug-regex32.c: New file.
61098         * posix/Makefile (tests): Add bug-regex32.
61100         * locale/findlocale.c (_nl_find_locale): Return right away if
61101         _nl_explode_name failed.
61102         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61104         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61106         * debug/xtrace.sh: Unify messages.
61107         * malloc/memusage.sh: Likewise.
61109         [BZ #12813]
61110         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61111         time symbol from vDSO.  Substitute with vsyscall if not available.
61112         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61113         __vdso_time.
61115         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61116         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61117         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61118         Add sendmmsg and internal_sendmmsg.
61119         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61120         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61121         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61123         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61124         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61125         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61127 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61129         [BZ #12813]
61130         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61131         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61132         available.
61133         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61134         __vdso_getcpu.
61136         [BZ #12814]
61137         * iconvdata/Makefile (tests): Add bug-iconv9.
61138         * iconvdata/bug-iconv9.c: New file.
61140 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61142         [BZ #12814]
61143         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61145 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61147         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61148         (struct user_regs_struct): Change intcs field back to cs.
61150 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61152         * po/ja.po: Update from translation team.
61154 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61156         [BZ #12795]
61157         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61158         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61160 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61162         * stdlib/longlong.h: Update from GCC.
61164 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61166         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61167         parameter name.
61168         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61169         Add parameter name.
61170         (__sysconf): Pass it down.
61172 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61174         [BZ #12671]
61175         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61176         some situations.
61177         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61178         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61179         add in in __libc_use_alloca calls.  Adjust callers.
61180         (glob): Use malloc in some situations.
61182         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61183         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61184         pltexit.
61186 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61188         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61189         and CLOCK_BOOTTIME_ALARM.
61191         [BZ #12782]
61192         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61193         is returned.
61195         * string/_strerror.c (__strerror_r): Print negative errors as signed
61196         numbers.
61198         [BZ #12777]
61199         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61200         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61201         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61203         * configure.in: Fix typo in redirection and correct removal of test
61204         files in two cases.
61206         [BZ #12788]
61207         * locale/setlocale.c (new_composite_name): Fix test to check for
61208         identical name of all categories.
61210         [BZ #12792]
61211         * libio/filedoalloc.c (local_isatty): New function.
61212         (_IO_file_doallocate): Use local_isatty.
61213         * stdio-common/perror.c (perror): In case a new stream is used
61214         forward the stream error.
61215         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61216         error flag.
61218 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61220         [BZ #11869]
61221         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61222         alloca.
61223         * include/alloca.h (extend_alloca_account): Define.
61225         [BZ #11857]
61226         * posix/regex.h: Fix comments with documentation of user-accessible
61227         fields after compilation and describe correct free'ing of pattern
61228         after re_compile_pattern.
61229         Patch by Reuben Thomas <rrt@sc3d.org>.
61231 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61233         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61234         and -mno-altivec to prevent the compiler from using Altivec and/or
61235         VSX instructions when the corresponding registers are not available.
61237 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61239         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61241 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61243         * libio/freopen.c (freopen): Use __dup2, not dup2.
61244         * libio/freopen64.c (freopen64): Likewise.
61246 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61248         [BZ #12775]
61249         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61250         * math/Makefile (tests): Add test-powl.
61251         (CFLAGS-test-powl.c): Define.
61252         * math/test-powl.c: New file.
61254 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61256         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61258 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61260         [BZ #11837]
61261         * iconvdata/gb18030.c: Update to GB18020-2005.
61263 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61265         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61266         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61267         Patch by Aharon Robbins <arnold@skeeve.com>.
61269         [BZ #11892]
61270         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61271         on the stack.
61273         [BZ #11895]
61274         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61275         through underflows.
61277         [BZ #12766]
61278         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61279         point to strings before performing equality test for error_one_per_line
61280         mode.
61282         [BZ #11697]
61283         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61285         [BZ #11820]
61286         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61287         (struct user_fpregs_struct): Avoid __uint*_t types.
61289         [BZ #6420]
61290         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61291         symbol info.  Use it instead of calling _dl_addr locally.
61292         (lock_and_info): New function.
61293         (tr_freehook): Call lock_and_info and pass symbol info as additional
61294         parameter to tr_where.
61295         (tr_mallochook): Likewise.
61296         (tr_reallochook): Likewise.
61297         (tr_memalignhook): Likewise.
61299         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61300         used and couldn't be at all thread-safe.
61302 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61304         * libio/freopen.c (freopen): Don't close old file descriptor
61305         before the new one is opened.  Instead dup the new file descriptor
61306         to the old one after the new stream is created.
61307         * libio/freopen64.c (freopen64): Likewise.
61308         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61309         * libio/fileops.c (_IO_new_file_close_it): Handle new
61310         _IO_FLAGS2_NOCLOSE flag.
61311         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61312         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61313         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61314         _IO_FLAGS2_NOCLOSE flag.
61315         * include/unistd.h: Add hidden_proto for dup3.
61316         Define __have_dup3.
61317         * io/dup3.c: Define hidden symbol.
61318         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61320         [BZ #7101]
61321         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61322         when an incomplete long option is used.
61323         * posix/tst-getopt_long1.c: New file.
61324         * posix/Makefile (tests): Add tst-getopt_long1.
61326         [BZ #10138]
61327         * scripts/config.guess: Update from autoconf-2.68.
61328         * scripts/config.sub: Likewise.
61330         [BZ #10157]
61331         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61332         tests into ...
61333         (has_cpuclock): ...this.  New function.
61334         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61335         macro here based on has_cpuclock code.
61337         [BZ #10149]
61338         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61339         First byte (not low byte) is now always NUL.
61340         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61342         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61343         Use non-cancelable interfaces.
61345         [BZ #9809]
61346         * locale/iso-639.def: Add entry for Sorani.
61348         [BZ #11901]
61349         * include/stdlib.h: Move include protection to the right place.
61350         Define abort_msg_s.  Declare __abort_msg with it.
61351         * stdlib/abort.c (__abort_msg): Adjust type.
61352         * assert/assert.c (__assert_fail_base): New function.  Majority
61353         of code from __assert_fail.  Allocate memory for __abort_msg with
61354         mmap.
61355         (__assert_fail): Now call __assert_fail_base.
61356         * assert/assert-perr.c: Remove bulk of implementation.  Use
61357         __assert_fail_base.
61358         * include/assert.hL Declare __assert_fail_base.
61359         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61360         mmap.
61361         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61363 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61365         [BZ #11952]
61366         [BZ #12453]
61367         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61368         until all modules are registered in the DTV.
61369         * elf/Makefile: Add rules to build and run tst-tls19.
61370         * elf/tst-tls19.c: New file.
61371         * elf/tst-tls19mod1.c: New file.
61372         * elf/tst-tls19mod2.c: New file.
61373         * elf/tst-tls19mod3.c: New file.
61374         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61376         [BZ #12083]
61377         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61378         correctly.
61380         [BZ #12601]
61381         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61382         two-byte sequence errors.
61383         * iconvdata/Makefile (tests): Add bug-iconv8.
61384         * iconvdata/bug-iconv8.c: New file.
61386         [BZ #12626]
61387         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61388         buf2 definition.
61390         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61392         [BZ #12432]
61393         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61394         (dummy_getcfa): New function.
61395         (init): Get _Unwind_GetCFA address, use dummy if not found.
61396         (backtrace_helper): In recursion check, also check whether CFA changes.
61397         (__backtrace): Completely initialize arg.
61399         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61400         storing incomplete byte sequence in state object.  Avoid testing for
61401         guaranteed too small input if we know there is enough data available.
61403 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61405         * Makeconfig (+link-pie): Indent.
61406         * Rules (binaries-pie): Define if $(have-fpie) and
61407         $(build-shared).
61408         (binaries-shared): Also filter out $(binaries-pie).
61409         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61410         * nscd/Makefile (others-pie): Add nscd.
61411         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61412         ($(objpfx)nscd): Remove command override.
61413         * login/Makefile (others-pie): Add pt_chown.
61414         ($(objpfx)pt_chown): Remove command override.
61415         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61416         remove command overrides.
61418 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61420         * libio/tst_putwc.c: Fix error messages.
61422         [BZ #12724]
61423         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61424         currently writing and seek to current position when not.
61425         * libio/Makefile (tests): Add bug-fclose1.
61426         * libio/bug-fclose1.c: New file.
61428 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61430         [BZ #12511]
61431         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61432         don't set DF_1_NODELETE here.
61433         (do_lookup_x): When entering new entry test for copy relocation
61434         and if necessary set DF_1_NODELETE flag.
61435         * elf/tst-unique4.cc: New file.
61436         * elf/tst-unique4.h: New file.
61437         * elf/tst-unique4lib.cc: New file.
61438         * elf/Makefile: Add rules to build and run tst-unique4.
61439         Patch by Piotr Bury <pbury@goahead.com>.
61441 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
61443         [BZ #12052]
61444         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61446         [BZ #12625]
61447         * misc/mntent_r.c (addmntent): Flush the stream after the output
61449         [BZ #12393]
61450         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61451         (is_trusted_path_normalize): Skip initial colon.  Append slash
61452         to empty buffer.  Duplicate is_trusted_path code but allow
61453         constructed patch to be prefix.
61454         (is_dst): Allow $ORIGIN followed by /.
61455         (_dl_dst_substitute): Correct clearing of check_for_trusted.
61456         Correct testing of result of is_trusted_path_normalize
61457         (decompose_rpath): Fix warning.
61459 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
61461         [BZ #11257]
61462         * grp/initgroups.c (internal_getgrouplist): When we found the service
61463         list through the initgroups entry in nsswitch.conf do not always
61464         continue on a successful lookup.  Don't always use the
61465         __nss_group_database value if it is set.
61466         * nss/nsswitch.conf (initgroups): Change action for successful db
61467         lookup to continue for compatibility.
61469 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
61471         [BZ #11532]
61472         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61473         and CP774 modules.
61474         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61475         and CP774 modules.
61476         * iconvdata/tst-tables.sh: Likewise.
61477         * iconvdata/cp770.c: New file.
61478         * iconvdata/cp771.c: New file.
61479         * iconvdata/cp772.c: New file.
61480         * iconvdata/cp773.c: New file.
61481         * iconvdata/cp774.c: New file.
61482         * iconvdata/testdata/CP770: New file.
61483         * iconvdata/testdata/CP770..UTF8: New file.
61484         * iconvdata/testdata/CP771: New file.
61485         * iconvdata/testdata/CP771..UTF8: New file.
61486         * iconvdata/testdata/CP772: New file.
61487         * iconvdata/testdata/CP772..UTF8: New file.
61488         * iconvdata/testdata/CP773: New file.
61489         * iconvdata/testdata/CP773..UTF8: New file.
61490         * iconvdata/testdata/CP774: New file.
61491         * iconvdata/testdata/CP774..UTF8: New file.
61493         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61494         END CHARMAP line.
61495         * iconvdata/gen-8bit-gap.sh: Likewise.
61496         * iconvdata/gen-8bit.sh: Likewise.
61498         * locale/iso-639.def: Add ary entry.
61500         [BZ #11258]
61501         * locale/C-translit.h.in: Add U20A1 transliteration.
61503         [BZ #12178]
61504         * locale/iso-639.def: Add wae entry.
61505         Patch by Kevin Bortis <bortis@translate-wae.ch>.
61507         [BZ #12545]
61508         * locale/programs/localedef.c (construct_output_path): Use ssize_t
61509         for n.
61511         [BZ #12711]
61512         * locale/C-translit.h.in: Add entry for U20B9.
61513         Patch by pravin.d.s@gmail.com.
61515 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
61517         [BZ #12713]
61518         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61519         ENAMETOOLONG use generic getcwd.
61520         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
61521         in rtld.  Use *stat64.
61522         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61523         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61524         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61525         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61526         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61527         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61528         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61529         __fstatat64 macros.
61530         * include/dirent.h: Add libc_hidden_proto for rewinddir.
61531         * dirent/rewinddir.c: Add libc_hidden_def.
61532         * sysdeps/mach/hurd/rewinddir.c: Likewise.
61533         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
61535         * include/dirent.h (__alloc_dir): Add flags parameter.
61536         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61537         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61538         __alloc_dir.
61539         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
61540         from fdopendir if O_CLOEXEC is already set.
61542 2011-03-15  Alan Modra  <amodra@gmail.com>
61544         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61545         l_tls_firstbyte_offset non-zero.  Save padding offset in
61546         l_tls_firstbyte_offset for later use.
61547         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61548         freeing static tls block.
61550 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
61552         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61553         where #ifdef was intended.  The intent is to prevent ARG_MAX from
61554         being defined by the kernel headers.
61556 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
61558         [BZ #12734]
61559         * resolv/resolv.h: Define RES_NOTLDQUERY.
61560         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61561         no-tld-query and set RES_NOTLDQUERY.
61562         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61563         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61564         modern BIND to search name as TLD unless forbidden.
61566 2011-05-07  Petr Baudis  <pasky@suse.cz>
61567             Ulrich Drepper  <drepper@gmail.com>
61569         [BZ #12393]
61570         * elf/dl-load.c (fillin_rpath): Move trusted path check...
61571         (is_trusted_path): ...to here.
61572         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61573         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61574         using is_trusted_path_normalize() in setuid scripts.
61576 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61578         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61579         __BEGIN/__END_DECLS.
61581 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
61583         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61584         NSS_STATUS_NOTFOUND if no record was found.
61586 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61588         * sunrpc/Makefile (headers): Add rpc/netdb.h.
61589         (headers-not-in-tirpc): Remove rpc/netdb.h
61590         * resolv/netdb.h: Revert last change.
61592 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61594         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61595         circular dependency between libgcc.a and libc.a.
61597 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61599         * resolv/netdb.h: Don't include <rpc/netdb.h>.
61600         * nis/Makefile: Don't install rpcsvc/*.
61601         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
61602         instead of <rpc/types.h>.
61603         (MAXHOSTNAMELEN): Define.
61605 2011-05-03  Andreas Schwab  <schwab@redhat.com>
61607         * elf/ldconfig.c (add_dir): Don't crash on empty path.
61609 2011-04-28  Maciej Babinski  <mbabinski@google.com>
61611         [BZ #12714]
61612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
61613         gethostbyname4_r when IPv6 results are possible.
61615 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
61617         [BZ #12723]
61618         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
61619         _PC_PIPE_BUF handling.
61621 2011-04-30  Bruno Haible  <bruno@clisp.org>
61623         [BZ #12717]
61624         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
61625         * resolv/netdb.h (getnameinfo): Change type of flags parameter
61626         to 'int'.
61627         * inet/getnameinfo.c (getnameinfo): Likewise.
61629 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
61631         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
61632         to groups setting in database lookup.
61633         * nss/nsswitch.conf: Add initgroups entry.
61635 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
61637         [BZ #12685]
61638         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
61639         mode string.
61640         Patch by Eric Blake <eblake@redhat.com>.
61642 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
61644         * sunrpc/Makefile (need-export-routines): Add svc_run.
61645         (routines): Remove svc_run.
61646         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
61647         * sunrpc/clnt_perr.c (clnt_perrno): Export.
61648         * sunrpc/svc_run.c (svc_run): Likewise.
61649         * sunrpc/svc_udp.c (svcudp_create): Likewise.
61651 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
61653         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
61654         problem in reallocation in last patch.
61656 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
61658         * sunrpc/Makefile: Move inclusion of Rules.
61660 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61662         * nss/nss_files/files-initgroups.c: New file.
61663         * nss/Makefile (libnss_files-routines): Add files-initgroups.
61664         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61665         _nss_files_initgroups_dyn.
61667 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
61669         * elf/elf.h (R_ARM_IRELATIVE): Define.
61671 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61673         * po/ru.po: Update from translation team.
61675 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61677         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61678         dependencies.
61680 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
61682         [BZ #12653]
61683         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61684         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61685         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61686         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61687         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61689 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
61691         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61692         differing bytes.
61693         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61694         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61695         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61697 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61699         [BZ #12420]
61700         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61701         storing it.
61702         * stdlib/bug-getcontext.c: New file.
61703         * stdlib/Makefile: Add rules to build and run bug-getcontext.
61705 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61707         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61708         instructions into .machine "z9-109".
61709         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61710         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61712 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61714         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61715         between environment variables and auxiliary vector.
61717 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
61719         * Makefile: Add rules to build linkobj/libc.so.
61720         * include/libc-symbols.h: Define libc_hidden_nolink.
61721         * include/rpc/auth.h: Mark functions which are to be hidden.
61722         * include/rpc/auth_des.h: Likewise.
61723         * include/rpc/auth_unix.h: Likewise.
61724         * include/rpc/clnt.h: Likewise.
61725         * include/rpc/des_crypt.h: Likewise.
61726         * include/rpc/key_prot.h: Likewise.
61727         * include/rpc/pmap_clnt.h: Likewise.
61728         * include/rpc/pmap_prot.h: Likewise.
61729         * include/rpc/pmap_rmt.h: Likewise.
61730         * include/rpc/rpc_msg.h: Likewise.
61731         * include/rpc/svc.h: Likewise.
61732         * include/rpc/svc_auth.h: Likewise.
61733         * include/rpc/xdr.h: Likewise.
61734         * nis/Makefile: Link all DSOs against linkobj/libc.so.
61735         * nss/Makefile: Likewise.
61736         * sunrpc/Makefile: Don't install headers.  Build library with normal
61737         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
61738         * sunrpc/auth_des.c: Hide exported symbols by default, export some
61739         for the compat linking library.  Remove use of INTDEF/INTUSE.
61740         * sunrpc/auth_none.c: Likewise.
61741         * sunrpc/auth_unix.c: Likewise.
61742         * sunrpc/authdes_prot.c: Likewise.
61743         * sunrpc/authuxprot.c: Likewise.
61744         * sunrpc/clnt_gen.c: Likewise.
61745         * sunrpc/clnt_perr.c: Likewise.
61746         * sunrpc/clnt_raw.c: Likewise.
61747         * sunrpc/clnt_simp.c: Likewise.
61748         * sunrpc/clnt_tcp.c: Likewise.
61749         * sunrpc/clnt_udp.c: Likewise.
61750         * sunrpc/clnt_unix.c: Likewise.
61751         * sunrpc/des_crypt.c: Likewise.
61752         * sunrpc/des_soft.c: Likewise.
61753         * sunrpc/get_myaddr.c: Likewise.
61754         * sunrpc/key_call.c: Likewise.
61755         * sunrpc/key_prot.c: Likewise.
61756         * sunrpc/netname.c: Likewise.
61757         * sunrpc/pm_getmaps.c: Likewise.
61758         * sunrpc/pm_getport.c: Likewise.
61759         * sunrpc/pmap_clnt.c: Likewise.
61760         * sunrpc/pmap_prot.c: Likewise.
61761         * sunrpc/pmap_prot2.c: Likewise.
61762         * sunrpc/pmap_rmt.c: Likewise.
61763         * sunrpc/publickey.c: Likewise.
61764         * sunrpc/rpc_cmsg.c: Likewise.
61765         * sunrpc/rpc_common.c: Likewise.
61766         * sunrpc/rpc_dtable.c: Likewise.
61767         * sunrpc/rpc_prot.c: Likewise.
61768         * sunrpc/rpc_thread.c: Likewise.
61769         * sunrpc/rtime.c: Likewise.
61770         * sunrpc/svc.c: Likewise.
61771         * sunrpc/svc_auth.c: Likewise.
61772         * sunrpc/svc_authux.c: Likewise.
61773         * sunrpc/svc_raw.c: Likewise.
61774         * sunrpc/svc_run.c: Likewise.
61775         * sunrpc/svc_simple.c: Likewise.
61776         * sunrpc/svc_tcp.c: Likewise.
61777         * sunrpc/svc_udp.c: Likewise.
61778         * sunrpc/svc_unix.c: Likewise.
61779         * sunrpc/svcauth_des.c: Likewise.
61780         * sunrpc/xcrypt.c: Likewise.
61781         * sunrpc/xdr.c: Likewise.
61782         * sunrpc/xdr_array.c: Likewise.
61783         * sunrpc/xdr_float.c: Likewise.
61784         * sunrpc/xdr_intXX_t.c: Likewise.
61785         * sunrpc/xdr_mem.c: Likewise.
61786         * sunrpc/xdr_rec.c: Likewise.
61787         * sunrpc/xdr_ref.c: Likewise.
61788         * sunrpc/xdr_sizeof.c: Likewise.
61789         * sunrpc/xdr_stdio.c: Likewise.
61791 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
61793         [BZ #12650]
61794         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61795         * sysdeps/ia64/dl-tls.h: Likewise.
61796         * sysdeps/powerpc/dl-tls.h: Likewise.
61797         * sysdeps/s390/dl-tls.h: Likewise.
61798         * sysdeps/sh/dl-tls.h: Likewise.
61799         * sysdeps/sparc/dl-tls.h: Likewise.
61800         * sysdeps/x86_64/dl-tls.h: Likewise.
61801         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61803 2011-03-14  Andreas Schwab  <schwab@redhat.com>
61805         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61806         rpath element also skip the following colon.
61807         (expand_dynamic_string_token): Add is_path parameter and pass
61808         down to DL_DST_REQUIRED and _dl_dst_substitute.
61809         (decompose_rpath): Call expand_dynamic_string_token with
61810         non-zero is_path.  Ignore empty rpaths.
61811         (_dl_map_object_from_fd): Call expand_dynamic_string_token
61812         with zero is_path.
61814 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
61816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61817         Make cancelable.
61819 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
61821         [BZ #12655]
61822         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61823         Patch by Filipe David Manana <fdmanana@apache.org>.
61825 2011-04-07  Andreas Schwab  <schwab@redhat.com>
61827         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61828         Maintain aligned stack.
61829         (CHECK_RSP): Remove unused macro.
61831 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
61833         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61834         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61836 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
61838         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61840         * include/features.h: Mention __USE_XOPEN2K8 in comment.
61842 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
61844         [BZ #12518]
61845         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61846         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61847         * sysdeps/x86_64/memmove.c: New file.
61848         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61849         (memcpy): Renamed to ...
61850         (__new_memcpy): This.
61851         (memcpy): Provide GLIBC_2_14 memcpy.
61852         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61853         (memcpy): Provide GLIBC_2_2_5 memcpy.
61855 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61857         [BZ #12631]
61858         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61860 2011-03-30  Andreas Schwab  <schwab@redhat.com>
61862         * misc/syncfs.c: New file.
61863         * misc/Makefile (routines): Add syncfs.
61864         * posix/unistd.h: Declare syncfs.
61865         * sysdeps/unix/syscalls.list: Add syncfs.
61867 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61869         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61870         open_by_handle_at.
61871         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61872         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61873         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61874         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61875         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61876         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61877         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61879 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61881         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61882         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61883         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61884         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61885         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61886         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61887         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61889         * io/Makefile: Compile fallocate.c, fallocate64.c, and
61890         sync_file_range.c with -fexceptions.
61891         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61892         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61893         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61894         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61895         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61896         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61897         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61898         sync_file_range as cancellation point
61899         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
61900         now a wrapper around __call_sync_file_range with cancellation handling.
61901         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61902         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
61903         function name to __call_sync_file_range.
61904         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61905         Add call_sync_file_range.
61907 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61909         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61910         bits/timex.h.
61912 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61914         * iconv/iconv.h: Fix typo in comment.
61915         * io/fcntl.h: Likewise.
61916         * libio/stdio.h: Likewise.
61917         * posix/spawn.h: Likewise.
61918         * posix/unistd.h: Likewise.
61919         * stdlib/stdlib.h: Likewise.
61920         * time/time.h: Likewise.
61921         * wcsmbs/wchar.h: Likewise.
61923         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61924         open_by_handle): Add.
61925         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61926         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
61927         Augment a few comments.
61928         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61929         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61930         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61931         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61932         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61933         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61934         open_by_handle.
61936         * io/fcntl.h (AT_EMPTY_PATH): Define.
61938 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
61940         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61941         * sysdeps/unix/sysv/linux/bits/time.h: New file.
61942         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61943         to...
61944         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
61945         * Versions.def: Add GLIBC_2.14.
61946         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61947         Export.
61949 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
61951         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61952         round counter.
61953         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61955 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61957         [BZ #12597]
61958         * string/test-strncmp.c (do_page_test): New function.
61959         (check2): Likewise.
61960         (test_main): Call check2.
61961         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61963 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
61965         [BZ #12587]
61966         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61967         Handle cache information in CPU leaf 4.
61968         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61970 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
61972         [BZ #12583]
61973         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61974         character representation.
61975         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61977 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
61979         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
61980         END(__isnan) to END(__isnanf) to match function entry point/label
61981         EALIGN(__isnanf,...).
61983 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
61985         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
61987 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
61989         [BZ #12510]
61990         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
61991         copy from the symbol referenced in the relocation to initialize the
61992         used variable.
61993         Patch by Piotr Bury <pbury@goahead.com>.
61994         * elf/Makefile: Add rules to build and tst-unique3.
61995         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
61996         * elf/tst-unique3.cc: New file.
61997         * elf/tst-unique3.h: New file.
61998         * elf/tst-unique3lib.cc: New file.
61999         * elf/tst-unique3lib2.cc: New file.
62001         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62003 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62005         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62006         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62007         to _start.
62009 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62011         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62012         to-be-loaded object along a path to loader is ld.so.
62014 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62015             Ulrich Drepper  <drepper@gmail.com>
62017         * sysdeps/x86_64/memset.S: After aligning destination, code
62018         branches to different locations depending on the value of
62019         misalignment, when multiarch is enabled. Fix this.
62021 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62023         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62024         Set _x86_64_preferred_memory_instruction for AMD processsors.
62025         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62026         Set bit_Prefer_SSE_for_memop for AMD processors.
62028 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62030         * libio/fmemopen.c (fmemopen): Optimize a bit.
62032 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62034         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62036 2011-03-03  Roland McGrath  <roland@redhat.com>
62038         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62040 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62042         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62043         __bzero_ultra1 instead of __memset_ultra1.
62045 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62046             Ulrich Drepper  <drepper@gmail.com>
62048         [BZ #12509]
62049         * include/link.h (struct link_map): Add l_orig_initfini.
62050         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62051         returning unsuccessfully.
62052         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62053         close of a file loaded at startup, restore the original l_initfini
62054         list.
62055         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62056         list, store the pointer.
62057         * elf/Makefile ($(objpfx)noload-mem): New rule.
62058         (noload-ENV): Define.
62059         (tests): Add $(objpfx)noload-mem.
62060         * elf/noload.c: Include <memcheck.h>.
62061         (main): Call mtrace.  Close all opened handles.
62063 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62065         [BZ #12454]
62066         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62067         dependencies are missing.
62069 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62071         Fix __if_freereq crash: Unlike the generic version which uses free,
62072         Hurd needs munmap.
62073         * sysdeps/mach/hurd/ifreq.h: New file.
62075 2011-01-27  Petr Baudis  <pasky@suse.cz>
62076             Ulrich Drepper  <drepper@gmail.com>
62078         [BZ 12445]#
62079         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62080         to extend_alloca().
62081         * stdio-common/bug23.c: New file.
62082         * stdio-common/Makefile (tests): Add bug23.
62084 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62085             Ulrich Drepper  <drepper@gmail.com>
62087         [BZ #12489]
62088         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62089         before performing relro protection.  At old place add assertion
62090         to make sure nothing changed.
62092 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62093             Glauber de Oliveira Costa  <glommer@gmail.com>
62095         * elf/elf.h: Add new ARM TLS relocs.
62097 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62100         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62101         cast from r3.
62102         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62103         'tests' variable.
62104         * sysdeps/wordsize-64/tst-writev.c: New file.
62106 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62108         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62109         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62110         insns in _dl_start to prevent a TOC reference before relocs are
62111         resolved.
62113 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62115         [BZ #12469]
62116         * Makeconfig: Remove RANLIB definition.
62117         * Makerules: Don't use RANLIB.
62118         * aclocal.m4: Remove ranlib test.
62119         * configure.in: No need to check for ranlib.
62120         * elf/rtld-Rules: Don't use RANLIB.
62122 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62124         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62125         protection macro.
62126         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62127         inclusion protection macro.
62129         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62130         SIGRTMIN and SIGRTMAX and print information in that case only when
62131         SIGRTMIN is defined.
62133 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62135         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62136         arginfo fn returning -1.
62138         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62139         and thousands string is zero terminated.
62141 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62143         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62144         sysdeps/unix/sysv/linux/bits/socket.h.
62146 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62148         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62149         (__CPU_COUNT): Remove old macros.
62150         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62151         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62152         (__CPU_ALLOC, __CPU_FREE): Add macros.
62153         (__sched_cpualloc, __sched_cpufree): Add declarations.
62155 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62157         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62158         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62159         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62160         (readdhstai): Return value of addhstaiX call.
62161         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62162         (addgrbyX): Return value returned by cache_addgr.
62163         (readdgrbyname): Return value returned by addgrbyX.
62164         (readdgrbygid): Likewise.
62165         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62166         (addpwbyX): Return value returned by cache_addpw.
62167         (readdpwbyname): Return value returned by addhstbyX.
62168         (readdpwbyuid): Likewise.
62169         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62170         (addservbyX): Return value returned by cache_addserv.
62171         (readdservbyname): Return value returned by addservbyX:
62172         (readdservbyport): Likewise.
62173         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62174         (addhstbyX): Return value returned by cache_addhst.
62175         (readdhstbyname): Return value returned by addhstbyX.
62176         (readdhstbyaddr): Likewise.
62177         (readdhstbynamev6): Likewise.
62178         (readdhstbyaddrv6): Likewise.
62179         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62180         (readdinitgroups): Return value returned by addinitgroupsX.
62181         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62182         (prune_cache): Keep track of timeout value of re-added entries.
62183         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62184         * nscd/nscd.h: Adjust prototypes of readd* functions.
62186 2011-02-04  Roland McGrath  <roland@redhat.com>
62188         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62189         (nis_stats): Likewise.
62190         * nis/nis_modify.c (nis_modify): Likewise.
62191         * nis/nis_remove.c (nis_remove): Likewise.
62192         * nis/nis_add.c (nis_add): Likewise.
62194         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62196         * posix/fnmatch_loop.c: Add some consts.
62198         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62200 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62202         [BZ #12460]
62203         * config.make.in (config-cflags-novzeroupper): Define.
62204         * configure.in: Substitute libc_cv_cc_novzeroupper.
62205         * elf/Makefile (AVX-CFLAGS): Define.
62206         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62207         (CFLAGS-tst-auditmod4a.c): Likewise.
62208         (CFLAGS-tst-auditmod4b.c): Likewise.
62209         (CFLAGS-tst-auditmod6b.c): Likewise.
62210         (CFLAGS-tst-auditmod6c.c): Likewise.
62211         (CFLAGS-tst-auditmod7b.c): Likewise.
62212         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62214 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62216         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62217         function to the callback.
62218         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62220 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62222         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62223         of errno.
62225 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62227         [BZ #11724]
62228         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62229         of constructors.
62230         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62231         of destructors.
62232         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62234         [BZ #11724]
62235         * elf/Makefile: Add rules to build and run new test.
62236         * elf/tst-initorder.c: New file.
62237         * elf/tst-initorder.exp: New file.
62238         * elf/tst-initordera1.c: New file.
62239         * elf/tst-initordera2.c: New file.
62240         * elf/tst-initordera3.c: New file.
62241         * elf/tst-initordera4.c: New file.
62242         * elf/tst-initorderb1.c: New file.
62243         * elf/tst-initorderb2.c: New file.
62244         * elf/tst-order-a1.c: New file.
62245         * elf/tst-order-a2.c: New file.
62246         * elf/tst-order-a3.c: New file.
62247         * elf/tst-order-a4.c: New file.
62248         * elf/tst-order-b1.c: New file.
62249         * elf/tst-order-b2.c: New file.
62250         * elf/tst-order-main.c: New file.
62251         New test case by George Gensure <werkt0@gmail.com>.
62253 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62256         decoding ACE if AI_CANONIDN.
62258 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62260         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62262 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62264         * version.h (RELEASE): Bump for 2.13 release.
62265         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62267         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62269         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62270         MADV_NOHUGEPAGE.
62271         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62272         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62273         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62274         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62275         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62276         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62278         * posix/getconf.c: Update copyright year.
62279         * catgets/gencat.c: Likewise.
62280         * csu/version.c: Likewise.
62281         * debug/catchsegv.sh: Likewise.
62282         * debug/xtrace.sh: Likewise.
62283         * elf/ldconfig.c: Likewise.
62284         * elf/ldd.bash.in: Likewise.
62285         * elf/sprof.c (print_version): Likewise.
62286         * iconv/iconv_prog.c: Likewise.
62287         * iconv/iconvconfig.c: Likewise.
62288         * locale/programs/locale.c: Likewise.
62289         * locale/programs/localedef.c: Likewise.
62290         * malloc/memusage.sh: Likewise.
62291         * malloc/mtrace.pl: Likewise.
62292         * nscd/nscd.c (print_version): Likewise.
62293         * nss/getent.c: Likewise.
62295         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62296         PF_CAIF, and PF_ALG.
62297         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62299 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62301         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62302         (modules-names): Use them.
62303         (ifunc-test-modules, ifunc-pie-tests): Define.
62304         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62305         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62306         (test-extras): Likewise.
62307         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62308         $(compile-command.c).
62309         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62310         (all-built-dso): Define.
62311         (check-textrel.out, check-execstack.out): Depend on it.
62313         * configure.in: Don't override --enable-multi-arch.
62315 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62317         [BZ #6812]
62318         * nscd/hstcache.c (tryagain): Define.
62319         (cache_addhst): Return tryagain not notfound for temporary errors.
62320         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62321         failed.
62323 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62325         [BZ #10563]
62326         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62327         to make the syscall.
62328         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62330         [BZ #12378]
62331         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62332         and fall back to matching as normal character if the string ends before
62333         the matching ']' is found.  This is what POSIX requires.
62334         * posix/testfnm.c: Adjust test result.
62335         * posix/globtest.sh: Adjust test result.  Add new test.
62336         * posix/tst-fnmatch.input: Likewise.
62337         * posix/tst-fnmatch2.c: Add new test.
62339 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62341         * elf/Makefile (check-execstack): Revert last change.  Depend on
62342         check-execstack.h.
62343         (check-execstack.h): New target.
62344         (generated): Add check-execstack.h.
62345         * elf/check-execstack.c: Include "check-execstack.h".
62346         (main): Revert last change.
62347         (handle_file): Return zero if GNU_STACK is absent and
62348         DEFAULT_STACK_PERMS doesn't include PF_X.
62350 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62352         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62353         in child fails because the descriptor is already closed.
62354         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62355         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62356         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62358         [BZ #12397]
62359         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62360         syscall.
62362         [BZ #10484]
62363         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62364         temporary buffer used to handle multi lookups locally.
62365         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62367 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62369         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62370         loader is ld.so.
62372 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62374         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62375         alignment for SSE2.
62377 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62379         [BZ #12394]
62380         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62381         characters.  When rounding increased number of integer digits recompute
62382         number of groups.
62383         * stdio-common/tst-grouping.c: New file.
62384         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62386 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62388         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62389         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62391         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62392         void.
62393         * bits/select.h: Likewise.
62395 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62397         * po/ja.po: Update from translation team.
62399 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62401         [BZ #11155]
62402         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62403         implementation just like for lxstat, fxstatat, et al.
62405 2010-12-27  Jim Meyering  <meyering@redhat.com>
62407         [BZ #12348]
62408         * posix/regexec.c (build_trtable): Return failure indication upon
62409         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62411 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62413         [BZ #12201]
62414         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62415         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62416         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62417         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62419         [BZ #12207]
62420         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62422         [BZ #12204]
62423         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62424         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62426 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62428         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62429         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62430         script has SORT_BY_INIT_PRIORITY.
62431         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62432         NO_CTORS_DTORS_SECTIONS is defined.
62433         * elf/soinit.c: Likewise.
62434         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62435         NO_CTORS_DTORS_SECTIONS is defined.
62436         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62437         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62438         * sysdeps/sh/init-first.c: Likewise.
62439         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62441 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
62443         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62444         always use the slow path.
62446 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
62448         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62449         similar rule which adds the sysdep directories to the header search in
62450         order to pick up the correct platform stackinfo.h.
62451         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62452         perform test if it is, otherwise return successfully without testing.
62453         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62454         DEFAULT_STACK_PERMS define in stackinfo.h.
62455         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62456         defined in stackinfo.h.
62457         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62458         DEFAULT_STACK_PERMS defined in stackinfo.h.
62459         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62460         * sysdeps/ia64/stackinfo.h: Likewise.
62461         * sysdeps/s390/stackinfo.h: Likewise.
62462         * sysdeps/sh/stackinfo.h: Likewise.
62463         * sysdeps/sparc/stackinfo.h: Likewise.
62464         * sysdeps/x86_64/stackinfo.h: Likewise.
62465         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62466         PF_X for powerpc64.  Retain PF_X for powerpc32.
62468 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
62470         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62471         accurately.
62472         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62473         GETDENTS_64BIT_ALIGNED.
62475 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
62477         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62479 2010-12-10  Andreas Schwab  <schwab@redhat.com>
62481         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62482         _GNU_SOURCE.
62484         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62485         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62486         Remove __restrict.
62487         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62488         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62490 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
62492         [BZ #11655]
62493         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62494         are initialized.
62496 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
62498         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62500 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
62502         * po/it.po: Update from translation team.
62504 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
62506         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62507         unused codes.
62509 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
62511         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62513 2010-11-24  Andreas Schwab  <schwab@redhat.com>
62515         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62516         specially.
62517         (gaih_getanswer_slice): Likewise.
62519 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
62521         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62523 2010-05-31  Petr Baudis  <pasky@suse.cz>
62525         [BZ #11149]
62526         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62527         silently even in the chroot mode.
62529 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
62531         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62532         last patch a bit.  Pretty printing
62534 2010-05-31  Petr Baudis <pasky@suse.cz>
62536         [BZ #10085]
62537         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62538         initialization of skip_initgroups_dyn.
62540 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
62542         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62543         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62545 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
62547         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62549 2010-11-11  Andreas Schwab  <schwab@redhat.com>
62551         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62552         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62553         (tst-fnmatch-ENV): Set MALLOC_TRACE.
62554         ($(objpfx)tst-fnmatch-mem): New rule.
62555         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62556         * posix/tst-fnmatch.c (main): Call mtrace.
62558 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
62560         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62561         Support Intel processor model 6 and model 0x2c.
62563 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
62565         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62566           signed comparison.
62568 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
62570         [BZ #12205]
62571         * string/test-strncasecmp.c (check_result): New function.
62572         (do_one_test): Use it.
62573         (check1): New function.
62574         (test_main): Use it.
62575         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62576         Support strcasecmp and strncasecmp.
62578 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
62580         [BZ #12194]
62581         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62582         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62584 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62586         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62587         IFUNC support.
62588         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62589         memset-x86-64.
62590         * sysdeps/x86_64/multiarch/bzero.S: New file.
62591         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62592         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62593         * sysdeps/x86_64/multiarch/memset.S: New file.
62594         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62595         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62596         Set bit_Prefer_SSE_for_memop for Intel processors.
62597         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62598         Define.
62599         (index_Prefer_SSE_for_memop): Define.
62600         (HAS_PREFER_SSE_FOR_MEMOP): Define.
62602 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
62604         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
62605         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
62607 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
62609         [BZ #12191]
62610         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62611         (__x86_64_raw_data_cache_size_half): Likewise.
62612         (__x86_64_raw_shared_cache_size): Likewise.
62613         (__x86_64_raw_shared_cache_size_half): Likewise.
62615         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62616         (__x86_64_raw_data_cache_size_half): Likewise.
62617         (__x86_64_raw_shared_cache_size): Likewise.
62618         (__x86_64_raw_shared_cache_size_half): Likewise.
62619         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
62620         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
62621         and __x86_64_raw_shared_cache_size_half.  Round
62622         __x86_64_data_cache_size_half, __x86_64_data_cache_size
62623         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
62624         to multiple of 256 bytes.
62626 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
62628         [BZ #12167]
62629         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
62630         of inacessible symlinks.  Verify result of symlink before returning it.
62631         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
62632         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
62634 2010-10-28  Erich Ritz  <erichritz@gmail.com>
62636         * math/math.h (isinf): Fix typo in comment.
62638 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
62640         * po/da.po: Update from translation team.
62642 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
62644         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
62645         is added to the list.
62647 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62648             Ulrich Drepper  <drepper@gmail.com>
62650         * elf/dl-object.c (_dl_new_object): Don't append the new object to
62651         the global list here.  Move code to...
62652         (_dl_add_to_namespace_list): ...here.  New function.
62653         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
62654         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
62655         * elf/dl-load.c (lose): Don't remove the element from the list.
62656         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
62657         (_dl_map_object): Likewise.
62659 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
62661         [BZ #12159]
62662         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
62663         into all bytes of SSE register.
62664         Patch by Richard Li <richardpku@gmail.com>.
62666 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
62668         [BZ #12140]
62669         * malloc/malloc.c (_int_free): Fill correct number of bytes when
62670         perturbing.
62672 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
62674         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62675         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62676         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62677         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62679         submachine.
62680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62682 2010-10-22  Andreas Schwab  <schwab@redhat.com>
62684         * include/dlfcn.h (__RTLD_SECURE): Define.
62685         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
62686         mode & __RTLD_SECURE instead.
62687         (open_path): Rename preloaded parameter to secure.
62688         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62689         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62690         * elf/dl-deps.c (openaux): Likewise.
62691         * elf/rtld.c (struct map_args): Remove is_preloaded.
62692         (map_doit): Don't use it.
62693         (dl_main): Likewise.
62694         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62695         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62697 2010-09-09  Andreas Schwab  <schwab@redhat.com>
62699         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62700         (sysd-rules-targets): Remove duplicates.
62701         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62702         rtld-%.$o dependency.
62704 2010-10-18  Andreas Schwab  <schwab@redhat.com>
62706         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62707         _dl_map_object do it.
62709 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
62711         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62712         fast fma builtins, define the macros in the C99 standard.
62713         (FP_FAST_FMAF): Likewise.
62714         (FP_FAST_FMAL): Likewise.
62715         * sysdeps/x86_64/bits/mathdef.h: Likewise.
62717         * bits/mathdef.h: Update copyright year.
62718         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62720 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
62722         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62723         builtins, define the macros in the C99 standard.
62724         (FP_FAST_FMAF): Likewise.
62725         (FP_FAST_FMAL): Likewise.
62726         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62727         multiply/add.
62728         (FP_FAST_FMAF): Likewise.
62730 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
62732         [BZ #3268]
62733         * math/libm-test.inc (fma_test): Some new testcases.
62734         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62735         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62736         y and infinite z.  Do multiplication by C already in long double.
62737         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62738         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62739         y and infinite z.  Do bitwise or of inexact bit into u.d.
62740         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62741         * sysdeps/i386/fpu/s_fmaf.S: Removed.
62742         * sysdeps/i386/fpu/s_fma.S: Removed.
62743         * sysdeps/i386/fpu/s_fmal.S: Removed.
62745 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
62747         [BZ #3268]
62748         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62749         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62750         computation is not scheduled after fetestexcept.  Fix value
62751         of minimum denormal long double.
62753 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
62755         [BZ #3268]
62756         * math/libm-test.inc (fma_test): Add some more tests.
62757         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62758         correctly.
62760 2010-10-15  Andreas Schwab  <schwab@redhat.com>
62762         * scripts/data/localplt-s390-linux-gnu.data: New file.
62763         * scripts/data/localplt-s390x-linux-gnu.data: New file.
62765 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
62767         [BZ #3268]
62768         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62769         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62770         instead of dbl-64.
62771         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62772         inlines.
62773         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62774         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62775         if one of x and y is very large and the other is subnormal.
62776         * sysdeps/s390/fpu/s_fmaf.c: New file.
62777         * sysdeps/s390/fpu/s_fma.c: New file.
62778         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62779         * sysdeps/powerpc/fpu/s_fma.S: New file.
62780         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62781         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62782         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62784 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
62786         [BZ #3268]
62787         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62788         fma tests.
62789         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62790         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62791         * sysdeps/i386/i686/multiarch/s_fma.c: Include
62792         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62793         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62794         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62795         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62797 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
62799         [BZ #12078]
62800         * posix/regcomp.c (parse_branch): One more memory leak plugged.
62801         * posix/bug-regex31.input: Add test case.
62803 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62805         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62806         * posix/bug-regex31.input: New file.
62808         [BZ #12078]
62809         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62810         (parse_sub_exp): Fix last change, use postorder.
62812         * posix/bug-regex31.c: New file.
62813         * posix/Makefile: Add rules to build and run bug-regex31.
62815         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62817         [BZ #12078]
62818         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62820         [BZ #12108]
62821         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62822         to have entries in sys_siglist.
62824         [BZ #12093]
62825         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62826         be NULL.
62828 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
62830         [BZ #3268]
62831         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62832         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62833         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62834         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62835         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62836         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62837         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62838         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62839         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62840         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62841         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62842         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62843         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62844         * math/ftestexcept.c (fetestexcept): Likewise.
62845         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62846         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62847         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62848         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62849         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62850         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62851         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62853 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62855         [BZ #12107]
62856         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62857         newline.
62859 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
62861         * string/bug-strstr1.c: New file.
62862         * string/Makefile: Add rules to build and run bug-strstr1.
62864 2010-10-05  Eric Blake  <eblake@redhat.com>
62866         [BZ #12092]
62867         * string/str-two-way.h (two_way_long_needle): Always clear memory
62868         when skipping input due to the shift table.
62870 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
62872         [BZ #12005]
62873         * malloc/mcheck.c: Handle large requests.
62875         [BZ #12077]
62876         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62877         for strncmp and strncasecmp.
62878         * string/stratcliff.c: Add tests for strcmp and strncmp.
62879         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62881 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62883         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62884         __set_fpscr.
62886 2010-09-30  Andreas Jaeger  <aj@suse.de>
62888         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62889         (CGROUP_SUPER_MAGIC): Define.
62890         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62891         Handle btrfs and cgroup file systems.
62892         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62893         Likewise.
62895 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
62897         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62898         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62900 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62902         [BZ #12067]
62903         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62904         trying to locate the ELF header.
62906 2010-09-27  Andreas Schwab  <schwab@redhat.com>
62908         [BZ #11611]
62909         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62910         Mask out sign-bit copies when constructing f_fsid.
62912 2010-09-24  Petr Baudis <pasky@suse.cz>
62914         * debug/stack_chk_fail_local.c: Add missing licence exception.
62915         * debug/warning-nop.c: Likewise.
62917 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
62919         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62920         implementing getdents64 using getdents syscall, set d_type if
62921         __ASSUME_GETDENTS32_D_TYPE.
62923 2010-09-16  Andreas Schwab  <schwab@redhat.com>
62925         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62926         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62928 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
62930         [BZ #12037]
62931         * posix/unistd.h: Undo change of feature selection for ftruncate from
62932         2010-01-11.
62934 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
62936         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62937         detection.
62939 2010-09-20  Andreas Schwab  <schwab@redhat.com>
62941         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62942         fanotify_mark.
62943         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62945 2010-09-14  Andreas Schwab  <schwab@redhat.com>
62947         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62948         variables after CHECK_SP call.
62949         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62951 2010-09-13  Andreas Schwab  <schwab@redhat.com>
62952             Ulrich Drepper  <drepper@redhat.com>
62954         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62955         re-relocationg ld.so.
62956         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62957         _dl_init_paths call.
62958         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
62959         here anymore.
62961 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
62963         * resolv/res_init.c (__res_vinit): Count the default server we added.
62965 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
62966             Ulrich Drepper  <drepper@redhat.com>
62968         [BZ #11968]
62969         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62970         (____longjmp_chk): Use %ebx for saving value across system call.
62971         Add unwind info.
62973 2010-09-06  Andreas Schwab  <schwab@redhat.com>
62975         * manual/Makefile: Don't mix pattern rules with normal rules.
62977 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62979         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
62980         operation.
62981         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
62982         * libio/iofopncook.c (_IO_cookie_init): Likewise.
62983         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
62984         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
62985         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62986         Likewise.
62988 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
62990         [BZ #11979]
62991         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
62992         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
62994 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
62996         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
62997         * sysdeps/x86_64/addmul_1.S: Likewise.
62998         * sysdeps/x86_64/lshift.S: Likewise.
62999         * sysdeps/x86_64/mul_1.S: Likewise.
63000         * sysdeps/x86_64/rshift.S: Likewise.
63001         * sysdeps/x86_64/sub_n.S: Likewise.
63002         * sysdeps/x86_64/submul_1.S: Likewise.
63004 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63006         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63007         Define __sched_param instead of SCHED_* and sched_param when
63008         <bits/sched.h> is included with __need_schedparam defined.
63009         * bits/sched.h [__need_schedparam]
63010         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63011         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63012         (__defined_schedparam): Define to 1.
63013         (__sched_param): New structure, identical to sched_param.
63014         (__need_schedparam): Undefine.
63016 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63018         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63019         (epoll_create1): Declare.
63021         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63023 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63025         [BZ #7066]
63026         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63027         shifting retval into place.
63029 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63031         * nis/rpcsvc/nis.h: Update copyright notice.
63032         * nis/rpcsvc/nis.x: Likewise.
63033         * nis/rpcsvc/nis_callback.h: Likewise.
63034         * nis/rpcsvc/nis_callback.x: Likewise.
63035         * nis/rpcsvc/nis_object.x: Likewise.
63036         * nis/rpcsvc/nis_tags.h: Likewise.
63037         * nis/rpcsvc/yp.h: Likewise.
63038         * nis/rpcsvc/yp.x: Likewise.
63039         * nis/rpcsvc/ypupd.h: Likewise.
63040         * nis/yp_xdr.c: Likewise.
63041         * nis/ypupdate_xdr.c: Likewise.
63043         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63044         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63045         (pmap_getport): Use __libc_rpc_getport.
63046         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63047         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63048         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63050 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63053         fanotify_mark.
63055 2010-08-27  Roland McGrath  <roland@redhat.com>
63057         * sysdeps/i386/i686/multiarch/Makefile
63058         (CFLAGS-varshift.c): New variable.
63060 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63062         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63063         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63065         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63067         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63069 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63071         * sysdeps/x86_64/strlen.S: Unroll the loop.
63072         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63073         strlen-sse2 strlen-sse2-bsf.
63074         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63075         __strlen_no_bsf if bit_Slow_BSF is set.
63076         (__strlen_sse42): Removed.
63077         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63078         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63080 2010-08-25  Roland McGrath  <roland@redhat.com>
63082         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63083         * sysdeps/x86_64/multiarch/varshift.c: New file.
63084         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63085         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63086         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63087         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63089 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63091         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63092         strlen-sse2 strlen-sse2-bsf.
63093         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63094         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63095         (__strlen_sse2): Removed.
63096         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63097         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63098         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63099         bit_Slow_BSF for Atom.
63100         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63101         (index_Slow_BSF): Define.
63102         (HAS_SLOW_BSF): Define.
63104 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63106         [BZ #10851]
63107         * resolv/res_init.c (__res_vinit): When no server address at all
63108         is given default to loopback.
63110 2010-08-24  Roland McGrath  <roland@redhat.com>
63112         * configure.in: Remove config-name.h generation.
63113         * configure: Regenerated.
63114         * config-name.in: File removed.
63115         * scripts/config-uname.sh: New file.
63116         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63117         ($(objdir)config-name.h): New target.
63119         * sunrpc/rpc_parse.h: Avoid nested comment.
63121 2010-08-24  Richard Henderson  <rth@redhat.com>
63122             Ulrich Drepper  <drepper@redhat.com>
63123             H.J. Lu  <hongjiu.lu@intel.com>
63125         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63126         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63127         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63128         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63129         _mm_alignr_epi8 with _mm_loadu_si128.
63130         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63131         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63132         (__m128i_shift_right): Removed.
63133         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63134         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63135         * sysdeps/x86_64/multiarch/varshift.h: New file.
63136         * sysdeps/x86_64/multiarch/varshift.S: New file.
63138 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63140         * configure.in: Move assembler checks to before sysdep dir checking.
63142 2010-08-20  Petr Baudis  <pasky@suse.cz>
63144         * LICENSES: Sync the sunrpc license.
63146 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63148         * sunrpc/auth_des.c: Update copyright notice once again.
63149         * sunrpc/auth_none.c: Likewise.
63150         * sunrpc/auth_unix.c: Likewise.
63151         * sunrpc/authdes_prot.c: Likewise.
63152         * sunrpc/authuxprot.c: Likewise.
63153         * sunrpc/bindrsvprt.c: Likewise.
63154         * sunrpc/clnt_gen.c: Likewise.
63155         * sunrpc/clnt_perr.c: Likewise.
63156         * sunrpc/clnt_raw.c: Likewise.
63157         * sunrpc/clnt_simp.c: Likewise.
63158         * sunrpc/clnt_tcp.c: Likewise.
63159         * sunrpc/clnt_udp.c: Likewise.
63160         * sunrpc/clnt_unix.c: Likewise.
63161         * sunrpc/des_crypt.c: Likewise.
63162         * sunrpc/des_soft.c: Likewise.
63163         * sunrpc/get_myaddr.c: Likewise.
63164         * sunrpc/getrpcport.c: Likewise.
63165         * sunrpc/key_call.c: Likewise.
63166         * sunrpc/key_prot.c: Likewise.
63167         * sunrpc/openchild.c: Likewise.
63168         * sunrpc/pm_getmaps.c: Likewise.
63169         * sunrpc/pm_getport.c: Likewise.
63170         * sunrpc/pmap_clnt.c: Likewise.
63171         * sunrpc/pmap_prot.c: Likewise.
63172         * sunrpc/pmap_prot2.c: Likewise.
63173         * sunrpc/pmap_rmt.c: Likewise.
63174         * sunrpc/rpc/auth.h: Likewise.
63175         * sunrpc/rpc/auth_unix.h: Likewise.
63176         * sunrpc/rpc/clnt.h: Likewise.
63177         * sunrpc/rpc/des_crypt.h: Likewise.
63178         * sunrpc/rpc/key_prot.h: Likewise.
63179         * sunrpc/rpc/netdb.h: Likewise.
63180         * sunrpc/rpc/pmap_clnt.h: Likewise.
63181         * sunrpc/rpc/pmap_prot.h: Likewise.
63182         * sunrpc/rpc/pmap_rmt.h: Likewise.
63183         * sunrpc/rpc/rpc.h: Likewise.
63184         * sunrpc/rpc/rpc_des.h: Likewise.
63185         * sunrpc/rpc/rpc_msg.h: Likewise.
63186         * sunrpc/rpc/svc.h: Likewise.
63187         * sunrpc/rpc/svc_auth.h: Likewise.
63188         * sunrpc/rpc/types.h: Likewise.
63189         * sunrpc/rpc/xdr.h: Likewise.
63190         * sunrpc/rpc_clntout.c: Likewise.
63191         * sunrpc/rpc_cmsg.c: Likewise.
63192         * sunrpc/rpc_common.c: Likewise.
63193         * sunrpc/rpc_cout.c: Likewise.
63194         * sunrpc/rpc_dtable.c: Likewise.
63195         * sunrpc/rpc_hout.c: Likewise.
63196         * sunrpc/rpc_main.c: Likewise.
63197         * sunrpc/rpc_parse.c: Likewise.
63198         * sunrpc/rpc_parse.h: Likewise.
63199         * sunrpc/rpc_prot.c: Likewise.
63200         * sunrpc/rpc_sample.c: Likewise.
63201         * sunrpc/rpc_scan.c: Likewise.
63202         * sunrpc/rpc_scan.h: Likewise.
63203         * sunrpc/rpc_svcout.c: Likewise.
63204         * sunrpc/rpc_tblout.c: Likewise.
63205         * sunrpc/rpc_util.c: Likewise.
63206         * sunrpc/rpc_util.h: Likewise.
63207         * sunrpc/rpcinfo.c: Likewise.
63208         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63209         * sunrpc/rpcsvc/key_prot.x: Likewise.
63210         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63211         * sunrpc/rpcsvc/mount.x: Likewise.
63212         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63213         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63214         * sunrpc/rpcsvc/rex.x: Likewise.
63215         * sunrpc/rpcsvc/rstat.x: Likewise.
63216         * sunrpc/rpcsvc/rusers.x: Likewise.
63217         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63218         * sunrpc/rpcsvc/spray.x: Likewise.
63219         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63220         * sunrpc/rtime.c: Likewise.
63221         * sunrpc/svc.c: Likewise.
63222         * sunrpc/svc_auth.c: Likewise.
63223         * sunrpc/svc_authux.c: Likewise.
63224         * sunrpc/svc_raw.c: Likewise.
63225         * sunrpc/svc_run.c: Likewise.
63226         * sunrpc/svc_simple.c: Likewise.
63227         * sunrpc/svc_tcp.c: Likewise.
63228         * sunrpc/svc_udp.c: Likewise.
63229         * sunrpc/svc_unix.c: Likewise.
63230         * sunrpc/svcauth_des.c: Likewise.
63231         * sunrpc/xcrypt.c: Likewise.
63232         * sunrpc/xdr.c: Likewise.
63233         * sunrpc/xdr_array.c: Likewise.
63234         * sunrpc/xdr_float.c: Likewise.
63235         * sunrpc/xdr_mem.c: Likewise.
63236         * sunrpc/xdr_rec.c: Likewise.
63237         * sunrpc/xdr_ref.c: Likewise.
63238         * sunrpc/xdr_sizeof.c: Likewise.
63239         * sunrpc/xdr_stdio.c: Likewise.
63241         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63242         handling.
63244 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63246         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63248 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63250         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63251         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63252         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63253         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63254         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63255         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63256         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63257         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63258         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63259         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63260         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63261         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63262         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63263         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63265 2010-07-26  Anton Blanchard  <anton@samba.org>
63267         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63268         * malloc/arena.c (heap_trim): Likewise.
63270 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63272         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63273         here.  Not...
63274         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63275         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63277 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63279         * sysdeps/i386/elf/Makefile: New file.
63281 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63283         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63284         from fanotify_init.
63285         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63286         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63288 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63290         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63291         of strncasecmp_l.
63292         * sysdeps/multiarch/strcmp.S: Likewise.
63294 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63296         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63297         strncase_l-nonascii.
63298         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63299         Add strncase_l-ssse3.
63300         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63301         * sysdeps/x86_64/strcmp.S: Likewise.
63302         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63303         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63304         * sysdeps/x86_64/strncase.S: New file.
63305         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63306         * sysdeps/x86_64/strncase_l.S: New file.
63307         * string/Makefile (strop-tests): Add strncasecmp.
63308         * string/test-strncasecmp.c: New file.
63310         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63311         warning.
63313         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63314         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63316 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63318         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63320 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63322         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63323         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63324         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63326 2010-05-01  Alan Modra  <amodra@gmail.com>
63328         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63329         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63330         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63331         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63332         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63333         tidying.  Don't tail-call __sigjmp_save for static lib.
63334         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63335         save location.
63336         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63337         (CALL_MCOUNT): Add eh info, and nop after bl.
63338         (TAIL_CALL_SYSCALL_ERROR): New macro.
63339         (PSEUDO_RET): Use it.
63340         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63341         Correct save location of integer regs and cr.
63342         (_dl_profile_resolve): Correct cr save location.  Delete nops
63343         after bl when SHARED.  Reduce cfi size a little by better
63344         placement of cfi directives.
63345         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63346         make a stack frame.  Instead use parm save area as a temp.
63347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63348         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63350         Don't make a stack frame for parent, use parm save area.
63351         Increase child stack frame to 112 bytes.  Don't save unused reg,
63352         and adjust reg usage.  Set up cfi on error recovery and
63353         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63355         (__makecontext): Add dummy nop after jump to exit.
63356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63357         Use correct parm save area and cr save, reduce stack frame.
63358         Correct cfi for possible PSEUDO_RET frame setup.
63359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63360         Branch to local label emitted by PSEUDO_RET rather than
63361         __syscall_error.
63363 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63365         [BZ #11904]
63366         * locale/programs/locale.c (print_assignment): New function.
63367         (show_locale_vars): Use it.
63369 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63371         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63372         field.
63373         (struct statfs64): Likewise.
63374         (_STATFS_F_FLAGS): Define.
63375         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63376         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63377         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63378         (ST_VALID): Define locally.
63379         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63380         __statvfs_getflags, use the provided value.
63381         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63382         __ASSUME_STATFS_F_FLAGS.
63384         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63386         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63387         Add sys/fanotify.h.
63388         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63389         fanotify_mask for GLIBC_2.13.
63390         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63391         fanotify_init and fanotify_mark.
63392         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63393         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63395         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63396         Add prlimit.
63397         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63398         prlimit64 for GLIBC_2.13.
63399         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63400         prlimit64.
63401         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63402         syscall.
63403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63404         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63405         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63406         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63407         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63408         add prlimit alias.
63409         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63411         [BZ #11903]
63412         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63413         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63415         * nss/Makefile: Add rules to build and run tst-nss-test1.
63416         * shlib-versions: Add entry for libnss_test1.
63417         * nss/nss_test1.c: New file.
63418         * nss/tst-nss-test1.c: New file.
63420         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63421         (__nss_configure_lookup): Set appropriate entry in
63422         __nss_configure_lookup to true.
63423         * nss/nsswitch.h: Define enum with indeces of databases in
63424         databases and __nss_database_custom arrays.  Declare
63425         __nss_database_custom.
63426         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63427         to avoid using nscd when custom rules are installed.
63428         * nss/getXXbyYY_r.c: Likewise.
63429         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63431         * nss/nss_files/files-parse.c: Whitespace fixes.
63433 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63435         [BZ #11883]
63436         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63437         * posix/fnmatch_loop.c: Likewise.
63439 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63441         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63442         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63443         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63444         * Versions.def [GLIBC_2.13]: Add.
63446 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
63448         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63449         Also fail if tpwd after pwuid call is NULL.
63451 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63453         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63454         when converting to ms.
63456 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63458         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63459         EOPNOTSUPP errors with ENOTTY.
63460         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63461         EOPNOTSUPP errors with ENOTTY.
63463 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
63465         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63466         Add strcasecmp_l-ssse3.
63467         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63468         strcasecmp.
63469         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63470         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63471         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63473 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
63475         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63477         * string/Makefile (strop-tests): Add strcasecmp.
63478         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63479         strcasecmp_l-nonascii.
63480         (gen-as-const-headers): Add locale-defines.sym.
63481         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63482         * sysdeps/x86_64/strcasecmp.S: New file.
63483         * sysdeps/x86_64/strcasecmp_l.S: New file.
63484         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63485         * sysdeps/x86_64/locale-defines.sym: New file.
63486         * string/test-strcasecmp.c: New file.
63488         * string/test-strcasestr.c: Test both ends of the range of characters.
63489         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63491 2010-07-29  Roland McGrath  <roland@redhat.com>
63493         [BZ #11856]
63494         * manual/locale.texi (Yes-or-No Questions): Fix example code.
63496 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
63498         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63499         for ld.so.
63501 2010-07-27  Andreas Schwab  <schwab@redhat.com>
63503         * manual/memory.texi (Malloc Tunable Parameters): Document
63504         M_PERTURB.
63506 2010-07-26  Roland McGrath  <roland@redhat.com>
63508         [BZ #11840]
63509         * configure.in (-fgnu89-inline check): Set and substitute
63510         gnu89_inline, not libc_cv_gnu89_inline.
63511         * configure: Regenerated.
63512         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63514 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
63516         * string/test-strnlen.c: New file.
63517         * string/Makefile (strop-tests): Add strnlen.
63518         * string/tester.c (test_strnlen): Add a few more test cases.
63519         * string/tst-strlen.c: Better error reporting.
63521         * sysdeps/x86_64/strnlen.S: New file.
63523 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
63525         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63526         lower-latency instructions.
63528 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
63530         * string/test-strcasestr.c: New file.
63531         * string/test-strstr.c: New file.
63532         * string/Makefile (strop-tests): Add strstr and strcasestr.
63533         * string/str-two-way.h: Don't undefine MAX.
63534         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63536 2010-07-21  Andreas Schwab  <schwab@redhat.com>
63538         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63539         strcasestr-nonascii.
63540         (CFLAGS-strcasestr-nonascii.c): Define.
63541         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63542         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63543         Remove unused attribute.
63545 2010-07-20  Roland McGrath  <roland@redhat.com>
63547         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63548         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
63549         ld.so.cache was broken.  With it, there is no way to disable dsocaps
63550         like LD_HWCAP_MASK can disable hwcaps.
63552 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63554         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63556 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63558         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63559         call in strcasestr.
63560         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63561         __strcasestr_sse42_nonascii.
63562         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63563         strcasestr-nonascii.c.
63564         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63566 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
63568         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63569         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63570         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63571         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63573 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
63575         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63576         fcntl.
63578 2010-07-06  Andreas Schwab  <schwab@redhat.com>
63580         [BZ #11577]
63581         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63582         dl_signal_cerror.
63584 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
63586         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63587         _PC_PIPE_BUF using F_GETPIPE_SZ.
63589 2010-07-05  Roland McGrath  <roland@redhat.com>
63591         * manual/arith.texi (Rounding Functions): Fix rint description
63592         implicit in round description.
63594 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
63596         * elf/Makefile: Fix linking for a few tests to make recent linker
63597         happy.
63599 2010-06-30  Andreas Schwab  <schwab@redhat.com>
63601         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63602         $(common-objpfx)libc_nonshared.a.
63604 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
63606         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
63607         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
63608         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63609         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63610         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
63611         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
63612         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63613         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
63615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
63616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
63617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
63619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
63621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
63622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
63623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
63624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
63626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
63628         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
63629         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
63630         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
63631         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
63632         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
63633         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
63634         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
63635         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
63636         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
63637         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
63638         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
63639         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
63640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
63641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
63642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
63643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
63644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
63645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
63646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
63647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
63648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
63649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
63650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
63651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
63652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
63653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
63655 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
63657         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
63658         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
63659         * string/memmove.c (memmove): Renamed to ...
63660         (MEMMOVE): ...this.  Default to memmove.
63661         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
63662         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
63663         (END_CHK): Define.
63664         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63665         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63666         mempcpy-ssse3-back memmove-ssse3-back.
63667         * sysdeps/x86_64/multiarch/bcopy.S: New file .
63668         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63669         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63670         * sysdeps/x86_64/multiarch/memcpy.S: New file.
63671         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63672         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63673         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63674         * sysdeps/x86_64/multiarch/memmove.c: New file.
63675         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63676         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63677         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63678         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63679         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63680         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63681         Define.
63682         (index_Fast_Copy_Backward): Define.
63683         (HAS_ARCH_FEATURE): Define.
63684         (HAS_FAST_REP_STRING): Define.
63685         (HAS_FAST_COPY_BACKWARD): Define.
63687 2010-06-21  Andreas Schwab  <schwab@redhat.com>
63689         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63690         Restore proper fallback handling.
63692 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
63694         [BZ #11701]
63695         * posix/group_member.c (__group_member): Correct checking loop.
63697         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63698         OOM in getpwuid_r correctly.  Return error number when the caller
63699         should return, otherwise -1.
63700         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63701         call returning > 0 value.
63702         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63704 2010-06-07  Andreas Schwab  <schwab@redhat.com>
63706         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63707         libc_nonshared.a from targets in modules-names.
63709 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
63711         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63712         requires it.
63714 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
63716         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63717         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63718         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63719         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63721 2010-06-02  Andreas Schwab  <schwab@redhat.com>
63723         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63725 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
63727         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63728         and F_GETPIPE_SZ.
63729         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63730         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63731         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63732         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63733         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63734         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63736 2010-06-14  Roland McGrath  <roland@redhat.com>
63738         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63740 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
63742         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63743         __REDIRECT followed by __THROW.
63744         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63745         * posix/getopt.h (getopt): Likewise.
63747 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63749         * hurd/lookup-at.c (__file_name_lookup_at): Accept
63750         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
63751         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63752         in AT_FLAGS.
63753         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63754         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63756 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
63758         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63760 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
63762         [BZ #11640]
63763         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63764         Properly check family and model.
63766 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
63768         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63770 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
63772         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63774 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
63776         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63777         symbol reference.
63779 2010-05-19  Andreas Schwab  <schwab@redhat.com>
63781         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63782         symbol reference.
63784 2010-05-21  Andreas Schwab  <schwab@redhat.com>
63786         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63787         and internal_recvmmsg.
63788         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63789         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63790         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63791         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63793         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63794         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63795         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63797 2010-05-20  Andreas Schwab  <schwab@redhat.com>
63799         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63801 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
63803         POWER7 optimizations.
63804         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63805         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63807 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
63809         * version.h: Update for 2.13 development version.
63811 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
63813         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63814         exceptions.  Return 0.
63816 2010-05-07  Roland McGrath  <roland@redhat.com>
63818         * elf/ldconfig.c (main): Add a const.
63820 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
63822         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63823         (args_options): Add no-idn option.
63824         (ahosts_keys_int): Add idn_flags to ai_flags.
63825         (parse_option): Handle 'i' option to clear idn_flags.
63827         * malloc/malloc.c (_int_free): Possible race in the most recently
63828         added check.  Only act on the data if no current modification
63829         happened.
63831 See ChangeLog.17 for earlier changes.