Note bug 10882 as having been fixed in 2.16.
[glibc.git] / ChangeLog
blob457778a5d87406ba0c79c9cfe055e1e13378a2b0
1 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
3         * sysdeps/aarch64/bzero.S (__bzero): Remove.
5 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
7         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
8         Unconditionally set __fpcr to avoid uninialized warning.
9         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
11 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
14         is corrupt.
16         * malloc/arena.c (arena_get2): Drop unused argument.
17         (arena_lock): Adjust.
18         (arena_get_retry): Likewise.
20 2015-08-24  Andreas Schwab  <schwab@suse.de>
22         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
23         Don't define.
24         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
25         (__ASSUME_IPC64): Don't undef.
26         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
27         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
30         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
31         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
33         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
34         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
35         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
36         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
37         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
38         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
39         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
40         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
41         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
42         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
43         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
44         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
45         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
46         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
48 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
50         * manual/Makefile (install): Only build manual when perl is available.
52 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
54         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
55         '#undef memcpy' by '#undef memchr'.
57 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
59         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
60         memchr not point to the internal __GI_memchr implementation.
62 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
64         * timezone/Makefile (CFLAGS-zdump.c): Remove
65         -Wno-strict-prototypes.
66         (CFLAGS-zic.c): Likewise.
67         (CFLAGS-ialloc.c): Likewise.
68         (CFLAGS-scheck.c): Likewise.
70         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
71         -Wno-error=undef.
73 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
75         * i386/i686/multiarch/strcasestr-c.c: Removed.
76         * x86_64/multiarch/strcasestr.c: Likewise.
77         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
78         Remove strcasestr.
80 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
82         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
84         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
85         variables for high and low parts before possibly modifying them.
87 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
89         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
90         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
91         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
92         of "multiarch/init-arch.h".
93         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
94         * sysdeps/x86/init-arch.h: This.
96 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
98         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
99         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
101 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
103         [BZ #17787]
104         * manual/macros.texi: Add twoexp macro.
105         * manual/filesys.texi: Fix exponents.
106         * manual/llio.texi: Likewise.
107         * manual/stdio.texi: Likewise.
109 2015-08-20  Florian Weimer  <fweimer@redhat.com>
111         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
112         incorrect use.
114 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
116         [BZ #18370]
117         * math/s_csqrt.c (__csqrt): Force underflow exception for results
118         whose real or imaginary part has small absolute value.
119         * math/s_csqrtf.c (__csqrtf): Likewise.
120         * math/s_csqrtl.c (__csqrtl): Likewise.
121         * math/auto-libm-test-in: Add more tests of csqrt.
122         * math/auto-libm-test-out: Regenerated.
123         * sysdeps/i386/fpu/libm-test-ulps: Update.
125 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
127         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
128         __ppc_set_ppr_very_low): New functions.
129         * manual/platform.texi: Add documentation about
130         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
132 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
134         * string/stpncpy.c (stpncpy): Improve performance using
135         __strnlen/memcpy/memset.
137 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
139         [BZ #18796]
140         * scripts/test-installation.pl: Don't add -lmvec to build options if
141         libmvec wasn't built.
143 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
145         [BZ #14341]
146         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
147         case when there is a gap between DT_REL and DT_JMPREL sections.
148         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
149         (LDFLAGS-tst-split-dynreloc): New.
150         (tst-split-dynreloc-ENV): Likewise.
151         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
152         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
154 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
156         [BZ #18822]
157         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
158         attribute_hidden.
159         (__xstat64_conv): Likewise.
160         (__xstat32_conv): Likewise.
162 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
164         [BZ #18822]
165         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
166         Don't load %ebx when calling __setcontext.  Call __setcontext
167         with HIDDEN_JUMPTARGET.
168         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
169         libc_hidden_def.
171 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
173         * sysdeps/i386/i686/Makefile
174         [$(subdir) == string] (sysdep_routines): Moved to ...
175         * sysdeps/i386/Makefile: Here.
176         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
177         * sysdeps/i386/cacheinfo.c: Here.
178         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
179         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
180         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
181         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
183 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
185         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
186         __i586__ is defined.
187         (HAS_I686): Defined to 1 if __i686__ is defined.
189 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
191         * elf/Makefile [$(have-z-execstack) = yes]
192         (CPPFLAGS-tst-execstack.c): New variable.
194         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
195         conditional to [defined UTMPX || _HAVE_UT_TYPE].
196         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
197         UTMPX || _HAVE_UT_TV].
198         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
199         UTMPX || _HAVE_UT_TV - 0].
201 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
203         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
204         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
205         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
207 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
209         * sysdeps/powerpc/dl-procinfo.c:
210         (_dl_powerpc_cap_flags): Added missing strings for some
211         hwcap features.
212         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
214 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
216         Port the 0x7efe...feff pattern to GCC 6.
217         See Steve Ellcey's bug report in:
218         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
219         * string/memrchr.c (MEMRCHR):
220         * string/rawmemchr.c (RAWMEMCHR):
221         * string/strchr.c (strchr):
222         * string/strchrnul.c (STRCHRNUL):
223         Rewrite code to avoid issues with signed shift overflow.
225 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
227         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
228         whether cpuid is available only if HAS_CPUID is 0.
229         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
230         (HAS_I586): Likewise.
231         (HAS_I686): Likewise.
233 2015-08-18  Zack Weinberg  <zackw@panix.com>
235         * misc/Versions (libc): Add GLIBC_2.23.
237 2015-08-18  Alan Modra  <amodra@gmail.com>
239         [BZ #18421]
240         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
241         .Lp__global.
242         (_start): Load %dp via .Lp__global.
243         [!SHARED]: Use .section .rodata.
245 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
247         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
248         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
250 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
252         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
253         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
255 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
257         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
258         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
260 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
262         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
263         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
265 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
267         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
268         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
270 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
272         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
273         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
275 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
277         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
279 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
281         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
282         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
283         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
284         (__ASSUME_LWS_CAS): Delete.
286 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
288         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
289         * sysdeps/hppa/configure: Regenerated.
290         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
291         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
292         * sysdeps/hppa/nptl/tls.h: Likewise.
294 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
296         [BZ #18823]
297         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
298         for scaling up small arguments.
299         * math/s_csqrtf.c (__csqrtf): Likewise.
300         * math/s_csqrtl.c (__csqrtl): Likewise.
301         * math/auto-libm-test-in: Add more tests of csqrt.
302         * math/auto-libm-test-out: Regenerated.
304 2015-08-17  Andreas Schwab  <schwab@suse.de>
306         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
307         version set GLIBC_2.19.
309 2015-08-16  Zack Weinberg  <zackw@panix.com>
311         [BZ #18681]
312         * misc/regexp.h: This interface is no longer supported.
313         Remove all contents, leaving only an #error directive.
314         * misc/regexp.c (loc1, loc2, locs, step, advance):
315         Demote to compatibility symbols.
317 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
319         [BZ #18084]
320         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
321         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
322         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
323         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
324         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
325         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
326         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
327         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
328         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
330 2015-08-15  Zack Weinberg  <zackw@panix.com>
332         [BZ #18795]
333         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
334         buffer length is known to be too large, not if it's known to be
335         small enough.
336         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
337         overflow at runtime, involving a length parameter, twice: once
338         with a compile-time constant length parameter, once without.
340 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
342         [BZ #18824]
343         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
344         scaling x * y up instead of down.
345         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
346         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
347         * math/auto-libm-test-in: Add more tests of fma.
348         * math/auto-libm-test-out: Regenerated.
350 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
352         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
354 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
356         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
357         unnecessary movq.
358         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
359         Likewise.
361 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
363         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
364         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
365         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
366         and tgamma.
367         * math/auto-libm-test-out: Regenerated.
368         * sysdeps/i386/fpu/libm-test-ulps: Update.
369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
371         [BZ #16520]
372         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
373         (__tanh): Force underflow exception for arguments with small
374         absolute value.
375         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
376         (__tanhf): Force underflow exception for arguments with small
377         absolute value.
378         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
379         (__tanhl): Force underflow exception for arguments with small
380         absolute value.
381         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
382         (__tanhl): Force underflow exception for arguments with small
383         absolute value.
384         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
385         (__tanhl): Force underflow exception for arguments with small
386         absolute value.
387         * math/auto-libm-test-in: Add more tests of tanh.
388         * math/auto-libm-test-out: Regenerated.
389         * sysdeps/i386/fpu/libm-test-ulps: Update.
391 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
393         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
394         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
396 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
398         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
399         <cpuid.h>.
401 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
403         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
404         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
406 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
408         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
409         Remove $(objpfx)init-arch.o.
410         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
411         init-arch.
412         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
413         (INIT_ARCH_EXT): Defined as empty.
414         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
415         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
416         __init_cpu_features call.  Replace HAS_XXX with
417         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
418         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
419         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
420         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
421         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
422         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
423         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
424         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
425         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
426         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
427         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
428         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
429         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
430         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
431         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
432         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
433         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
434         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
435         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
436         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
437         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
438         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
439         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
440         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
441         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
442         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
443         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
444         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
445         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
446         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
447         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
448         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
449         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
450         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
451         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
452         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
454 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
456         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
457         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
458         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
459         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
460         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
461         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
462         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
463         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
464         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
465         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
466         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
467         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
468         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
469         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
470         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
471         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
472         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
473         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
474         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
475         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
476         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
477         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
478         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
479         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
480         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
481         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
482         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
483         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
484         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
485         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
486         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
487         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
488         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
489         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
490         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
491         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
492         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
493         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
494         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
495         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
496         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
497         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
498         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
500 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
502         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
503         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
504         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
505         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
506         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
507         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
508         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
509         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
510         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
511         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
512         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
513         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
514         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
515         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
516         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
517         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
518         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
519         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
520         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
521         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
522         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
523         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
524         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
525         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
526         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
527         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
528         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
529         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
530         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
531         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
532         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
533         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
534         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
535         * sysdeps/x86_64/multiarch/memset.S: Likewise.
536         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
537         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
538         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
539         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
540         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
541         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
542         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
543         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
544         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
546 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
548         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
549         (dl_platform_init): Call init_cpu_features.
550         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
551         * sysdeps/i386/i686/cacheinfo.c
552         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
553         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
554         * sysdeps/i386/i686/multiarch/Versions: Removed.
555         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
556         Removed.
557         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
558         * sysdeps/unix/sysv/linux/x86/Makefile
559         (libpthread-sysdep_routines): Remove init-arch.
560         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
561         <sysdeps/x86_64/dl-procinfo.c> instead of
562         sysdeps/generic/dl-procinfo.c>.
563         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
564         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
565         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
566         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
567         [$(subdir) == elf] (tests-static): Add
568         tst-get-cpu-features-static.
569         * sysdeps/x86/Versions: New file.
570         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
571         * sysdeps/x86/cpu-features.c: Likewise.
572         * sysdeps/x86/cpu-features.h: Likewise.
573         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
574         * sysdeps/x86/libc-start.c: Likewise.
575         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
576         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
577         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
578         * sysdeps/x86_64/dl-procinfo.c: Likewise.
579         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
580         Assume USE_MULTIARCH is defined and don't check it.
581         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
582         (is_amd): Likewise.
583         (max_cpuid): Likewise.
584         (intel_check_word): Likewise.
585         (__cache_sysconf): Don't call __init_cpu_features.
586         (__x86_preferred_memory_instruction): Removed.
587         (init_cacheinfo): Don't call __init_cpu_features. Replace
588         __cpu_features with GLRO(dl_x86_cpu_features).
589         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
590         (dl_platform_init): Call init_cpu_features.
591         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
592         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
593         * sysdeps/x86_64/multiarch/Versions: Removed.
594         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
595         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
596         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
597         Removed.
598         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
600 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
602         [BZ #18820]
603         * libio/Makefile (test-fmemopen-mem): New test.
604         * libio/test-fmemopen.c (do_bz18820): New test.
605         * libio/fmemopen.c (__fmemopen): Fix memory leak.
606         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
608 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
610         [BZ #16734]
611         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
612         (FREE_BUF): Delete.
613         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
614         * libio/genops.c (_IO_setb): Use malloc and free directly.
615         (_IO_default_doallocate, _IO_default_finish): Likewise.
616         ( _IO_unbuffer_all): Likewise.
617         ( libc_freeres_fn): Likewise.
618         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
619         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
620         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
621         (_IO_wdefault_doallocate): Likewise.
623 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
625         [BZ #18086]
626         * sysdeps/posix/nice.c (nice): Restore old errno.
627         * posix/tst-nice.c (do_test): Add test for BZ #18086.
629 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
631         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
633 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
635         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
636         __bcopy and add a weak_alias to bcopy.
637         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
638         for static build.
640         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
641         cleanup macro usage.
642         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
643         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
644         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
645         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
646         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
647         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
648         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
649         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
650         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
651         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
652         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
653         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
654         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
655         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
656         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
657         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
658         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
659         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
660         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
662         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
663         libc_hidden_def.
664         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
666         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
667         (sysdep_routines): Add strstr-ppc64.
668         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
670 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
672         [BZ #18778]
673         * elf/Makefile (tests): Add Add tst-nodelete2.
674         (modules-names): Add tst-nodelete2mod.
675         (tst-nodelete2mod.so-no-z-defs): New.
676         ($(objpfx)tst-nodelete2): Likewise.
677         ($(objpfx)tst-nodelete2.out): Likewise.
678         (LDFLAGS-tst-nodelete2): Likewise.
679         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
680         out of loop through all loaded libraries.
681         * elf/tst-nodelete2.c: New file.
682         * elf/tst-nodelete2mod.c: Likewise.
684 2015-08-11  Andreas Schwab  <schwab@suse.de>
686         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
687         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
688         (__openat64_nocancel): Likewise.
690 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
692         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
693         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
694         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
695         * math/auto-libm-test-out: Regenerated.
696         * sysdeps/i386/fpu/libm-test-ulps: Update.
697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
699 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
701         [BZ #18790]
702         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
703         threshold for returning +/- 1.
704         * math/auto-libm-test-in: Add more tests of tanh.
705         * math/auto-libm-test-out: Regenerated.
706         * sysdeps/i386/fpu/libm-test-ulps: Update.
708 2015-08-10  Andreas Schwab  <schwab@suse.de>
710         [BZ #18781]
711         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
712         MORE_OFLAGS to oflag.
713         * io/test-lfs.c (do_test): Test openat64.
715 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
717         [BZ #18789]
718         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
719         smaller threshold for returning the argument.
720         * math/auto-libm-test-in: Add more tests of sinh.
721         * math/auto-libm-test-out: Regenerated.
722         * sysdeps/i386/fpu/libm-test-ulps: Update.
724 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
726         [BZ #18674]
727         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
728         break.
730 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
732         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
733         (generated): Don't add $(addprefix z.,$(tzfiles)).
735 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
737         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
738         * scripts/sysd-rules.awk: Likewise.
740 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
742         * iconvdata/tst-tables.sh: Change echo -n to printf.
743         * nss/db-Makefile: Likewise.
744         * posix/tst-getconf.sh: Likewise.
745         * stdio-common/tst-unbputc.sh: Likewise.
747 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
749         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
750         MADV_*_PAGES defines behind this feature check.
752 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
754         [BZ #18480]
755         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
756         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
757         Define.
758         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
759         LOAD_REGS_5, LOAD_REGS_6): Update.
760         (INTERNAL_SYSCALL): Update using new LOAD defines.
761         (INTERNAL_SYSCALL_NCS): Likewise.
762         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
764 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
766         [BZ #16734]
767         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
769 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
771         [BZ #17905]
772         * catgets/Makefile (tst-catgets-mem): New test.
773         * catgets/catgets.c (catopen): Don't use unbounded alloca.
774         * catgets/open_catalog.c (__open_catalog): Likewise.
775         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
777 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
779         [BZ #18787]
780         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
781         clobber registers.
782         (atomic_compare_and_exchange_val_acq): Use register asms to assign
783         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
784         Cast return to __typeof (oldval).
786 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
788         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
789         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
790         and delete sys/syscall.h include.
792 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
794         [BZ #16517]
795         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
796         (tan): Force underflow exception for arguments with small absolute
797         value.
798         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
799         (__kernel_tanf): Force underflow exception for arguments with
800         small absolute value.
801         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
802         (__kernel_tanl): Force underflow exception for arguments with
803         small absolute value.
804         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
805         (__kernel_tanl): Force underflow exception for arguments with
806         small absolute value.
807         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
808         (__kernel_tanl): Force underflow exception for arguments with
809         small absolute value.
810         * math/auto-libm-test-in: Add more tests of tan.
811         * math/auto-libm-test-out: Regenerated.
813 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
815         Fix sysdeps/i386/fpu/s_scalbn.S build
817         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
819 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
821         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
823 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
825         Fix gcrt0.o compilation
827         When static-start-installed-name is different from
828         start-installed-name, we must not use the shared objects.
830         * csu/Makefile
831         (extra-objs): Add gmon-start.o when building shared library and
832         $(static-start-installed-name) is different from
833         $(start-installed-name).
834         $(objpfx)g$(static-start-installed-name): When building shared
835         library and $(static-start-installed-name) is different from
836         $(static-start-installed-name), revert to non-shared rule,
837         i.e. using $(objpfx)% and gmon-start.o.
839 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
841         [BZ #16519]
842         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
843         (__ieee754_sinh): Force underflow exception for arguments with
844         small absolute value.
845         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
846         (__ieee754_sinhf): Force underflow exception for arguments with
847         small absolute value.
848         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
849         (__ieee754_sinhl): Force underflow exception for arguments with
850         small absolute value.
851         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
852         (__ieee754_sinhl): Force underflow exception for arguments with
853         small absolute value.
854         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
855         (__ieee754_sinhl): Force underflow exception for arguments with
856         small absolute value.
857         * math/auto-libm-test-in: Add more tests of sinh.
858         * math/auto-libm-test-out: Regenerated.
859         * sysdeps/i386/fpu/libm-test-ulps: Update.
861 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
863         * libio/oldfileops.c: Include unistd.h.
865 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
867         * stdlib/isomac.c: Include ctype.h.
869 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
871         * dirent/tst-seekdir.c (main): Converted to ...
872         (do_test): ... this.
873         (TEST_FUNCTION): New macro.
874         Include test-skeleton.c.
875         * elf/tst-dlmodcount.c (main): Converted to ...
876         (do_test): ... this.
877         (TEST_FUNCTION): New macro.
878         Include test-skeleton.c.
879         * elf/tst-order-main.c (main): Converted to ...
880         (do_test): ... this.
881         (TEST_FUNCTION): New macro.
882         Include test-skeleton.c.
883         * elf/tst-pie2.c (main): Converted to ...
884         (do_test): ... this.
885         (TEST_FUNCTION): New macro.
886         Include test-skeleton.c.
887         * inet/tst-ether_aton.c (main): Converted to ...
888         (do_test): ... this.
889         (TEST_FUNCTION): New macro.
890         Include test-skeleton.c.
891         * misc/tst-mntent.c (main): Converted to ...
892         (do_test): ... this.
893         (TEST_FUNCTION): New macro.
894         Include test-skeleton.c.
895         * misc/tst-tsearch.c (main): Converted to ...
896         (do_test): ... this.
897         (TEST_FUNCTION): New macro.
898         Include test-skeleton.c.
899         * posix/tst-regexloc.c (main): Converted to ...
900         (do_test): ... this.
901         (TEST_FUNCTION): New macro.
902         Include test-skeleton.c.
903         * resolv/tst-aton.c (main): Converted to ...
904         (do_test): ... this.
905         (TEST_FUNCTION): New macro.
906         Include test-skeleton.c.
907         * stdio-common/test-fwrite.c (main): Converted to ...
908         (do_test): ... this.
909         (TEST_FUNCTION): New macro.
910         Include test-skeleton.c.
911         * stdio-common/tst-ferror.c (main): Converted to ...
912         (do_test): ... this.
913         (TEST_FUNCTION): New macro.
914         Include test-skeleton.c.
915         * stdio-common/tst-printf.c (main): Converted to ...
916         (do_test): ... this.
917         (TEST_FUNCTION): New macro.
918         Include test-skeleton.c.
919         * stdio-common/tst-printfsz.c (main): Converted to ...
920         (do_test): ... this.
921         (TEST_FUNCTION): New macro.
922         Include test-skeleton.c.
923         * stdlib/tst-strtod.c (main): Converted to ...
924         (do_test): ... this.
925         (TEST_FUNCTION): New macro.
926         Include test-skeleton.c.
927         * string/tst-strlen.c (main): Converted to ...
928         (do_test): ... this.
929         (TEST_FUNCTION): New macro.
930         Include test-skeleton.c.
931         * string/tst-svc.c (main): Converted to ...
932         (do_test): ... this.
933         (TEST_FUNCTION): New macro.
934         Include test-skeleton.c.
935         * time/tst-strptime.c (main): Converted to ...
936         (do_test): ... this.
937         (TEST_FUNCTION): New macro.
938         Include test-skeleton.c.
939         * timezone/tst-timezone.c (main): Converted to ...
940         (do_test): ... this.
941         (TEST_FUNCTION): New macro.
942         Include test-skeleton.c.
944 2015-08-05  Zack Weinberg  <zackw@panix.com>
946         * misc/regexp.h: Update comments.
948 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
950         [BZ #18635]
951         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
952         before return label.
954 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
956         [BZ #18661]
957         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
958         when calling __errno_location.
959         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
960         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
962 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
964         [BZ #18661]
965         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
966         (__lll_timedwait_tid): Align stack to 16 bytes when calling
967         __gettimeofday.
969 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
971         [BZ #18661]
972         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
973         (__start_context): Don't use pop to restore %rdi so that stack
974         is aligned to 16 bytes when calling __setcontext.
976 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
978         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
979         only for libc.
980         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
982 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
984         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
985         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
986         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
988 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
990         * string/memccpy.c (memccpy):
991         Improve performance by using memchr/memcpy/__mempcpy.
993 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
995         * string/strncpy.c (strncpy):
996         Improve performance by using __strnlen/memcpy.
998 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1000         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1001         Optimize to avoid an unnecessary FPCR read.
1003 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1005         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1006         Optimize to reduce FPCR/FPSR accesses.
1008 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1010         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1011         dead->data[category] != NULL.
1013 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1015         [BZ #18647]
1016         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1017         and |x| close to 1, use absolute value of x when computing log.
1018         * math/auto-libm-test-in: Add more tests of pow.
1019         * math/auto-libm-test-out: Regenerated.
1021 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1023         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1024         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1025         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1027 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1029         [BZ #18525]
1030         * locales/km_KH: Remove timezone definition.
1031         * locales/lo_LA: Likewise.
1032         * locales/my_MM: Likewise.
1033         * locales/nan_TW@latin: Likewise.
1034         * locales/th_TH: Likewise.
1035         * locales/uk_UA: Likewise.
1037 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1039         [BZ #18265]
1040         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1041         (wcsncat): Likewise.
1042         (wcscmp): Likewise.
1043         (wcsncmp): Likewise.
1045 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1047         * test-skeleton.c (usage): New function.
1048         (main): Call usage when opt is '?'.
1050 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1052         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1053         before first use.
1055 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1057         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1058         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1059         in there too.
1061 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1063         * version.h (RELEASE): Set to "development".
1064         (VERSION): Set to "2.22.90"
1066         * version.h (RELEASE): Set to "stable".
1067         (VERSION): Set to "2.22"
1068         * include/features.h (__GLIBC_MINOR__): Set to 22.
1070 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1072         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1073         Restructure macro to avoid "value computed is not used" warning.
1074         (atomic_compare_and_exchange_val_acq): Likewise.
1076 2015-08-04  Andreas Schwab  <schwab@suse.de>
1078         [BZ #18635]
1079         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1080         ret.
1081         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1083 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1085         * po/pl.po: Updated translation.
1086         * po/uk.po: Likewise.
1087         * po/fi.po: Likewise.
1088         * po/ko.po: Likewise.
1089         * po/ru.po: Likewise.
1090         * po/vi.po: Likewise.
1092 2015-07-31  Zack Weinberg  <zackw@panix.com>
1094         [BZ #18681]
1095         * regexp.h: Add unconditional #warning stating that this header
1096         will be removed soon.  Revise banner comment to match.
1097         (compile): Consistently use ERROR instead of RETURN to report
1098         errors (partial fix for bz#18681).
1099         * regexp.c: Don't include regexp.h. Remove some unnecessary
1100         declarations.
1102 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1104         * po/libc.pot: Regenerated.
1106 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1108         [BZ #18740]
1109         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1110         float-vlen4-arch-ext-cflags): Removed.
1111         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1112         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1114 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1116         [BZ #14113]
1117         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1118         aligned to __aligned__.
1119         (pthread_cond_t, pthread_rwlock_t): Likewise.
1121 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1123         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1125 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1127         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1128         (struct sigaction): Change sa_flags from a long to an int, and add
1129         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1131 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1133         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1134         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1135         sysdeps/generic/sysdep.h include.
1136         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1137         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1138         sysdeps/hppa/sysdep.h.
1139         (ENTRY, PSEUDO): Undefine before defining.
1141 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1143         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1144         from scratch to use INTERNAL_SYSCALL.
1146 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1148         [BZ #18078]
1149         * scripts/check-localplt.awk: Support alternate relocations.
1150         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1151         sections.
1152         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1153         malloc entries with + REL R_386_GLOB_DAT.
1154         * sysdeps/x86_64/localplt.data: New file.
1156 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1158         [BZ #18731]
1159         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1160         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1161         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1163 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1165         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1167 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1169         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1170         directly in terms of __sync_fetch_and_add and delete (int) cast.
1172 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1174         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1175         the -D_ASM_IA64_CURRENT_H flag.
1177 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1179         [BZ #18641]
1180         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1182 2015-07-27  Andreas Schwab  <schwab@suse.de>
1184         * conform/conformtest.pl (checknamespace): Filter out string
1185         literals while tokenizing.
1187 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1189         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1190         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1191         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1193 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1195         * nptl/tst-join7mod.c: Add #include <string.h>.
1197 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1199         * sysdeps/nios2/libm-test-ulps: Update.
1201 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1203         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1204         Fix order of arguments to the rt_sigprocmask syscall.
1205         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1206         Likewise.
1208 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1210         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1212 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1214         [BZ #18457]
1215         * nptl/Makefile (tests): New test case tst-join7.
1216         (modules-names): New test case module tst-join7mod.
1217         * nptl/tst-join7.c: New file.
1218         * nptl/tst-join7mod.c: New file.
1219         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1220         all translation units in libc.so, libpthread.so and rtld.
1222 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1226 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1228         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1229         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1230         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1231         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1232         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1233         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1234         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1235         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1236         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1237         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1238         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1239         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1240         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1241         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1242         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1243         implementation.
1245 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1247         [BZ #17711]
1248         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1249         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1250         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1251         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1252         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1253         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1255 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1257         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1258         instead of just saying load lock in the comments.
1260 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1262         * sysdeps/unix/Subdirs: Moved ...
1263         * sysdeps/posix/Subdirs: ... here.
1264         * login/pty.h (struct termios, struct winsize): Add forward decls.
1265         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1266         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1267         * sysdeps/arm/nacl/libc.abilist: Updated.
1268         * sysdeps/nacl/libutil.abilist: New file.
1270         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1271         (SIGWINCH): New macro.
1273         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1274         * sysdeps/arm/nacl/libc.abilist: Add it.
1276 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1278         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1280 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1282         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1283         Swap __glibc_reserved0 and sa_flags order.
1285 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1287         [BZ #18657]
1288         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1289         are pending TLS destructor calls.
1290         * include/link.h (struct link_map): Add concurrency note for
1291         L_TLS_DTOR_COUNT.
1292         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1293         Don't touch the link map flag.  Atomically increment
1294         l_tls_dtor_count.
1295         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1296         Avoid taking the load lock and don't touch the link map flag.
1297         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1298         * stdlib/Makefile (tests): Use it.
1299         * stdlib/tst-tls-atexit.c (do_test): dlopen
1300         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1301         to allow tst-tls-atexit-nodelete test case to use it.
1303 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1305         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1306         to bits/types.h.
1307         (msgqnum_t): New typedef.
1308         (msglen_t): Likewise.
1309         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1310         and msg_qbytes type to msglen_t.
1312 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1314         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1315         pad0 to __glibc_reserved0.
1316         (struct stat64): Likewise.
1318 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1320         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1321         Change sa_flags from a long to an int and add __glibc_reserved0 before
1322         it for padding.
1324 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1326         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1327         anonymous by deleting "siginfo" name.
1329 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1331         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1332         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1333         rather than __nacl_irt_filename.
1334         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1336         * NEWS: New item for arm-nacl port.
1337         * sysdeps/arm/nacl/libc.abilist: New file.
1338         * sysdeps/nacl/ld.abilist: New file.
1339         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1340         * sysdeps/nacl/libanl.abilist: New file.
1341         * sysdeps/nacl/libcrypt.abilist: New file.
1342         * sysdeps/nacl/libdl.abilist: New file.
1343         * sysdeps/nacl/libm.abilist: New file.
1344         * sysdeps/nacl/libpthread.abilist: New file.
1345         * sysdeps/nacl/libresolv.abilist: New file.
1346         * sysdeps/nacl/librt.abilist: New file.
1348 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1350         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1351         __startcontext to initialize the new context.
1352         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1353         up CFI directive to forbid further backtracing.
1355 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1357         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1358         reference.
1359         * charmaps/ANSI_X3.4-1968: Likewise.
1360         * charmaps/BS_4730: Likewise.
1361         * charmaps/BS_VIEWDATA: Likewise.
1362         * charmaps/CP1250: Likewise.
1363         * charmaps/CP1251: Likewise.
1364         * charmaps/CP1252: Likewise.
1365         * charmaps/CP1253: Likewise.
1366         * charmaps/CP1254: Likewise.
1367         * charmaps/CP1255: Likewise.
1368         * charmaps/CP1256: Likewise.
1369         * charmaps/CSN_369103: Likewise.
1370         * charmaps/EBCDIC-DK-NO: Likewise.
1371         * charmaps/GB_1988-80: Likewise.
1372         * charmaps/GREEK-CCITT: Likewise.
1373         * charmaps/GREEK7: Likewise.
1374         * charmaps/INIS-8: Likewise.
1375         * charmaps/ISIRI-3342: Likewise.
1376         * charmaps/ISO_2033-1983: Likewise.
1377         * charmaps/ISO_5427-EXT: Likewise.
1378         * locales/POSIX: Likewise.
1379         * locales/ar_SA: Likewise.
1380         * locales/be_BY: Likewise.
1381         * locales/be_BY@latin: Likewise.
1382         * locales/ca_ES: Likewise.
1383         * locales/cs_CZ: Likewise.
1384         * locales/da_DK: Likewise.
1385         * locales/de_BE: Likewise.
1386         * locales/de_CH: Likewise.
1387         * locales/de_LU: Likewise.
1388         * locales/en_AU: Likewise.
1389         * locales/en_BW: Likewise.
1390         * locales/en_CA: Likewise.
1391         * locales/en_DK: Likewise.
1392         * locales/en_GB: Likewise.
1393         * locales/en_IE: Likewise.
1394         * locales/en_NZ: Likewise.
1395         * locales/en_ZA: Likewise.
1396         * locales/en_ZW: Likewise.
1397         * locales/es_AR: Likewise.
1398         * locales/es_BO: Likewise.
1399         * locales/es_CL: Likewise.
1400         * locales/es_CO: Likewise.
1401         * locales/es_DO: Likewise.
1402         * locales/es_EC: Likewise.
1403         * locales/es_ES: Likewise.
1404         * locales/es_HN: Likewise.
1405         * locales/es_MX: Likewise.
1406         * locales/es_PA: Likewise.
1407         * locales/es_PE: Likewise.
1408         * locales/es_PY: Likewise.
1409         * locales/es_SV: Likewise.
1410         * locales/es_US: Likewise.
1411         * locales/es_UY: Likewise.
1412         * locales/es_VE: Likewise.
1413         * locales/et_EE: Likewise.
1414         * locales/fa_IR: Likewise.
1415         * locales/fo_FO: Likewise.
1416         * locales/fr_CA: Likewise.
1417         * locales/fr_CH: Likewise.
1418         * locales/gv_GB: Likewise.
1419         * locales/he_IL: Likewise.
1420         * locales/hr_HR: Likewise.
1421         * locales/id_ID: Likewise.
1422         * locales/is_IS: Likewise.
1423         * locales/it_CH: Likewise.
1424         * locales/iw_IL: Likewise.
1425         * locales/kl_GL: Likewise.
1426         * locales/ko_KR: Likewise.
1427         * locales/kw_GB: Likewise.
1428         * locales/lg_UG: Likewise.
1429         * locales/lt_LT: Likewise.
1430         * locales/lv_LV: Likewise.
1431         * locales/mi_NZ: Likewise.
1432         * locales/nhn_MX: Likewise.
1433         * locales/nl_BE: Likewise.
1434         * locales/pl_PL: Likewise.
1435         * locales/sk_SK: Likewise.
1436         * locales/sl_SI: Likewise.
1437         * locales/sv_FI: Likewise.
1438         * locales/tl_PH: Likewise.
1439         * locales/tr_TR: Likewise.
1440         * locales/vi_VN: Likewise.
1442 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1444         [BZ #17475]
1445         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1446         of tu_IN and bh_IN.
1448 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
1450         [BZ #18694]
1451         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1452         bits/wordsize.h.
1453         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1455 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1457         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1458         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1459         (spawn_thread): New function.
1460         (load): Rename to reg_dtor_and_close.  Move dlopen to...
1461         (do_test): ... here.  Use IS_LOADED to test for its
1462         availability.
1464 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
1466         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1468 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
1470         [BZ #18696]
1471         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1472         si_addr_bnd.
1473         (si_lower): New.
1474         (si_upper): Likewise.
1476 2015-07-16  David S. Miller  <davem@davemloft.net>
1478         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1480 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1482         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1483         buffer.
1484         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1485         fail output information.
1487 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1489         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1490         and strstr-ppc64..
1491         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1492         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1493         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1494         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1495         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1497 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1499         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1500         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1501         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1502         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1504 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1506         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1507         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1508         rtld_hidden_proto.
1509         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1511 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1513         * tst-nodelete-opened.c (do_test): Add comment to clarify how
1514         the test can fail.
1516         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1518         [BZ #18676]
1519         * elf/tst-nodelete-opened.c: New test case.
1520         * elf/tst-nodelete-opened-lib.c: New test case module.
1521         * elf/Makefile (tests, modules-names): Use them.
1522         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1523         early.
1525 2015-07-15  David S. Miller  <davem@davemloft.net>
1527         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1528         futex-intenal.h
1529         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1530         * sysdeps/sparc/sparc64/Makefile: Likewise.
1531         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1532         Remove space from macro define.
1533         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1535 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
1537         [BZ #17475]
1538         * locale/iso-639.def: Update Bhili and Tulu language codes as
1539         per iso639-3.
1541 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
1543         * elf/tst-leaks1.c (main): Converted to ...
1544         (do_test): ... this.
1545         (TEST_FUNCTION): New macro.
1546         Include test-skeleton.c.
1547         * localedata/tst-langinfo.c (main): Converted to ...
1548         (do_test): ... this.
1549         (TEST_FUNCTION): New macro.
1550         Include test-skeleton.c.
1551         * math/test-fpucw.c (main): Converted to ...
1552         (do_test): ... this.
1553         (TEST_FUNCTION): New macro.
1554         Include test-skeleton.c.
1555         * math/test-tgmath.c (main): Converted to ...
1556         (do_test): ... this.
1557         (TEST_FUNCTION): New macro.
1558         Include test-skeleton.c.
1559         * math/test-tgmath2.c (main): Converted to ...
1560         (do_test): ... this.
1561         (TEST_FUNCTION): New macro.
1562         Include test-skeleton.c.
1563         * setjmp/tst-setjmp.c (main): Converted to ...
1564         (do_test): ... this.
1565         (TEST_FUNCTION): New macro.
1566         Include test-skeleton.c.
1567         * stdio-common/tst-sscanf.c (main): Converted to ...
1568         (do_test): ... this.
1569         (TEST_FUNCTION): New macro.
1570         Include test-skeleton.c.
1571         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1572         (do_test): ... this.
1573         (TEST_FUNCTION): New macro.
1574         Include test-skeleton.c.
1576         * elf/tst-audit9.c (main): Converted to ...
1577         (do_test): ... this.
1578         (TEST_FUNCTION): New macro.
1579         Include test-skeleton.c.
1581 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
1583         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1585 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1587         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1588         New variable.
1590 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1592         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1594 2015-07-14  Roland McGrath  <roland@hack.frob.com>
1596         * sysdeps/generic/dl-fileid.h: New file.
1597         * sysdeps/posix/dl-fileid.h: New file.
1598         * sysdeps/nacl/dl-fileid.h: New file.
1599         * include/link.h: Include <dl-fileid.h>.
1600         (struct link_map): Replace l_dev and l_ino with l_file_id.
1601         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1602         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
1603         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
1605 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1607         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
1609 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1611         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
1612         Add iff $CXX is set.
1613         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
1614         Likewise.
1615         (tst-nodelete-zmodiff): Likewise.
1616         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
1618 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1620         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
1622 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1624         * sysdeps/aarch64/fpu/math_private.h
1625         (define math_opt_barrier): Add AArch64 version.
1626         (math_force_eval): Likewise.
1628 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1630         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
1632 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1634         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
1635         %ld with %jd and cast to intmax_t.
1636         (do_test_length_zero): Likewise.
1638 2015-07-10  Roland McGrath  <roland@hack.frob.com>
1640         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
1642 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
1644         * sysdeps/tile/libm-test-ulps: Regenerated.
1646         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
1647         Comment out the whole function, not just its body.
1649 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1651         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
1652         locks.
1654         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
1656 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1658         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
1659         (sem_assume_only_signals_cause_futex_EINTR): Remove.
1661 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1663         * sysdeps/nptl/futex-internal.h: New file.
1664         * sysdeps/nacl/futex-internal.h: New file.
1665         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
1666         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
1667         error checking.
1668         (setxid_unmark_thread): Likewise.
1669         (__nptl_setxid): Likewise.
1670         (__wait_lookup_done): Likewise.
1671         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1672         * nptl/nptl-init.c (sighandler_setxid): Likewise.
1673         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1674         * nptl/pthread_once.c (clear_once_control): Likewise.
1675         (__pthread_once_slow): Likewise.
1676         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1677         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1678         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1679         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1680         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1681         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1682         Likewise.
1683         (__pthread_rwlock_rdlock): Likewise.
1684         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1685         Likewise.
1686         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1687         Likewise.
1688         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1689         Likewise.
1690         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1691         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1692         Likewise.
1693         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1694         __ASSUME_PRIVATE_FUTEX check.
1695         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1696         Check that shared futexes are supported.
1697         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1698         wrappers with error checking.
1699         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1700         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1701         * nptl/pthread_barrierattr_setpshared.c
1702         (pthread_barrierattr_setpshared): Check that shared futexes are
1703         supported.
1704         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1705         Likewise.
1706         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1707         Likewise.
1708         * nptl/sem_init.c (futex_private_if_supported): Remove.
1709         (__new_sem_init): Adapt and check that shared futexes are supported.
1710         * nptl/sem_open.c (sem_open): Likewise.
1711         * nptl/sem_post.c (futex_wake): Remove.
1712         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1713         (do_futex_wait): Use futex wrappers with error checking.
1714         * nptl/sem_wait.c: Include lowlevellock.h.
1715         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1716         Use futex_supports_pshared.
1717         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1718         Use futex wrappers with error checking.
1719         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1720         Likewise.
1721         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1722         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1723         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1724         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1725         (futex_wake): Likewise.
1726         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1727         (do_futex_wait): Use futex wrappers with error checking.
1728         (__new_sem_wait_slow): Update EINTR handling.
1729         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1731 2015-07-09  Martin Sebor  <msebor@redhat.com>
1733         [BZ #18435]
1734         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1735         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1736         * nptl/Makefile (test-xfail-tst-once5): Define.
1738 2015-07-09  Roland McGrath  <roland@hack.frob.com>
1740         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1741         * elf/dl-minimal.c: For readability, reorder some definitions and
1742         introduce more page breaks.  Include <stdio.h>.
1743         (__libc_fatal): New function.
1745         * include/unistd.h: Add rtld_hidden_proto for _exit.
1746         * posix/_exit.c: Add rtld_hidden_def.
1747         * sysdeps/mach/hurd/_exit.c: Likewise.
1748         * sysdeps/nacl/_exit.c: Likewise.
1749         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1750         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1752 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1754         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1755         bndmov encoding with zero displacement.
1757 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1758             H.J. Lu  <hongjiu.lu@intel.com>
1760         [BZ #18134]
1761         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1762         * sysdeps/i386/configure: Regenerated.
1763         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1764         (_dl_runtime_profile): Save and restore Intel MPX return bound
1765         registers when calling _dl_call_pltexit.  Add
1766         PRESERVE_BND_REGS_PREFIX before return.
1767         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1768         (LRV_BND1_OFFSET): Likewise.
1769         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1770         lrv_bnd1.
1771         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1772         typo in bndmov encoding.
1773         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1774         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
1775         branch instructions to preserve bounds.
1777 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1780         [GLIBC_2.22]: Add fmemopen.
1782 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1784         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1785         returns an error, also try to use host port from __mach_host_self for
1786         the __vm_wire call.
1787         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1789 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1791         [BZ #18400]
1792         [BZ #18648]
1793         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1794         Fix pr_uid and pr_gid members.
1795         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1796         definition to elf_greg_t.
1798 2015-07-08  Roland McGrath  <roland@hack.frob.com>
1800         [BZ #18383]
1801         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1802         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1803         * sysdeps/arm/configure: Regenerated.
1804         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1805         (test-xfail-tst-tlsalign-static): Variable removed.
1807         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1808         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1809         rather than explicit 'ln -s'.
1811         * resolv/rpc/netdb.h: New file.
1812         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1814 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1816         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1817         length buffers.
1818         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1819         test-skeleton.c.
1821         [BZ #6544]
1822         [BZ #11216]
1823         [BZ #12836]
1824         [BZ #13151]
1825         [BZ #13152]
1826         [BZ #14292]
1827         * include/stdio.h (fmemopen): Remove hidden prototype.
1828         (__fmemopen): Add new hidden prototype.
1829         * libio/Makefile: Add oldfmemopen object.
1830         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1831         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1832         compliance.
1833         * libio/oldfmemopen.c: New file: old fmemopen implementation for
1834         symbol compatibility.
1835         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1836         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1837         fmemopen.
1838         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1839         on append and read mode.
1840         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1841         fmemopen.
1842         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1843         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1844         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1845         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1846         Likewise.
1847         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1848         [GLIBC_2.22]: Likewise.
1849         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1850         Likewise.
1851         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1852         Likewise.
1853         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1854         [GLIBC_2.22]: Likewise.
1855         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1856         [GLIBC_2.22]: Likewise.
1857         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1858         [GLIBC_2.22]: Likewise.
1859         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1860         [GLIBC_2.22]: Likewise.
1861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1862         [GLIBC_2.22]: Likewise.
1863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1864         [GLIBC_2.22]: Likewise.
1865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1866         [GLIBC_2.22]: Likewise.
1867         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1868         Likewise.
1869         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1870         Likewise.
1871         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1872         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1873         [GLIBC_2.22]: Likewise.
1874         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1875         [GLIBC_2.22]: Likewise.
1876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1877         [GLIBC_2.22]: Likewise.
1878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1879         [GLIBC_2.22]: Likewise.
1880         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1881         Likewise.
1882         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1883         Likewise.
1884         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1885         Likewise.
1886         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1887         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1889 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1891         [BZ #18643]
1892         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1893         IPV6_PATHMTU, and IPV6_DONTFRAG.
1895 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
1897         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1898         and _IO_UNBUFFERED.
1899         * libio/oldfileops.c: Likewise.
1900         * libio/wfileops.c: Likewise.
1902 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1904         * nscd/selinux.c: Delete selinux/flask.h include.
1906 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1908         [BZ #18641]
1909         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1910         (putpwent): Likewise.
1911         (getpwnam): Likewise.
1912         (getpwent_r): Likewise.
1913         (getpwuid_r): Likewise.
1914         (getpwnam_r): Likewise.
1915         (fgetpwent_r): Likewise.
1917 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1919         [BZ #18557]
1920         * inet/rcmd.c (__validuser2_sa): Check user first to
1921         short-circuit host check.
1923 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
1924             Mikhail Ilin  <m.ilin@samsung.com>
1926         [BZ #17833]
1927         * elf/Makefile (tests): Add tst-nodelete.
1928         (modules-names): Add tst-nodelete-uniquemod.
1929         (tst-nodelete-uniquemod.so-no-z-defs): New.
1930         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1931         (tst-nodelete-zmod.so-no-z-defs): Likewise.
1932         ($(objpfx)tst-nodelete): Likewise.
1933         ($(objpfx)tst-nodelete.out): Likewise.
1934         (LDFLAGS-tst-nodelete): Likewise.
1935         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1936         * elf/dl-close.c (_dl_close_worker): Add a parameter to
1937         implement forced object deletion.
1938         (_dl_close): Pass false to _dl_close_worker.
1939         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1940         * elf/tst-nodelete.cc: New file.
1941         * elf/tst-nodeletelib.cc: Likewise.
1942         * elf/tst-znodeletelib.cc: Likewise.
1943         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1945 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1947         [BZ #18508]
1948         * stdlib/Makefile ($(objpfx)tst-makecontext3):
1949         Depend on $(libdl).
1950         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1951         is not called infinitely times.
1952         (backtrace_helper): New function.
1953         (trace_arg): New struct.
1954         (st1): Enlarge stack size.
1955         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1956         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1957         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1958         Likewise.
1960 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1962         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1964 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1966         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1967         Include sys/types.h instead of bits/types.h.
1968         Remove inclusion of bits/wordsize.h.
1970 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1972         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1973         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1974         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1975         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1976         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1977         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1979 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1981         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1982         link-defines.sym.
1983         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
1984         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
1985         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
1986         and LR_SIZE.
1987         * sysdeps/i386/link-defines.sym: New file.
1989 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1991         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
1992         (modules-names): Add tst-auditmod3a tst-auditmod3b.
1993         ($(objpfx)tst-audit3): New rule.
1994         ($(objpfx)tst-audit3.out): Likewise.
1995         * sysdeps/i386/tst-audit3.c: New file.
1996         * sysdeps/i386/tst-audit3.h: Likewise.
1997         * sysdeps/i386/tst-auditmod3a.c: Likewise.
1998         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2000 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2002         [BZ #18633]
2003         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2004         pointer in C code.
2005         (__strcat_c): Likewise.
2006         (__strcat_g): Likewise.
2008 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2010         [BZ #18592]
2011         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2013 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2015         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2016         New function.  (__ieee754_sqrtf): New function.
2017         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2018         New function.
2019         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2020         New function.
2022 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2024         * sysdeps/ieee754/support.c: Remove unused file.
2026 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2028         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2029         registers instead of d ones so the layout is kernel abi compatible.
2030         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2031         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2032         Likewise.
2034 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2036         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2038 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2040         [BZ #18619]
2041         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2042         and return argument in case of subnormal argument.
2044 2015-07-01  Martin Sebor  <msebor@redhat.com>
2046         [BZ #18435]
2047         * nptl/Makefile: Add tst-once5.cc.
2048         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2049         Remove macro redefinitions.
2050         * nptl/tst-once5.cc: New test.
2052 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2054         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2056         * sysdeps/arm/libm-test-ulps: Regenerated.
2058         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2059         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2061 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2063         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2064         lll_lock_wait_private and lll_futex_wake probes.
2066         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2067         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2068         Likewise.
2069         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2070         atomic_spin_nop.
2071         * sysdeps/x86_64/bits/atomic.h: Likewise.
2072         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2073         to atomic_spin_nop and move ...
2074         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2075         ... here and ...
2076         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2077         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2078         atomic_spin_nop instead of BUSY_WAIT_NOP.
2079         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2080         Likewise.
2081         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2082         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2083         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2084         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2085         instead of atomic_delay.
2087 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2089         [BZ #18613]
2090         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2091         X_ADJ not X when adjusting exponent.
2092         (__ieee754_gamma_r): Do intermediate computations in
2093         round-to-nearest then adjust overflowing and underflowing results
2094         as needed.
2095         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2096         of X_ADJ not X when adjusting exponent.
2097         (__ieee754_gammaf_r): Do intermediate computations in
2098         round-to-nearest then adjust overflowing and underflowing results
2099         as needed.
2100         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2101         log of X_ADJ not X when adjusting exponent.
2102         (__ieee754_gammal_r): Do intermediate computations in
2103         round-to-nearest then adjust overflowing and underflowing results
2104         as needed.  Use 1.0L not 1.0f as numerator of division.
2105         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2106         log of X_ADJ not X when adjusting exponent.
2107         (__ieee754_gammal_r): Do intermediate computations in
2108         round-to-nearest then adjust overflowing and underflowing results
2109         as needed.  Use 1.0L not 1.0f as numerator of division.
2110         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2111         of X_ADJ not X when adjusting exponent.
2112         (__ieee754_gammal_r): Do intermediate computations in
2113         round-to-nearest then adjust overflowing and underflowing results
2114         as needed.  Use 1.0L not 1.0f as numerator of division.
2115         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2116         to auto-libm-test-in.
2117         (tgamma_test): Use ALL_RM_TEST.
2118         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2119         tests of tgamma with spurious-overflow.
2120         * math/auto-libm-test-out: Regenerated.
2121         * math/gen-libm-have-vector-test.sh: Do not check for START.
2122         * sysdeps/i386/fpu/libm-test-ulps: Update.
2123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2125         [BZ #18612]
2126         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2127         arguments, just return 0.5 times the argument, with underflow
2128         forced as needed.
2129         * math/auto-libm-test-in: Add more tests of j1.
2130         * math/auto-libm-test-out: Regenerated.
2132         [BZ #16559]
2133         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2134         (__ieee754_j1): Force underflow exception for small results.
2135         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2136         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2137         (__ieee754_j1f): Force underflow exception for small results.
2138         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2139         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2140         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2141         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2142         (__ieee754_j1l): Force underflow exception for small results.
2143         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2144         * math/auto-libm-test-in: Add more tests of j1 and jn.
2145         * math/auto-libm-test-out: Regenerated.
2147         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2148         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2149         (PF_MPLS): Likewise.
2150         (AF_IB): Likewise.
2151         (AF_MPLS): Likewise.
2152         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2153         value and macro.
2154         (MS_RMT_MASK): Include MS_LAZYTIME.
2156 2015-06-26  Mel Gorman  <mgorman@suse.de>
2158         [BZ #18502]
2159         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2160         already minimal.
2162 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2164         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2165         (DT_MIPS_NUM): Update.
2166         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2167         DT_MIPS_RLD_MAP_REL.
2169 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2171         [BZ #16559]
2172         [BZ #18602]
2173         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2174         round-to-nearest internally then recompute results that
2175         underflowed to zero in the original rounding mode.
2176         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2177         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2178         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2179         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2180         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2181         * sysdeps/i386/fpu/libm-test-ulps: Update.
2182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2184 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2186         * NEWS: Fixed description of link with vector math library.
2188 2015-06-25  Andreas Schwab  <schwab@suse.de>
2190         [BZ #18549]
2191         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2192         * libio/test-fmemopen.c (do_test): Add test for it.
2194 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2196         [BZ #17841]
2197         * Makeconfig (no-pie-ldflag): New.
2198         (+link): Set to $(+link-pie) if default to PIE.
2199         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2200         * config.make.in (build-pie-default): New.
2201         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2202         is default.  AC_SUBST.
2203         * configure: Regenerated.
2204         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2206 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2208         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2209         to 'unsigned int'.
2211         * resolv/gai_misc.h (struct waitlist): Change type of field
2212         counterp to 'volatile unsigned int *'.
2213         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2214         FUTEXADDR and OLDVAL.
2215         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2216         Give local variable TOTAL type 'volatile unsigned int'.
2217         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2218         * resolv/gai_suspend.c (gai_suspend):
2219         Give local variable CNTR type 'unsigned int'.
2221         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2222         counterp to 'volatile unsigned int *'.
2223         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2224         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2225         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2226         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2227         Give local variable TOTAL type 'volatile unsigned int'.
2228         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2230 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2232         [BZ #18383]
2233         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2234         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2235         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2236         comment for i386/x86-64.
2237         (test-xfail-tst-tlsalign-extern-static): Removed.
2239 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2241         * math/test-double.h: New file.
2242         * math/test-float.h: Likewise.
2243         * math/test-ldouble.h: Likewise.
2244         * math/test-math-inline.h: Likewise.
2245         * math/test-math-no-inline.h: Likewise.
2246         * math/test-math-scalar.h: Likewise.
2247         * math/test-math-vector.h: Likewise.
2248         * math/test-vec-loop.h: Remove file.  Contents moved into
2249         test-math-vector.h.
2250         * math/libm-test.inc (MATHCONST): Do not document macro.
2251         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2252         and test-math-scalar.h.
2253         (FUNC): Remove macro.
2254         (FUNC_TEST): Likewise.
2255         (FLOAT): Likewise.
2256         (MATHCONST): Likewise.
2257         (PRINTF_EXPR): Likewise.
2258         (PRINTF_XEXPR): Likewise.
2259         (PRINTF_NEXPR): Likewise.
2260         (TEST_DOUBLE): Likewise.
2261         (TEST_MATHVEC): Likewise.
2262         (__NO_MATH_INLINES): Likewise.
2263         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2264         and test-math-scalar.h.
2265         (FUNC): Remove macro.
2266         (FUNC_TEST): Likewise.
2267         (FLOAT): Likewise.
2268         (MATHCONST): Likewise.
2269         (PRINTF_EXPR): Likewise.
2270         (PRINTF_XEXPR): Likewise.
2271         (PRINTF_NEXPR): Likewise.
2272         (TEST_FLOAT): Likewise.
2273         (TEST_MATHVEC): Likewise.
2274         (__NO_MATH_INLINES): Likewise.
2275         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2276         and test-math-scalar.h.
2277         (FUNC): Remove macro.
2278         (FUNC_TEST): Likewise.
2279         (FLOAT): Likewise.
2280         (MATHCONST): Likewise.
2281         (PRINTF_EXPR): Likewise.
2282         (PRINTF_XEXPR): Likewise.
2283         (PRINTF_NEXPR): Likewise.
2284         (TEST_DOUBLE): Likewise.
2285         (TEST_MATHVEC): Likewise.
2286         (TEST_INLINE): Likewise.
2287         (__NO_MATH_INLINES): Likewise.
2288         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2289         test-math-scalar.h.
2290         (FUNC): Remove macro.
2291         (FUNC_TEST): Likewise.
2292         (FLOAT): Likewise.
2293         (MATHCONST): Likewise.
2294         (PRINTF_EXPR): Likewise.
2295         (PRINTF_XEXPR): Likewise.
2296         (PRINTF_NEXPR): Likewise.
2297         (TEST_FLOAT): Likewise.
2298         (TEST_MATHVEC): Likewise.
2299         (TEST_INLINE): Likewise.
2300         (__NO_MATH_INLINES): Likewise.
2301         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2302         and test-math-scalar.h.
2303         (FUNC): Remove macro.
2304         (FUNC_TEST): Likewise.
2305         (FLOAT): Likewise.
2306         (MATHCONST): Likewise.
2307         (PRINTF_EXPR): Likewise.
2308         (PRINTF_XEXPR): Likewise.
2309         (PRINTF_NEXPR): Likewise.
2310         (TEST_LDOUBLE): Likewise.
2311         (TEST_MATHVEC): Likewise.
2312         (TEST_INLINE): Likewise.
2313         (__NO_MATH_INLINES): Likewise.
2314         * math/test-ldouble.c: Include test-ldouble.h,
2315         test-math-no-inline.h and test-math-scalar.h.
2316         (FUNC): Remove macro.
2317         (FUNC_TEST): Likewise.
2318         (FLOAT): Likewise.
2319         (MATHCONST): Likewise.
2320         (PRINTF_EXPR): Likewise.
2321         (PRINTF_XEXPR): Likewise.
2322         (PRINTF_NEXPR): Likewise.
2323         (TEST_LDOUBLE): Likewise.
2324         (TEST_MATHVEC): Likewise.
2325         (__NO_MATH_INLINES): Likewise.
2326         * math/test-double-vlen2.h: Include test-double.h,
2327         test-math-no-inline.h and test-math-vector.h.
2328         (FLOAT): Remove macro.
2329         (FUNC): Likewise.
2330         (MATHCONST): Likewise.
2331         (PRINTF_EXPR): Likewise.
2332         (PRINTF_XEXPR): Likewise.
2333         (PRINTF_NEXPR): Likewise.
2334         (TEST_DOUBLE): Likewise.
2335         (TEST_MATHVEC): Likewise.
2336         (__NO_MATH_INLINES): Likewise.
2337         (CNCT): Likewise.
2338         (CONCAT): Likewise.
2339         (WRAPPER_NAME): Likewise.
2340         (WRAPPER_DECL): Likewise.
2341         (WRAPPER_DECL_ff): Likewise.
2342         (WRAPPER_DECL_fFF): Likewise.
2343         (VECTOR_WRAPPER): Likewise.
2344         (VECTOR_WRAPPER_ff): Likewise.
2345         (VECTOR_WRAPPER_fFF): Likewise.
2346         (VEC_LEN): New macro.
2347         * math/test-double-vlen4.h: Include test-double.h,
2348         test-math-no-inline.h and test-math-vector.h.
2349         (FLOAT): Remove macro.
2350         (FUNC): Likewise.
2351         (MATHCONST): Likewise.
2352         (PRINTF_EXPR): Likewise.
2353         (PRINTF_XEXPR): Likewise.
2354         (PRINTF_NEXPR): Likewise.
2355         (TEST_DOUBLE): Likewise.
2356         (TEST_MATHVEC): Likewise.
2357         (__NO_MATH_INLINES): Likewise.
2358         (CNCT): Likewise.
2359         (CONCAT): Likewise.
2360         (WRAPPER_NAME): Likewise.
2361         (WRAPPER_DECL): Likewise.
2362         (WRAPPER_DECL_ff): Likewise.
2363         (WRAPPER_DECL_fFF): Likewise.
2364         (VECTOR_WRAPPER): Likewise.
2365         (VECTOR_WRAPPER_ff): Likewise.
2366         (VECTOR_WRAPPER_fFF): Likewise.
2367         (VEC_LEN): New macro.
2368         * math/test-double-vlen8.h: Include test-double.h,
2369         test-math-no-inline.h and test-math-vector.h.
2370         (FLOAT): Remove macro.
2371         (FUNC): Likewise.
2372         (MATHCONST): Likewise.
2373         (PRINTF_EXPR): Likewise.
2374         (PRINTF_XEXPR): Likewise.
2375         (PRINTF_NEXPR): Likewise.
2376         (TEST_DOUBLE): Likewise.
2377         (TEST_MATHVEC): Likewise.
2378         (__NO_MATH_INLINES): Likewise.
2379         (CNCT): Likewise.
2380         (CONCAT): Likewise.
2381         (WRAPPER_NAME): Likewise.
2382         (WRAPPER_DECL): Likewise.
2383         (WRAPPER_DECL_ff): Likewise.
2384         (WRAPPER_DECL_fFF): Likewise.
2385         (VECTOR_WRAPPER): Likewise.
2386         (VECTOR_WRAPPER_ff): Likewise.
2387         (VECTOR_WRAPPER_fFF): Likewise.
2388         (VEC_LEN): New macro.
2389         * math/test-float-vlen4.h: Include test-float.h,
2390         test-math-no-inline.h and test-math-vector.h.
2391         (FLOAT): Remove macro.
2392         (FUNC): Likewise.
2393         (MATHCONST): Likewise.
2394         (PRINTF_EXPR): Likewise.
2395         (PRINTF_XEXPR): Likewise.
2396         (PRINTF_NEXPR): Likewise.
2397         (TEST_FLOAT): Likewise.
2398         (TEST_MATHVEC): Likewise.
2399         (__NO_MATH_INLINES): Likewise.
2400         (CNCT): Likewise.
2401         (CONCAT): Likewise.
2402         (WRAPPER_NAME): Likewise.
2403         (WRAPPER_DECL): Likewise.
2404         (WRAPPER_DECL_ff): Likewise.
2405         (WRAPPER_DECL_fFF): Likewise.
2406         (VECTOR_WRAPPER): Likewise.
2407         (VECTOR_WRAPPER_ff): Likewise.
2408         (VECTOR_WRAPPER_fFF): Likewise.
2409         (VEC_LEN): New macro.
2410         * math/test-float-vlen8.h: Include test-float.h,
2411         test-math-no-inline.h and test-math-vector.h.
2412         (FLOAT): Remove macro.
2413         (FUNC): Likewise.
2414         (MATHCONST): Likewise.
2415         (PRINTF_EXPR): Likewise.
2416         (PRINTF_XEXPR): Likewise.
2417         (PRINTF_NEXPR): Likewise.
2418         (TEST_FLOAT): Likewise.
2419         (TEST_MATHVEC): Likewise.
2420         (__NO_MATH_INLINES): Likewise.
2421         (CNCT): Likewise.
2422         (CONCAT): Likewise.
2423         (WRAPPER_NAME): Likewise.
2424         (WRAPPER_DECL): Likewise.
2425         (WRAPPER_DECL_ff): Likewise.
2426         (WRAPPER_DECL_fFF): Likewise.
2427         (VECTOR_WRAPPER): Likewise.
2428         (VECTOR_WRAPPER_ff): Likewise.
2429         (VECTOR_WRAPPER_fFF): Likewise.
2430         (VEC_LEN): New macro.
2431         * math/test-float-vlen16.h: Include test-float.h,
2432         test-math-no-inline.h and test-math-vector.h.
2433         (FLOAT): Remove macro.
2434         (FUNC): Likewise.
2435         (MATHCONST): Likewise.
2436         (PRINTF_EXPR): Likewise.
2437         (PRINTF_XEXPR): Likewise.
2438         (PRINTF_NEXPR): Likewise.
2439         (TEST_FLOAT): Likewise.
2440         (TEST_MATHVEC): Likewise.
2441         (__NO_MATH_INLINES): Likewise.
2442         (CNCT): Likewise.
2443         (CONCAT): Likewise.
2444         (WRAPPER_NAME): Likewise.
2445         (WRAPPER_DECL): Likewise.
2446         (WRAPPER_DECL_ff): Likewise.
2447         (WRAPPER_DECL_fFF): Likewise.
2448         (VECTOR_WRAPPER): Likewise.
2449         (VECTOR_WRAPPER_ff): Likewise.
2450         (VECTOR_WRAPPER_fFF): Likewise.
2451         (VEC_LEN): New macro.
2452         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2453         test-vec-loop.h.
2454         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2455         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2456         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2457         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2458         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2459         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2460         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2462 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2464         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2465         (__getlogin_r): ... this.
2467 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2469         [BZ #18594]
2470         * math/s_ccosh.c (__ccosh): Compare with least normal value
2471         instead of comparing class with FP_SUBNORMAL.
2472         * math/s_ccoshf.c (__ccoshf): Likewise.
2473         * math/s_ccoshl.c (__ccoshl): Likewise.
2474         * math/s_cexp.c (__cexp): Likewise.
2475         * math/s_cexpf.c (__cexpf): Likewise.
2476         * math/s_cexpl.c (__cexpl): Likewise.
2477         * math/s_csin.c (__csin): Likewise.
2478         * math/s_csinf.c (__csinf): Likewise.
2479         * math/s_csinh.c (__csinh): Likewise.
2480         * math/s_csinhf.c (__csinhf): Likewise.
2481         * math/s_csinhl.c (__csinhl): Likewise.
2482         * math/s_csinl.c (__csinl): Likewise.
2483         * math/s_ctan.c (__ctan): Likewise.
2484         * math/s_ctanf.c (__ctanf): Likewise.
2485         * math/s_ctanh.c (__ctanh): Likewise.
2486         * math/s_ctanhf.c (__ctanhf): Likewise.
2487         * math/s_ctanhl.c (__ctanhl): Likewise.
2488         * math/s_ctanl.c (__ctanl): Likewise.
2489         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2490         csin, csinh, ctan and ctanh.
2491         * math/auto-libm-test-out: Regenerated.
2492         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2493         * sysdeps/i386/fpu/libm-test-ulps: Update.
2494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2496 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2498         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2499         return value is wrong, print the expected value too.
2501 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2503         [BZ #18585]
2504         * elf/readlib.c (is_gdb_python_file): New.
2505         (process_file): Don't issue errors on filenames with -gdb.py
2506         suffix.
2508 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2510         * math/auto-libm-test-in: Add more tests of csin and csinh.
2511         * math/auto-libm-test-out: Regenerated.
2512         * math/libm-test.inc (csin_test_data): Remove tests moved to
2513         auto-libm-test-in.
2514         (csinh_test_data): Likewise.
2516         [BZ #18593]
2517         * math/s_csin.c (__csin): Negate before rather than after possibly
2518         overflowing multiplication.
2519         * math/s_csinf.c (__csinf): Likewise.
2520         * math/s_csinh.c (__csinh): Likewise.
2521         * math/s_csinhf.c (__csinhf): Likewise.
2522         * math/s_csinhl.c (__csinhl): Likewise.
2523         * math/s_csinl.c (__csinl): Likewise.
2524         * math/auto-libm-test-in: Add some tests of csin and csinh.
2525         * math/auto-libm-test-out: Regenerated.
2526         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2527         (csinh_test_data): Likewise.
2528         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2530         [BZ #18586]
2531         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2532         underflow exception for small results.
2534 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2536         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2537         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2538         variable and included header.
2539         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2540         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2541         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2542         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2543         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2544         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2545         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2546         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2547         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2548         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2549         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2550         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2551         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2552         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2553         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2554         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2556 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2558         [BZ #16526]
2559         [BZ #16538]
2560         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2561         (__sin): Force underflow exception for arguments with small
2562         absolute value.
2563         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2564         (__kernel_sinf): Force underflow exception for arguments with
2565         small absolute value.
2566         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2567         (__kernel_sincosl): Force underflow exception for arguments with
2568         small absolute value.
2569         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2570         (__kernel_sinl): Force underflow exception for arguments with
2571         small absolute value.
2572         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2573         (__kernel_sincosl): Force underflow exception for arguments with
2574         small absolute value.
2575         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2576         (__kernel_sinl): Force underflow exception for arguments with
2577         small absolute value.
2578         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2579         (__kernel_sinl): Force underflow exception for arguments with
2580         small absolute value.
2581         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2582         (__kernel_sinf): Force underflow exception for arguments with
2583         small absolute value.
2584         * math/auto-libm-test-in: Add more tests of sin and sincos.
2585         * math/auto-libm-test-out: Regenerated.
2587         [BZ #18245]
2588         [BZ #18583]
2589         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2590         (__kernel_standard_l): Use feholdexcept and fesetenv around
2591         conversion to double instead of special-casing overflow and
2592         underflow.
2593         * math/libm-test.inc (fmod_test_data): Add more tests.
2594         (remainder_test_data): Likewise.
2595         (sqrt_test_data): Likewise.
2597 2015-06-23  Torvald Riegel  <triegel@redhat.com>
2599         [BZ #17403]
2600         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2601         atomic_read_barrier, atomic_write_barrier): Define.
2602         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2603         atomic_read_barrier, atomic_write_barrier): Define.
2605 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2607         * math/Makefile [$(PERL) != no]
2608         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
2609         dependency on libm-test.stmp below the inclusion of Rules.
2611 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
2613         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2614         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
2615         and included header.
2616         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
2617         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
2618         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
2619         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
2620         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
2621         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
2622         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2623         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2624         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
2625         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
2626         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
2627         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
2628         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
2629         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
2630         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
2631         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
2632         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
2633         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
2634         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
2636 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2638         [BZ #18371]
2639         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
2640         intermediate but not final result might underflow.
2641         * math/s_csqrtf.c (__csqrtf): Likewise.
2642         * math/s_csqrtl.c (__csqrtl): Likewise.
2643         * math/auto-libm-test-in: Add more tests of csqrt.
2644         * math/auto-libm-test-out: Regenerated.
2645         * sysdeps/i386/fpu/libm-test-ulps: Update.
2647         [BZ #18219]
2648         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
2649         threshold on absolute value of exponent for which scaling is used.
2650         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2651         * math/auto-libm-test-in: Add more tests of exp2.
2652         * math/auto-libm-test-out: Regenerated.
2654 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
2656         [BZ #17977]
2657         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
2658         when initializing interface list, based on the bug analysis
2659         and the patch proposed by Eric Newton.
2660         * resolv/tst-res_hconf_reorder.c: New test.
2661         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
2662         tst-res_hconf_reorder.
2663         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
2664         and $(shared-thread-library).
2665         (tst-res_hconf_reorder-ENV): New variable.
2667         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2668         in comment.
2670 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
2672         [BZ #16353]
2673         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2674         (__expm1): Force underflow exception for arguments with small
2675         absolute value.
2676         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2677         (__expm1f): Force underflow exception for arguments with small
2678         absolute value.
2679         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2680         (__expm1): Force underflow exception for arguments with small
2681         absolute value.
2682         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2683         (__expm1f): Force underflow exception for arguments with small
2684         absolute value.
2685         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2686         Check for small arguments before calling __expm1.
2687         * math/auto-libm-test-in: Do not mark underflow exceptions as
2688         possibly missing for bug 16353.
2689         * math/auto-libm-test-out: Regenerated.
2691 2015-06-22  Andreas Schwab  <schwab@suse.de>
2693         [BZ #18513]
2694         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2695         PTR queries.
2697 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
2699         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2701         * string/strcoll_l.c: Remove unused struct element idxnow.
2703 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
2705         [BZ #18569]
2706         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2707         underflow and return argument in case of subnormal argument.
2708         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2709         Likewise.
2710         * math/auto-libm-test-in: Add more tests of expm1.
2711         * math/auto-libm-test-out: Regenerated.
2713         [BZ #16361]
2714         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2715         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2716         tiny results.
2717         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2718         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2719         tiny results.
2720         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
2721         mark underflow exceptions as possibly missing for bug 16361.
2722         * math/auto-libm-test-out: Regenerated.
2724 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
2726         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2727         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2728         Remove variable.
2729         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2730         (test-xfail-XOPEN2K8/utmpx.h/conform).
2732         * conform/conformtest.pl ($xerrors): New variable.
2733         (note_error): New function.
2734         (compiletest): New argument $xfail.  Use not_error.
2735         (runtest): Likewise.
2736         (top level): Handle xfail- lines.  Update calls to compiletest and
2737         runtest.  Handle xfail- and optional- in headers listed with
2738         allow-header.
2739         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2740         (O_EXEC): Likewise.
2741         (O_SEARCH): Likewise.
2742         * conform/data/stropts.h-data (ioctl): Likewise.
2743         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2744         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2745         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2746         (msghdr.msg_controllen): Likewise.
2747         (cmsghdr.cmsg_len): Likewise.
2748         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2749         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2750         variable.
2751         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2752         (test-xfail-XPG4/stropts.h/conform): Likewise.
2753         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2754         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2755         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2756         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2757         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2758         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2759         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2760         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2761         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2762         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2763         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2764         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2765         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2766         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2767         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2768         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2769         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2770         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2771         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2773 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2775         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2776         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2777         definitions for proper unfolding of __MATHDECL_VEC.
2779 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2781         * benchtests/bench-strcoll.c:
2782         Include string.h.
2783         (main): Remove unused variable res.
2785 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2787         * timezone/Makefile (%/UTC %/Universal):
2788         Generate test-result files for UTC and Universal.
2790 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2792         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2794 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
2796         [BZ #16350]
2797         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2798         for arguments with small absolute value.
2799         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2800         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2801         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2802         (__asinh): Force underflow exception for arguments with small
2803         absolute value.
2804         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2805         (__asinhf): Force underflow exception for arguments with small
2806         absolute value.
2807         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2808         (__asinhl): Force underflow exception for arguments with small
2809         absolute value.
2810         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2811         (__asinhl): Force underflow exception for arguments with small
2812         absolute value.
2813         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2814         (__asinhl): Force underflow exception for arguments with small
2815         absolute value.
2816         * math/auto-libm-test-in: Do not mark underflow exceptions as
2817         possibly missing for bug 16350.
2818         * math/auto-libm-test-out: Regenerated.
2820         * include/bits/ipc.h: Remove file.
2821         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2822         variable.
2823         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2824         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2825         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2826         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2827         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2828         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2829         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2830         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2831         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2833         * math/auto-libm-test-in: Remove spurious underflow allowance for
2834         tests of cexp.
2835         * math/auto-libm-test-out: Regenerated.
2837         [BZ #18558]
2838         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2839         unconditional definition.
2840         (MCAST_BLOCK_SOURCE): Likewise.
2841         (MCAST_UNBLOCK_SOURCE): Likewise.
2842         (MCAST_LEAVE_GROUP): Likewise.
2843         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2844         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2845         (MCAST_MSFILTER): Likewise.
2846         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2847         Remove variable.
2848         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2849         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2850         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2851         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2852         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2854 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
2856         * NEWS: Mention addition of x86_64 vector sincosf.
2857         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2858         * math/test-float-vlen4.h: Likewise.
2859         * math/test-float-vlen8.h: Likewise.
2860         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2861         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2862         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2863         * sysdeps/x86_64/fpu/Versions: New versions added.
2864         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2865         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2866         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2867         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2868         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2869         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2870         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2871         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2872         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2873         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2874         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2875         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2876         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2877         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2878         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2879         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2880         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2881         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2882         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2883         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2884         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2885         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2886         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2887         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2889         * NEWS: Mention addition of x86_64 vector sincos.
2890         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2891         * math/math.h (__MATHDECL_VEC): New macro.
2892         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2893         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2894         declaration under condition.
2895         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2896         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2897         TEST_VEC_LOOP change.
2898         * math/test-double-vlen4.h: Likewise.
2899         * math/test-double-vlen8.h: Likewise.
2900         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2901         * math/test-float-vlen4.h: Likewise.
2902         * math/test-float-vlen8.h: Likewise.
2903         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2904         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2905         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2906         * sysdeps/x86_64/fpu/Versions: New versions added.
2907         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2908         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2909         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2910         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2911         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2912         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2913         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2914         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2915         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2916         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2917         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2918         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2919         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2920         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2921         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2922         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2923         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2924         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2925         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2926         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2927         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2928         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2929         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2930         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2932         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2933         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2934         redirections for powf.
2935         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2936         * sysdeps/x86_64/fpu/Versions: New versions added.
2937         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2938         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2939         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2940         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2941         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2942         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2943         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2944         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2945         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2946         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2947         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2948         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2949         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2950         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2951         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2952         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2953         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2954         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2955         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2956         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2957         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2958         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2959         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2960         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2961         * math/test-float-vlen16.h: Fixed 2 argument macro.
2962         * math/test-float-vlen4.h: Likewise.
2963         * math/test-float-vlen8.h: Likewise.
2964         * NEWS: Mention addition of x86_64 vector powf.
2966 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
2968         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2969         and redefine.
2970         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2971         and redefine.
2972         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2973         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2974         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2976         [BZ #18553]
2977         * resource/getpriority.c (getpriority): Rename to __getpriority
2978         and define as weak alias of __getpriority.
2979         * resource/setpriority.c (setpriority): Rename to __setpriority
2980         and define as weak alias of __setpriority.
2981         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2982         __getpriority and define as weak alias of __getpriority.
2983         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
2984         __setpriority and define as weak alias of __setpriority.
2985         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
2986         strong name.
2987         (setpriority): Use __setpriority as strong name.
2988         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
2989         __getpriority and define as weak alias of __getpriority.
2990         * include/sys/resource.h (__getpriority): Declare.  Use
2991         libc_hidden_proto.
2992         (__setpriority): Likewise.
2993         (getpriority): Don't use libc_hidden_proto.
2994         (setpriority): Likewise.
2995         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
2996         getpriority.  Call __setpriority instead of setpriority.
2997         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
2998         Remove variable.
3000         [BZ #18547]
3001         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3002         as weak alias of __getttynam.  Use prototype function definition.
3003         Call __setttyent, __getttyent and __endttyent instead of
3004         setttyent, getttyent and endttyent.
3005         (getttyent): Rename to __getttyent and define as weak alias of
3006         __getttyent.  Call __setttyent instead of setttyent.  Call
3007         __fgets_unlocked instead of fgets_unlocked.
3008         (setttyent): Rename to __setttyent and define as weak alias of
3009         __setttyent.
3010         (endttyent): Rename to __endttyent and define as weak alias of
3011         __endttyent.
3012         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3013         (__setttyent): Likewise.
3014         (__endttyent): Likewise.
3015         (getttyent): Don't use libc_hidden_proto.
3016         (setttyent): Likewise.
3017         (endttyent): Likewise.
3018         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3019         __endttyent instead of setttyent, getttyent and endttyent.
3020         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3021         Remove variable.
3023         [BZ #18546]
3024         * socket/recv.c (__recv): Use libc_hidden_def.
3025         * socket/socket.c (__socket): Likewise.
3026         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3027         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3028         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3029         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3030         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3031         libc_hidden_def.
3032         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3033         libc_hidden_weak.
3034         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3035         Use libc_hidden_proto.
3036         (__recv): Likewise.
3037         * socket/Versions (libc): Export __recv and __socket at version
3038         GLIBC_PRIVATE.
3039         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3040         instead of recv.
3041         (init_mq_netlink): Call __socket instead of socket.
3042         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3043         Remove variable.
3045         [BZ #18545]
3046         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3047         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3048         hidden_weak.
3049         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3050         define as alias of __mq_timedsend.  Use hidden_weak.
3051         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3052         __mq_timedsend as strong name.
3053         (mq_timedreceive): Use __mq_timedreceive as strong name.
3054         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3055         (__mq_timedreceive): Likewise.
3056         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3057         __mq_timedreceive instead of mq_timedreceive.
3058         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3059         instead of mq_timedsend.
3060         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3061         Remove variable.
3063         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3064         hidden_def and hidden_weak instead of libc_hidden_def and
3065         libc_hidden_weak.
3066         (top level): Refer to hidden_def in comment.
3067         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3068         macro.  Use it instead of libc_hidden_def.
3069         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3070         specify __GI_* name explicitly.
3071         (mq_timedreceive): Likewise.
3072         (mq_setattr): Likewise.
3074         [BZ #18544]
3075         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3076         __pthread_barrier_init and define as weak alias of
3077         __pthread_barrier_init.
3078         * sysdeps/sparc/nptl/pthread_barrier_init.c
3079         (pthread_barrier_init): Likewise.
3080         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3081         __pthread_barrier_wait and define as weak alias of
3082         __pthread_barrier_wait.
3083         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3084         (pthread_barrier_wait): Likewise.
3085         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3086         (pthread_barrier_wait): Likewise.
3087         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3088         (pthread_barrier_wait): Likewise.
3089         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3090         (pthread_barrier_wait): Likewise.
3091         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3092         __pthread_barrier_wait at version GLIBC_PRIVATE.
3093         * include/pthread.h (__pthread_barrier_init): Declare.
3094         (__pthread_barrier_wait): Likewise.
3095         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3096         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3097         (helper_thread): Likewise.
3098         (init_mq_netlink): Call __pthread_barrier_init instead of
3099         pthread_barrier_init.
3101         [BZ #18542]
3102         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3103         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3104         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3105         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3106         vswscanf.
3107         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3108         Remove variable.
3110         [BZ #18540]
3111         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3112         strong alias of _IO_fflush.  Use libc_hidden_def.
3113         * libio/iofflush_u.c (fflush_unlocked): Rename to
3114         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3115         Use libc_hidden_weak.
3116         * include/stdio.h (__fflush_unlocked): Declare.  Use
3117         libc_hidden_proto.
3118         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3119         fflush_unlocked.
3120         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3121         Remove variable.
3123         [BZ #18539]
3124         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3125         define as weak alias of __addseverity.
3126         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3127         Remove variable.
3128         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3129         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3130         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3132         [BZ #18536]
3133         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3134         (__tfind): Likewise.
3135         (__tdelete): Likewise.
3136         (__twalk): Likewise.
3137         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3138         __twalk to GLIBC_PRIVATE.
3139         * include/search.h (__tsearch): Use libc_hidden_proto.
3140         (__tfind): Likewise.
3141         (__tdelete): Likewise.
3142         (__twalk): Likewise.
3143         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3144         Call __tdelete instead of tdelete.
3145         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3146         tfind.  Call __tsearch instead of tsearch.
3147         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3148         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3149         Remove variable.
3150         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3152         [BZ #18534]
3153         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3154         (dprintf): Define as a weak alias of __dprintf, not a strong
3155         alias.
3156         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3157         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3158         dprintf.
3159         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3160         Remove variable.
3161         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3162         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3164         [BZ #18533]
3165         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3166         not a strong alias.
3167         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3168         Remove variable.
3170         [BZ #18532]
3171         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3172         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3173         (in6addr_loopback): Rename to __in6addr_loopback and define as
3174         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3175         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3176         libc_hidden_proto.
3177         (__in6addr_any): Likewise.
3178         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3179         in6addr_any.
3180         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3181         variable.
3182         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3184 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3186         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3187         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3188         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3189         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3190         redirections for pow.
3191         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3192         * sysdeps/x86_64/fpu/Versions: New versions added.
3193         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3194         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3195         build of SSE, AVX2 and AVX512 IFUNC versions.
3196         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3197         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3198         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3199         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3200         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3201         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3202         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3203         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3204         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3205         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3206         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3207         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3208         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3209         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3210         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3211         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3212         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3213         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3214         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3215         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3216         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3217         * NEWS: Mention addition of x86_64 vector pow.
3219         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3220         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3221         redirections for expf.
3222         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3223         * sysdeps/x86_64/fpu/Versions: New versions added.
3224         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3225         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3226         build of SSE, AVX2 and AVX512 IFUNC versions.
3227         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3228         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3229         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3230         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3231         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3232         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3233         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3234         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3235         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3236         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3237         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3238         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3239         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3240         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3241         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3242         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3243         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3244         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3245         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3246         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3247         * NEWS: Mention addition of x86_64 vector expf.
3249         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3250         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3251         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3252         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3253         redirections for exp.
3254         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3255         * sysdeps/x86_64/fpu/Versions: New versions added.
3256         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3257         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3258         build of SSE, AVX2 and AVX512 IFUNC versions.
3259         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3260         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3261         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3262         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3263         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3264         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3265         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3266         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3267         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3268         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3269         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3270         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3271         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3272         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3273         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3274         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3275         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3276         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3277         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3278         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3279         * NEWS: Mention addition of x86_64 vector exp.
3281         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3282         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3283         redirections for logf.
3284         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3285         * sysdeps/x86_64/fpu/Versions: New versions added.
3286         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3287         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3288         build of SSE, AVX2 and AVX512 IFUNC versions.
3289         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3290         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3291         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3292         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3293         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3294         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3295         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3296         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3297         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3298         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3299         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3300         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3301         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3302         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3303         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3304         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3305         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3306         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3307         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3308         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3309         * NEWS: Mention addition of x86_64 vector logf.
3311         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3312         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3313         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3314         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3315         redirections for log.
3316         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3317         * sysdeps/x86_64/fpu/Versions: New versions added.
3318         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3319         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3320         build of SSE, AVX2 and AVX512 IFUNC versions.
3321         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3322         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3323         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3324         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3325         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3326         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3327         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3328         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3329         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3330         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3331         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3332         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3333         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3334         test.
3335         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3336         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3337         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3338         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3339         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3340         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3341         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3342         * NEWS: Mention addition of x86_64 vector log.
3344 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3346         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3347         cfi_adjust_cfa_offset argument.
3348         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3349         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3351         [BZ #18034]
3352         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3353         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3354         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3355         ordering using ldar.
3356         (_dl_tlsdesc_dynamic): Likewise.
3357         (_dl_tlsdesc_return_lazy): Likewise.
3358         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3359         relaxed atomics instead of volatile and synchronize with release store.
3360         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3361         volatile.
3362         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3364 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3366         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3367         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3368         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3369         * sysdeps/x86_64/fpu/Versions: New versions added.
3370         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3371         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3372         build of SSE, AVX2 and AVX512 IFUNC versions.
3373         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3374         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3375         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3376         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3377         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3378         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3379         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3380         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3381         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3382         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3383         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3384         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3385         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3386         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3387         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3388         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3389         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3390         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3391         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3392         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3393         * NEWS: Mention addition of x86_64 vector sinf.
3395 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3397         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3398         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3399         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3400         Remove variable.
3401         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3402         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3404 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3406         [BZ #18530]
3407         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3408         strong alias of _IO_fputs.  Use libc_hidden_def.
3409         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3410         and define as weak alias of __fputs_unlocked.  Use
3411         libc_hidden_weak.
3412         * include/stdio.h (__fputs_unlocked): Declare.  Use
3413         libc_hidden_proto.
3414         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3415         fputs_unlocked.
3417         [BZ #18529]
3418         * resolv/netdb.h [__USE_POSIX]: Change condition to
3419         [__USE_XOPEN2K].
3420         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3421         not expect.
3422         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3423         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3424         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3425         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3426         [XPG4 || UNIX98] (AI_ALL): Likewise.
3427         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3428         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3429         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3430         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3431         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3432         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3433         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3434         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3435         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3436         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3437         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3438         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3439         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3440         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3441         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3442         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3443         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3444         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3445         [XPG4 || UNIX98] (gai_strerror): Likewise.
3446         [XPG4 || UNIX98] (getaddrinfo): Likewise.
3447         [XPG4 || UNIX98] (getnameinfo): Likewise.
3449         [BZ #18528]
3450         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3451         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3452         __USE_XOPEN2K8].
3453         (getgrent): Likewise.
3454         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3455         expect.
3456         [XPG3 || POSIX2008] (endgrent): Likewise.
3457         [XPG3] (setgrent): Likewise.
3458         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3459         variable.
3460         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3462         [BZ #18527]
3463         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3464         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
3465         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3466         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3467         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3468         * include/unistd.h (__getlogin_r): Declare.  Use
3469         libc_hidden_proto.
3470         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3471         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3472         variable.
3473         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3474         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3475         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3477 2015-06-12  Martin Sebor  <msebor@redhat.com>
3479         [BZ #18512]
3480         * Makerules (check-install-supported): New target.
3481         (install): Add check-install-supported as a dependency.
3482         * manual/install.texi (Installing the C Library): Document
3483         that overriding prefix and exec_prefix is not supported.
3484         Mention DESTDIR.
3485         * INSTALL: Regenerate from the above.
3487 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3489         [BZ #18519]
3490         * posix/Versions (libc): Export __libc_pread at version
3491         GLIBC_PRIVATE.
3492         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3493         instead of pread.
3494         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3495         variable.
3497         [BZ #18522]
3498         * misc/efgcvt_r.c
3499         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3500         (cvt_symbol): Use weak_alias instead of strong_alias.
3501         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3502         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3503         Remove variable.
3504         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3505         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3507         [BZ #18520]
3508         * inet/herrno.c (h_errno): Rename to __h_errno.
3509         (__libc_h_errno): Define as alias of __h_errno not h_errno.
3510         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3511         to __h_errno instead of h_errno.
3512         * nptl/herrno.c (h_errno): Rename to __h_errno.
3513         (__h_errno_location): Refer to __h_errno not h_errno.
3514         * resolv/Versions (h_errno): Rename to __h_errno.
3515         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3516         Remove variable.
3517         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3519 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
3521         * configure.ac: More strict check for AVX512 assembler support.
3522         * configure: Regenerated.
3524         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3525         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3526         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3527         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3528         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3529         * sysdeps/x86_64/fpu/Versions: New versions added.
3530         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3531         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3532         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3533         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3534         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3535         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3536         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3537         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3538         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3539         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3540         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3541         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3542         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3543         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3544         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3545         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3546         test.
3547         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3548         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3549         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3550         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3551         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3552         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3553         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3554         * NEWS: Mention addition of x86_64 vector sin.
3556 2015-06-11  Florian Weimer  <fweimer@redhat.com>
3558         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3559         comment.
3561 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3563         [BZ #18479]
3564         * nptl/pt-interp.c: New file.
3565         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3566         Add pt-interp.
3567         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3568         $(common-objpfx)runtime-linker.h.
3570 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
3572         * Makeconfig (+interp): Remove unused variable.
3573         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3574         only.  Depend on $(common-objpfx)runtime-linker.h instead of
3575         $(elf-objpfx)runtime-linker.h.
3576         ($(elf-objpfx)runtime-linker.h): Rename to
3577         $(common-objpfx)runtime-linker.h and move ...
3578         * Makerules [$(build-shared) = yes]: ... here.
3579         * elf/interp.c: Include <runtime-linker.h> instead of
3580         <elf/runtime-linker.h>.
3582 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3584         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3585         (__gettimeofday_syscall): Remove vsyscall fallback.
3586         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3587         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3588         Add syscall fallback function.
3589         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3590         if vDSO is not present.
3591         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3592         fallback function.
3593         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3594         present.
3595         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3596         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3598 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
3600         [BZ #18497]
3601         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3602         of wcscmp.
3603         (wcscmp): Define as weak alias of WCSCMP.
3604         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3605         wcscoll.
3606         (USE_HIDDEN_DEF): Define.
3607         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
3608         __wcscoll.  Don't use libc_hidden_weak.
3609         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
3610         wcscmp.
3611         * sysdeps/i386/i686/multiarch/wcscmp-c.c
3612         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
3613         __GI_wcscmp.
3614         (weak_alias): Undefine and redefine.
3615         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
3616         __wcscmp and define as weak alias of __wcscmp.
3617         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
3618         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
3619         (__wcscoll): Likewise.
3620         (wcscmp): Don't use libc_hidden_proto.
3621         (wcscoll): Likewise.
3622         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
3623         wcscoll.
3624         * posix/regexec.c (check_node_accept_bytes): Likewise.
3625         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
3626         variable.
3627         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3628         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3630         [BZ #18507]
3631         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
3632         __fstatvfs and define as weak alias of __fstatvfs.  Use
3633         libc_hidden_weak.
3634         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
3635         and define as weak alias of __statvfs.  Use libc_hidden_weak.
3636         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
3637         Define as alias of __fstatvfs, not fstatvfs.
3638         (fstatvfs64): Likewise.
3639         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
3640         Define as alias of __statvfs, not statvfs.
3641         (statvfs64): Likewise.
3642         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
3643         Remove variable.
3645 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3648         (HAVE_GETCPU_VSYSCALL): Define.
3649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3650         (HAVE_GETCPU_VSYSCALL): Likewise.
3651         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
3652         * sysdeps/unix/sysv/linux/sched_getcpu.c
3653         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
3654         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
3655         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
3656         prototype.
3657         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3658         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
3659         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
3660         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
3661         Define.
3662         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
3663         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3664         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
3665         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3667 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
3669         * sysdeps/x86_64/fpu/Makefile: New file.
3670         * sysdeps/x86_64/fpu/Versions: New file.
3671         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3672         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3673         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3674         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3675         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3676         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3677         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3678         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3679         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3680         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3681         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3682         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3683         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
3684         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3685         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3686         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3687         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3688         * sysdeps/x86_64/configure.ac: Options for libmvec build.
3689         * sysdeps/x86_64/configure: Regenerated.
3690         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3691         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3692         * manual/install.texi (Configuring and compiling): Document
3693         --disable-mathvec.
3694         * INSTALL: Regenerated.
3695         * NEWS: Mention addition of libmvec and x86_64 vector cos.
3697         * math/Makefile: Added rules for vector tests.
3698         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3699         declaration under condition.
3700         * math/test-double-vlen2.h: New file.
3701         * math/test-double-vlen4.h: New file.
3702         * math/test-double-vlen8.h: New file.
3703         * math/test-vec-loop.h: Added initialization macro.
3704         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3705         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3706         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3707         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3708         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3709         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3710         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3711         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3712         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3713         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3714         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3716         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3717         * sysdeps/x86_64/fpu/Versions: New versions added.
3718         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3719         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3720         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3721         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3722         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3723         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3724         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3725         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3726         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3727         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3728         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3729         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3730         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3731         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3732         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3733         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3734         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3735         * NEWS: Mention addition of x86_64 vector cosf.
3737         * math/Makefile: Added CFLAGS for new tests.
3738         * math/test-float-vlen16.h: New file.
3739         * math/test-float-vlen4.h: New file.
3740         * math/test-float-vlen8.h: New file.
3741         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3742         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3743         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3744         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3745         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3746         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3747         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3748         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3749         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3750         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3751         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3753 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3755         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3756         * locale/programs/ld-ctype.c: Likewise.
3758 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3760         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3761         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3762         bit_ZMM16_31_state): New macro.
3763         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3764         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3766 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
3768         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3770 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
3772         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3774 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
3776         [BZ #18498]
3777         * libio/memstream.c (open_memstream): Rename to __open_memstream
3778         and define as weak alias of __open_memstream.
3779         * include/stdio.h (__open_memstream): Declare.  Use
3780         libc_hidden_proto.
3781         (open_memstream): Don't use libc_hidden_proto.
3782         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3783         open_memstream.
3784         * posix/getopt.c (_getopt_internal_r): Likewise.
3785         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3786         variable.
3787         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3788         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3789         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3791         [BZ #18496]
3792         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3793         instead of wcrtomb.
3795         [BZ #18483]
3796         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3797         [__USE_XOPEN2K8].  Remove redundant #endif.
3798         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3799         Remove redundant #if.
3800         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3801         Remove variable.
3802         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3803         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3805         [BZ #18495]
3806         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3807         (__iswlower): Likewise.
3808         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
3809         (__iswlower): Likewise.
3810         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3811         instead of towlower.
3812         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3813         instead of iswlower.  Call __towupper instead of towupper.
3814         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3815         instead of iswalnum.
3817 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3819         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3820         errors to stderr.
3822 2015-06-05  Florian Weimer  <fweimer@redhat.com>
3824         [BZ #15661]
3825         [BZ #17322]
3826         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3827         Check for overflow properly.  Check for O_APPEND.  Ignore large
3828         file system block sizes.  Add comments about problems.
3829         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3830         * manual/filesys.texi (Storage Allocation): New node.
3832 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3834         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3835         cancellable syscalls.
3836         (SYS_ify): Add guard to no redefine it.
3837         (INLINE_SYSCALL): Likewise.
3838         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3839         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3840         SYSCALL_CANCEL instead.
3841         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3842         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3843         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3844         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3845         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3846         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3847         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3848         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3849         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3850         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3851         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3852         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3853         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3854         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3855         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3856         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3857         Likewise.
3858         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3859         (__libc_pread64): Likewise.
3860         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3861         (__libc_preadv): Likewise.
3862         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3863         (__libc_readv64): Likewise.
3864         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3865         (__libc_pwrite): Likewise.
3866         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3867         (__libc_pwrite64): Likewise.
3868         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3869         (__libc_pwritev): Likewise.
3870         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3871         (__libc_pwritev64): Likewise.
3872         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3873         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3874         (sync_file_range): Likewise.
3875         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3876         Likewise.
3877         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3878         Likewise.
3879         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3880         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3881         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3882         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3883         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3884         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3885         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3886         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3888         Likewise.
3889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3890         (__libc_read64): Likewise.
3891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3892         Likewise.
3893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3894         Likewise.
3895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3896         Likewise.
3897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3898         Likewise.
3899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3900         (__libc_pread64): Likewise.
3901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3902         Likewise.
3903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3904         (__libc_pwrite64): Likewise.
3905         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3906         (sync_file_range): Likewise.
3907         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3908         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3909         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3910         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3911         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3912         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3913         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3914         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3915         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3916         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3917         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3918         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3919         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3920         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3921         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3922         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3923         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3924         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3925         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3926         Likewise.
3927         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3928         Likewise.
3929         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3930         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3931         Likewise.
3932         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3933         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3934         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3935         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3936         Likewise.
3937         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3938         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3939         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3940         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3941         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3943 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
3945         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3946         Include dl-vdso.
3947         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3948         Use VDSO routines for gettimeofday, clock_gettime if
3949         available.
3950         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3951         Declare VDSO symbols.
3952         * sysdeps/unix/sysv/linux/arm/sysdep.h:
3953         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3954         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3955         * sysdeps/unix/sysv/linux/arm/Versions: Add
3956         __vdso_clock_gettime.
3958 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3960         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3961         be an inline implementation regardless of library is built within.
3962         (open_not_cancel_2): Likewise.
3963         (__read_nocancel): Likewise.
3964         (__write_nocancel): Likewise.
3965         (openat_not_cancel): Likewise.
3966         (openat_not_cancel_3): Likewise.
3967         (openat64_not_cancel): Likewise.
3968         (openat64_not_cancel_3): Likewise.
3969         (__close_nocancel): Likewise.
3970         (pause_not_cancel): Likewise.
3971         (nanosleep_not_cancel): Likewise.
3972         (sigsuspend_not_cancel): Likewise.
3974 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3976         [BZ #14958]
3977         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3978         wake-up.
3979         (__pthread_rwlock_rdlock_slow): Likewise.
3980         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3981         Likewise.
3982         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3983         Likewise.
3984         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
3985         * nptl/tst-rwlock16.c: New file.
3986         * nptl/Makefile (tests): Add new test.
3988 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3990         [BZ #18324]
3991         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
3992         missing wake-up of readers.
3993         * nptl/tst-rwlock15.c: New file.
3994         * nptl/Makefile (tests): Add new test.
3996 2015-06-03  Roland McGrath  <roland@hack.frob.com>
3998         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
3999         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4000         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4001         and __nacl_supply_interface_rtld.
4002         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4003         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4004         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4005         Add __nacl_supply_interface_rtld.
4006         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4008 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4010         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4011         isfinite.
4012         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4013         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4015 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4017         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4018         __signbit* with standard C99 macros.
4019         * math/e_exp10l.c: Likewise.
4020         * math/e_exp2l.c: Likewise.
4021         * math/e_scalb.c: Likewise.
4022         * math/e_scalbf.c: Likewise.
4023         * math/e_scalbl.c: Likewise.
4024         * math/s_ldexp.c: Likewise.
4025         * math/s_ldexpf.c: Likewise.
4026         * math/s_ldexpl.c: Likewise.
4027         * math/w_atan2.c: Likewise.
4028         * math/w_atan2f.c: Likewise.
4029         * math/w_atan2l.c: Likewise.
4030         * math/w_cosh.c: Likewise.
4031         * math/w_coshf.c: Likewise.
4032         * math/w_coshl.c: Likewise.
4033         * math/w_exp10.c: Likewise.
4034         * math/w_exp10f.c: Likewise.
4035         * math/w_exp10l.c: Likewise.
4036         * math/w_exp2.c: Likewise.
4037         * math/w_exp2f.c: Likewise.
4038         * math/w_exp2l.c: Likewise.
4039         * math/w_fmod.c: Likewise.
4040         * math/w_fmodf.c: Likewise.
4041         * math/w_fmodl.c: Likewise.
4042         * math/w_hypot.c: Likewise.
4043         * math/w_hypotf.c: Likewise.
4044         * math/w_hypotl.c: Likewise.
4045         * math/w_jnl.c: Likewise.
4046         * math/w_lgamma.c: Likewise.
4047         * math/w_lgamma_r.c: Likewise.
4048         * math/w_lgammaf.c: Likewise.
4049         * math/w_lgammaf_r.c: Likewise.
4050         * math/w_lgammal.c: Likewise.
4051         * math/w_lgammal_r.c: Likewise.
4052         * math/w_pow.c: Likewise.
4053         * math/w_powf.c: Likewise.
4054         * math/w_powl.c: Likewise.
4055         * math/w_remainder.c: Likewise.
4056         * math/w_remainderf.c: Likewise.
4057         * math/w_remainderl.c: Likewise.
4058         * math/w_scalb.c: Likewise.
4059         * math/w_scalbf.c: Likewise.
4060         * math/w_scalbl.c: Likewise.
4061         * math/w_scalbln.c: Likewise.
4062         * math/w_scalblnf.c: Likewise.
4063         * math/w_scalblnl.c: Likewise.
4064         * math/w_sinh.c: Likewise.
4065         * math/w_sinhf.c: Likewise.
4066         * math/w_sinhl.c: Likewise.
4067         * math/w_tgamma.c: Likewise.
4068         * math/w_tgammaf.c: Likewise.
4069         * math/w_tgammal.c: Likewise.
4070         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4071         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4072         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4073         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4074         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4075         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4076         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4077         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4078         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4079         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4080         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4081         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4082         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4083         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4084         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4085         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4086         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4087         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4088         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4089         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4090         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4091         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4092         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4093         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4094         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4095         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4096         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4097         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4098         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4099         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4100         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4101         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4102         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4103         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4104         * stdio-common/printf_fp.c: Likewise.
4105         * stdio-common/printf_fphex.c: Likewise.
4106         * stdio-common/printf_size.c: Likewise.
4108 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4110         [BZ #18470]
4111         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4112         strnlen.
4113         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4114         Remove variable.
4115         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4116         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4117         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4118         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4119         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4120         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4121         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4122         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4123         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4124         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4126         [BZ #18468]
4127         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4128         weak alias of __wmemchr.  Use libc_hidden_weak.
4129         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4130         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4131         instead of wmemchr.
4133 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4135         [BZ #18383]
4136         * elf/tst-tlsalign-extern.c: New file.
4137         * elf/tst-tlsalign-extern-static.c: New file.
4138         * elf/tst-tlsalign-vars.c: New file.
4139         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4140         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4141         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4142         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4143         (test-xfail-tst-tlsalign-extern-static): New variable.
4145 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4147         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4148         Use variable name _sc_err instead of err.
4149         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4150         instead of ret.
4151         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4152         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4153         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4154         (INLINE_SYSCALL): Likewise.
4156         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4157         * include/string.h (__strnlen): Use libc_hidden_proto.
4158         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4159         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4160         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4161         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4162         (libc_hidden_def): Undefine and redefine.
4163         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4164         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4165         __GI_strnlen.
4166         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4167         libc_hidden_def.
4168         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4170         [BZ #18469]
4171         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4172         weak alias of __towlower.  Use libc_hidden_weak.
4173         (towupper): Rename to __towupper and define as weak alias of
4174         __towupper.  Use libc_hidden_weak.
4175         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4176         (__towupper): Likewise.
4177         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4178         __towlower instead of towlower.
4180 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4182         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4183         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4185 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4187         * sysdeps/aarch64/libm-test-ulps: Update.
4189 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4191         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4192         Define.
4193         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4194         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4195         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4196         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4197         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4198         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4199         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4201 2015-06-01  Martin Sebor  <msebor@redhat.com>
4203         [BZ #18116]
4204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4205         (__setcontext): Use extended four-operand version of mtsf whenever
4206         possible.
4207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4208         (__novec_swapcontext): Likewise.
4210 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4212         * benchtests/scripts/compare_bench.py: New file.
4213         * benchtests/scripts/import_bench.py (mean): New function.
4214         (split_list): Likewise.
4215         (do_for_all_timings): Likewise.
4216         (compress_timings): Likewise.
4218         * benchtests/scripts/import_bench.py: New file.
4219         * benchtests/scripts/validate_benchout.py: Import import_bench
4220         instead of jsonschema.
4221         (validate_bench): Remove function.
4222         (main): Use import_bench.
4224 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4226         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4227         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4229 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4233 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4235         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4236         set THREAD_SELF->tid to a magic value and futex-wake it.
4237         Pass its address to the thread_exit system call.
4238         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4239         bit is clear.
4240         * sysdeps/nacl/lowlevellock.h: New file.
4241         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4243         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4244         Add TIMEOUT to current time, don't subtract it.
4246 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4248         [BZ #2981]
4249         [BZ #18422]
4250         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4251         ($(objpfx)tst-audit2.out): Also depend on
4252         $(objpfx)tst-auditmod9b.so.
4253         * elf/tst-audit2.c: Include <dlfcn.h>.
4254         (calloc_called): New.
4255         (calloc): Allow to be called more than once.
4256         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4258 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4260         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4261         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4263 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4265         * stdlib/monetary.h: Fix comment.
4267 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4269         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4270         Avoid using variables in #defines that might cause shadowing.
4271         (INTERNAL_VSYSCALL_CALL): Likewise.
4273 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4275         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4277         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4278         * nptl/lll_timedlock_wait.c: ... to this new file.
4279         * nptl/Makefile (libpthread-routines): Add it.
4280         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4281         * nptl/lll_timedwait_tid.c: ... to this new file.
4282         * nptl/Makefile (libpthread-routines): Add it.
4283         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4284         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4285         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4286         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4287         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4288         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4289         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4290         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4291         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4292         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4294 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4296         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4297         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4298         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4299         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4300         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4301         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4302         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4303         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4304         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4305         * sysdeps/unix/sysv/linux/tile/sysdep.h
4306         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4307         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4308         using vDSO syscall macro.
4310 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4312         [BZ #17293]
4313         * uk_UA: Fix sorting order for Ukrainian locale
4315 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4317         * stdlib/monetary.h: Fix comment.
4319 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4321         [BZ #18234]
4322         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4323         st_mtim and st_ctim members.
4324         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4325         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4326         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4327         (struct stat64): Likewise.
4328         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4329         (struct stat64): Likewise.
4330         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4331         (struct stat64): Likewise.
4333 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4335         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4336         Define and include sysdep-vdso.h.
4337         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4338         Likewise.
4339         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4340         Likewise.
4341         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4342         Define with VDSO_SYMBOL and use PTR_MANGLE.
4343         (__vdso_clock_gettime): Likewise.
4344         (__vdso_clock_getres): Likewise.
4345         (_libc_vdso_platform_setup): Likewise.
4346         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4347         Likewise.
4348         (_libc_vdso_platform_setup): Likewise.
4349         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4350         Likewise.
4351         (__vdso_clock_gettime): Likewise.
4352         (__vdso_clock_getres): Likewise.
4353         (__vdso_get_tbfreq): Likewise.
4354         (__vdso_getcpu): Likewise.
4355         (__vdso_time): Likewise.
4356         (__vdso_sigtramp_rt64): Likewise.
4357         (__vdso_signtramp32): Likewise.
4358         (__vdso_sigtramp_rt32): Likewise.
4359         (_libc_vdso_platform_setup): Likewise.
4360         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4361         Likewise.
4362         (__vdso_clock_gettime): Likewise.
4363         (__vdso_clock_getres): Likewise.
4364         (_libc_vdso_platform_setup): Likewise.
4365         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4366         Likewise.
4367         (__vdso_clock_gettime): Likewise.
4368         (_libc_vdso_platform_setup): Likewise.
4369         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4370         Likewise.
4371         (__vdso_getcpu): Likewise.
4372         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4373         Use VDSO_SYMBOL macro to define.
4374         (__vdso_clock_gettime): Likewise.
4375         (__vdso_clock_getres): Likewise.
4376         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4377         Likewise.
4378         (__vdso_clock_gettime): Likewise.
4379         (__vdso_clock_getres): Likewise.
4380         (__vdso_get_tbfreq): Likewise.
4381         (__vdso_getcpu): Likewise.
4382         (__vdso_time): Likewise.
4383         (__vdso_sigtramp_rt64): Likewise.
4384         (__vdso_signtramp32): Likewise.
4385         (__vdso_sigtramp_rt32): Likewise.
4386         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4387         Likewise.
4388         (__vdso_clock_gettime): Likewise.
4389         (__vdso_clock_getres): Likewise.
4390         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4391         Likewise.
4392         (__vdso_clock_gettime): Likewise.
4393         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4394         Likewise.
4395         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4396         macro.
4397         (INTERNAL_VSYSCALL): Likewise.
4398         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4399         Remove macro.
4400         (INTERNAL_VSYSCALL): Likewise.
4401         (INTERNAL_VSYSCALL_NCS): Likewise.
4402         (INTERNAL_VSYSCALL_CALL): New macro.
4403         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4404         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4405         Likewise.
4406         (INTERNAL_VSYSCALL): Likewise.
4407         (INTERNAL_VSYSCALL_NCS): Likewise.
4408         (INTERNAL_VSYSCALL_CALL): New macro.
4409         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4411         (INLINE_VSYSCALL): Remove macro.
4412         (INTERNAL_VSYSCALL): Remove macro.
4413         (INTERNAL_VSYSCALL_NCS): Remove macro.
4414         (INTERNAL_VSYSCALL_CALL): New macro.
4415         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4416         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4417         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4418         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4419         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4421         (INLINE_VSYSCALL): Remove macro.
4422         (INTERNAL_VSYSCALL): Likewise.
4423         (INTERNAL_VSYSCALL_NCS): Likewise.
4424         (INTERNAL_VSYSCALL_CALL): New macro.
4425         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4426         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4427         PTR_DEMANGLE on vDSO pointer.
4428         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4429         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4430         macro.
4431         (INTERNAL_SYSCALL): Likewise.
4432         (INTERNAL_VSYSCALL_NCS): Remove macro.
4433         (INTERNAL_VSYSCALL_CALL): New macro.
4434         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4435         Remove macro.
4436         (INTERNAL_VSYSCALL): Likewise.
4437         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4438         sysdep-vdso.h instead of libc-vdso.h.
4439         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4440         definition.
4441         (INLINE_VSYSCALL): Likewise.
4442         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4443         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4444         definition.
4445         (INLINE_VSYSCALL): Likewise.
4446         (INTERNAL_VSYSCALL): Likewise.
4447         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4448         * sysdeps/unix/sysv/linux/timespec_get.c
4449         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4450         (timespec_get): Use ANSI prototype.
4451         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4452         and definition for Linux.
4454 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4456         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4457         * include/libc-symbols.h: libmvec_hidden_* macro series added.
4459 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4461         [BZ #2981]
4462         [BZ #18410]
4463         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4464         for missing DT_PLTRELSZ.
4466 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4468         Remove obsolete aliases that broke 'locale -a'
4469         [BZ #18412]
4470         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4471         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4472         breaking some applications that use 'locale -a' output.
4473         Change the encoding of this file from Latin-1 to ASCII to avoid
4474         other potential problems with people grepping this file.
4476 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4478         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4479         -fasynchronous-unwind-tables.
4480         (CFLAGS-sendto.c): Likewise.
4481         (CFLAGS-sendmsg.c): Likewise.
4482         (CFLAGS-connect.c): Likewise.
4483         (CFLAGS-recvmsg.c): Likewise.
4484         (CFLAGS-recvfrom.c): Likewise.
4485         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4486         (SOCKETCALL): New macro: non-cancellable socketcall.
4487         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4488         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4489         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4490         * sysdeps/unix/sysv/linux/accept.c: New file.
4491         * sysdeps/unix/sysv/linux/bind.c: Likewise.
4492         * sysdeps/unix/sysv/linux/connect.c: Likewise.
4493         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4494         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4495         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4496         * sysdeps/unix/sysv/linux/listen.c: Likewise.
4497         * sysdeps/unix/sysv/linux/recv.c: Likewise.
4498         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4499         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4500         * sysdeps/unix/sysv/linux/send.c: Likewise.
4501         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4502         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4503         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4504         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4505         * sysdeps/unix/sysv/linux/socket.c: Likewise.
4506         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4507         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4508         prototype.
4509         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4510         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4511         instead of __internal_xxx function.
4512         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4513         prototype.
4514         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4515         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4516         instead of __internal_xxx function.
4517         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4518         prototype.
4519         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4520         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4521         instead of __internal_xxx function.
4522         * sysdeps/unix/sysv/linux/accept.S: Remove file.
4523         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4524         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4525         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4526         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4527         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4528         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4529         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4530         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4531         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4532         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4533         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4534         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4535         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4536         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4537         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4538         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4539         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4540         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4541         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4544         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4545         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4546         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4547         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4548         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4549         * sysdeps/unix/sysv/linux/send.S: Likewise.
4550         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4551         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4552         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4553         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4554         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4555         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4556         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4557         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4558         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4559         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4560         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4561         socketcall is implemented in GLIBC.
4563 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4565         * soft-fp/fmadf4.c: Include <libc-internal.h>.
4566         (__fma): Ignore uninitialized warnings around packing.
4567         * soft-fp/fmasf4.c: Include <libc-internal.h>.
4568         (__fmaf): Ignore uninitialized warnings around packing.
4569         * soft-fp/fmatf4.c: Include <libc-internal.h>.
4570         (__fmal): Ignore uninitialized warnings around packing.
4572         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4573         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4574         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4575         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4577         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4578         switch statement into default case.
4579         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4581         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4582         a conditional in forcing "inexact".
4583         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4584         Likewise.
4586 2015-05-22  Roland McGrath  <roland@hack.frob.com>
4588         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4589         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4590         for each INTERNAL_SYSCALL use.
4592 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4594         [BZ #438]
4595         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4596         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4597         variable.
4599         [BZ #18444]
4600         * string/basename.c (basename): Rename to __basename and define as
4601         weak alias of __basename.  Use libc_hidden_weak.
4602         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
4603         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4604         __basename instead of basename.
4605         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4606         Remove variable.
4607         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4609 2015-05-18  Florian Weimer  <fweimer@redhat.com>
4611         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
4612         (_IO_JUMPS_FILE_plus): New.
4613         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
4614         _IO_CAST_FIELD_ACCESS.
4615         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
4616         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
4617         * libio/freopen.c (freopen): Likewise.
4618         * libio/freopen64.c (freopen64): Likewise.
4619         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
4620         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
4621         * libio/iofwide.c (_IO_fwide): Likewise.
4622         * libio/memstream.c (open_memstream): Likewise.
4623         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4624         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4625         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4627 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
4629         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
4630         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
4631         NADJ.
4632         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
4633         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
4634         NADJ.
4635         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
4636         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
4637         NADJ.
4639         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
4640         (p == 4) case.
4642         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
4643         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
4644         Remove variable.
4645         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4646         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4647         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4649 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4651         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
4652         Adjust jump table label generation macros.
4654 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4656         * stdio-common/vfprintf.c (vfprintf): Move local variables
4657         args_malloced, specs, specs_malloced, and the code after
4658         do_positional to the printf_positional function.
4659         (printf_positional): New function.
4661 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4663         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
4664         function.
4665         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
4666         STEP4_TABLE, process_arg): Move macro definitions
4667         out of the vfprintf function.  (Cosmetic change only.)
4669 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
4671         * benchtests/Makefile (stdio-common-bench): Define.
4672         (benchset): Add stdio-common-bench.
4673         * sprintf-inputs: New file.
4674         * sprintf-source.c: New file.
4676 2015-05-21  Andreas Schwab  <schwab@suse.de>
4678         [BZ #13028]
4679         [BZ #17053]
4680         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4681         of struct __res_state.
4682         * resolv/res_send.c (__libc_res_nsend): Likewise.
4683         (get_nsaddr): New function.
4684         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4685         statp directly.
4687 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
4689         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4690         -D_POSIX_C_SOURCE=199506L.
4692         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4694         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4695         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4696         Do not mention otherwise.
4697         [POSIX] (_XOPEN_VERSION): Do not expect.
4698         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4699         [POSIX] (_POSIX2_C_BIND): Likewise.
4700         [POSIX] (_POSIX2_VERSION): Likewise.
4701         [POSIX] (_XOPEN_XPG2): Likewise.
4702         [POSIX] (_XOPEN_XPG3): Likewise.
4703         [POSIX] (_XOPEN_XPG4): Likewise.
4704         [POSIX] (_XOPEN_UNIX): Likewise.
4705         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4706         [POSIX] (_POSIX_BARRIERS): Likewise.
4707         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4708         [POSIX] (_POSIX_CPUTIME): Likewise.
4709         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4710         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4711         [POSIX] (_POSIX_SHELL): Likewise.
4712         [POSIX] (_POSIX_SPAWN): Likewise.
4713         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4714         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4715         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4716         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4717         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4718         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4719         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4720         [POSIX] (_XBS5_LP64_OFF64): Likewise.
4721         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4722         [POSIX] (_POSIX_TIMEOUTS): Likewise.
4723         [POSIX] (_POSIX2_PBS): Likewise.
4724         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4725         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4726         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4727         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4728         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4729         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4730         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4731         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4732         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4733         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4734         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4735         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4736         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4737         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4738         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4739         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4740         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4741         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4742         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4743         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4744         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4745         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4746         [POSIX] (_SC_2_C_BIND): Likewise.
4747         [POSIX] (_SC_2_C_VERSION): Likewise.
4748         [POSIX] (_SC_2_PBS): Likewise.
4749         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4750         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4751         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4752         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4753         [POSIX] (_SC_2_PBS_TRACK): Likewise.
4754         [POSIX] (_SC_ATEXIT_MAX): Likewise.
4755         [POSIX] (_SC_BARRIERS): Likewise.
4756         [POSIX] (_SC_BASE): Likewise.
4757         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4758         [POSIX] (_SC_DEVICE_IO): Likewise.
4759         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4760         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4761         [POSIX] (_SC_FD_MGMT): Likewise.
4762         [POSIX] (_SC_FIFO): Likewise.
4763         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4764         [POSIX] (_SC_FILE_LOCKING): Likewise.
4765         [POSIX] (_SC_FILE_SYSTEM): Likewise.
4766         [POSIX] (_SC_IOV_MAX): Likewise.
4767         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4768         [POSIX] (_SC_NETWORKING): Likewise.
4769         [POSIX] (_SC_PAGE_SIZE): Likewise.
4770         [POSIX] (_SC_PASS_MAX): Likewise.
4771         [POSIX] (_SC_PIPE): Likewise.
4772         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4773         [POSIX] (_SC_REGEXP): Likewise.
4774         [POSIX] (_SC_SHELL): Likewise.
4775         [POSIX] (_SC_SIGNALS): Likewise.
4776         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4777         [POSIX] (_SC_SPIN_LOCKS): Likewise.
4778         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4779         [POSIX] (_SC_USER_GROUPS): Likewise.
4780         [POSIX] (_SC_USER_GROUPS_R): Likewise.
4781         [POSIX] (_SC_STREAMS): Likewise.
4782         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4783         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4784         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4785         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4786         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4787         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4788         [POSIX] (_PC_FILESIZEBITS): Likewise.
4789         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4790         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4791         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4792         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4793         [POSIX] (uid_t): Likewise.
4794         [POSIX] (gid_t): Likewise.
4795         [POSIX] (off_t): Likewise.
4796         [POSIX] (pid_t): Likewise.
4797         [POSIX] (cuserid): Allow.
4798         (_SC_2_CHAR_TERM): Require constant.
4799         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4800         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4801         variable.
4803 2015-05-20  Roland McGrath  <roland@hack.frob.com>
4805         * sysdeps/nacl/pthread-pids.h: New file.
4806         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4807         (create_thread): Use __nacl_get_tid to initialize PD->tid.
4809         * nptl/pthread-pids.h: New file.
4810         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4811         * nptl/nptl-init.c: Include <pthread-pids.h>.
4812         (__pthread_initialize_minimal_internal):
4813         Call __pthread_initialize_pids instead of set_tid_address syscall.
4815         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4816         * sysdeps/posix/usleep.c: ... here.
4818 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4820         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4821         call_pselect6 object.
4822         [$(subdir) = io]: Remove call_sync_file_range object.
4823         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4824         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4825         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4826         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4828 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
4830         * math/s_cproj.c: Add include "math_private.h".
4831         * math/s_cprojf.c: Likewise.
4832         * math/s_cprojl.c: Likewise.
4834 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
4836         [BZ #18244]
4837         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4838         high mantissa bit when testing whether P is a NaN.
4839         * math/libm-test.inc (remainder_test_data): Add more tests.
4840         (remquo_test_data): Likewise.
4842         [BZ #18049]
4843         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4844         below -32, return the argument, with underflow if subnormal.
4845         * math/auto-libm-test-in: Add more tests of atanh.
4846         * math/auto-libm-test-out: Regenerated.
4848 2015-05-19  Roland McGrath  <roland@hack.frob.com>
4850         [BZ #18434]
4851         * nptl/tst-sem15.c: New file.
4852         * nptl/Makefile (tests): Add it.
4853         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4854         s/<</>>/ to fix typo in EOVERFLOW check.
4855         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4857 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4859         * manual/strings.texi (envz_remove): Fix typo in safety
4860         annotations.
4862 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
4863             Steve Ellcey  <sellcey@imgtec.com>
4865         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4866         in order to avoid strict alias warnings.
4867         (iruserok_af): Ditto for ra.
4869 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
4871         [BZ #17581]
4872         * malloc/hooks.c
4873         (magicbyte): Convert to a function and avoid returning 0x01.
4874         (mem2mem_check): Avoid using a length byte equal to the magic byte.
4875         (mem2chunk_check): Fix unsigned comparisons to zero.
4876         Hoist defs of sz and magic.
4878 2015-05-19  Richard Henderson  <rth@redhat.com>
4880         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4882         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4884 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4886         [BZ #16159]
4887         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4888         * malloc/arena.c (arena_lock): Check if arena is corrupt.
4889         (reused_arena): Find a non-corrupt arena.
4890         (heap_trim): Pass arena to unlink.
4891         * malloc/hooks.c (malloc_check_get_size): Pass arena to
4892         malloc_printerr.
4893         (top_check): Likewise.
4894         (free_check): Likewise.
4895         (realloc_check): Likewise.
4896         * malloc/malloc.c (malloc_printerr): Add arena argument.
4897         (unlink): Likewise.
4898         (munmap_chunk): Adjust.
4899         (ARENA_CORRUPTION_BIT): New macro.
4900         (arena_is_corrupt): Likewise.
4901         (set_arena_corrupt): Likewise.
4902         (sysmalloc): Use mmap if there are no usable arenas.
4903         (_int_malloc): Likewise.
4904         (__libc_malloc): Don't fail if arena_get returns NULL.
4905         (_mid_memalign): Likewise.
4906         (__libc_calloc): Likewise.
4907         (__libc_realloc): Adjust for additional argument to
4908         malloc_printerr.
4909         (_int_free): Likewise.
4910         (malloc_consolidate): Likewise.
4911         (_int_realloc): Likewise.
4912         (_int_memalign): Don't touch corrupt arenas.
4913         * malloc/tst-malloc-backtrace.c: New test case.
4915         * Makefile (summarize-tests): Fix return value on success.
4917         * manual/string.texi (Envz Functions): Add envz_remove.
4919 2015-05-18  Roland McGrath  <roland@hack.frob.com>
4921         * sysdeps/posix/opendir.c: Include <stdbool.h>.
4922         (invalid_name): New function, broken out of ...
4923         (__opendirat): ... here.  Call it.
4924         (need_isdir_precheck): New function, broken out of ...
4925         (__opendirat): ... here.  Call it.
4926         Use __fxstatat64, not __xstatat64.
4927         (opendir_oflags): New function, broken out of ...
4928         (__opendirat): ... here.  Call it.
4929         (opendir_tail): New function, broken out of ...
4930         (__opendirat): ... here.  Call it.
4931         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4932         opendir_tail, rather than punting to __opendirat.
4933         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4935 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4937         * .gitignore: Ignore generated *.pyc.
4939 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
4941         * include/stdio.h: Define __need_wint_t.
4942         * test-skeleton.c: Avoid `for' loop initial declaration.
4943         * nptl/tst-initializers1.c: Use test-skeleton.c.
4945 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4947         [BZ #18418]
4948         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4950 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4952         [BZ #16352]
4953         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4954         (__ieee754_atanh): Force underflow exception for results with
4955         small absolute value.
4956         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4957         (__ieee754_atanhf): Force underflow exception for results with
4958         small absolute value.
4959         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4960         (__ieee754_atanh): Force underflow exception for results with
4961         small absolute value.
4962         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4963         (__ieee754_atanhf): Force underflow exception for results with
4964         small absolute value.
4965         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4966         (__ieee754_atanhl): Force underflow exception for results with
4967         small absolute value.
4968         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4969         (__ieee754_atanhl): Force underflow exception for results with
4970         small absolute value.
4971         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4972         (__ieee754_atanhl): Force underflow exception for results with
4973         small absolute value.
4974         * math/auto-libm-test-in: Do not allow missing underflow
4975         exceptions from atanh.
4976         * math/auto-libm-test-out: Regenerated.
4978         [BZ #18221]
4979         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4980         2**-28 as threshold for returning x or +/- 1/x.
4981         * math/auto-libm-test-in: Add more tests of tan.
4982         * math/auto-libm-test-out: Regenerated.
4984         [BZ #18220]
4985         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4986         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
4987         * math/auto-libm-test-in: Add another test of lgamma.
4988         * math/auto-libm-test-out: Regenerated.
4990 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
4992         * stdio-common/printf_fp.c (___printf_fp): Use abs.
4993         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
4994         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
4995         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
4996         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
4997         (ADD2A): Use fabs.  (SUB2A): Use fabs.
4998         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
4999         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5000         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5001         (log1): Use fabs.  (my_log2): Use fabs.
5002         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5003         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5004         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5005         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5006         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5007         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5008         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5009         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5010         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5011         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5012         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5014 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5016         [BZ #18217]
5017         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5018         as threshold for returning 1 - x.
5019         * math/auto-libm-test-in: Add more tests of erfc.
5020         * math/auto-libm-test-out: Regenerated.
5022 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5024         [BZ #18196]
5025         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5026         threshold for large arguments.
5027         * math/auto-libm-test-in: Add another test of atan.
5028         * math/auto-libm-test-out: Regenerated.
5030         [BZ #16339]
5031         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5032         (__log1p): Force underflow exception for results with small
5033         absolute value.
5034         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5035         (__log1pf): Force underflow exception for results with small
5036         absolute value.
5037         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5038         (__log1p): Force underflow exception for results with small
5039         absolute value.
5040         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5041         (__log1pf): Force underflow exception for results with small
5042         absolute value.
5043         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5044         (__log1pl): Force underflow exception for results with small
5045         absolute value.
5046         * math/auto-libm-test-in: Do not allow missing underflow
5047         exceptions from log1p.
5048         * math/auto-libm-test-out: Regenerated.
5050 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5051             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5053         [BZ #16704]
5054         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5056 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5058         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5059         (libmvec): New variable.
5060         * configure.ac: Added option for mathvec build.
5061         * configure: Regenerated.
5062         * mathvec/Depend: New file.
5063         * mathvec/Makefile: New file.
5064         * shlib-versions: Added libmvec.
5065         * math/Makefile: Added rule for libm.so installation.
5067         * bits/math-vector.h: New file.
5068         * bits/libm-simd-decl-stubs.h: New header.
5069         * math/Makefile (headers): Added new header
5070         libm-simd-decl-stubs.h.
5071         * math/math.h (__MATHCALL_VEC): New macro.
5073         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5074         for conditions in testing functions.
5075         * math/Makefile: Added call of libm-have-vector-test.sh.
5076         * math/libm-test.inc (HAVE_VECTOR): New macros.
5078         * math/libm-test.inc: START refactored.
5079         * math/test-double.c (TEST_MATHVEC): Add define.
5080         * math/test-float.c: Likewise.
5081         * math/test-idouble.c: Likewise.
5082         * math/test-ifloat.c: Likewise.
5083         * math/test-ildoubl.c: Likewise.
5084         * math/test-ldouble.c: Likewise.
5085         * sysdeps/generic/math-tests-arch.h
5086         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5087         architecture check.
5089         * math/test-double.c (FUNC_TEST): New macro.
5090         * math/test-float.c: Likewise.
5091         * math/test-idouble.c: Likewise.
5092         * math/test-ifloat.c: Likewise.
5093         * math/test-ildoubl.c: Likewise.
5094         * math/test-ldouble.c: Likewise.
5095         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5097 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5099         * sysdeps/nacl/fdopendir.c: New file.
5101         * dirent/scandir-tail.c: New file.
5102         * dirent/scandir64-tail.c: New file.
5103         * dirent/Makefile (routines): Add them.
5104         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5105         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5106         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5107         [!SCANDIR] (SCANDIR_TAIL): New macro.
5108         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5109         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5110         (SCANDIRAT): Macro removed.
5111         (SCANDIR_TAIL): New macro.
5112         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5113         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5114         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5115         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5116         (READDIR): Macro removed.
5117         (SCANDIR_TAIL): New macro.
5118         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5119         (SCANDIR_TAIL): New macro.
5121         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5122         * dirent/scandir-cancel.c: ... to this new file.
5123         * dirent/Makefile (routines): Add it.
5124         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5125         * sysdeps/unix/sysv/linux/i386/scandir64.c
5126         (SKIP_SCANDIR_CANCEL): Macro removed.
5127         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5129         * dirent/tst-scandir.c: New file.
5130         * dirent/tst-scandir64.c: New file.
5131         * dirent/Makefile (tests): Add them.
5133 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5135         [BZ #18409]
5136         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5138 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5140         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5141         list.
5143 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5145         * benchtests/bench-strcoll.c: New benchmark.
5146         * benchtests/Makefile: Generate locales and run benchmark.
5147         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5148         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5149         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5150         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5151         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5152         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5153         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5154         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5155         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5156         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5157         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5158         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5159         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5160         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5161         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5162         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5163         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5164         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5165         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5166         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5167         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5168         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5169         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5170         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5172 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5174         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5175         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5177 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5179         * posix/uname-values.h: New file.
5180         * posix/uname.c: Include that instead of <config-name.h>.
5181         * sysdeps/nacl/uname-values.h: New file.
5182         * sysdeps/arm/nacl/uname-values.h: New file.
5184 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5186         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5187         splitting into fields.
5189 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5191         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5192         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5193         * locale/localeinfo.h: Add enum collation_encoding_type.
5194         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5195         * programs/ld-collate.c (collate_output): Add encoding type info.
5196         * string/strcoll_l.c (STRDIFF): New function.
5197         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5198         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5200 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5202         [BZ #18397]
5203         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5204         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5205         <fpu_control.h> instead of <math/fpu_control.c>.
5206         * sysdeps/mips/mips32/fpu/Makefile: New file.
5208 2015-05-11  Andreas Schwab  <schwab@suse.de>
5210         [BZ #18007]
5211         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5212         nss_endgrent.
5213         (_nss_compat_endgrent): Call nss_endgrent.
5214         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5215         nss_endpwent.
5216         (_nss_compat_endpwent): Call nss_endpwent.
5217         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5218         needent, call nss_setspent only if non-zero.
5219         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5220         (internal_endspent): Don't call nss_endspent.
5221         (_nss_compat_endspent): Call nss_endspent.
5222         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5223         Remove.  All uses removed.
5224         (internal_setent): Remove parameter stayopen, add parameter
5225         stream.  Use it instead of global variable.
5226         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5227         (internal_endent, internal_getent): Add parameter stream.  Use it
5228         instead of global variable.
5229         (CONCAT(_nss_files_end,ENTNAME))
5230         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5231         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5232         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5233         uses removed.
5234         (internal_setent, internal_endent): Add parameter stream.  Use it
5235         instead of global variable.
5236         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5237         stream.
5238         (get_next_alias): Add parameter stream.
5239         (_nss_files_getaliasent_r): Pass global stream.
5240         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5241         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5242         (_nss_files_gethostbyname4_r): Pass local stream to
5243         internal_setent, internal_getent and internal_endent.  Remove
5244         locking.
5246 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5248         * tst-strfmon1.c (tests): Update expected currency symbol.
5250 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5252         * sysdeps/nacl/gethostname.c: New file.
5254 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5256         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5257         and sinh.
5258         * math/auto-libm-test-out: Regenerated.
5259         * sysdeps/i386/fpu/libm-test-ulps: Update.
5260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5262 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5264         [BZ #18125]
5265         * stdlib/tst-setcontext3.c: New file.
5266         * stdlib/tst-setcontext3.sh: New file.
5267         * stdlib/Makefile (tests): Add tst-setcontext3.
5268         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5269         to verify test program created output file.
5270         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5271         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5272         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5273         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5275 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5277         [BZ #18383]
5278         * elf/tst-tlsalign.c: New file.
5279         * elf/tst-tlsalign-static.c: New file.
5280         * elf/tst-tlsalign-lib.c: New file.
5281         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5282         (tests-static): Add tst-tlsalign-static.
5283         (modules-names): Add tst-tlsalign-lib.
5284         (test-xfail-tst-tlsalign): New variable.
5285         (test-xfail-tst-tlsalign-static): New variable.
5287         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5288         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5290 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5292         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5293         csqrt, erfc, sin and sincos.
5294         * math/auto-libm-test-out: Regenerated.
5295         * sysdeps/i386/fpu/libm-test-ulps: Update.
5296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5298 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5300         * sysdeps/aarch64/libm-test-ulps: Update.
5302 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5304         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5305         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5306         * math/auto-libm-test-out: Regenerated.
5307         * sysdeps/i386/fpu/libm-test-ulps: Update.
5308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5310 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5312         [BZ #18265]
5313         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5314         (wcsncpy): Likewise.
5316 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5318         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5319         Assume __ASSUME_FALLOCATE is always true.
5320         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5321         (__posix_fallocate64_l64): Likweise.
5322         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5323         (posix_fallocate): Likewise.
5324         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5325         (__posix_fallocate64_l64): Likewise.
5326         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5327         [!__ASSUME_FALLOCATE]: Add comment.
5329 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5331         * sysdeps/unix/sysv/linux/i386/Makefile
5332         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5333         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5334         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5335         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5336         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5337         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5338         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5340 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5342         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5343         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5344         tgamma.
5345         * math/auto-libm-test-out: Regenerated.
5346         * sysdeps/i386/fpu/libm-test-ulps: Update.
5347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5349 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5351         * math/auto-libm-test-in: Add more tests of tgamma.
5352         * math/auto-libm-test-out: Regenerated.
5353         * sysdeps/i386/fpu/libm-test-ulps: Update.
5354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5356         * math/auto-libm-test-in: Add more tests of tanh.
5357         * math/auto-libm-test-out: Regenerated.
5358         * sysdeps/i386/fpu/libm-test-ulps: Update.
5359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5361         * math/auto-libm-test-in: Add more tests of tan.
5362         * math/auto-libm-test-out: Regenerated.
5363         * sysdeps/i386/fpu/libm-test-ulps: Update.
5364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5366         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5367         * math/auto-libm-test-out: Regenerated.
5368         * sysdeps/i386/fpu/libm-test-ulps: Update.
5369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5371         * math/auto-libm-test-in: Add another test of pow.
5372         * math/auto-libm-test-out: Regenerated.
5373         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5375         * math/auto-libm-test-in: Add more tests of lgamma.
5376         * math/auto-libm-test-out: Regenerated.
5377         * sysdeps/i386/fpu/libm-test-ulps: Update.
5378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5380         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5381         log1p.
5382         * math/auto-libm-test-out: Regenerated.
5383         * sysdeps/i386/fpu/libm-test-ulps: Update.
5384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5386 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5388         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5389         Elf64_Chdr structs and ELFCOMPRESS constants.
5391 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5393         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5394         expm1.
5395         * math/auto-libm-test-out: Regenerated.
5396         * sysdeps/i386/fpu/libm-test-ulps: Update.
5397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5399         * math/auto-libm-test-in: Add more tests of erf and erfc.
5400         * math/auto-libm-test-out: Regenerated.
5401         * sysdeps/i386/fpu/libm-test-ulps: Update.
5402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5404 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5406         * config.h.in (HAVE_AARCH64_BE): Add.
5408 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5410         * math/auto-libm-test-in: Add more tests of csqrt.
5411         * math/auto-libm-test-out: Regenerated.
5412         * sysdeps/i386/fpu/libm-test-ulps: Update.
5413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5415         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5416         * math/auto-libm-test-out: Regenerated.
5417         * sysdeps/i386/fpu/libm-test-ulps: Update.
5418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5420         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5422 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5424         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5425         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5427         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5428         (euidaccess, eaccess): Define as weak aliases.
5430         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5431         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5432         but __suseconds_t is often 'long int' so some sources assume that
5433         type is being used (e.g. they use %ld to print tv_usec).
5435 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5437         [BZ #18007]
5438         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5439         (CVE-2014-8121)
5440         * nss/tst-nss-getpwent.c: New file.
5441         * nss/Makefile (tests): Add new test.
5443 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5445         [BZ #18346]
5446         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5447         exponents less than 48 as cases where high part of mantissa needs
5448         examining to determine whether argument is integral.
5449         * math/libm-test.inc (round_test_data): Add more tests.
5451 2015-04-28  Mark Wielaard  <mjw@redhat.com>
5453         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5455 2015-04-27  David S. Miller  <davem@davemloft.net>
5457         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5458         __tls_get_addr.
5459         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5461 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
5463         [BZ#18333]
5464         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5466 2015-04-27  Florian Weimer  <fweimer@redhat.com>
5468         [BZ#18333]
5469         * time/tzset.c (parse_tzname): Return error on memory allocation
5470         failure.
5471         * test-skeleton.c (struct temp_name_list): Change type of name
5472         member to non-const.
5473         (add_temp_file): Create a copy of the file name.
5474         (delete_temp_files): Deallocate memory.
5475         (create_temp_file): Add comment.
5477 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5479         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5480         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5482 2015-04-24  Roland McGrath  <roland@hack.frob.com>
5484         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5485         * sysdeps/arm/configure: Regenerated.
5487 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5489         [BZ #17715]
5490         * time/tzfile.c (__tzfile_read): Check for large values of
5491         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
5492         * time/tzset.c (__tzstring_len): New function, based on the old
5493         __tzstring function.
5494         (__tzstring): Call __tzstring_len.
5495         (parse_tzname): New helper function extracted from
5496         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
5497         the input string.
5498         (parse_offset): New helper function extracted from
5499         __tzset_parse_tz.  Replace switch with fallthrough with
5500         initialization before sscanf.
5501         (parse_rule): Likewise.
5502         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
5503         new-style function definition.
5504         * timezone/Makefile (tests): Add tst-tzset.
5505         (tst-tzset.out): Dependencies on time zone files.
5506         (tst-tzset-ENV): Set TZDIR.
5507         (testdata/XT%): Copy crafted time zone files.
5508         * timezone/README: Mention crafted time zone files.
5509         * timezone/testdata/XT1, timezone/testdata/XT2,
5510         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5511         files.
5512         * timezone/tst-tzset.c: New test.
5514 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5516         * Makeconfig (+gccwarn): Remove -Winline.
5518 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5520         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5522 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5524         * NEWS: Mention sysconf() cache information support for s390.
5525         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5527 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
5529         * math/k_casinh.c (__kernel_casinh): Use __copysign.
5530         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5531         (__nearbyint): Likewise.
5532         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5533         (copysignl): Likewise.
5535 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
5537         [BZ #18287]
5538         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5539         based on padding.  (CVE-2015-1781)
5541 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5543         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5544         libc-vdso.h.
5545         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5546         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5547         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5548         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5549         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5550         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5551         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5552         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5553         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5554         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5555         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5556         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5557         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5558         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5559         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5560         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5561         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5562         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5563         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5564         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5565         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5566         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5567         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5569 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5571         * stdlib/setenv.c (__add_to_environ):
5572         Dump core quickly if setenv (..., NULL, ...) is called.
5573         This time, do it the right way, and pacify GCC with a pragma.
5575 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5577         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5578         IMAP->l_prev cannot be null, and #if out the code for the contrary
5579         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5580         believe that NS (&_dl_ns[NSID]) could point outside the array.
5582         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5583         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5584         before using NSID as an index.
5586 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
5588         [BZ #17825]
5589         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5590         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5591         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5593 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5595         Add preliminary port to Google Native Client on ARM.
5596         * abi-tags (.*-.*-nacl.*): New entry.
5597         * sysdeps/arm/nacl: New directory.
5598         * sysdeps/nacl: New directory.
5600 2015-04-16  David S. Miller  <davem@davemloft.net>
5602         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5603         lowlevellock-futex.h
5605 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
5607         * sysdeps/tile/configure.ac: New file.
5608         * sysdeps/tile/configure: Regenerated.
5610 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5612         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
5613         conditionals for weak_alias and libc_hidden_weak.
5614         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
5615         libc_hidden_weak and weak_alias.
5616         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
5617         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
5618         and weak_alias for static one.
5620 2015-04-15  David S. Miller  <davem@davemloft.net>
5622         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5624 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5626         [BZ #18206]
5627         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
5628           Use signed comparision instead of substraction to avoid
5629           overflow bug.
5630         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
5631           Take the sign of ret.
5632         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
5633           Do not expect precise return values. Only the sign matters.
5634         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
5635         * wcsmbs/test-wcsncmp.c: New File.
5636         * string/test-strncmp.c: Add wcsncmp support.
5638 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5640         [BZ #6792]
5641         * math/w_log1p.c: New file.
5642         * math/w_log1pf.c: Likewise.
5643         * math/w_log1pl.c: Likewise.
5644         * math/Makefile (libm-calls): Add w_log1p.
5645         * math/s_log1pl.c (log1pl): Remove weak_alias.
5646         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
5647         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
5648         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
5649         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
5650         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
5651         [NO_LONG_DOUBLE] (log1pl): Likewise.
5652         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
5653         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
5654         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
5655         (log1p): Remove long_double_symbol.
5656         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
5657         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
5658         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
5659         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
5660         remove weak_alias for corresponding log1p function.
5661         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
5662         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
5663         * sysdeps/ia64/fpu/w_log1p.c: New file.
5664         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
5665         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
5666         * math/libm-test.inc (log1p_test_data): Add errno expectations.
5668 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
5670         [BZ #18247]
5671         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5672         decimal exponent by 1.
5673         * stdlib/tst-strtod-round-data: Add more tests.
5674         * stdlib/tst-strtod-round.c (tests): Regenerated.
5676 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
5678         * math/auto-libm-test-in: Add more tests of clog and clog10.
5679         * math/auto-libm-test-out: Regenerated.
5680         * sysdeps/i386/fpu/libm-test-ulps: Update.
5681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5683 2015-04-09  Roland McGrath  <roland@hack.frob.com>
5685         * Makeconfig (module-cppflags): Exclude all .v.i files.
5686         (skip-module-cppflags): Variable removed.
5688         * configure.ac (libc_config_ok): Initialize before reading
5689         preconfigure scripts, not after.
5690         * configure: Regenerated.
5692         * test-skeleton.c (TIMEOUT): Move #define to top level.
5693         (main): Grok environment variable TEST_DIRECT.  If set, print
5694         test expectation details into that file and then behave as if
5695         given --direct.
5697 2015-04-09  Florian Weimer  <fweimer@redhat.com>
5699         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5700         warning on 32-bit.
5702 2015-04-08  David S. Miller  <davem@davemloft.net>
5704         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5706 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5708         * math/auto-libm-test-in: Add more tests of atanh.
5709         * math/auto-libm-test-out: Regenerated.
5710         * sysdeps/i386/fpu/libm-test-ulps: Update.
5711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5713         * math/auto-libm-test-in: Add more tests of atan.
5714         * math/auto-libm-test-out: Regenerated.
5715         * sysdeps/i386/fpu/libm-test-ulps: Update.
5716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5718 2015-04-08  Florian Weimer  <fweimer@redhat.com>
5720         * elf/pldd.c (main): Rewrite to use struct
5721         scratch_buffer instead of extend_alloca.
5722         * elf/pldd-xx.c (find_maps): Likewise.
5723         * grp/initgroups.c: Include <scratch_buffer.h> instead of
5724         <alloca.h>.
5725         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5726         scratch_buffer instead of extend_alloca.
5727         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5728         grp/compat-initgroups.c.
5729         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5730         Rewrite to use struct scratch_buffer instead of extend_alloca.
5731         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5732         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5734 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5736         * math/auto-libm-test-in: Add more tests of cbrt.
5737         * math/auto-libm-test-out: Regenerated.
5738         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5740         * math/auto-libm-test-in: Add more tests of cabs.
5741         * math/auto-libm-test-out: Regenerated.
5742         * sysdeps/i386/fpu/libm-test-ulps: Update.
5743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5745         [BZ #18210]
5746         [BZ #18211]
5747         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5748         (__ieee754_atan2): Set FE_TONEAREST mode for internal
5749         computations.
5750         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5751         clog10.
5752         * math/auto-libm-test-out: Regenerated.
5753         * sysdeps/i386/fpu/libm-test-ulps: Update.
5754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5756         [BZ #18197]
5757         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5758         (atan): Set FE_TONEAREST mode for internal computations.
5759         * math/auto-libm-test-in: Add more tests of atan.
5760         * math/auto-libm-test-out: Regenerated.
5762 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
5764         [BZ #17930]
5765         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5767 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5769         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5771 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5773         * include/scratch_buffer.h: New file.
5774         * malloc/scratch_buffer_grow.c: Likewise.
5775         * malloc/scratch_buffer_grow_preserve.c: Likewise.
5776         * malloc/scratch_buffer_set_array_size.c: Likewise.
5777         * malloc/tst-scratch_buffer.c: Likewise.
5778         * malloc/Makefile (routines): Add scratch_buffer_grow.
5779         (tests): Add test case.
5780         * malloc/Versions (GLIBC_PRIVATE): Export
5781         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5782         __libc_scratch_buffer_set_array_size.
5784 2015-04-06  Richard Henderson  <rth@redhat.com>
5786         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5787         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5789         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5790         unsigned int before printing.
5792 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5794         [BZ #17596]
5795         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5796         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5798 2015-04-02  Florian Weimer  <fweimer@redhat.com>
5800         * include/libc-internal.h (libc_max_align_t): Define.
5802 2015-04-02  Andreas Schwab  <schwab@suse.de>
5804         [BZ #16850]
5805         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5807 2015-04-02  Mel Gorman  <mgorman@suse.de>
5809         [BZ #17195]
5810         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5811         as well as the main arena.
5813 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5815         [BZ #18185]
5816         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5817         sharing L2 cache to 2 for Silvermont/Knights Landing.
5819 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5821         [BZ #17711]
5822         * config.make.in (have-protected-data): New.
5823         * configure.ac: Check linker support for protected data symbol.
5824         * configure: Regenerated.
5825         * elf/Makefile (modules-names): Add tst-protected1moda and
5826         tst-protected1modb if $(have-protected-data) is yes.
5827         (tests): Add tst-protected1a and tst-protected1b if
5828         $(have-protected-data) is yes.
5829         ($(objpfx)tst-protected1a): New.
5830         ($(objpfx)tst-protected1b): Likewise.
5831         (tst-protected1modb.so-no-z-defs): Likewise.
5832         * elf/tst-protected1a.c: New file.
5833         * elf/tst-protected1b.c: Likewise.
5834         * elf/tst-protected1mod.h: Likewise.
5835         * elf/tst-protected1moda.c: Likewise.
5836         * elf/tst-protected1modb.c: Likewise.
5838 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5840         [BZ #17711]
5841         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5842         indicates it is called from do_lookup_x on relocation against
5843         protected data, skip the data definion in the executable from
5844         copy reloc.
5845         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5846         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5847         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5848         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5849         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5850         otherwise to 0.
5851         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5852         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5853         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5854         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5855         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5856         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5858 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
5860         * sysdeps/nptl/pthread.h: Remove duplicate definition of
5861         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5863 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
5865         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5866         THREAD_SETMEM_NC.
5867         * sysdeps/x86_64/nptl/tls.h: Ditto.
5869 2015-03-27  Roland McGrath  <roland@hack.frob.com>
5871         * dlfcn/tststatic.c (main): Converted to ...
5872         (do_test): ... this.
5873         (TEST_FUNCTION): New macro.
5874         Include test-skeleton.c.
5876 2015-03-26  Alan Modra  <amodra@gmail.com>
5878         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5879         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
5880         zero for undefined weak.
5881         (elf_machine_plt_conflict): Similarly.
5883 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5885         * math/auto-libm-test-in: Add more tests of acosh, asinh and
5886         atanh.
5887         * math/auto-libm-test-out: Regenerated.
5888         * sysdeps/i386/fpu/libm-test-ulps: Update.
5889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5891         * math/auto-libm-test-in: Add another test of asin.
5892         * math/auto-libm-test-out: Regenerated.
5893         * sysdeps/i386/fpu/libm-test-ulps: Update.
5894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5896         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5897         Remove macro.
5898         (LLL_EBX_REG): Likewise.
5899         (LLL_ENTER_KERNEL): Likewise.
5901         * math/auto-libm-test-in: Add more tests of asin.
5902         * math/auto-libm-test-out: Regenerated.
5903         * sysdeps/i386/fpu/libm-test-ulps: Update.
5904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5906         [BZ #18138]
5907         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5908         libc_do_syscall_args): New structure.
5909         (INTERNAL_SYSCALL_MAIN_0): New macro.
5910         (INTERNAL_SYSCALL_MAIN_1): Likewise.
5911         (INTERNAL_SYSCALL_MAIN_2): Likewise.
5912         (INTERNAL_SYSCALL_MAIN_3): Likewise.
5913         (INTERNAL_SYSCALL_MAIN_4): Likewise.
5914         (INTERNAL_SYSCALL_MAIN_5): Likewise.
5915         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
5916         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5917         Replace conditional definitions by conditional definitions of ....
5918         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
5919         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5920         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5921         (libpthread-sysdep_routines): Add libc-do-syscall.
5922         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5923         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5924         to __NR_futex not 240.
5926 2015-03-25  Alan Modra  <amodra@gmail.com>
5928         * NEWS: Advertise TLS optimization.
5929         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5930         (DT_PPC_NUM): Increment.
5931         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5932         (CHECK_STATIC_TLS): Use here.
5933         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5934         TLS descriptors.
5935         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5936         * sysdeps/powerpc/dl-tls.c: New file.
5937         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5938         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5939         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5940         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5945 2015-03-25  Alan Modra  <amodra@gmail.com>
5947         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5948         for overlapping .opd entries" to "support...".
5949         * sysdeps/powerpc/powerpc64/configure: Regenerate
5951 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5953         * math/auto-libm-test-in: Add more tests of acos.
5954         * math/auto-libm-test-out: Regenerated.
5955         * sysdeps/i386/fpu/libm-test-ulps: Update.
5956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5958         * math/auto-libm-test-in: Add more tests of expm1.
5959         * math/auto-libm-test-out: Regenerated.
5960         * sysdeps/i386/fpu/libm-test-ulps: Update.
5961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5963 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
5965         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5966         * math/auto-libm-test-out: Regenerated.
5967         * sysdeps/i386/fpu/libm-test-ulps: Update.
5968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5970         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5973         * math/auto-libm-test-in: Add more tests of log2.
5974         * math/auto-libm-test-out: Regenerated.
5975         * sysdeps/i386/fpu/libm-test-ulps: Update.
5976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5978 2015-03-23  Roland McGrath  <roland@hack.frob.com>
5980         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5981         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
5982         _IO_IS_APPENDING bit in READ_WRITE instead.
5984 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5986         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5987         (__determine_cpumask_size): Replace extend_alloca with a
5988         variable-length array.  Do not treat res == 0 as an error.
5990 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5992         [BZ #18100]
5993         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
5994         and integer overflow.
5995         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
5996         (main): Add integer overflow tests.
5997         * manual/pattern.texi (Calling Wordexp): Document additional use
5998         for WRDE_SYNTAX.
6000 2015-03-23  Alan Modra  <amodra@gmail.com>
6002         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6003         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6004         and false branch of conditional.
6005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6006         Likewise.
6008 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6010         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6011         libc-modules.h
6012         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6013         unused declaration of _hurd_intr_rpc_msg_in_trap.
6014         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6015         defined instead of whether it is non-zero.
6016         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6017         input constraint instead of both input and output constraint.  Use ecx
6018         clobber instead of %ecx.
6019         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6020         mutex_unlock): Use a statement expression instead of an expression list.
6021         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6022         type to vm_size_t instead of vm_address_t.
6023         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6024         defined instead of whether it is non-zero.
6025         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6026         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6027         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6028         comparisons with mapaddr.
6029         * nscd/nscd-client.h: Include <time.h>.
6030         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6031         9th parameter to __vm_region instead of int.
6032         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6033         * scripts/check-local-headers.sh (exclude): Add device/,
6034         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6035         cthreads.h.
6037 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6039         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6040         to account for alignment padding.
6041         * sysdeps/arm/memmove.S: Likewise.
6043 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6045         * sysdeps/unix/sysv/linux/generic/README: New file.
6047 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6049         [BZ #18138]
6050         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6051         (futex_abstimed_wait)
6052         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6053         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6054         of lll_futex_timed_wait.
6056 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6058         [BZ #17542]
6059         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6061 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6063         [BZ #17090]
6064         [BZ #17620]
6065         [BZ #17621]
6066         [BZ #17628]
6067         * NEWS: Update.
6068         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6069         entries with Static TLS too.  Skip entries past the end of the
6070         allocated DTV, from Alan Modra.
6071         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6072         Static TLS DTV entry set up from...
6073         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6074         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6075         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6076         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6077         for Static TLS.
6078         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6079         that the slot we find is associated with the given map before
6080         using its generation count.
6081         * nptl_db/db_info.c: Include ldsodefs.h.
6082         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6083         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6084         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6085         (link_map::l_tls_offset): New struct field.
6086         (dtv_t::counter): Likewise.
6087         (rtld_global): New struct.
6088         (_rtld_global): New rtld variable.
6089         (dl_tls_dtv_slotinfo_list): New rtld global field.
6090         (dtv_slotinfo_list): New struct.
6091         (dtv_slotinfo): Likewise.
6092         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6093         (td_lookup): Rename to...
6094         (td_mod_lookup): ... this.  Use new mod parameter instead of
6095         LIBPTHREAD_SO.
6096         * nptl_db/td_thr_tlsbase.c: Include link.h.
6097         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6098         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6099         addresses even if the DTV is out of date or missing them.
6100         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6101         index zero-length arrays.
6102         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6103         (td_lookup): Make it a macro implemented in terms of...
6104         (td_mod_lookup): ... this declaration.
6105         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6106         (DB_MAIN_VARIABLE): Likewise.
6108 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6110         [BZ #18134]
6111         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6113 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6115         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6117 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6119         [BZ #18128]
6120         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6121         (atomic_add, atomic_increment_and_test)
6122         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6124 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6126         * stdlib/setenv.c (__add_to_environ):
6127         Dump core quickly if setenv (..., NULL, ...) is called.
6129 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6131         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6132         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6133         all the necessary asm magic in one place.
6134         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6135         using those.
6137 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6139         [BZ #14906]
6140         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6141         traced file mtime. Use consistent log message.
6142         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6143         (register_traced_file): Call install_watches. Always set mtime.
6144         (invalidate_cache): Iterate over all trace files. Call install_watches.
6145         (inotify_check_files): Don't inline. Handle watching parent
6146         directories and configuration file movement in and out.
6147         (handle_inotify_events): New function.
6148         (main_loop_poll): Call handle_inotify_events.
6149         (main_loop_epoll): Likewise.
6150         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6151         (struct traced_file): Use array of inotify fds. Add parent directory,
6152         and basename.
6153         (struct database_dyn): Remove unused file_mtime.
6154         (init_traced_file): New inline function.
6155         (define_traced_file): New macro.
6156         * nss/nss_db/db-init.c: Use define_traced_file.
6157         (_nss_db_init): Use init_traced_file.
6158         * nss/nss_files/files-init.c: Use define_traced_file.
6159         (_nss_files_init): Use init_traced_file.
6161 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6163         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6164         [_LIBC]: Do not include <stdlib.h>.
6165         [!_LIBC] (abort): Remove declaration.
6166         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6167         _FP_STATIC_ASSERT instead of conditionally calling abort.
6168         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6169         (_FP_EXTEND_CNAN): Likewise.
6170         (FP_TRUNC): Likewise.
6171         (__FP_CLZ): Likewise.
6172         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6174 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6176         * manual/string.texi (XPG basename): Fix prototype.
6178 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6180         [BZ #18080]
6181         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6182         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6183         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6184         (__setcontext): Likewise.
6185         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6186         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6187         Call rt_sigprocmask syscall one time to set new signal mask
6188         and retrieve the current signal mask instead of two calls.
6189         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6190         (__swapcontext): Likewise.
6191         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6192         * stdlib/tst-setcontext2.c: New file.
6194 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6196         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6198 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6200         [BZ #18093]
6201         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6202         the wrong size.
6204 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6206         [BZ #18043]
6207         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6209 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6211         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6212         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6213         Remove define.
6214         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6215         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6216         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6217         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6218         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6219         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6220         define.
6221         * nptl_db/td_symbol_list.c (td_lookup): Remove
6222         HAVE_ASM_GLOBAL_DOT_NAME code.
6223         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6224         HAVE_ASM_GLOBAL_DOT_NAME check.
6225         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6226         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6227         (DOT_LABEL): Remove define.
6228         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6229         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6230         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6231         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6232         (__TLS_GET_ADDR): Likewise.
6233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6234         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6236 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6238         [BZ #18111]
6239         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6240         (_FPU_SETCW): Initialize cw from fpsr before storing.
6241         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6242         (fesetexceptflag): Rewrite using fpu_control.h.
6243         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6245 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6247         [BZ #18110]
6248         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6249         asms.
6250         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6252 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6254         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6255         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6256         abort.
6257         (_FP_FMA): Likewise.
6258         (_FP_DIV): Likewise.
6260 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6262         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6263         with 0 in that case.
6264         * Makefile (summarize-tests): New canned sequence, factored out of
6265         commands for targets tests and xtests.  Display summary lines that
6266         don't start with PASS: or XFAIL: rather than ones that do start with
6267         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6268         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6269         do start with ERROR: or FAIL:.
6270         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6271         (except for [$(build-shared) = yes]).
6272         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6273         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6274         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6275         * nptl/Makefile: Revert 2015-03-04 changes.
6276         [$(CXX) empty] (tests-unsupported): New variable.
6277         * debug/Makefile: Likewise.
6279         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6280         gnulib file.  Replace __attribute with __attribute__ throughout.
6282 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6284         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6286 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6288         [BZ #18104]
6289         * math/auto-libm-test-in: Add another test of pow.
6290         * math/auto-libm-test-out: Regenerated.
6292 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6294         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6295         $(config-cflags-nofma).
6297 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6299         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6300         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6301         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6302         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6303         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6304         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6305         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6306         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6307         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6308         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6309         Add comment on closing #endif.
6311 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6313         * posix/wordexp.c (CHAR_IN_SET): New macro.
6314         (parse_param): Use it.
6316 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6318         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6320 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6322         [BZ #18043]
6323         * posix/wordexp.c (parse_param): Fix buffer overflow.
6324         * posix/wordexp-test.c (test_case): Add test case.
6326 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6328         [BZ #18042]
6329         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6330         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6332 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6334         [BZ #18043]
6335         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6336         (do_bz18043): Delete.
6337         (at_page_end): New.
6338         (testit): Refactor to have words at the edge of unreadable page.
6340 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6342         [BZ #16734]
6343         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6344         Cleanup read-only streams as well.
6345         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6347 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6349         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6350         <bits/libc-lockP.h>
6352 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6354         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6355         on [__KERNEL__].
6356         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6357         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6358         * soft-fp/op-common.h (_FP_DECL): Likewise.
6360 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6362         * elf/ifuncdep2.c (global): Replace
6363         __attribute__((visibility("protected"))) with
6364         asm (".protected global").
6365         * elf/ifuncmod1.c (global): Likewise.
6366         * elf/ifuncmod5.c (global): Likewise.
6368 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6370         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6371         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6373 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6375         * manual/install.texi (Configuring and compiling):
6376         Document test-wrapper-env-only.
6377         * INSTALL: Regenerated.
6379 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6381         [BZ #18043]
6382         * posix/wordexp.c (parse_param): Fix buffer overflow.
6383         * posix/wordexp-test.c (do_bz18043): Add test case.
6385 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6387         * time/tst-strptime2.c (do_test): Ensure failing tests are
6388         reported correctly.
6389         * time/tst-strptime3.c (do_test): Likewise.
6391 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6393         Fix aio_error thread-safety.
6394         * sysdeps/pthread/aio_error.c: New file
6395         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6396         synchronization.
6398 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6400         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6401         (group_number, vfprintf): Use it.
6402         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6403         (JUMP, REF): Use it.
6404         (WORK_BUFFER_SIZE): New enum constant.
6405         (process_arg, vfprintf): Use it.
6407 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6409         * manual/errno.texi (Error Messages): Complete example function
6410         by adding missing #define.
6411         (program_invocation_name): Add statement indicating GNU
6412         extension and reference which header file declares the variable.
6413         (program_invocation_short_name): Likewise.
6415 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6417         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6418         compatibility note.
6420 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6422         * Makeconfig (test-wrapper-env-only): New variable.
6423         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6424         then use that with $(test-wrapper-env-only) rather than using
6425         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6427 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6429         [BZ #18082]
6430         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6431         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6432         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6433         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6434         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6435         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6436         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6437         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6438         Likewise.
6439         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6440         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6441         Likewise.
6442         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6443         Likewise.
6444         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6445         Likewise.
6446         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6447         Likewise.
6448         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6449         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6450         Likewise.
6451         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6452         Likewise.
6453         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6454         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6456 2015-03-04  Roland McGrath  <roland@hack.frob.com>
6458         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6459         (ETH_ALEN): New macro.
6460         (struct ether_addr): Use it for length of ether_addr_octet.
6462         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6463         (setdb): Don't call __nss_configure_lookup for "rpc".
6464         (do_test): Don't call test_rpc.
6465         (output_rpcent, test_rpc): Functions moved ...
6466         * sunrpc/test-rpcent.c: ... to this new file.
6467         * sunrpc/Makefile (tests): Add it.
6469         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6470         __xpg_sigpause.
6471         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6472         * nptl/tst-signal6.c: Likewise.
6473         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6474         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6476         * configure.ac (libc_cv_cxx_link_ok): New check.
6477         Reset CXX to empty if it fails to link.
6478         * configure: Regenerated.
6479         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6480         bug-atexit3-lib only if $(CXX) is nonempty.
6481         * nptl/Makefile (tests): Likewise for tst-cancel24.
6482         (tests, tests-static): Likewise for tst-cancel24-static.
6483         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6484         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6485         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6486         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
6488 2015-03-04  Andreas Schwab  <schwab@suse.de>
6490         [BZ #17631]
6491         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6492         for non-GCC compilers.
6493         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6494         Likewise.
6496 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6498         [BZ #17776]
6499         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6500         integer before bitwise and assembly operations.
6501         (feclearexcept): Likewise.
6502         * math/test-fenvinline.c: New file.
6503         * math/Makefile: Add test-fenvinline test.
6505 2015-03-03  Alan Modra  <amodra@gmail.com>
6507         [BZ #16512]
6508         * scripts/localplt.awk: Strip off symbol version.
6509         * NEWS: Mention bug fix.
6511 2015-03-02  Roland McGrath  <roland@hack.frob.com>
6513         * sysdeps/pthread/timer_routines.c
6514         (timer_free_list, thread_free_list, thread_active_list): Make static.
6516 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
6518         [BZ #17779]
6519         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6520         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6521         Undefine.
6522         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6523         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6524         Likewise.
6525         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6526         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6527         Likewise.
6529 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6531         [BZ #18036]
6532         * posix/fnmatch_loop.c (END): Detect invalid pattern.
6533         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6535 2015-03-02  Andreas Schwab  <schwab@suse.de>
6537         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6538         variable name.
6540 2015-03-02  Florian Weimer  <fweimer@redhat.com>
6542         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6543         Return error status.
6545 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
6547         [BZ #15969]
6548         * locale/findlocale.c (_nl_find_locale): Introduce const
6549         version of loc_name and drop unsafe type casts.
6551 2015-02-27  Roland McGrath  <roland@hack.frob.com>
6553         * dlfcn/tststatic2.c (main): Converted to ...
6554         (do_test): ... this.
6555         (TEST_FUNCTION): New macro.
6556         Include test-skeleton.c.
6558 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
6560         [BZ #17711]
6561         * elf/Makefile (tests): Add vismain only if PIE is enabled.
6562         (tests-pie): Add vismain.
6563         (CFLAGS-vismain.c): New.
6564         * elf/vismain.c: Add comments for PIE requirement.
6566 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6568         [BZ #18046]
6569         [BZ #18047]
6570         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6571         0x1p-56L as threshold for just returning the argument.
6572         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6573         0x1p-32L as threshold for just returning the argument.
6574         * math/auto-libm-test-in: Add more tests of atanh.
6575         * math/auto-libm-test-out: Regenerated.
6576         * sysdeps/i386/fpu/libm-test-ulps: Update.
6577         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6579 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6581         * string/bcopy.c (bcopy): Call memmove for performance.
6583 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6585         * string/bzero.c (__bzero): Call memset for performance.
6587 2015-02-27  John David Anglin  <dave.anglin@bell.net>
6589         [BZ #18068]
6590         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6591         to 00100000.
6593 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6595         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6597 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6599         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6600         (__kernel_standard): Use CSTR macro when setting exc.name.
6601         * sysdeps/ieee754/Makefile [$(subdir) = math]
6602         (CFLAGS-k_standard.c): Remove variable.
6604         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6605         setting p and q from "else if" to "else".
6606         (qzero): Likewise.
6607         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
6608         (qone): Likewise.
6609         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
6610         (qzerof): Likewise.
6611         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
6612         (qonef): Likewise.
6613         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
6614         (qzero): Likewise.
6615         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
6616         (qone): Likewise.
6618         [BZ #18038]
6619         [BZ #18039]
6620         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
6621         return pi/2 for arguments below 0x1p-113L.
6622         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
6623         return pi/2 for arguments below 0x1p-106L.
6624         * math/auto-libm-test-in: Add more tests of acos.
6625         * math/auto-libm-test-out: Regenerated.
6627         [BZ #16351]
6628         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
6629         (MO): New macro.
6630         (__ieee754_asin): Force underflow exception for results with small
6631         absolute value.
6632         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
6633         (MO): New macro.
6634         (__ieee754_asinf): Force underflow exception for results with
6635         small absolute value.
6636         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
6637         (__ieee754_asin): Force underflow exception for results with small
6638         absolute value.
6639         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
6640         (__ieee754_asinf): Force underflow exception for results with
6641         small absolute value.
6642         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
6643         (__ieee754_asinl): Force underflow exception for results with
6644         small absolute value.
6645         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
6646         (__ieee754_asinl): Force underflow exception for results with
6647         small absolute value.
6648         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
6649         (__ieee754_asinl): Force underflow exception for results with
6650         small absolute value.
6651         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6652         Include <math.h>.
6653         * math/auto-libm-test-in: Do not mark underflow exceptions as
6654         possibly missing for bug 16351.
6655         * math/auto-libm-test-out: Regenerated.
6657         [BZ #18030]
6658         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
6659         of power of 2 down when low part has opposite sign.
6660         * math/libm-test.inc (logb_test_data): Add more tests.
6662 2015-02-26  Andreas Schwab  <schwab@suse.de>
6664         [BZ #18032]
6665         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
6666         over collating symbol inside a bracket expression.  Minor cleanup.
6667         * posix/tst-fnmatch3.c (do_test): Add test case.
6669 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6671         [BZ #18029]
6672         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6673         Adjust exponent of power of 2 down when low part has opposite
6674         sign.
6675         * math/libm-test.inc (ilogb_test_data): Add more tests.
6677 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
6679         [BZ #15969]
6680         * locale/findlocale.c (_nl_find_locale): Fix constness error in
6681         the previous change.
6683         [BZ #15969]
6684         * locale/findlocale.c (_nl_find_locale): Retry archive search
6685         after alias expansion.
6687 2015-02-25  Roland McGrath  <roland@hack.frob.com>
6689         * iconv/tst-iconv3.c (main): Converted to ...
6690         (do_test): ... this.
6691         (TEST_FUNCTION): New macro.
6692         Include test-skeleton.c.
6694         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6695         (convert): Make function static.
6696         (test_unalign): Likewise.  Add const to argument pointee types.
6697         (main): Replace with static function do_test.
6698         Print "Succeeded." only if RET is zero.
6699         (TEST_FUNCTION): New macro.
6700         Include test-skeleton.c.
6702         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6703         returns a null pointer.
6705 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6707         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6708         to __memcpy_ppc only for static builds.
6710 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
6712         [BZ #18020]
6713         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6714         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6715         * math/auto-libm-test-in: Add more tests of asinh.
6716         * math/auto-libm-test-out: Regenerated.
6717         * sysdeps/i386/fpu/libm-test-ulps: Update.
6718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6720 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
6722         [BZ #15850]
6723         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6724         and ip6_mtuinfo definitions here.
6725         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6726         in this define too.  Update comment.
6728 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
6730         * elf/sprof.c (load_shobj): Tweak error message to match others.
6732 2015-02-24  Kevin Easton  <kevin@guarana.org>
6734         [BZ #16145] (partial fix)
6735         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6736         to reduce lock contention.
6738 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
6740         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6741         (struct timex): Update time comment.
6742         (ADJ_SETOFFSET): Define.
6744 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6746         [BZ #18019]
6747         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6748         2**56 not 2**28 as threshold for log (2x) formula.
6749         * math/auto-libm-test-in: Add more tests of acosh.
6750         * math/auto-libm-test-out: Regenerated.
6751         * sysdeps/i386/fpu/libm-test-ulps: Update.
6752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6754 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6756         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6757         parenthesis around the buf assignment.
6758         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6760 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6762         [BZ #16783]
6763         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6764         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6765         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6766         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6767         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6768         * math/libm-test.inc (scalb_test_data): Add more tests.
6770 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6772         [BZ #17916]
6773         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6774         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6776 2015-02-24  Eric Rannaud  <e@nanocritical.com>
6778         [BZ #17523]
6779         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6780         * io/bits/fcntl2.h (open): Use it.
6781         (openat): Likewise.
6782         * io/open.c (__libc_open): Likewise.
6783         * io/open64.c (__libc_open64): Likewise.
6784         * io/open64_2.c (__open64_2): Likewise.
6785         * io/open_2.c (__open_2): Likewise.
6786         * io/openat.c (__openat): Likewise.
6787         * io/openat64.c (__openat64): Likewise.
6788         * io/openat64_2.c (__openat64_2): Likewise.
6789         * io/openat_2.c (__openat_2): Likewise.
6790         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6791         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6792         * sysdeps/posix/open64.c (__libc_open64): Likewise.
6793         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6794         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6795         (__open_nocancel): Likewise.
6796         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6797         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6798         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6800 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6802         [BZ #14841]
6803         * resolv/gethnamaddr.c (getanswer): Skip logging if
6804         RES_USE_DNSSEC is set.
6805         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6807 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6809         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6811 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
6813         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6814         201304L, for Unicode 7.
6816 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
6818         [BZ #17836]
6819         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6820         shared library.  Add gmon-start.os otherwise.
6821         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6822         $(objpfx)gmon-start.os if builing shared library.
6823         ($(objpfx)g$(static-start-installed-name)): Likewise.
6825 2015-02-23  Andreas Schwab  <schwab@suse.de>
6827         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6829 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6831         [BZ #17269]
6832         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6833         (enlarge_userbuf): Likewise.
6835 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
6837         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6838         * math/atest-exp.c (TIMEOUT): Adjust to 200.
6839         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6840         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6842 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
6844         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6845         expression inside statement expression.
6847 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6849         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6850         <sysdeps/nptl/lowlevellock.h> and remove macros and
6851         functions that are now defined there.
6852         (SYS_futex): Remove.
6853         (lll_compare_and_swap): Remove.
6854         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6856 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
6858         [BZ #17999]
6859         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6860         instead of scandirat.
6861         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6862         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6863         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6864         __scandirat.
6865         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6866         (__scandirat): Declare.  Use libc_hidden_proto.
6867         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6868         Remove variable.
6869         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6871 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6873         [BZ #15319]
6874         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6875         (MO): New macro.
6876         (__ieee754_atan2): For results with small absolute value, force
6877         underflow exception and remove excess range and precision from
6878         return value.
6879         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6880         (MO): New macro.
6881         (__ieee754_atan2f): For results with small absolute value, force
6882         underflow exception and remove excess range and precision from
6883         return value.
6884         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6885         (MO): New macro.
6886         (__atan): For results with small absolute value, force underflow
6887         exception and remove excess range and precision from return value.
6888         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6889         (MO): New macro.
6890         (__atanf): For results with small absolute value, force underflow
6891         exception and remove excess range and precision from return value.
6892         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6893         <math.h>.
6894         (__ieee754_atan2): Force underflow exception for results with
6895         small absolute value.
6896         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6897         <math_private.h>.
6898         (atan): Force underflow exception for results with small absolute
6899         value.
6900         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6901         (__atanf): Force underflow exception for results with small
6902         absolute value.
6903         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6904         <math.h>.
6905         (__atanl): Force underflow exception for results with small
6906         absolute value.
6907         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6908         (__atanl): Force underflow exception for results with small
6909         absolute value.
6910         * sysdeps/x86/fpu/bits/mathinline.h
6911         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6912         (__ieee754_atan2): Only define inline for long double.
6913         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6914         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6915         * math/auto-libm-test-in: Do not mark underflow exceptions as
6916         possibly missing for bug 15319.  Add more tests of atan2.
6917         * math/auto-libm-test-out: Regenerated.
6918         * math/libm-test.inc (casin_test_data): Do not mark underflow
6919         exceptions as possibly missing for bug 15319.
6920         (casinh_test_data): Likewise.
6921         * sysdeps/i386/fpu/libm-test-ulps: Update.
6923 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
6925         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6926         * sysdeps/mips/bits/endian.h: Fix comments.
6928 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6930         [BZ #17996]
6931         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6932         (hdestroy_r): Likewise.
6933         (hsearch_r): Likewise.
6934         (__hcreate_r): Declare and use libc_hidden_proto.
6935         (__hdestroy_r): Likewise.
6936         (__hsearch_r): Likewise.
6937         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6938         (hcreate): Call __hcreate_r instead of hcreate_r.
6939         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6940         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6941         as weak alias of __hcreate_r.
6942         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6943         __hdestroy_r.
6944         (hsearch_r): Rename to __hsearch_r and define as weak alias of
6945         __hsearch_r.
6946         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6947         Remove variable.
6948         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6949         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6950         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6951         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6953 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6955         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6956         arena_lock into a single arena_get.
6958 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
6960         * dl-reloc.c: Inlucde libc-internal.h.
6961         (_dl_try_allocate_static_tls): Call ALIGN_UP.
6962         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6963         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6964         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6965         (grow_heap): Likewise.
6966         * malloc/malloc.c: Include libc-internal.h.
6967         (do_check_malloc): Call powerof2.
6968         (sysmalloc): Use pagesize. Call ALIGN_UP.
6969         (systrim): Use pagesize.
6970         (mremap_chunk): Use pagesize. Call ALIGN_UP.
6971         (__libc_valloc): Use pagesize.
6972         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6974 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6976         [BZ #17991]
6977         * include/sys/resource.h (__getrlimit64): Declare.  Use
6978         libc_hidden_proto.
6979         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6980         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
6981         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6982         getrlimit64.
6983         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
6984         __getrlimit64.
6985         [!getrlimit64] (getrlimit64): Define as weak alias of
6986         __getrlimit64.  Use libc_hidden_weak.
6987         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
6988         using __getrlimit64 not __new_getrlimit64.
6989         (__GI_getrlimit64): Likewise.
6990         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
6991         Likewise.
6992         (__GI_getrlimit64): Likewise.
6993         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
6994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
6995         (getrlimit): Add __getrlimit64 alias.
6996         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
6997         Likewise.
6998         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
6999         Remove variable.
7000         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7001         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7003 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7005         * libio/fileops.c: Add missing sys/mman.h
7006         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7008 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7010         * manual/math.texi (Errors in Math Functions): Clarify goals
7011         regarding inexact and underflow exceptions.
7013 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7015         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7016         * sysdeps/mips/memset.S: Ditto.
7018 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7020         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7022 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7024         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7025         (__v1longjmp): Remove versioned symbol.
7026         (__v1siglongjmp): Remove alias and versioned symbol.
7027         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7028         (__v2siglongjmp): Likewise.
7030 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7032         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7034 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7036         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7038 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7040         [BZ #17987]
7041         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7042         zero result does not depend on the sign resulting from
7043         subtraction.
7044         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7045         Likewise.
7046         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7047         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7048         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7049         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7050         * math/libm-test.inc (remquo_test_data): Add more tests.
7052 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7054         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7055         Problem reported by J William Piggott.
7057 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7059         [BZ #17978]
7060         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7061         products 4 * y and 2 * y where those would overflow.
7062         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7063         Likewise.
7064         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7065         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7066         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7067         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7068         * math/libm-test.inc (remquo_test_data): Add more tests.
7070         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7072         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7073         [defined _COMPILING_NEWLIB].
7074         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7075         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7077         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7078         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7080 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7082         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7083         acquired.
7085 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7087         [BZ #17792]
7088         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7089         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7090         HOST_STACK_END_ADDR): Likewise.
7092 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7094         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7095         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7096         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7098 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7100         * sysdeps/generic/c++-types.data: New file.
7101         * sysdeps/generic/ld.abilist: New file.
7102         * sysdeps/generic/libBrokenLocale.abilist: New file.
7103         * sysdeps/generic/libanl.abilist: New file.
7104         * sysdeps/generic/libc.abilist: New file.
7105         * sysdeps/generic/libcrypt.abilist: New file.
7106         * sysdeps/generic/libdl.abilist: New file.
7107         * sysdeps/generic/libm.abilist: New file.
7108         * sysdeps/generic/libpthread.abilist: New file.
7109         * sysdeps/generic/libresolv.abilist: New file.
7110         * sysdeps/generic/librt.abilist: New file.
7112 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7114         [BZ #17569]
7115         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7116         Compute absolute value of x as modified by fmod, not original
7117         value of x.
7118         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7119         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7120         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7121         RUN_TEST_ffI_f1_mod8.
7122         (remquo_test_data): Add more tests.
7124 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7126         * sysdeps/init_array/pt-crti.S: New file.
7128 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7130         [BZ #17967]
7131         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7132         __builtin_fmaf instead of relying on contraction of a * b + c.
7134 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7136         [BZ #17969]
7137         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7138         node.
7140 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7142         [BZ #17964]
7143         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7144         __builtin_fma instead of relying on contraction of a * b + c.
7146 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7148         * Makeconfig (ASFLAGS): Add -Werror=undef.
7149         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7150         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7151         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7153         * Makeconfig (after-link): New variable.
7154         (+link-pie, +link-pie-tests): Use it.
7155         (+link-static, +link-static-tests): Likewise.
7156         (+link, +link-tests): Likewise.
7157         * Makerules (build-module, build-module-asneeded): Likewise.
7158         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7159         Likewise.
7160         * elf/Makefile ($(objpfx)ld.so): Likewise.
7162 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7164         [BZ #17965]
7165         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7166         both struct timeval and struct timespec.
7168 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7170         [BZ #16560]
7171         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7172         and redefine.
7173         (__ieee754_exp2l): Do not multiply small fractional parts by
7174         M_LN2l.
7175         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7176         small argument.
7177         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7178         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7179         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7180         * math/auto-libm-test-in: Add more tests of exp2.
7181         * math/auto-libm-test-out: Regenerated.
7183 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7185         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7186         unaligned path.
7188 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7190         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7191         little endian.
7193 2015-02-12  Andreas Schwab  <schwab@suse.de>
7195         [BZ #15790]
7196         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7197         Filter out elision flags from value returned in kind.
7198         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7199         * nptl/tst-pthread-mutexattr.c: New file.
7201 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7203         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7204         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7205         into gnu-gnu, and update comment to refer to abi-tags.
7207 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7209         [BZ #15467]
7210         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7211         (__sincos): Set errno to EDOM for infinite argument.
7212         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7213         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7214         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7215         (__sincosl): Set errno to EDOM for infinite argument.
7216         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7217         (__sincosl): Set errno to EDOM for infinite argument.
7218         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7219         (__sincosl): Set errno to EDOM for infinite argument.
7220         * math/libm-test.inc (sincos_test_data): Test errno setting.
7222 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7224         * string/strxfrm_l.c: Remove #define STRCMP.
7225         * string/strcoll_l.c: Remove #define STRLEN.
7226         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7227         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7229 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7231         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7232         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7233         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7234         * sysdeps/mips/mips64/Makefile: ... here.
7235         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7236         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7237         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7238         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7239         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7240         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7241         * sysdeps/mips/mips64/n64/Implies: Likewise.
7243 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7245         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7246         <sys/time.h>, <string.h>, and <errno.h>.
7247         (dest_offset, dest_address, value, zero): Remove unused variables.
7248         (ldouble): Remove typedef.
7249         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7250         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7251         1).  Fix code style.
7252         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7253         (check): Function removed.
7254         (CHECK): New macro.
7255         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7256         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7257         Don't call set_sigaction_FP and remove_sigaction_FP here.
7258         (ldouble_test): Just use 'long double' as macro argument, no need for
7259         the 'ldouble' typedef.
7260         (do_test): Set up SIGFPE handler at start, using plain signal rather
7261         than sigaction.  Fix code style.
7263 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7265         [BZ #17949]
7266         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7267         jump label.
7269 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7271         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7272         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7274         * sysdeps/powerpc/configure.ac: Remove file.
7275         * sysdeps/powerpc/configure: Likewise.
7277         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7278         [sysdep_routines]: Remove wordcopy-power6 object.
7279         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7280         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7281         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7282         (__memmove_ppc32): Likewise.
7283         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7284         file.
7285         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7286         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7287         Remove preprocessor.
7289         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7290         [sysdep_routines]: Remove wide chars objects.
7291         [wcsmbs]: New rule for wide char objects.
7293         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7294         Remove wordcopy-power6 obejct.
7295         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7296         Use local call for wordcopy and memcpy symbols.
7297         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7298         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7299         implementation for loader.
7300         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7302         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7303         Remove wordcopy-power7 object.
7304         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7305         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7306         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7307         (_wordcopy_fwd_dest_aligned): Likewise.
7308         (_wordcopy_bwd_aligned): Likewise.
7309         (_wordcopy_bwd_dest_aligned): Likewise.
7311         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7312         Rewrite to call __memmove_ppc instead of include default
7313         implementation.
7315         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7316         Remove wide chars objects.
7317         [wcsmbs]: New rule for wide char objects.
7319 2015-02-09  Andreas Schwab  <schwab@suse.de>
7321         [BZ #17912]
7322         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7323         in terms of __O_DIRECTORY.
7325 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7327         * time/getdate.c: Include <stdbool.h>.
7328         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7329         call PTR_MANGLE.
7330         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7331         PTR_DEMANGLE.
7333 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7335         Add ersatz _Static_assert on older C hosts
7336         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7337         pre-C11 C platform that is not known to support _Static_assert.
7339 2015-02-07  Richard Braun  <rbraun@sceen.net>
7341         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7342         sigstate.
7343         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7345 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7347         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7348         priority against unexistent AIO_PRIO_DELTA_MAX.
7349         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7350         instead of int.
7351         * misc/fchflags.c (fchflags): Likewise.
7352         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7353         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7354         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7355         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7356         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7357         Declare macros.
7358         [__USE_MISC] (chflags, fchflags): Declare functions.
7359         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7360         EINVAL when nfds is greater than FD_SETSIZE.
7361         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7362         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7363         45.
7364         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7365         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7366         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7367         MACH_RCV_TIMED_OUT.
7368         * hurd/hurd/signal.h (_hurd_self_sigstate,
7369         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7370         Explicit casts from void *.
7371         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7372         * abi-tags: Rename gnu-gnu os into gnu.
7374         [BZ #4719]
7375         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7376         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7377         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7378         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7379         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7380         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7382         [BZ #17944]
7383         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7384         duplicates ADDR->sun_path with sockaddr LEN limitation.
7385         * sysdeps/mach/hurd/connect.c: Include <string.h>
7386         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7387         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7388         * sysdeps/mach/hurd/sendto.c: Likewise.
7389         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7390         implementing it by hand.
7392 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7394         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7395         Use sfi_breg on ldr.
7396         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7397         Likewise.
7399         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7400         it's defined.
7401         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7402         Test SIGSETXID only if it's defined.
7404         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7406         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7407         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7409         * nptl/tst-align2.c: Moved ...
7410         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7411         * nptl/Makefile (tests): Remove tst-align2.
7412         * sysdeps/unix/sysv/linux/Makefile
7413         [$(subdir) = nptl] (tests): Add tst-align-clone.
7414         * nptl/tst-getpid1.c: Moved ...
7415         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7416         * nptl/tst-getpid2.c: Moved ...
7417         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7418         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7419         * sysdeps/unix/sysv/linux/Makefile
7420         [$(subdir) = nptl] (tests): ... here.
7421         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7422         * sysdeps/unix/sysv/linux/Makefile
7423         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7425         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7426         Drop trailing \n from perror argument.  Use return rather than exit.
7428         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7429         on [SA_SIGINFO].
7430         * nptl/tst-cancel21.c (do_test): Likewise.
7431         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7432         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7433         [!SA_SIGINFO]: Make it a stub test.
7435         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7436         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7438         * posix/tst-getlogin.c: Move to ...
7439         * login/tst-getlogin.c: ... here.
7440         * posix/Makefile (tests): Move tst-getlogin to ...
7441         * login/Makefile (tests): ... here.
7443         * libio/tst-atime.c (do_test): Move local variables SV and E
7444         inside [ST_NOATIME] conditional.
7446         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7448         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7450         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7451         (wait_code): New function replaces macro.
7452         Call nanosleep rather than syscall.
7454         * nptl/pt-system.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-longjmp.c: Rewritten.  Put everything under
7459         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7460         Use IFUNC to redirect when possible.
7462         * nptl/pt-fork.c: Rewritten.  Put everything under
7463         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7464         Use IFUNC to redirect when possible.
7465         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7467         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7468         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7469         unconditionally nowadays.  This included the only reference to
7470         __vdso_clock_gettime that appears outside libc proper.
7471         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7472         Remove version set (containing only __vdso_clock_gettime).
7473         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7474         Add attribute_hidden.
7475         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7476         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7477         libc_hidden_data_def.
7478         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7479         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7481         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7482         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7483         setrpcent, and getrpcport to ...
7484         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7485         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7486         getrpcbynumber_r, and getrpcent_r to ...
7487         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7488         * inet/getrpcbyname.c: Moved ...
7489         * sunrpc/getrpcbyname.c: ... here.
7490         * inet/getrpcbyname_r.c: Moved ...
7491         * sunrpc/getrpcbyname_r.c: ... here.
7492         * inet/getrpcbynumber.c: Moved ...
7493         * sunrpc/getrpcbynumber.c: ... here.
7494         * inet/getrpcbynumber_r.c: Moved ...
7495         * sunrpc/getrpcbynumber_r.c: ... here.
7496         * inet/getrpcent.c: Moved ...
7497         * sunrpc/getrpcent.c: ... here.
7498         * inet/getrpcent_r.c: Moved ...
7499         * sunrpc/getrpcent_r.c: ... here.
7500         * inet/Makefile (routines): Move those to ...
7501         * sunrpc/Makefile (routines): ... here.
7502         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7503         the $(subdirs) list.
7504         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
7505         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7506         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7507         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7509         * elf/Makefile (routines): Include $(all-dl-routines), not just
7510         $(dl-routines).
7511         (rtld-routines): Likewise.  Use = rather than :=.
7512         * sysdeps/aarch64/Makefile [$(subdir) = elf]
7513         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7514         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7515         * sysdeps/arm/Makefile: Likewise.
7516         * sysdeps/i386/Makefile: Likewise.
7517         * sysdeps/x86_64/Makefile: Likewise.
7518         * sysdeps/hppa/Makefile [$(subdir) = elf]
7519         (sysdep_routines, sysdep-rtld-routines): Don't add
7520         $(sysdep-dl-routines) to these.
7521         * sysdeps/ia64/Makefile: Likewise.
7522         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7523         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7524         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7525         Don't add dl-static to these; sysdep-dl-routines alone is enough.
7526         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7527         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7528         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7529         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7530         * sysdeps/powerpc/Makefile [$(subdir) = elf]
7531         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7532         these; sysdep-dl-routines alone is enough.
7534 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
7536         [BZ #17932]
7537         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7538         where multiplication results in zero and third argument is finite
7539         and nonzero.
7540         * math/auto-libm-test-in: Add more tests of fma.
7541         * math/auto-libm-test-out: Regenerated.
7543         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7544         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7545         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7546         (_FP_CMP_EQ): Likewise.
7547         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7549         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7550         extra argument CHECK_NAN.  Redefine as wrapper around
7551         _FP_EXTEND_CNAN.
7553 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
7555         * version.h (RELEASE): Set to "stable".
7556         (VERSION): Set to "2.21"
7557         * include/features.h (__GLIBC_MINOR__): Set to 21.
7559         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7561 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7562             Paul Eggert  <eggert@cs.ucla.edu>
7564         [BZ #16618]
7565         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7566         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7567         size in bytes. Store needed elements in wpmax. Use needed size
7568         in bytes for extend_alloca.
7570 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
7572         * manual/install.texi: Latest tested versions are GCC 4.9.2,
7573         binutls 2.25, and texinfo 5.2.
7574         * INSTALL: Regenerate.
7575         * sysdeps/nios2/configure: Regenerate.
7576         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7577         * manual/contrib.texi: Update.
7578         * po/be.po: Update.
7579         * po/bg.po: Update.
7580         * po/ca.po: Update.
7581         * po/cs.po: Update.
7582         * po/da.po: Update.
7583         * po/de.po: Update.
7584         * po/el.po: Update.
7585         * po/eo.po: Update.
7586         * po/es.po: Update.
7587         * po/fi.po: Update.
7588         * po/fr.po: Update.
7589         * po/gl.po: Update.
7590         * po/hr.po: Update.
7591         * po/hu.po: Update.
7592         * po/ia.po: Update.
7593         * po/id.po: Update.
7594         * po/it.po: Update.
7595         * po/ja.po: Update.
7596         * po/ko.po: Update.
7597         * po/lt.po: Update.
7598         * po/nb.po: Update.
7599         * po/nl.po: Update.
7600         * po/pl.po: Update.
7601         * po/pt_BR.po: Update.
7602         * po/ru.po: Update.
7603         * po/rw.po: Update.
7604         * po/sk.po: Update.
7605         * po/sl.po: Update.
7606         * po/sv.po: Update.
7607         * po/tr.po: Update.
7608         * po/uk.po: Update.
7609         * po/vi.po: Update.
7610         * po/zh_CN.po: Update.
7611         * po/zh_TW.po: Update.
7613         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
7614         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
7615         * sysdeps/hppa/dl-irel.h: Remove #warning.
7616         * sysdeps/hppa/entry.h: Provide prototype for
7617         __canonicalize_funcptr_for_compare and cast argument.
7618         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
7619         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
7620         * sysdeps/hppa/sotruss-lib.c: New file.
7621         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
7622         (atomic_compare_and_exchange_val_acq): Use __typeof__.
7623         (atomic_compare_and_exchange_bool_acq): Likewise.
7624         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
7625         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
7627         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
7628         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
7629         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
7631 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7633         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
7634         called function in non-PIC case.
7636 2015-01-31  David S. Miller  <davem@davemloft.net>
7638         * sysdeps/sparc/sparc32/bits/atomic.h
7639         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
7640         unlock not after it.
7641         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7642         volatile register usage warnings from the compiler.
7644         * sysdeps/sparc/nptl/sem_init.c: Delete.
7645         * sysdeps/sparc/nptl/sem_post.c: Delete.
7646         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
7647         * sysdeps/sparc/nptl/sem_wait.c: Delete.
7648         * sysdeps/sparc/sparc32/sem_init.c: New file.
7649         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
7650         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
7651         padding explicitly initialized.
7652         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
7653         padding for in-semaphore spinlock.
7654         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
7655         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
7656         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
7657         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
7658         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
7659         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
7660         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
7661         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
7662         version.
7663         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
7664         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
7666 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7668         [BZ #17801]
7669         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7670         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7671         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7672         New.
7673         (index_AVX_Fast_Unaligned_Load): Likewise.
7674         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7675         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7676         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7677         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7678         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7679         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7680         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7681         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7682         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7684 2015-01-29  Andreas Schwab  <schwab@suse.de>
7686         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7688 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
7690         [BZ #17892]
7691         * nscd/nscd_stat.c (send_stats): Initialize DATA.
7693 2015-01-28  Martin Sebor  <msebor@redhat.com>
7695         * math/README.libm-test: Clarify. Add "How to read the test output."
7697 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
7699         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7700         Define to 0.
7702 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
7704         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7705         (__HAVE_64B_ATOMICS): Define to 0.
7707 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7709         [BZ #17885]
7710         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7711         value to set as new flag.
7713         [BZ #16576]
7714         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7715         and use _ARCH_PPCSQ instead.
7716         (__ieee754_sqrt): Likewise.
7717         (__ieee754_sqrtf): Likewise.
7718         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7719         _ARCH_PPCSQ is defined.
7720         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7721         fsqrt instruction.
7722         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7723         _ARCH_PPCSQ is defined.
7724         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7725         fsqrts instruction.
7726         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7728 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7730         * iconv/loop.c: Suppress array out of bound warning caused by GCC
7731         bug (GCC BZ #64739).
7733 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
7735         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7736         Mark _retval as used.
7737         (lll_futex_wake_unlock): Likewise.
7738         (lll_futex_timed_wait_requeue_pi): Likewise.
7740         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7741         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7742         register variables.
7744         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7745         libm_hidden_def.
7747         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7748         (__bswap_64): Mark as __always_inline.
7750 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7752         [BZ #15378]
7753         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7754         when none of the search directories exist.
7756 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7758         [BZ #17869]
7759         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7760         power8 in .machine directive.
7762         [BZ #17868]
7763         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7764         set dependency from opd value.
7766 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7768         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7769         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7770         architecture.
7772 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7774         [BZ #17870]
7775         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7776         with uint64_t.
7777         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7778         (uint64_t) 1.
7779         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7780         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7781         Replace 1UL with (uint64_t) 1.
7782         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7783         int with uint64_t.
7785 2015-01-23  Roland McGrath  <roland@hack.frob.com>
7787         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7788         (if_freenameindex): Likewise.
7790         * resource/getrlimit64.c: Add missing libc_hidden_def.
7792 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
7794         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7795         __label__.
7796         (_FP_FMA): Likewise.
7797         (_FP_TO_INT_ROUND): Likewise.
7798         (_FP_FROM_INT): Likewise.
7800 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7802         [BZ #16418]
7803         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7804         Make code racy and cancel safe.
7806 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
7808         * sysdeps/arm/unwind-resume.h: Fix copyright year.
7809         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7810         attribution.
7812         * pwd/tst-getpw.c: Rewrite.
7814         [BZ #17702]
7815         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7816         (modules-names): Add moddummy1 and moddummy2.
7817         ($(objpfx)tst-rec-dlopen): Define.
7818         * dlfcn/moddummy1.c: New file.
7819         * dlfcn/moddummy2.c: New file.
7820         * dlfcn/tst-rec-dlopen.c: New file.
7821         * elf/dl-cache.c (_dl_load_cache_lookup):
7822         Return char*. Copy result with alloca/strcpy/strdup.
7823         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7824         returns char*. Free cached. If not saving realname
7825         free cached.
7826         * elf/dl-open.c (dl_open_worker): Do not assert that
7827         _r_debug->r_state is RT_CONSISTENT.
7828         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7829         returns char*.
7831 2015-01-21  Torvald Riegel  <triegel@redhat.com>
7832             Carlos O'Donell  <carlos@redhat.com>
7834         [BZ #12674]
7835         * nptl/sem_waitcommon.c: New file.
7836         * nptl/sem_wait.c: Include sem_waitcommon.c.
7837         (__sem_wait_cleanup, do_futex_wait): Remove.
7838         (__new_sem_wait): Adapt.
7839         (__new_sem_trywait): New function.
7840         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7841         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7842         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7843         (sem_timedwait): Adapt.
7844         * nptl/sem_post.c (__new_sem_post): Adapt.
7845         (futex_wake): New function.
7846         (__old_sem_post): Add release MO fence.
7847         * nptl/sem_open.c (sem_open): Adapt.
7848         * nptl/sem_init.c (__new_sem_init): Adapt.
7849         (futex_private_if_supported): New function.
7850         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7851         (__old_sem_getvalue): Add using previous code.
7852         * sysdeps/nptl/internaltypes.h: Adapt.
7853         * nptl/tst-sem13.c (do_test): Adapt.
7854         * nptl/tst-sem11.c (main): Adapt.
7855         * nptl/sem_trywait.c: Remove.
7856         * nptl/DESIGN-sem.txt: Remove.
7857         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7858         (gen-as-const-headers): Remove structsem.sym.
7859         * nptl/structsem.sym: Remove.
7860         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7861         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7862         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7863         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7864         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7865         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7866         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7867         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7868         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7869         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7870         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7871         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7872         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7873         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7874         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7875         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7876         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7877         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7878         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7879         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7880         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7881         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7883 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
7885         * INSTALL: Regenerated.
7887         * po/libc.pot: Regenerated.
7889 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
7890             Sandra Loosemore  <sandra@codesourcery.com>
7891             Andrew Jenner  <andrew@codesourcery.com>
7892             Joseph Myers  <joseph@codesourcery.com>
7893             Nathan Sidwell  <nathan@codesourcery.com>
7895         * NEWS: Mention new Nios II port.
7896         * sysdeps/nios2/Implies: New file.
7897         * sysdeps/nios2/Makefile: New file.
7898         * sysdeps/nios2/Subdirs: New file.
7899         * sysdeps/nios2/Versions: New file.
7900         * sysdeps/nios2/__longjmp.S: New file.
7901         * sysdeps/nios2/abort-instr.h: New file.
7902         * sysdeps/nios2/backtrace.c: New file.
7903         * sysdeps/nios2/bits/endian.h: New file.
7904         * sysdeps/nios2/bits/fenv.h: New file.
7905         * sysdeps/nios2/bits/link.h: New file.
7906         * sysdeps/nios2/bits/setjmp.h: New file.
7907         * sysdeps/nios2/bsd-_setjmp.S: New file.
7908         * sysdeps/nios2/bsd-setjmp.S: New file.
7909         * sysdeps/nios2/configure: New generated file.
7910         * sysdeps/nios2/configure.ac: New file.
7911         * sysdeps/nios2/crti.S: New file.
7912         * sysdeps/nios2/crtn.S: New file.
7913         * sysdeps/nios2/dl-init.c: New file.
7914         * sysdeps/nios2/dl-machine.h: New file.
7915         * sysdeps/nios2/dl-sysdep.h: New file.
7916         * sysdeps/nios2/dl-tls.h: New file.
7917         * sysdeps/nios2/dl-trampoline.S: New file.
7918         * sysdeps/nios2/gccframe.h: New file.
7919         * sysdeps/nios2/gmp-mparam.h: New file.
7920         * sysdeps/nios2/jmpbuf-offsets.h: New file.
7921         * sysdeps/nios2/jmpbuf-unwind.h: New file.
7922         * sysdeps/nios2/ldsodefs.h: New file.
7923         * sysdeps/nios2/libc-tls.c: New file.
7924         * sysdeps/nios2/libm-test-ulps: New file.
7925         * sysdeps/nios2/machine-gmon.h: New file.
7926         * sysdeps/nios2/math-tests.h: New file.
7927         * sysdeps/nios2/math_private.h: New file.
7928         * sysdeps/nios2/memusage.h: New file.
7929         * sysdeps/nios2/nptl/Makefile: New file.
7930         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7931         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7932         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7933         * sysdeps/nios2/nptl/pthreaddef.h: New file.
7934         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7935         * sysdeps/nios2/nptl/tls.h: New file.
7936         * sysdeps/nios2/preconfigure: New file.
7937         * sysdeps/nios2/s_fma.c: New file.
7938         * sysdeps/nios2/s_fmaf.c: New file.
7939         * sysdeps/nios2/setjmp.S: New file.
7940         * sysdeps/nios2/sfp-machine.h: New file.
7941         * sysdeps/nios2/sotruss-lib.c: New file.
7942         * sysdeps/nios2/stackguard-macros.h: New file.
7943         * sysdeps/nios2/stackinfo.h: New file.
7944         * sysdeps/nios2/start.S: New file.
7945         * sysdeps/nios2/sysdep.h: New file.
7946         * sysdeps/nios2/tls-macros.h: New file.
7947         * sysdeps/nios2/tst-audit.h: New file.
7948         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7949         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7950         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7951         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7952         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7953         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7954         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7955         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7956         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7957         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7958         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7959         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7960         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7961         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7962         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7963         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7964         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7965         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7966         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7967         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7968         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7969         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7970         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7971         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7972         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7973         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7974         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7975         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7976         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7977         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7978         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7979         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7980         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7981         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7982         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7983         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
7984         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
7985         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
7986         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
7987         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
7988         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
7989         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
7990         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
7991         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
7993 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7995         [BZ #17844]
7996         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
7997         (getutent): Use weak_alias in non SHARED case
7998         and default_symbol_version in SHARED case.
7999         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8000         (getutent_r, pututline): Likewise.
8001         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8002         (getutid): Likewise.
8003         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8004         (getutid_r): Likewise.
8005         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8006         (getutline): Likewise.
8007         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8008         (getutline_r): Likewise.
8009         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8010         (updwtmp): Likewise.
8012 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8014         [BZ #17848]
8015         * sysdeps/s390/s390-32/memcmp.S
8016         (memcmp_g5): Rename to __memcmp_g5.
8017         * sysdeps/s390/s390-32/memcpy.S
8018         (memcpy_g5): Rename to __memcpy_g5.
8019         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8020         (memcpy_mvcle) Rename to __memcpy_mvcle.
8021         * sysdeps/s390/s390-32/memset.S
8022         (memset_g5): Rename to __memset_g5.
8023         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8024         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8025         and use prefixed functions.
8026         * sysdeps/s390/s390-32/multiarch/memcmp.S
8027         (memcmp_z196): Rename to __memcmp_z196.
8028         (memcmp_z10): Rename to __memcmp_z10.
8029         (memcmp): Set alias to __memcmp_g5.
8030         (bcmp): Set alias to __memcmp_g5.
8031         * sysdeps/s390/s390-32/multiarch/memcpy.S
8032         (memcpy_z196): Rename to __memcpy_z196.
8033         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8034         (memcpy_z10): Rename to __memcpy_z10.
8035         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8036         (memcpy): Set alias to __memcpy_g5.
8037         * sysdeps/s390/s390-32/multiarch/memset.S
8038         (memset_z196): Rename to __memset_z196.
8039         Jump to __memset_mvcle instead of memset_mvcle.
8040         (memset_z10): Rename to __memset_z10.
8041         Jump to __memset_mvcle instead of memset_mvcle.
8042         (memset_mvcle) Rename to __memset_mvcle.
8043         (memset): Set alias to __memset_g5.
8044         * sysdeps/s390/s390-64/memcmp.S
8045         (memcmp_z900): Rename to __memcmp_z900.
8046         * sysdeps/s390/s390-64/memcpy.S
8047         (memcpy_z900): Rename to __memcpy_z900.
8048         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8049         (memcpy_mvcle) Rename to __memcpy_mvcle.
8050         * sysdeps/s390/s390-64/memset.S
8051         (memset_z900): Rename to __memset_z900.
8052         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8053         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8054         and use prefixed functions.
8055         * sysdeps/s390/s390-64/multiarch/memcmp.S
8056         (memcmp_z196): Rename to __memcmp_z196.
8057         (memcmp_z10): Rename to __memcmp_z10.
8058         (memcmp): Set alias to __memcmp_z900.
8059         (bcmp): Set alias to __memcmp_z900.
8060         * sysdeps/s390/s390-64/multiarch/memcpy.S
8061         (memcpy_z196): Rename to __memcpy_z196.
8062         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8063         (memcpy_z10): Rename to __memcpy_z10.
8064         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8065         (memcpy): Set alias to __memcpy_z900.
8066         * sysdeps/s390/s390-64/multiarch/memset.S
8067         (memset_z196): Rename to __memset_z196.
8068         Jump to __memset_mvcle instead of memset_mvcle.
8069         (memset_z10): Rename to __memset_z10.
8070         Jump to __memset_mvcle instead of memset_mvcle.
8071         (memset_mvcle) Rename to __memset_mvcle.
8072         (memset): Set alias to __memset_z900.
8074 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8076         [BZ #17748]
8077         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8078         __fesetenv instead of fesetenv.
8080 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8082         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8083         macro.
8085 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8087         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8088         regression on LE.
8090         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8091         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8092         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8093         strncmp-power8 object.
8094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8095         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8096         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8097         * NEWS: Update.
8099 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8100             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8102         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8103         trailing byte check.
8105 2015-01-13  David S. Miller  <davem@davemloft.net>
8107         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8109 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8111         * login/logout.c (logout): Use memset rather than bzero.
8112         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8113         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8114         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8115         (_gethtbyaddr): Likewise.
8116         * locale/programs/simple-hash.c (bcopy): Macro removed.
8118 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8120         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8121         Add strcmp-power8 object.
8122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8123         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8124         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8125         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8126         __strcmp_power8 implementation.
8127         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8128         * NEWS: Update.
8130         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8131         Add strncpy-power8 and stpncpy-power8 objects.
8132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8133         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8134         implementations.
8135         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8136         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8137         __stpncpy_power8 implementation.
8138         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8139         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8140         __strncpy_power8 implementation.
8141         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8142         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8143         * NEWS: Update.
8145         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8146         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8147         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8149         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8150         strncat-power8 object.
8151         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8152         __strcat_power8 implementation.
8153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8154         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8155         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8156         optimized strcat for power8.
8158         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8159         strcpy-power8 and stpcpy-power8 objects.
8160         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8161         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8162         implementations.
8163         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8164         multiarch stpcpy implementation for POWER8.
8165         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8166         multiarch strcpy implementation for POWER8.
8167         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8168         __strcpy_power8 function.
8169         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8170         stpcpy for POWER8.
8171         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8172         strcpy for POWER8.
8173         * NEWS: Update.
8175 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8177         [BZ #16009]
8178         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8179         weights and rules. Use do_xfrm_cached if data fits in cache,
8180         do_xfrm otherwise.  Moved former main loop to...
8181         * (do_xfrm_cached): New function.
8182         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8183         find_idx, find_position and stack_push.
8184         * (find_idx): New function.
8185         * (find_position): Likewise.
8186         * localedata/sort-test.sh: Added test run for do_xfrm.
8187         * localedata/xfrm-test.c (main): Added command line option
8188         -nocache to run the test with strings that are too large for
8189         the STRXFRM cache.
8191 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8193         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8194         variable to lll_futex_wake call, not the value itself.
8196 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8198         [BZ #17803]
8199         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8200         twom64.  Adjust value to 0x1p-64L.
8201         (__scalblnl): Only return standard underflowing result for K <=
8202         -64 not K <= -63; adjust exponent for underflowing result by 64
8203         not 63.
8204         * math/libm-test.inc (scalbn_test_data): Add more tests.
8205         (scalbln_test_data): Likewise.
8207         [BZ #17834]
8208         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8209         0x1p63L.
8210         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8211         not HX.
8212         * math/libm-test.inc (scalbn_test_data): Add more tests.
8213         (scalbln_test_data): Likewise.
8215 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8216             Stefani Seibold  <stefani@seibold.net>
8218         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8219         (sysdep_routines): Add dl-vdso here, ...
8220         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8221         (sysdep_routines): ... not here.
8222         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8223         fallback when vDSO is not presented.
8224         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8225         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8226         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8227         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8228         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8229         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8230         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8231         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8232         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8233         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8234         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8235         fallback configurable symbol when vDSO is not available.
8236         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8237         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8238         be able to redefine fallback symbol when vDSO is not available.
8239         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8240         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8242 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8244         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8245         (TLS_INIT_TP): Add tm_capable initialization.
8246         (TLS_DEFINE_INIT_TP): Likewise.
8247         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8248         TCB.
8249         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8250         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8251         calculation.
8252         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8253         transactoion is lock elision is built and TCB tm_capable is set.
8254         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8256         (INTERNAL_SYSCALL_NCS): Likewise.
8257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8258         (INTERNAL_SYSCALL_NCS): Likewise.
8259         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8261         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8262         for powerpc.
8263         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8264         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8265         and remove it for 32 bits case.
8266         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8267         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8268         initialization.
8269         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8270         Disable lock elision with rdlocks if elision is not available.
8272         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8273         (sysdep_routines): Add lock elision objects.
8274         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8275         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8276         [pthread_mutex_t] (__elision): Add field.
8277         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8278         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8279         elision definitions for powerpc.
8280         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8281         implementation of lock elision for powerpc.
8282         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8283         implementation of timed lock elision for powerpc.
8284         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8285         implementation of trylock with lock elision for powerpc.
8286         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8287         implementaion of unlock for lock elision for powerpc.
8288         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8289         automatic enable lock elision for mutexes.
8290         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8291         transaction execution definitions for powerpc.
8292         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8293         definitions.
8294         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8295         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8296         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8297         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8298         * NEWS: Update.
8300 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8302         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8303         for #include of <shm-directory.h>.
8305 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8307         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8308         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8310 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8312         [BZ #17791]
8313         * NEWS: Mention bug fix.
8314         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8315         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8316         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8318 2015-01-09  Torvald Riegel <triegel@redhat.com>
8320         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8322 2015-01-09  Torvald Riegel <triegel@redhat.com>
8324         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8326 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8328         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8329         pointer and cast to uintptr_t.
8331 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8333         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8334         removed.
8335         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8337 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8339         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8340         of 0.
8342 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8344         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8345         <nptl/pthreadP.h> instead.
8346         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8348         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8349         already defined.
8350         [__SIGRTMIN] (init): Function removed.
8351         [__SIGRTMIN] (initialized): Variable removed.
8352         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8353         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8354         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8355         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8356         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8357         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8358         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8359         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8360         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8361         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8362         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8363         * sysdeps/nptl/allocrtsig.c: New file.
8364         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8365         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8366         * sysdeps/generic/testrtsig.h: File removed.
8368         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8369         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8371         * nptl/nptl-init.c (pthread_functions): Conditionalize
8372         .ptr__nptl_setxid initialization on [SIGSETXID].
8374         * sysdeps/nptl/sys/procfs.h: New file.
8375         * nptl_db/Makefile (headers): Add it.
8376         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8378         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8379         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8380         * nptl/pthread_attr_setaffinity.c: Include it.
8381         * nptl/pthread_setattr_default_np.c: Likewise.
8382         * nptl/check-cpuset.h: New file.
8384 2015-01-08  Richard Henderson  <rth@redhat.com>
8386         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8387         (CFLAGS-tst-execstack-prog.c): Likewise.
8388         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8390 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8391             Sandra Loosemore  <sandra@codesourcery.com>
8392             Andrew Jenner  <andrew@codesourcery.com>
8393             Joseph Myers  <joseph@codesourcery.com>
8394             Nathan Sidwell  <nathan@codesourcery.com>
8396         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8397         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8398         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8399         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8400         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8401         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8402         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8403         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8404         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8405         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8406         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8407         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8408         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8409         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8410         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8411         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8412         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8414 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8416         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8417         timespec struct member in syscall macro.
8418         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8419         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8420         first timeval struct member in syscall macro.
8421         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8423 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8425         [BZ #17748]
8426         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8427         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8428         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8429         __feupdateenv and define as weak alias of __feupdateenv.  Use
8430         libm_hidden_weak.
8431         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8432         libm_hidden_def.
8433         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8434         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8435         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8436         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8437         libm_hidden_def.
8438         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8439         __feupdateenv and define as weak alias of __feupdateenv.  Use
8440         libm_hidden_weak.
8441         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8442         libm_hidden_def.
8443         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8444         __feupdateenv and define as weak alias of __feupdateenv.  Use
8445         libm_hidden_weak.
8446         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8447         libm_hidden_def.
8448         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8449         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8450         (__feupdateenv): Likewise.
8451         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8452         __feupdateenv and define as weak alias of __feupdateenv.  Use
8453         libm_hidden_weak.
8454         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8455         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8456         libm_hidden_def.
8457         * sysdeps/tile/math_private.h (__feupdateenv): New inline
8458         function.
8459         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8460         libm_hidden_def.
8461         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8462         __feupdateenv instead of feupdateenv.
8463         (default_libc_feupdateenv_test): Likewise.
8464         (libc_feresetround_ctx): Likewise.
8466 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8468         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8469         prototype.
8471 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
8473         * posix/regcomp.c (parse_bracket_exp): Initialize type to
8474         COLL_SYM in a couple of places to avoid uninitialized variable
8475         wanings on tilegx gcc 4.8.2.
8477 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8479         * sysdeps/aarch64/strcpy.S: New file.
8480         * sysdeps/aarch64/stpcpy.S: New file.
8481         * NEWS: Updated.
8483 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8485         * sysdeps/aarch64/strrchr.S: New file.
8486         * NEWS: Updated.
8488 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
8490         [BZ #17658]
8491         * stdlib/setenv.c: Fix memory leak when setting large,
8492         duplicate string.
8494 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
8496         [BZ #17273]
8497         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8498         and tabs from buffer before parsing fstab entry.
8499         * misc/tst-mntent.c (main): Add test for mount entry with
8500         trailing spaces and tabs.
8502 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
8504         [BZ #17748]
8505         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
8506         * math/fesetround.c (fesetround): Rename to __fesetround and
8507         define as weak alias of __fesetround.  Use libm_hidden_weak.
8508         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8509         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8510         * sysdeps/arm/fesetround.c (fesetround): Likewise.
8511         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8512         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8513         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8514         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8515         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8516         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8517         __fesetround_inline.
8518         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8519         __fesetround_inline instead of __fesetround.
8520         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8521         __fesetround and define as weak alias of __fesetround.  Use
8522         libm_hidden_weak.  Call __fesetround_inline instead of
8523         __fesetround.
8524         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8525         __fesetround and define as weak alias of __fesetround.  Use
8526         libm_hidden_weak.
8527         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8528         Likewise.
8529         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8530         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8531         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8532         * sysdeps/tile/math_private.h (__fesetround): New inline function.
8533         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8534         __fesetround and define as weak alias of __fesetround.  Use
8535         libm_hidden_weak.
8536         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8537         __fesetround instead of fesetround.
8538         (default_libc_feholdexcept_setround): Likewise.
8539         (libc_feholdsetround_ctx): Likewise.
8540         (libc_feholdsetround_noex_ctx): Likewise.
8542         [BZ #17748]
8543         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8544         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8545         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8546         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8547         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8548         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8549         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8550         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8551         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8552         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8553         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8554         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8555         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8556         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8557         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8558         libm_hidden_def.
8559         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8560         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8561         Likewise.
8562         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8563         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8564         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8565         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8566         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8567         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8568         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8569         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8570         __fesetenv instead of fesetenv.
8571         (libc_feresetround_noex_ctx): Likewise.
8572         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8573         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8574         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8575         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8576         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8577         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8578         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8579         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8580         (__feupdateenv): Likewise.
8581         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8582         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8583         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8584         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8586 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8588         [BZ #17806]
8589         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8590         addresses have been freed.
8592 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8594         * resolv/res_init.c (__res_vinit): Improve comments about nserv
8595         and nservall.
8597 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
8599         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8600         Clean up check_pf allocation pattern. addresses
8602 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8604         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8605         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8606         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8607         * nptl/pthread_exit.c (__pthread_exit): Likewise.
8608         * nptl/pthread_join.c (pthread_join): Likewise.
8609         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8610         * sysdeps/posix/waitid.c (__waitid): Likewise.
8611         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8612         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8613         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8614         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8615         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8616         Likewise.
8617         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8618         (__libc_pread64): Likewise.
8619         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8620         (__libc_pwrite): Likewise.
8621         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8622         (__libc_pwrite64): Likewsie.
8623         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8624         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8625         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8626         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8627         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8628         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8629         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8631         Likewise.
8632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8633         (__libc_pread64): Likewise.
8634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
8635         Likewise.
8636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8637         (__libc_pwrite64): Likewise.
8638         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8639         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8640         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
8641         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8642         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8643         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8644         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
8645         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8646         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8647         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8648         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
8649         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8650         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8651         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
8652         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8653         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8654         Likewise.
8656 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8658         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
8659         (CFLAGS-test-double.c): Likewise.
8660         (CFLAGS-test-ldouble.c): Likewise.
8661         (CPPFLAGS-test-ifloat.c): Likewise.
8662         (CPPFLAGS-test-idouble.c): Likewise.
8663         (CPPFLAGS-test-ildoubl.c): Likewise.
8664         (CFLAGS-test-test-fenv.c): Remove variable.
8665         (CFLAGS-test-misc.c): Likewise.
8667 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
8669         [BZ #17797]
8670         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8671         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8672         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8673         CLOCKS_PER_SEC == 1000000.
8674         * time/clocktest.c (main): Replace %ld with %jd and cast to
8675         intmax_t.
8677 2015-01-05  Roland McGrath  <roland@hack.frob.com>
8679         * sysdeps/generic/unwind-resume.h: New file.
8680         * sysdeps/gnu/unwind-resume.c: Include it.
8681         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8682         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8683         argument list.
8684         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8685         global rather than static.
8686         (_Unwind_Resume): Update user.
8687         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8688         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
8689         rather than static.  Add __attribute__ ((cold)).
8690         (_Unwind_Resume, __gcc_personality_v0): Update callers.
8691         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8692         * sysdeps/arm/arm-unwind-resume.S: New file.
8693         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8694         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8695         * sysdeps/arm/Makefile [$(subdir) = csu]
8696         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8697         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8698         Add rt-arm-unwind-resume.
8699         [$(subdir) = nptl]
8700         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8701         Add pt-arm-unwind-resume.
8702         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8703         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8705 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8707         [BZ #17748]
8708         * include/fenv.h (__feholdexcept): Declare.  Use
8709         libm_hidden_proto.
8710         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8711         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
8712         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8713         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8714         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8715         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8716         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8717         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8718         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8719         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8720         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8721         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8722         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8723         (feholdexcept): Likewise.
8724         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8725         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8726         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8727         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8728         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8729         __feholdexcept instead of feholdexcept.
8730         (default_libc_feholdexcept_setround): Likewise.
8732 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8734         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8735         to avoid using stl/str to align destination.
8737 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8739         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8741 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8743         [BZ #17796]
8744         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8745         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8746         Define as weak alias not strong alias.
8748 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8750         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8751         bltzal with addiupc.
8752         (RTLD_START): Ditto.
8754 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
8756         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8757         for __vdso_* functions in declarations.
8758         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8759         definitions.
8760         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8761         INTERNAL_VSYSCALL): Use struct return types to check for error.
8763         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8764         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8765         function with cast from llround().
8766         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8767         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8768         Define.
8770 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8772         [BZ #17793]
8773         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8774         Define as weak alias not strong alias.
8776         [BZ #17635]
8777         * ctype/ctype-c99.c: New file.  isblank implementation moved from
8778         ...
8779         * ctype/ctype-extn.c: ... here.
8780         (__isblank_l): Move to ...
8781         * ctype/ctype-c99_l.c: ... here.  New file.
8782         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8783         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8784         Remove variable.
8785         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8786         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8787         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8788         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8789         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8791         [BZ #17777]
8792         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8793         (posix_fadvise64): Define as weak alias not strong alias.
8794         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8795         (posix_fallocate64): Likewise.
8796         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8797         Remove variable.
8798         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8799         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8800         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8801         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8802         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8804 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
8806         [BZ #16191]
8807         * NEWS: Mention bug fix.
8808         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8809         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8810         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8811         (HOST_STACK_END_ADDR): Likewise.
8813 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8815         [BZ #17748]
8816         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
8817         * math/fegetround.c (fegetround): Rename to __fegetround and
8818         define as weak alias of __fegetround.  Use libm_hidden_weak.
8819         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8820         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8821         * sysdeps/arm/fegetround.c (fegetround): Likewise.
8822         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8823         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8824         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8825         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8826         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8827         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8828         Undefine after rather than before function definition; use
8829         parentheses around function name in definition.
8830         (__fegetround): Also undefine macro after function definition.
8831         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8832         __fegetround and define as weak alias of __fegetround.  Use
8833         libm_hidden_weak.  Do not undefine as macro.
8834         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8835         Likewise.
8836         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8837         __fegetround and define as weak alias of __fegetround.  Use
8838         libm_hidden_weak.
8839         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8840         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8841         * sysdeps/tile/math_private.h (__fegetround): New inline function.
8842         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8843         __fegetround and define as weak alias of __fegetround.  Use
8844         libm_hidden_weak.
8845         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8846         __fegetround instead of fegetround.
8848         [BZ #17782]
8849         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8850         Condition macro definition on [__USE_MISC].
8852         [BZ #17781]
8853         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8854         (struct sigaction): Change type of sa_flags field to int.
8856         [BZ #17780]
8857         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8858         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8859         __glibc_reserved0.
8861         * nptl/version.c (banner): Use single year in copyright notice.
8863         * NEWS: Update copyright dates.
8864         * catgets/gencat.c (print_version): Likewise.
8865         * csu/version.c (banner): Likewise.
8866         * debug/catchsegv.sh: Likewise.
8867         * debug/pcprofiledump.c (print_version): Likewise.
8868         * debug/xtrace.sh (do_version): Likewise.
8869         * elf/ldconfig.c (print_version): Likewise.
8870         * elf/ldd.bash.in: Likewise.
8871         * elf/pldd.c (print_version): Likewise.
8872         * elf/sotruss.sh: Likewise.
8873         * elf/sprof.c (print_version): Likewise.
8874         * iconv/iconv_prog.c (print_version): Likewise.
8875         * iconv/iconvconfig.c (print_version): Likewise.
8876         * locale/programs/locale.c (print_version): Likewise.
8877         * locale/programs/localedef.c (print_version): Likewise.
8878         * login/programs/pt_chown.c (print_version): Likewise.
8879         * malloc/memusage.sh (do_version): Likewise.
8880         * malloc/memusagestat.c (print_version): Likewise.
8881         * malloc/mtrace.pl: Likewise.
8882         * manual/libc.texinfo: Likewise.
8883         * nptl/version.c (banner): Likewise.
8884         * nscd/nscd.c (print_version): Likewise.
8885         * nss/getent.c (print_version): Likewise.
8886         * nss/makedb.c (print_version): Likewise.
8887         * posix/getconf.c (main): Likewise.
8888         * scripts/test-installation.pl: Likewise.
8889         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8891 2015-01-02  Will Newton  <will.newton@linaro.org>
8893         * sysdeps/arm/armv7/configure: Removed.
8894         * sysdeps/arm/armv7/configure.ac: Likewise.
8896 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8898         * All files with FSF copyright notices: Update copyright dates
8899         using scripts/update-copyrights.
8900         * intl/plural.c: Regenerated.
8901         * locale/programs/charmap-kw.h: Likewise.
8902         * locale/programs/locfile-kw.h: Likewise.
8904 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8906         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8908 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8910         [BZ #17748]
8911         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8912         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8913         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8914         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8915         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8916         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8917         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8918         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8919         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8920         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8921         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8922         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8923         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8924         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8925         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8926         libm_hidden_def.
8927         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8928         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8929         Likewise.
8930         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8931         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8932         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8933         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8934         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8935         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8936         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8937         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8938         __fegetenv instead of fegetenv.
8939         (libc_feholdsetround_noex_ctx): Likewise.
8941 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8943         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8944         (Elf_MIPS_ABIFlags_v0): New structure.
8945         (EF_MIPS_FP64): Define.
8946         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8947         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8948         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8949         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8950         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8951         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8952         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8953         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8954         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8955         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8956         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8957         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8958         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8959         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8960         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8961         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8962         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8963         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8964         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8965         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8966         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8967         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8968         field.
8969         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8970         EF_MIPS_FP64.
8971         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8972         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8973         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8974         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8975         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8976         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8977         * sysdeps/mips/tst-abi-interlink.c: Likewise.
8978         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8979         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8980         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8981         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8982         record the current FP ABI extension.
8983         (mips-mode-switch): Define to show if kernel headers support mode
8984         switching.
8985         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8986         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
8987         supported SYSV ABI version to 3.
8988         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
8989         feature.
8991 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8992             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8994         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
8995         path.
8996         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8998 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9000         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9001         __fegetround and redefine to call __fegetround.  Remove condition
9002         on [!__NO_MATH_INLINES].
9003         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9004         function.
9005         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9006         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9007         Remove macro.
9008         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9009         instead of <fenv_libc.h>.
9010         (__llrintl): Call fegetround instead of __fegetround.
9011         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9012         instead of <fenv_libc.h>.
9013         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9014         (__lrintl): Call fegetround instead of __fegetround.
9015         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9016         instead of <fenv_libc.h>.
9017         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9018         (__rintl): Call fegetround instead of __fegetround.
9020 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9022         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9023         arrays.
9025 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9027         [BZ #17775]
9028         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9029         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9030         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9032 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9034         * sysdeps/i386/tls-macros.h: Include <features.h>.
9035         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9036         (TLS_IE): Likewise.
9037         (TLS_LD): Likewise.
9038         (TLS_GD): Likewise.
9039         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9040         define for GCC >= 5.0.
9042 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9044         * math/test-fenv.c (test_single_exception, set_single_exc,
9045         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9046         feexcp_mask_test, feenable_test, fe_single_test): Add
9047         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9048         case where they are not used.
9049         * math/libm-test.inc: Likewise.
9050         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9051         unused in the absence of FP rounding/exception support.
9052         * stdio-common/tst-printf-round.c: Likewise.
9053         * stdlib/tst-strtod-round.c: Likewise.
9054         * stdlib/tst-strtod-underflow.c: Likewise.
9056 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9058         [BZ #17723]
9059         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9060         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9061         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9062         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9063         libm_hidden_weak.
9064         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9065         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9066         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9067         libm_hidden_def.
9068         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9069         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9070         libm_hidden_weak.
9071         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9072         Likewise.
9073         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9074         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9075         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9076         libm_hidden_weak.
9077         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9078         libm_hidden_def.
9079         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9080         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9081         (__feraiseexcept): Likewise.
9082         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9083         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9084         libm_hidden_weak.
9085         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9086         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9087         libm_hidden_def.
9088         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9089         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9090         Use libm_hidden_def.
9091         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9092         libm_hidden_def.
9093         (feraiseexcept): Define as weak not strong alias.  Use
9094         libm_hidden_weak.
9095         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9096         New inline function.  Factored out of ...
9097         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9098         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9099         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9100         feraiseexcept.
9101         * math/w_acos.c (__acos): Likewise.
9102         * math/w_asin.c (__asin): Likewise.
9103         * math/w_ilogb.c (__ilogb): Likewise.
9104         * math/w_j0.c (y0): Likewise.
9105         * math/w_j1.c (y1): Likewise.
9106         * math/w_jn.c (yn): Likewise.
9107         * math/w_log.c (__log): Likewise.
9108         * math/w_log10.c (__log10): Likewise.
9109         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9110         * sysdeps/aarch64/fpu/math_private.h
9111         (libc_feupdateenv_test_aarch64): Likewise.
9112         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9113         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9114         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9115         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9116         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9117         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9118         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9119         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9120         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9121         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9123 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9125         [BZ #17732]
9126         * io/test-utime.c (main): Replace %ld with %jd and cast to
9127         intmax_t.
9128         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9129         * nptl/tst-mutex5.c: Include <stdint.h>.
9130         (do_test): Replace %ld with %jd and cast to intmax_t.
9131         * posix/tst-regex.c (run_test): Likewise.
9132         (run_test_backwards): Likewise.
9133         * rt/tst-clock.c: Include <stdint.h>.
9134         (clock_test): Replace %ld with %jd and cast to intmax_t.
9135         * rt/tst-cpuclock1.c: Include <stdint.h>.
9136         (do_test): Replace %lu with %ju and cast to uintmax_t.
9137         * rt/tst-cpuclock2.c: Include <stdint.h>.
9138         (do_test): Replace %lu with %ju and cast to uintmax_t.
9139         * rt/tst-mqueue1.c: Include <stdint.h>.
9140         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9141         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9142         intmax_t.
9143         * rt/tst-mqueue4.c (do_test): Likewise.
9144         * rt/tst-timer4.c: Include <stdint.h>.
9145         (check_ts): Replace %ld with %jd and cast to intmax_t.
9146         (do_test): Likewise.
9147         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9148         and cast to intmax_t.
9149         * sysdeps/pthread/tst-timer.c (main): Likewise.
9150         * time/clocktest.c (main): Likewise.
9151         * time/tst-posixtz.c (do_test): Likewise.
9152         * timezone/tst-timezone.c (main): Likewise.
9154 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9155             H.J. Lu  <hongjiu.lu@intel.com>
9157         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9158         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9159         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9160         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9161         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9162         version if bit_Fast_Unaligned_Load is set.
9163         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9164         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9165         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9166         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9167         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9168         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9169         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9170         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9171         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9172         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9173         to 4.
9174         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9175         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9176         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9177         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9179 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9181         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9182         instead of #if to avoid a Wundef warning.
9183         * stdlib/tst-limits.c (do_test): Likewise.
9185         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9186         parallel other exception macros.
9187         (fegetenv): Convert from macro to extern inline so that it applies
9188         retroactively to inline functions already seen by the compiler.
9189         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9191         * posix/Makefile (before-compile): Use $(objpfx) for
9192         posix-conf-vars-def.h.
9194 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9196         * posix/getconf.c (main): Use size_t for type of I.
9197         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9198         NSPEC.
9200         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9201         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9202         * posix/posix-envs.def: Likewise.
9203         * sysdeps/posix/sysconf.c: Likewise.
9204         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9205         (specs): Remove array.
9206         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9207         array.
9209         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9210         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9211         (__sysconf): Use CONF_IS_* macros.
9213         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9214         ($(objpfx)posix-conf-vars-def.h): New target.
9215         * posix/posix-conf-vars.list: New file.
9216         * posix/posix-conf-vars.h: New file.
9217         * posix/confstr.c: Include posix-conf-vars.h.
9218         (confstr): Use CONF_IS_* macros.
9219         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9220         CONF_IS_* macros.
9221         * scripts/gen-posix-conf-vars.awk: New file.
9223 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9225         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9226         fegetround): Add no-op macros to avoid linknamespace issues.
9228         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9229         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9231         * sysdeps/unix/sysv/linux/tile/sysdep.h
9232         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9233         assembly-specific section to avoid a redefinition warning.
9235         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9236         long before casting to pointer to avoid a cast warning.
9238 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9240         * sysdeps/tile/tilegx/Implies: New file.
9242 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9244         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9246 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9248         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9250 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9252         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9253         not define.
9254         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9255         <kernel-features.h>.
9256         (__utimes) [__NR_utimes]: Make code unconditional.
9257         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9258         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9259         (__ASSUME_UTIMES): Do not undefine.
9260         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9261         (__ASSUME_UTIMES): Likewise.
9262         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9263         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9264         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9265         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9267 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9269         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9271 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9273         [BZ #17747]
9274         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9275         alias to weak alias for j0l, y0l.
9276         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9277         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9279         [BZ #17746]
9280         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9281         conversion.
9283 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9285         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9286         to zero if not already defined.
9288 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9290         [BZ #17724]
9291         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9292         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9293         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9294         (char *) casts added.
9295         * sysdeps/ieee754/k_standardf.c: New file.
9296         * sysdeps/ieee754/k_standardl.c: Likewise.
9297         * math/Makefile (libm-support): Remove k_standard.
9298         (libm-calls): Add k_standard.
9300 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9302         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9303         Optimize to avoid an unnecessary FPCR read.
9305 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9307         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9308         Optimize to reduce FPCR/FPSR accesses.
9310 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9312         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9313         Call libc_fetestexcept_aarch64.
9315 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9317         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9318         Call libc_fesetround_aarch64.
9320 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9322         [BZ #17733]
9323         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9324         (__bind): Do not define as weak alias.
9325         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9326         define.
9327         (__getsockname): Do not define as weak alias.
9329 2014-12-22  Will Newton  <will.newton@linaro.org>
9331         * manual/install.texi: Document that we require bison 2.7
9332         or above.
9333         * INSTALL: Regenerate.
9334         * configure.ac: Use AC_CHECK_PROG_VER instead of
9335         AC_PATH_PROG when checking for bison and check for
9336         version 2.7 or above.
9337         * configure: Regenerate.
9339 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9341         [BZ #17745]
9342         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9343         * sysdeps/tile/ffsll.c (ffsll): To here.
9345         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9347 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9349         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9350         if not defined.
9351         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9352         definition.
9353         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9354         hidden ___tls_get_addr.
9355         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9356         hidden __tls_get_addr.
9357         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9358         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9359         Likewise.
9361 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9363         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9364         _dl_init call.
9366 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9368         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9369         from "call _dl_init@PLT".
9370         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9372 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9374         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9375         guarantees.
9377 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9379         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9381 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9383         [BZ #17744]
9384         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9385         strnlen.
9387 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9389         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9390         of multu on MIPSr6.
9391         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9392         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9393         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9394         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9395         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9397 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9399         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9400         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9401         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9402         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9403         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9404         mips32r6/mips64r6.
9405         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9407 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9409         * string/strncat.c (STRNCAT): Simplify implementation.
9411 2014-12-19  David S. Miller  <davem@davemloft.net>
9413         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9414         access the quad as both a long double and as a series of 4 words.
9416         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9417         link_map->l_info array access.
9419 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9421         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9423         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9424         * math/atest-exp2.c (TIMEOUT): Likewise.
9425         * math/atest-sincos.c (TIMEOUT): Likewise.
9427 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9429         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9430         -Wno-error with -fno-builtin-lround.
9432 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9434         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9435         Contains futex constants and functions moved over from ...
9436         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9437         <lowlevellock-futex.h>.
9438         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9439         (lll_timedwait_tid): Add comments and parentheses around macro
9440         arguments.
9442 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9444         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9445         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9446         (__lll_private_flag): Remove.
9447         (lll_futex_wait): Likewise.
9448         (lll_futex_timed_wait): Likewise.
9449         (lll_futex_wake): Likewise.
9450         (lll_futex_requeue): Likewise.
9451         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9452         (__lll_timedwait_tid): Spell out argument names.
9453         (lll_timedwait_tid): Add comments and parentheses around macro
9454         arguments.
9455         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9456         LLL_SHARED and LLL_PRIVATE usable from assembly code.
9458 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9460         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9461         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9462         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9463         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9464         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9465         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9466         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9467         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9468         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9469         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9470         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9471         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9472         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9473         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9474         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9475         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9476         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9477         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9478         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9480 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9482         * sysdeps/x86_64/x32/Makefile: New file.
9484 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9486         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9487         1L with (mp_limb_t) 1.
9489 2014-12-17  Roland McGrath  <roland@hack.frob.com>
9491         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9492         * nptl/libc_pthread_init.c: ... here.
9493         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9494         * nptl/register-atfork.c: ... here.
9496         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9497         Use pthread_sigmask rather than INTERNAL_SYSCALL.
9498         Use assert_perror to check its return value.
9499         (__gai_create_helper_thread): Likewise.
9501         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9503         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9505 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
9507         [BZ #17725]
9508         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9509         __profil_counter.
9510         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9511         Likewise.
9512         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9513         Likewise.
9514         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9515         Likewise.
9516         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9517         (profil_counter): Likewise.
9518         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9519         (profil_counter): Likewise.
9520         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9521         Likewise.
9522         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9523         Likewise.
9524         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9525         (profil_counter): Likewise.
9526         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9527         Likewise.
9528         [!__profil_counter] (profil_counter): Define as weak alias of
9529         __profil_counter.
9530         * sysdeps/unix/sysv/linux/sparc/sparc32/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/unix/sysv/linux/sparc/sparc64/profil-counter.h
9535         (profil_counter): Rename to __profil_counter.
9536         [!__profil_counter] (profil_counter): Define as weak alias of
9537         __profil_counter.
9538         * sysdeps/posix/profil.c: Update comment referring to
9539         profil_counter.
9540         (__profil): Use __profil_counter instead of profil_counter.
9541         * sysdeps/posix/sprofil.c (profil_counter): Rename to
9542         __profil_counter.  Use __profil_counter_ushort and
9543         __profil_counter_uint in definitions.
9544         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9545         instead of profil_counter_uint and profil_counter_ushort.
9547         [BZ #17722]
9548         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9549         define as weak alias of __inet_makeaddr.
9550         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9551         as weak alias of __inet_addr.
9552         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9553         as weak alias of __inet_pton.  Use libc_hidden_weak.
9554         * include/arpa/inet.h (__inet_pton): Declare.  Use
9555         libc_hidden_proto.
9556         (inet_makeaddr): Don't use libc_hidden_proto.
9557         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
9558         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9559         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
9560         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9561         Remove variable.
9562         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9563         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9565 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
9567         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9569 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9571         * stdio-common/bug-vfprintf-nargs.c (do_test):
9572         Cast value to intptr_t to avoid format warning
9573         for usage with PRIdPTR printing macro.
9575 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9577         * libio/tst-widetext.c (do_test):
9578         Use format type %td instead of %Zd for ptrdiff_t
9579         in order to avoid format warning.
9581 2014-12-17  Andreas Schwab  <schwab@suse.de>
9583         * nscd/mem.c (gc): Add size_t cast to match printf format.
9585 2014-12-16  Roland McGrath  <roland@hack.frob.com>
9587         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9588         (init): Apply PTR_MANGLE to pointers before storing them.
9589         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9590         before using them.
9592 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
9594         [BZ #17719]
9595         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9596         define as weak alias of __memrchr.
9597         (__memrchr): Do not define as strong alias of memrchr.
9598         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9599         Remove variable.
9600         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9601         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9602         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9604         [BZ #17717]
9605         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9606         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
9607         (if_indextoname): Rename to __if_indextoname and define as weak
9608         alias of __if_indextoname.  Use libc_hidden_weak.
9609         (if_freenameindex): Rename to __if_freenameindex and define as
9610         weak alias of __if_freenameindex.
9611         (if_nameindex): Rename to __if_nameindex and define as weak alias
9612         of __if_nameindex.
9613         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
9614         __if_nametoindex and define as weak alias of __if_nametoindex.
9615         Use libc_hidden_weak.
9616         (if_freenameindex): Rename to __if_freenameindex and define as
9617         weak alias of __if_freenameindex.
9618         (if_nameindex): Rename to __if_nameindex and define as weak alias
9619         of __if_nameindex.
9620         (if_indextoname): Rename to __if_indextoname and define as weak
9621         alias of __if_indextoname.  Use libc_hidden_weak.
9622         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
9623         __if_nametoindex and define as weak alias of __if_nametoindex.
9624         Use libc_hidden_weak.
9625         (if_freenameindex): Rename to __if_freenameindex and define as
9626         weak alias of __if_freenameindex.  Use libc_hidden_weak.
9627         (if_nameindex_netlink): Use __if_freenameindex instead of
9628         if_freenameindex.
9629         (if_nameindex): Rename to __if_nameindex and define as weak alias
9630         of __if_nameindex.  Use libc_hidden_weak.
9631         (if_indextoname): Rename to __if_indextoname and define as weak
9632         alias of __if_indextoname.  Use libc_hidden_weak.
9633         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
9634         libc_hidden_proto.
9635         [!_ISOMAC] (__if_freenameindex): Likewise.
9636         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
9637         if_nametoindex.
9638         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
9639         variable.
9640         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9641         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9642         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9643         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9644         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9645         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9646         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9648         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
9649         Remove variable.
9650         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9651         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9653 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9655         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
9656         subscript above bounds'
9658         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
9659         bounds.
9661 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
9663         * libio/tst-fopenloc.c: Use test-skeleton.c.
9665         * stdlib/tst-bsearch.c: Use test-skeleton.c.
9666         (entry): Rename to ITEM.
9667         (do_test, comp): Adjust.
9669         * stdio-common/tst-fseek.c: Use test-skeleton.c.
9671 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9673         * string/tester.c: Include <libc-internal.h>.
9674         (test_memset): Ignore -Wmemset-transposed-args.
9676 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9678         * misc/tst-mntent2.c (do_test): Fix warning.
9680 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9682         * elf/tst-unique4lib.cc(a): Mark as used.
9684 2014-12-16  Florian Weimer  <fweimer@redhat.com>
9686         [BZ #17630]
9687         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9688         names.
9690 2014-12-16  Allan McRae  <allan@archlinux.org>
9692         * stdio-common/Makefile (tests): Re-add bug26.
9694 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
9696         [BZ #17657]
9697         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9698         static array.
9700 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
9702         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9703         (__lll_lock_wait): Likewise.
9704         (__lll_timedlock_wait): Likewise.
9705         (__lll_timedwait_tid): Likewise.
9706         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9707         (__lll_robust_timedlock_wait): Likewise.
9708         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9709         (lll_cond_trylock): Likewise.
9710         (__lll_lock): Likewise.
9711         (__lll_robust_lock): Likewise.
9712         (__lll_cond_lock): Likewise.
9713         (lll_robust_cond_lock): Likewise.
9714         (__lll_timedlock): Likewise.
9715         (__lll_robust_timedlock): Likewise.
9716         (__lll_unlock): Likewise.
9717         (__lll_robust_unlock): Likewise.
9718         (lll_wait_tid): Likewise.
9719         (lll_timedwait_tid): Likewise.
9721 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9723         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9725 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9727         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9729 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9731         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9732         * stdio-common/tst-sprintf.c: Likewise.
9734 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9736         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9738 2014-12-15  Jeff Law  <law@redhat.com>
9740         [BZ #16617]
9741         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9742         on the heap.  (CVE-2012-3406)
9743         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9744         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
9745         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9747 2014-12-15  Will Newton  <will.newton@linaro.org>
9749         * manual/install.texi: Bump required version of texinfo
9750         to 4.7 from 4.5.
9751         * INSTALL: Regenerated.
9752         * configure.ac: Check for makeinfo version 4.7 and above.
9753         * configure: Regenerated.
9755 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9757         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9758         PREFIX, string constant to insert between directory and name.
9759         * sysdeps/posix/shm_open.c: Update caller.
9760         * sysdeps/posix/shm_unlink.c: Likewise.
9761         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9762         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9763         (SEM_SHM_PREFIX): New macro.
9764         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9765         [$(have-thread-library) = no].
9766         * nptl/Makefile (libpthread-routines): Add shm-directory.
9767         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9768         * sysdeps/nptl/shm-directory.h: New file.
9769         * sysdeps/posix/shm-directory.c
9770         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9771         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9772         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9773         INTERNAL_SYSCALL.
9774         (__where_is_shmfs): Function removed.
9775         (mountpoint, defaultmount, defaultdir, __namedsem_once):
9776         Variables removed.
9777         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9778         Use SHM_GET_NAME.
9779         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
9781         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9782         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9783         unconditional for use inside libpthread.
9784         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9786 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9788         * nptl/pthread_getaffinity.c: New file.
9789         * nptl/pthread_setaffinity.c: New file.
9790         * nptl/pthread_getname.c: New file.
9791         * nptl/pthread_setname.c: New file.
9793         * nptl/pthread_create.c (START_THREAD_DEFN)
9794         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9796 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9797             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9799         * resolv/res_send.c (send_vc): Disable warning resplen may
9800         be used uninitialized.
9802 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9804         * nptl/tst-mutex6.c
9805         (ATTR_NULL): New define checks ATTR against NULL.
9806         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9807         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9809 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
9811         [BZ #17581]
9812         * malloc/hooks.c
9813         (mem2mem_check): Revert my previous change.
9814         (malloc_check_get_size): Revert my previous change.
9815         (mem2chunk_check): Revert my previous change.
9817 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9819         * sysdeps/posix/shm-directory.c: New file.
9820         * sysdeps/posix/shm-directory.h: New file.
9821         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9822         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9823         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
9824         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9825         Transmute EPERM to EACCES.
9826         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9827         from ...
9828         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
9829         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9831 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9833         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9834         pointer and cast to uintptr_t.
9835         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9836         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9837         Add cast to avoid warning.
9838         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9840 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9842         * nptl/semaphore.h: Move to ...
9843         * sysdeps/pthread/semaphore.h: ... here.
9844         * Makefile (installed-headers): Change nptl/semaphore.h to
9845         sysdeps/pthread/semaphore.h.
9847 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9849         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9850         generated error format strings.
9852         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9853         -Wformat-extra-args warnings for scanf formats.
9854         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9855         test of zero-length format (duh).
9856         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9857         corner-case scanf format test.
9858         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9859         generated fprintf format string.
9860         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9861         corner-case sprintf format tests.
9862         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9863         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9864         -Wformat-extra-args warnings throughout.
9865         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9866         (CFLAGS-scanf4.c): Likewise.
9867         (CFLAGS-scanf7.c): Likewise.
9868         (CFLAGS-tst-sprintf.c): Likewise.
9869         (CFLAGS-tst-printf.c): Likewise.
9870         (CFLAGS-tst-printfsz.c): Likewise.
9872 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9874         * include/cpio.h: New file.
9875         * include/fmtmsg.h: Likewise.
9877         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
9878         corresponding format argument to size_t.
9879         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
9880         arguments.
9881         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
9882         corresponding format argument to size_t.
9883         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
9884         arguments.
9885         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
9886         corresponding format argument to size_t.
9887         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9888         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9889         (CFLAGS-tst-mbswcs2.c): Likewise.
9890         (CFLAGS-tst-mbswcs3.c): Likewise.
9891         (CFLAGS-tst-mbswcs4.c): Likewise.
9892         (CFLAGS-tst-mbswcs5.c): Likewise.
9893         (CFLAGS-tst-trans.c): Likewise
9895 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9897         * posix/regexbug1.c (main): Use "%s" format with regerror results,
9898         rather than assuming they won't contain any '%'s.
9900 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
9902         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9903         inhibit_loop_to_libcall to avoid recursive calls.
9904         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9905         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9907 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9909         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9910         prototype.
9912 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9914         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9915         integer value instead of boolean.
9917 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9919         * malloc/malloc.c: Fix powerof2 check.
9921 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9923         * locale/programs/locfile.h (maybe_swap_uint32):
9924         Remove inline and add unused attribute.
9926 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9928         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9929         Truncating assembler expression to a .long expression.
9931 2014-12-11  Andreas Schwab  <schwab@suse.de>
9933         * elf/rtld.c (struct map_args): Constify str member.
9934         (do_preload): Constify fname argument.
9936 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9938         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9939         constants definition.
9941 2014-12-11  Andreas Schwab  <schwab@suse.de>
9943         [BZ #16657]
9944         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9945         FORCE_ELISION instead of DO_ELISION.
9946         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9947         Remove.
9948         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9949         Likewise.
9951         * iconvdata/gconv-modules: Remove duplicate entry.
9953 2014-12-11  Will Newton  <will.newton@linaro.org>
9955         Merge gettext 0.19.3 into intl/.
9957         This involves a number of cosmetic changes to comments
9958         and ANSI function definitions and prototypes throughout
9959         all the files. The gettext copyright header is used but
9960         with the date ranges taken from the glibc copy.
9962         * NEWS: Add gettext merge to 2.21.
9963         * intl/bindtextdom.c: Switch to gettext copyright.
9964         Use ANSI definitions and prototypes.
9965         Use gl_* locking primitives rather than __libc_* ones.
9966         Use __builtin_expect rather than __glibc_likely/unlikely.
9967         * intl/dcgettext.c: Switch to gettext copyright.
9968         Use ANSI definitions and prototypes.
9969         * intl/dcigettext.c: Switch to gettext copyright.
9970         Use ANSI definitions and prototypes.
9971         (INTDIV0_RAISES_SIGFPE): New define.
9972         Use gl_* locking primitives rather than __libc_* ones.
9973         Include eval-plural.h instead of plural-eval.c.
9974         Use __builtin_expect rather than __glibc_likely/unlikely.
9975         * intl/dcngettext.c: Switch to gettext copyright.
9976         Use ANSI definitions and prototypes.
9977         * intl/dgettext.c: Likewise.
9978         * intl/dngettext.c: Likewise.
9979         * intl/plural-eval.c: Renamed to...
9980         * intl/eval-plural.h: ...this.
9981         * intl/explodename.c: Switch to gettext copyright.
9982         Use ANSI definitions and prototypes.
9983         (_nl_explode_name): Use strchr instead of __rawmemchr.
9984         * intl/finddomain.c: Switch to gettext copyright.
9985         Use ANSI definitions and prototypes.
9986         Use gl_* locking primitives rather than __libc_* ones.
9987         (_nl_find_domain): Use malloc rather than alloca for
9988         allocation of temporary locale name.
9989         * intl/gettext.c: Switch to gettext copyright.
9990         Use ANSI definitions and prototypes.
9991         * intl/gettextP.h: Switch to gettext copyright.
9992         Use ANSI definitions and prototypes.
9993         Use gl_* locking primitives rather than __libc_* ones.
9994         * intl/gmo.h: Switch to gettext copyright.
9995         (struct sysdep_string): Move struct segment_pair outside of
9996         struct definition.
9997         * intl/hash-string.c: Use ANSI definitions and prototypes.
9998         * intl/hash-string.h: Switch to gettext copyright.
9999         Use ANSI definitions and prototypes.
10000         * intl/l10nflist.c: Switch to gettext copyright.
10001         Use ANSI definitions and prototypes.
10002         (_nl_normalize_codeset): Avoid integer overflow.
10003         * intl/loadinfo.h: Switch to gettext copyright.
10004         Use ANSI definitions and prototypes.
10005         (LIBINTL_DLL_EXPORTED): New define.
10006         (PATH_SEPARATOR): New define.
10007         * intl/loadmsgcat.c: Switch to gettext copyright.
10008         * intl/localealias.c: Switch to gettext copyright.
10009         Use ANSI definitions and prototypes.
10010         (_nl_expand_alias): Use PATH_SEPARATOR.
10011         * intl/ngettext.c: Switch to gettext copyright.
10012         Use ANSI definitions and prototypes.
10013         * intl/plural-exp.c: Likewise.
10014         * intl/plural-exp.h: Switch to gettext copyright.
10015         Use ANSI definitions and prototypes.
10016         (struct expression): Move definition of enum operator outside
10017         of struct definition.
10018         * intl/plural.c: Regenerate.
10019         * intl/plural.y: Switch to gettext copyright.
10020         Use ANSI definitions and prototypes.
10021         Port to bison 3.0.
10022         * intl/textdomain.c: Switch to gettext copyright.
10023         Use ANSI definitions and prototypes.
10024         Use gl_* locking primitives rather than __libc_* ones.
10026 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10028         * debug/warning-nop.c: Add used atrribute.
10030 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10032         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10034         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10035         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10036         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10038 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10039             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10041         [BZ #17634]
10042         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10043         Undefine after defining function.  Define as weak alias of
10044         __wcschr.  Use libc_hidden_weak.
10045         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10046         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10047         (libc_hidden_def): Also define __GI___wcschr alias.
10048         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10049         __wcschr and define as weak alias of __wcschr.
10050         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10051         __wcschr.
10052         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10053         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10054         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10055         libc_hidden_weak.  Do not use libc_hidden_def.
10056         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10057         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10058         __GI___wcschr alias.
10059         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10060         [IS_IN (libc)] (wcschr): Define as macro expanding to
10061         __redirect_wcschr.
10062         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10063         [IS_IN (libc)] (__wcschr_power6): Likewise.
10064         [IS_IN (libc)] (__wcschr_power7): Likewise.
10065         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10066         instead of wcschr.
10067         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10068         __libc_wcschr.
10069         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10070         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10071         __wcschr and define as weak alias of __wcschr.  Use
10072         libc_hidden_builtin_def.
10073         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10074         as weak alias of __wcschr.  Use libc_hidden_weak.
10075         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10076         wcschr.
10077         * time/era.c (_nl_init_era_entries): Likewise.
10078         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10079         variable.
10080         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10081         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10083 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10085         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10086         format for long int variable.
10088 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10090         [BZ #10672]
10091         * manual/search.texi: (Array Sort Function): Remove claim how to make
10092         qsort stable.
10094 2014-12-10  Andreas Schwab  <schwab@suse.de>
10096         [BZ #12847]
10097         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10098         user-controlled locks.
10100 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10102         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10103         register.
10105 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10107         * configure.ac (--disable-werror): New configure option.
10108         (enable_werror): New AC_SUBST.
10109         * configure: Regenerated.
10110         * config.make.in (enable-werror): New variable.
10111         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10112         -Wno-error=undef.
10113         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10114         * manual/install.texi (Configuring and compiling): Document
10115         --disable-werror.
10116         * INSTALL: Regenerated.
10117         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10118         (CFLAGS-tst-chk2.c): Likewise.
10119         (CFLAGS-tst-chk3.c): Likewise.
10120         (CFLAGS-tst-chk4.cc): Likewise.
10121         (CFLAGS-tst-chk5.cc): Likewise.
10122         (CFLAGS-tst-chk6.cc): Likewise.
10123         (CFLAGS-tst-lfschk1.c): Likewise.
10124         (CFLAGS-tst-lfschk2.c): Likewise.
10125         (CFLAGS-tst-lfschk3.c): Likewise.
10126         (CFLAGS-tst-lfschk4.cc): Likewise.
10127         (CFLAGS-tst-lfschk5.cc): Likewise.
10128         (CFLAGS-tst-lfschk6.cc): Likewise.
10130         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10131         (main): Disable -Wdeprecated-declarations around calls to
10132         register_printf_function.
10134         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10135         (do_test): Disable -Wdiv-by-zero around some calls to
10136         fwrite_unlocked and fread_unlocked.
10138         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10139         (DIAG_POP_NEEDS_COMMENT): Likewise.
10140         (_DIAG_STR1): Likewise.
10141         (_DIAG_STR): Likewise.
10142         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10143         * stdio-common/bug21.c: Include <libc-internal.h>.
10144         (do_test): Disable -Wformat around call to sscanf.
10145         * stdio-common/scanf14.c: Include <libc-internal.h>.
10146         (main): Disable -Wformat around some calls to scanf functions.
10148 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10150         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10152 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10154         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10155         stack variable alignment.
10157 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10159         [BZ #17682]
10160         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10161         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10162         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10163         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10164         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10165         __getrlimit instead of getrlimit.
10166         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10167         __gettimeofday instead of gettimeofday.
10168         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10169         Likewise.
10170         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10171         Likewise.
10172         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10173         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10174         Remove variable.
10175         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10176         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10178 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10180         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10181         for wide-character tests.
10183 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10185         * io/openat64.c: #include <libc-internal.h>
10186         (__openat64): Prototypify.  Use ignore_value on MODE.
10187         * io/openat.c: Likewise.
10188         * misc/reboot.c: #include <libc-internal.h>
10189         (reboot): Prototypify.  Use ignore_value on HOWTO.
10190         * misc/ptrace.c: #include <libc-internal.h>
10191         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10193 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10195         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10196         XPG4, UNIX98 and XOPEN2K.
10197         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10198         Remove variable.
10199         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10201 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10203         * libio/fileops.c: Use ISO C style for function definitions.
10204         * libio/iofopen.c: Likewise.
10205         * libio/wfileops.c: Likewise.
10207         [BZ #17653]
10208         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10209         offset on EOF.
10210         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10211         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10212         (fgets_func): Function pointer to fgets and fgetws.
10213         (do_ftell_test): Add test to verify ftell value after read
10214         EOF.
10215         (do_test): Set fgets_func.
10217         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10218         O_TRUNC flag for w and w+ modes.
10219         (do_rewind_test): Likewise.
10220         (do_ftell_test): Likewise.
10221         (do_write_test): Likewise.
10223         [BZ #17647]
10224         * libio/fileops.c (do_ftell): Seek only when there are
10225         unflushed writes.
10226         * libio/wfileops.c (do_ftell_wide): Likewise.
10227         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10228         test case.
10229         (do_one_test): Call it.
10231 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10233         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10234         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10235         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10236         Remove variable.
10237         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10238         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10239         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10241 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10243         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10244         Remove variable.
10245         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10247         [BZ #17668]
10248         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10249         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/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10253         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10254         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10255         __freeifaddrs.  Use libc_hidden_weak.
10256         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10257         __getifaddrs and define as weak alias of __getifaddrs.  Use
10258         libc_hidden_weak.
10259         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10260         __freeifaddrs.  Use libc_hidden_weak.
10261         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10262         Remove variable.
10263         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10264         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10266 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10268         [BZ #17601]
10269         * sysdeps/mips/start.S (__start): Use indirect jump to call
10270         __libc_start_main.
10272 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10274         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10276         * nptl/tst-mutex1.c: Include <stdbool.h>.
10277         [!ATTR] (ATTR_NULL): New macro.
10278         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10279         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10280         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10282         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10283         to char *.
10285         [BZ #17665]
10286         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10287         Change conditional to [__USE_MISC].
10289         [BZ #17664]
10290         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10291         fgets_unlocked.
10292         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10293         __fgets_unlocked.
10294         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10295         fgets_unlocked.
10296         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10297         Remove variable.
10298         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10299         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10300         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10301         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10302         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10303         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10304         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10305         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10306         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10308         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10310 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10312         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10313         Remove strpbrk objects.
10314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10315         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10316         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10317         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10318         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10319         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10321         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10322         Remove strcspn objects.
10323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10324         (__libc_ifunc_impl_list): Remove strcspn implementation.
10325         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10326         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10327         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10328         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10330         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10331         Remove strspn objetcs.
10332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10333         (__libc_ifunc_impl_list): Remove strspn implementation.
10334         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10335         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10336         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10337         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10339 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10341         [BZ #17581]
10342         * malloc/hooks.c
10343         (mem2mem_check): Add a terminator to the chain of checking blocks.
10344         (malloc_check_get_size): Use it here.
10345         (mem2chunk_check): Ditto.
10347 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10349         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10350         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10352 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10354         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10356         * nptl/nptl-init.c: Include libc-internal.h.
10357         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10359         * elf/ldconfig.c (search_dir): Expand comment.
10361 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10363         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10364         variable.
10365         (linknamespace-symlist-stdlibs-tests): Likewise.
10366         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10367         instead of $(objpfx)symlist-stdlibs.
10368         (linknamespace-libs-isoc): New variable.
10369         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10370         (linknamespace-libs-ISO): New variable.
10371         (linknamespace-libs-ISO99): Likewise.
10372         (linknamespace-libs-ISO11): Likewise.
10373         (linknamespace-libs-XPG3): Likewise.
10374         (linknamespace-libs-XPG4): Likewise.
10375         (linknamespace-libs-POSIX): Likewise.
10376         (linknamespace-libs-UNIX98): Likewise.
10377         (linknamespace-libs-XOPEN2K): Likewise.
10378         (linknamespace-libs-POSIX2008): Likewise.
10379         (linknamespace-libs-XOPEN2K8): Likewise.
10380         ($(objpfx)symlist-stdlibs): Replace by
10381         $(linknamespace-symlist-stdlibs-tests).  Use
10382         $(linknamespace-libs-$*) as set of libraries.
10383         ($(linknamespace-header-tests)): Update dependencies.  Use
10384         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10385         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10386         * conform/linknamespace.pl: Remove comment about considering
10387         definitions of symbols from irrelevant libraries.
10389 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10391         [BZ #13862]
10392         * elf/dl-tls.c: Include <atomic.h>.
10393         (oom): Remove #ifdef SHARED/#endif.
10394         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10395         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10396         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10397         big enough.
10398         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10399         * nptl/Makefile (tests): Add tst-stack4.
10400         (modules-names): Add tst-stack4mod.
10401         ($(objpfx)tst-stack4): New.
10402         (tst-stack4mod.sos): Likewise.
10403         ($(objpfx)tst-stack4.out): Likewise.
10404         ($(tst-stack4mod.sos)): Likewise.
10405         (clean): Likewise.
10406         * nptl/tst-stack4.c: New file.
10407         * nptl/tst-stack4mod.c: Likewise.
10409 2014-11-27  J. Brown  <jb999@gmx.de>
10411         * sysdeps/x86/bits/string.h: Add recent CPUs.
10413 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10415         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10416         sigblock.
10418         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10419         feof.
10421         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10422         variable.
10424 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10426         * nscd/connections.c: Include libc-internal.h because of macro
10427         usage ignore_value.
10429 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10431         * string/bits/string3.h (__warn_memset_zero_len): Don't
10432         declare for gcc newer than 5.0.
10433         (memset): Don't test for zero-length __LEN for gcc newer than
10434         5.0.
10436 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10438         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10439         size_t for %zu format.
10441         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10442         difference, not %ju.
10444 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10446         * include/libc-internal.h (ignore_value): New macro.
10447         * nscd/connections.c (restart): Wrap calls to setuid and setgid
10448         with ignore_value.
10450         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10451         definition.
10453         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10454         pthread_cleanup_push to void *.
10456         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10457         Undefine.
10459         [BZ #16619]
10460         [BZ #16740]
10461         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10462         instead of 1L << 52.
10464         * libio/bug-rewind.c (do_test): Check fwscanf return values.
10465         * libio/bug-rewind2.c (do_test): Likewise.
10467         * debug/test-stpcpy_chk-ifunc.c: Remove file.
10468         * debug/test-strcpy_chk-ifunc.c: Likewise.
10469         * wcsmbs/test-wcschr-ifunc.c: Likewise.
10470         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10471         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10472         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10473         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10474         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10475         * Rules [$(multi-arch) = no] (tests): Do not filter out
10476         $(tests-ifunc).
10477         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10478         * debug/Makefile (tests-ifunc): Remove variable.
10479         (tests): Do not add $(tests-ifunc).
10480         * wcsmbs/Makefile (tests-ifunc): Remove variable.
10481         (tests): Do not add $(tests-ifunc).
10482         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10483         [TEST_IFUNC]: Remove conditionals.
10484         * string/test-string.h (TEST_IFUNC): Remove macro.
10485         [TEST_IFUNC]: Remove conditionals.
10487         * string/test-strchr.c [!WIDE] (L): New macro.
10488         [WIDE] (L): Likewise.
10489         (check1): Use CHAR instead of char.  Use L on string and character
10490         constants.
10492 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
10494         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10495         tests.
10496         * sysdeps/powerpc/bits/atomic.h
10497         (__arch_atomic_exchange_and_add_32_acq): Add definition.
10498         (__arch_atomic_exchange_and_add_32_rel): Likewise.
10499         (atomic_exchange_and_add_acq): Likewise.
10500         (atomic_exchange_and_add_rel): Likewise.
10501         * sysdeps/powerpc/powerpc32/bits/atomic.h
10502         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10503         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10504         * sysdeps/powerpc/powerpc64/bits/atomic.h
10505         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10506         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10508 2014-11-26  Torvald Riegel  <triegel@redhat.com>
10510         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10511         Change synchronization of __sched_fifo_min_prio and
10512         __sched_fifo_max_prio.
10513         * nptl/pthread_mutexattr_getprioceiling.c
10514         (pthread_mutexattr_getprioceiling): Likewise.
10515         * nptl/pthread_mutexattr_setprioceiling.c
10516         (pthread_mutexattr_setprioceiling): Likewise.
10517         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10518         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10519         Likewise.
10521 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10523         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10524         void.
10526 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10528         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10529         third argument const.
10531 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10533         fnmatch: work around GCC compiler warning bug with uninit var
10534         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10535         This works around a bug with x86-64 GCC 4.9.2 and earlier
10536         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10537         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10538         used uninitialized in this function [-Wmaybe-uninitialized]".
10540 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10542         * posix/bug-regex31.c (main): Return RES not 0.
10544 2014-11-25  Anton Blanchard <anton@samba.org>
10546         * sysdeps/powerpc/bits/atomic.h
10547         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10549 2014-11-24  Sterling Augustine  <saugustine@google.com>
10551         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10553 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
10555         [BZ #17608]
10556         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10558 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
10560         [BZ #17633]
10561         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10562         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10563         variable.
10564         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10565         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10567 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10569         * string/strncpy.c (strncpy): Improve performance by using memset.
10571 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10573         * string/strcpy.c (strcpy):
10574         Improve performance by using strlen and memcpy.
10576 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
10578         * string/strcoll_l.c (get_next_seq): __always_inline.
10579         * string/strcoll_l.c (do_compare): __always_inline.
10581 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10583         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10584         defined.
10585         * include/mqueue.h: Likewise.
10586         * include/stdlib.h: Likewise.
10588         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10589         (get_null_defines): Adjust.
10590         * sunrpc/Makefile: Adjust comment.
10591         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10592         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10593         (CFLAGS-interp.c): Likewise.
10594         (CFLAGS-ldconfig.c): Likewise.
10595         (CPPFLAGS-.os): Likewise.
10596         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10597         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10598         * extra-modules.mk (extra-modules.mk): Likewise.
10599         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10600         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10601         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10602         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10603         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10604         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10605         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10606         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
10607         * iconvdata/Makefile (CPPFLAGS): Likewise.
10608         (cpp-srcs-left): Add libof for all iconvdata routines.
10609         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
10610         * include/assert.h: Likewise.
10611         * include/ctype.h: Likewise.
10612         * include/errno.h: Likewise.
10613         * include/libc-symbols.h: Likewise.
10614         * include/math.h: Likewise.
10615         * include/netdb.h: Likewise.
10616         * include/resolv.h: Likewise.
10617         * include/stdio.h: Likewise.
10618         * include/stdlib.h: Likewise.
10619         * include/string.h: Likewise.
10620         * include/sys/stat.h: Likewise.
10621         * include/wctype.h: Likewise.
10622         * intl/l10nflist.c: Likewise.
10623         * libidn/idn-stub.c: Likewise.
10624         * libio/libioP.h: Likewise.
10625         * nptl/libc_multiple_threads.c: Likewise.
10626         * nptl/pthreadP.h: Likewise.
10627         * posix/regex_internal.h: Likewise.
10628         * resolv/res_hconf.c: Likewise.
10629         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
10630         * sysdeps/arm/memmove.S: Likewise.
10631         * sysdeps/arm/sysdep.h: Likewise.
10632         * sysdeps/generic/_itoa.h: Likewise.
10633         * sysdeps/generic/symbol-hacks.h: Likewise.
10634         * sysdeps/gnu/errlist.awk: Likewise.
10635         * sysdeps/gnu/errlist.c: Likewise.
10636         * sysdeps/i386/i586/memcpy.S: Likewise.
10637         * sysdeps/i386/i586/memset.S: Likewise.
10638         * sysdeps/i386/i686/memcpy.S: Likewise.
10639         * sysdeps/i386/i686/memmove.S: Likewise.
10640         * sysdeps/i386/i686/mempcpy.S: Likewise.
10641         * sysdeps/i386/i686/memset.S: Likewise.
10642         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10643         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10644         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
10645         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
10646         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10647         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10648         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
10649         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10650         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10651         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10652         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10653         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10654         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10655         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10656         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10657         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10658         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
10659         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
10660         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
10661         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10662         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10663         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10664         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10665         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10666         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10667         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10668         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10669         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10670         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10671         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10672         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10673         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10674         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10675         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10676         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10677         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10678         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10679         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10680         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10681         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10682         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10683         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10684         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10685         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10686         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10687         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10688         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10689         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10690         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10691         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10692         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10693         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10694         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10695         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10696         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10697         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10698         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10699         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10700         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10701         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10702         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10703         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10704         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10705         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10706         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10707         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10708         * sysdeps/posix/closedir.c: Likewise.
10709         * sysdeps/posix/opendir.c: Likewise.
10710         * sysdeps/posix/readdir.c: Likewise.
10711         * sysdeps/posix/rewinddir.c: Likewise.
10712         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10713         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10714         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10715         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10716         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10717         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10718         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10719         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10720         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10721         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10722         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10723         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10724         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10725         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10726         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10727         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10728         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10729         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10730         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10731         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10732         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10733         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10734         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10735         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10736         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10737         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10738         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10739         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10740         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10741         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10742         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10743         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10744         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10745         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10746         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10747         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10748         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10749         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10750         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10751         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10752         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10753         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10754         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10755         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10756         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10757         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10758         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10759         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10760         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10761         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10762         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10763         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10764         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10765         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10766         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10767         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10768         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10769         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10770         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10771         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10772         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10773         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10774         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10775         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10776         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10777         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10778         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10779         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10780         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10781         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10782         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10783         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10784         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10785         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10786         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10787         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10788         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10789         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10790         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10791         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10792         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10793         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10794         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10795         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10796         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10797         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10798         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10799         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10800         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10801         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10802         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10803         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10804         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10805         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10806         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10807         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10808         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10809         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10810         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10811         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10812         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10813         * sysdeps/unix/alpha/sysdep.S: Likewise.
10814         * sysdeps/unix/alpha/sysdep.h: Likewise.
10815         * sysdeps/unix/make-syscalls.sh: Likewise.
10816         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10817         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10818         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10819         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10820         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10821         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10822         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10823         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10824         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10825         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10826         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10827         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10828         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10829         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10830         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10831         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10832         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10833         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10834         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10835         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10836         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10837         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10838         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10839         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10840         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10841         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10842         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10845         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10846         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10847         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10848         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10849         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10850         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10851         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10852         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10853         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10854         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10855         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10856         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10857         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10858         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10859         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10860         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10861         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10862         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10863         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10864         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10865         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10866         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10867         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10868         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10869         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10870         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10871         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10872         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10873         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10874         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10875         * sysdeps/x86_64/memcpy.S: Likewise.
10876         * sysdeps/x86_64/memmove.c: Likewise.
10877         * sysdeps/x86_64/memset.S: Likewise.
10878         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10879         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10880         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10881         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10882         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10883         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10884         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10885         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10886         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10887         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10888         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10889         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10890         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10891         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10892         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10893         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10894         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10895         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10896         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10897         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10898         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10899         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10900         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10901         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10902         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10903         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10904         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10905         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10906         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10907         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10908         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10909         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10910         * sysdeps/x86_64/strcmp.S: Likewise.
10912         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10914         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10915         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10916         * elf/rtld-Rules: Likewise.
10917         * elf/setup-vdso.h: Likewise.
10918         * include/assert.h: Likewise.
10919         * include/bits/stdlib-float.h: Likewise.
10920         * include/errno.h: Likewise.
10921         * include/sys/stat.h: Likewise.
10922         * include/unistd.h: Likewise.
10923         * sysdeps/aarch64/setjmp.S: Likewise.
10924         * sysdeps/alpha/setjmp.S: Likewise.
10925         * sysdeps/arm/__longjmp.S: Likewise.
10926         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10927         * sysdeps/arm/setjmp.S: Likewise.
10928         * sysdeps/arm/sysdep.h: Likewise.
10929         * sysdeps/generic/_itoa.h: Likewise.
10930         * sysdeps/generic/dl-sysdep.h: Likewise.
10931         * sysdeps/generic/ldsodefs.h: Likewise.
10932         * sysdeps/i386/dl-tls.h: Likewise.
10933         * sysdeps/i386/setjmp.S: Likewise.
10934         * sysdeps/m68k/setjmp.c: Likewise.
10935         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10936         * sysdeps/mach/hurd/opendir.c: Likewise.
10937         * sysdeps/posix/getcwd.c: Likewise.
10938         * sysdeps/posix/opendir.c: Likewise.
10939         * sysdeps/posix/profil.c: Likewise.
10940         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10941         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10942         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10943         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10944         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10945         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10946         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10947         * sysdeps/s390/dl-tls.h: Likewise.
10948         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10949         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10950         * sysdeps/sh/sh3/setjmp.S: Likewise.
10951         * sysdeps/sh/sh4/setjmp.S: Likewise.
10952         * sysdeps/unix/alpha/sysdep.h: Likewise.
10953         * sysdeps/unix/arm/sysdep.S: Likewise.
10954         * sysdeps/unix/i386/sysdep.S: Likewise.
10955         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10956         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10957         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10958         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10959         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10960         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10961         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10962         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10963         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10964         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10965         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10966         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10967         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10970         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10971         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10972         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10973         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10974         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10975         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10976         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10977         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10978         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10979         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10980         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10981         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10982         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10983         * sysdeps/x86_64/setjmp.S: Likewise.
10985         * include/math.h: Use IS_IN instead of IS_IN_libm.
10986         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
10987         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10988         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10989         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10990         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10991         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10992         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10993         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10994         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10995         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10996         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
10997         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10998         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
10999         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11000         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11001         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11002         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11003         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11004         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11005         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11006         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11007         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11008         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11009         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11010         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11011         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11012         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11013         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11014         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11015         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11016         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11017         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11018         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11020         Likewise.
11021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11022         Likewise.
11023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11024         Likewise.
11025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11026         Likewise.
11027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11028         Likewise.
11029         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11030         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11031         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11032         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11033         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11034         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11040         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11041         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11042         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11043         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11044         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11045         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11046         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11047         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11048         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11049         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11050         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11051         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11052         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11053         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11055         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11057         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11058         * nptl/pthreadP.h: Likewise.
11059         * nptl_db/structs.def: Likewise.
11060         * sysdeps/arm/sysdep.h: Likewise.
11061         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11062         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11063         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11064         * sysdeps/unix/alpha/sysdep.h: Likewise.
11065         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11066         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11067         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11068         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11069         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11070         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11071         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11072         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11073         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11074         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11075         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11076         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11077         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11078         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11081         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11082         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11083         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11084         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11085         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11086         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11087         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11088         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11089         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11090         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11092         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11093         * nptl/pthreadP.h: Likewise.
11094         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11095         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11096         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11097         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11098         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11099         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11100         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11101         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11102         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11103         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11104         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11105         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11107         Likewise.
11108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11109         Likewise.
11110         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11111         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11112         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11113         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11114         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11115         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11116         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11117         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11119         * dlfcn/dladdr.c: Use IS_IN.
11120         * dlfcn/dladdr1.c: Likewise.
11121         * dlfcn/dlclose.c: Likewise.
11122         * dlfcn/dlerror.c: Likewise.
11123         * dlfcn/dlinfo.c: Likewise.
11124         * dlfcn/dlmopen.c: Likewise.
11125         * dlfcn/dlopen.c: Likewise.
11126         * dlfcn/dlsym.c: Likewise.
11127         * dlfcn/dlvsym.c: Likewise.
11129         * include/ifaddrs.h: Use IS_IN.
11130         * inet/check_pf.c: Likewise.
11131         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11132         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11134         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11135         IS_IN_ldconfig.
11136         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11137         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11139         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11140         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11141         IS_IN (libc).
11143         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11145         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11146         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11147         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11148         * include/libc-symbols.h (IS_IN_LIB): New macro.
11149         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11150         * include/netdb.h: Likewise.
11151         * include/stap-probe.h: Remove all uses of IN_LIB.
11153         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11154         instead of IN_MODULE.
11155         * include/libc-symbols.h (IN_MODULE): Define using
11156         MODULE_NAME.
11157         (PASTE_NAME, PASTE_NAME1): New macros.
11158         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11159         of IN_LIB.
11160         (STAP_PROBE_ASM): Likewise.
11162 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11164         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11165         __mach_init in dlopened libc.
11167 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11169         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11170         * sysdeps/arm/preconfigure: Regenerate.
11172 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11174         * nptl/pthread_create.c (__pthread_create_2_1): Set
11175         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11176         when copying values from IATTR into PD.
11178 2014-11-21  Will Newton  <will.newton@linaro.org>
11179             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11181         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11182         Refactor inline-asm.  Also add comment.
11184         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11185         ElfW macro instead of hardcoded Elf64 types.
11186         (la_aarch64_gnu_pltenter): Likewise.
11187         * sysdeps/aarch64/dl-machine.h
11188         (elf_machine_runtime_setup): Use ElfW(Addr).
11190         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11191         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11192         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11193         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11194         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11195         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11196         (R_AARCH64_TLS_DTPMOD): This.
11197         (R_AARCH64_TLS_DTPREL64): Rename to ...
11198         (R_AARCH64_TLS_DTPREL): This.
11199         (R_AARCH64_TLS_TPREL64): Rename to ...
11200         (R_AARCH64_TLS_TPREL): This.
11201         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11202         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11203         R_AARCH64_TLS_TPREL64.
11204         (elf_machine_rela): Likewise.
11206 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11208         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11209         by setting it to 0.  64b atomics are not supported currently.
11211 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11213         [BZ #16469]
11214         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11215         search domain names.
11217 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11219         [BZ #16469]
11220         * NEWS: Update.
11221         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11222         trailing dot.
11223         * posix/tst-getaddrinfo5.c: New.
11224         * posix/Makefile (tests): Add it.
11226 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11228         [BZ #14498]
11229         * NEWS: Fixed.
11230         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11231         after parsing line but before break_if_match.
11232         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11233         if there is a protocol mismatch.
11235 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11237         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11238         because the potential race is on the user-supplied stream.
11240 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11242         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11243         string literal if not passed a buffer.
11244         * manual/job.texi (ctermid): Update reasoning, note deviation
11245         from posix, suggest mtasurace when not passed a buffer, for
11246         future non-preliminary safety notes.
11248 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11250         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11251         of not passing it a buffer.
11252         Reported by Peng Haitao.
11254 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11256         * manual/Makefile ($(objpfx)stamp-summary): Require
11257         check-safety.sh to pass.
11258         * manual/check-safety.sh: Wish for verification that every
11259         @deftypefn and @deftypefun is followed by a @safety remark.
11261 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11263         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11265         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11266         PTHREAD_CANCEL_ASYNCHRONOUS.
11267         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11268         send SIGCANCEL.
11270         * nptl/default-sched.h: New file.
11271         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11272         * nptl/pthread_create.c: Include it.
11273         (__pthread_create_2_1): Use collect_default_sched instead of making
11274         Linux syscalls here directly.
11276 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11278         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11279         __pthread_once): Use C11 atomics.
11281 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11283         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11285 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11287         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11288         atomic_thread_fence_acquire, atomic_thread_fence_release,
11289         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11290         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11291         atomic_compare_exchange_weak_relaxed,
11292         atomic_compare_exchange_weak_acquire,
11293         atomic_compare_exchange_weak_release,
11294         atomic_exchange_acquire, atomic_exchange_release,
11295         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11296         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11297         atomic_fetch_and_acquire,
11298         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11300 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11302         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11303         USE_ATOMIC_COMPILER_BUILTINS): Define.
11304         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11305         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11306         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11307         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11308         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11309         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11310         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11311         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11312         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11313         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11314         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11315         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11316         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11317         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11318         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11319         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11320         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11321         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11322         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11323         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11324         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11325         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11326         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11327         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11328         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11329         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11330         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11331         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11332         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11333         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11334         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11335         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11336         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11337         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11338         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11339         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11340         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11341         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11342         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11343         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11345 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11347         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11348         the sched_priority value here.  It was already checked when the user
11349         called pthread_attr_setschedparam.
11351         * nptl/tst-bad-schedattr.c: New file.
11352         * nptl/Makefile (tests): Add it.
11354 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11355             Florian Weimer  <fweimer@redhat.com>
11356             Joseph Myers  <joseph@codesourcery.com>
11357             Adam Conrad  <adconrad@0c3.net>
11358             Andreas Schwab  <schwab@suse.de>
11359             Brooks  <bmoses@google.com>
11361         [BZ #17625]
11362         * wordexp-test.c (__dso_handle): Add prototype.
11363         (__register_atfork): Likewise.
11364         (__app_register_atfork): New function.
11365         (registered_forks): New global.
11366         (register_fork): New function.
11367         (test_case): Add 3 new tests for WRDE_CMDSUB.
11368         (main): Call __app_register_atfork.
11369         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11370         fork count is non-zero fail the test.
11371         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11372         is set.
11373         (parse_dollars): Remove check for WRDE_NOCMD.
11374         (parse_dquote): Likewise.
11376 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11378         * Makeconfig (built-modules): List non-library modules to be
11379         built.
11380         (module-cppflags): Include libc-modules.h for
11381         everything except shlib-versions.v.i.
11382         (CPPFLAGS): Use it.
11383         (before-compile): Add libc-modules.h.
11384         ($(common-objpfx)libc-modules.h,
11385         $(common-objpfx)libc-modules.stmp): New targets.
11386         (common-generated): Add libc-modules.h and libc-modules.stmp.
11387         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11388         * include/libc-symbols.h: Don't include libc-modules.h.
11389         * include/libc-modules.h: Remove file.
11390         * scripts/gen-libc-modules.awk: New script to generate
11391         libc-modules.h.
11392         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11393         Depend on libc-modules.stmp.
11395         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11397         * Makeconfig (in-module): Get value of libof set for the
11398         translation unit.
11399         (CPPFLAGS): Use $(in-module).
11400         * Makerules: Don't suffix routine names for nonlib.
11401         * include/libc-modules.h: New file.
11402         * include/libc-symbols.h: Include libc-modules.h
11403         (IS_IN): New macro to replace IS_IN_* macros.
11404         * elf/Makefile: Set libof-* for each routine.
11405         * elf/rtld-Rules: Likewise.
11406         * extra-modules.mk: Likewise.
11407         * iconv/Makefile: Likewise.
11408         * iconvdata/Makefile: Likewise.
11409         * locale/Makefile: Likewise.
11410         * malloc/Makefile: Likewise.
11411         * nss/Makefile: Likewise.
11412         * sysdeps/gnu/Makefile: Likewise.
11413         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11414         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11415         * sysdeps/s390/s390-64/Makefile: Likewise.
11416         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11417         CPPFLAGS for nscd instead of nonlib.
11419 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11421         * nptl/createthread.c: New file.
11423         * nptl/createthread.c: Moved ...
11424         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11426         * nptl/createthread.c: Add proper top-line comment.
11427         (do_clone): Folded into ...
11428         (create_thread): ... here.  Take new arguments STOPPED_START and
11429         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11430         increment __nptl_threads, do event-reporting logic, do
11431         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11432         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11433         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11434         just send SIGCANCEL.
11435         * nptl/pthread_create.c: Forward-declare create_thread before
11436         including createthread.c.
11437         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11438         declaration, and new macro START_THREAD_SELF to replace argument.
11439         Remove return statement.
11440         (report_thread_creation): New function.
11441         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11442         synchronization logic, and __nptl_nthreads increment here, around
11443         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11444         PD->parent_cancelhandling here, before create_thread.  When
11445         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11446         __deallocate_stack, and ENOMEM translation here.
11448 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
11450         [BZ #17616]
11451         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11452         (mptwo): Rename to __mptwo.
11453         (__inv): Use __mptwo instead of mptwo.
11454         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11455         (mptwo): Rename to __mptwo.
11456         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11457         of mpone and __mptwo instead of mptwo.
11458         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11459         instead of mpone.
11460         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11461         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11462         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11463         of mpone and __mptwo instead of mptwo.
11464         (__mpranred): Use __mpone instead of mpone.
11465         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11466         variable.
11467         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11468         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11469         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11470         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11471         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11472         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11473         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11474         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11475         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11476         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11477         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11478         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11479         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11480         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11481         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11482         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11483         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11484         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11485         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11487 2014-11-18  Tom de Vries  <tom@codesoucery.com>
11489         * manual/signal.texi (Primitives Interrupted by Signals): In section,
11490         replace BSD Handler xref with BSD Signal Handling.
11492 2014-11-17  Richard Henderson  <rth@redhat.com>
11494         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11495         (_FP_PACK_RAW_2): Remove.
11496         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11497         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11498         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11499         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11500         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11501         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11502         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11503         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11504         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11505         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11506         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11507         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11508         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11509         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11510         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11511         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11513 2014-11-14  Roland McGrath  <roland@hack.frob.com>
11515         * signal/signal.h [__USE_MISC]
11516         (struct sigvec): Remove type.
11517         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11518         (sigvec): Remove declaration.
11519         * sysdeps/posix/sigvec.c: Moved ...
11520         * signal/sigvec.c: ... here, replacing old file.
11521         (struct sigvec): New type, copied from old signal.h definition.
11522         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11523         (__sigvec): Convert definition to prototype.
11524         (sigvec): Replace weak_alias with compat_symbol.
11525         * signal/Versions (libc: GLIBC_2.21): New version set.
11526         * include/signal.h: Remove __sigvec declaration.
11527         * sysdeps/unix/bsd/sigvec.c: Remove file.
11528         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11529         * manual/signal.texi (BSD Handler): Remove subsection.
11530         Move siginterrupt up to ...
11531         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
11532         (Blocking in BSD): Fold subsection into its parent.
11533         * NEWS: Mention sigvec removal.
11535 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11537         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11538         (DLA_FMS): Make definition conditional only on [__FMA4__].
11539         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11540         definition.
11542         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11543         Make definition conditional only on [PROF].
11544         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11545         definition.
11546         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11547         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11549         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11550         !__GNUC__].
11551         * include/signal.h (__sigpause): Move declaration above call to
11552         libc_hidden_proto.
11553         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11554         variable.
11555         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11556         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11558 2014-11-14  David S. Miller  <davem@davemloft.net>
11560         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11561         Define before including <string/memcpy.c> and <string/mempcpy.c>.
11563 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11565         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11566         * configure: Regenerated.
11567         * manual/install.texi (Tools for Compilation): Document a
11568         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11569         compiler verified to work.
11570         * INSTALL: Regenerated.
11572         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11573         redeclare with asm name.
11574         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11575         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11576         including <string.h>.
11577         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11578         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11579         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11580         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11581         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11582         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11583         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11585 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
11587         * stdlib/strtol.c (__strtol): Use prototype definition.
11589         [BZ #17594]
11590         * stdlib/strtol.c (SYM__): New macro.
11591         (SYM__1): Likewise.
11592         (__strtol): Likewise.
11593         (strtol): Rename to __strtol and define as weak alias of
11594         __strtol.  Use libc_hidden_weak.
11596 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11598         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11599         Use numbered labels in inline assembly.
11601 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11603         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11604         Add setjmp LIBC_PROBE.
11605         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11606         Likewise.
11607         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
11608         Add longjmp, longjmp_target LIBC_PROBE.
11609         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
11610         Likewise.
11612 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11614         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11615         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
11616         to get rid of unused variable warning.
11618 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11620         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
11621         Check for unwind_backtrace ==  NULL only in SHARED case.
11622         (__backchain_backtrace): Compile only in SHARED case.
11623         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
11624         Likewise.
11625         (__backchain_backtrace): Declare as static.
11627 2014-11-12  Roland McGrath  <roland@hack.frob.com>
11629         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
11630         (__libc_multiple_threads_ptr): Variable moved ...
11631         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
11633 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
11635         * conform/GlibcConform.pm: New file.
11636         * conform/conformtest.pl: Use GlibcConform module.
11637         * conform/linknamespace.pl: New file.
11638         * conform/list-header-symbols.pl: Likewise.
11639         * conform/Makefile (linknamespace-symlists-base): New variable.
11640         (linknamespace-symlists-tests): Likewise.
11641         (linknamespace-header-base): Likewise.
11642         (linknamespace-header-tests): Likewise.
11643         (tests-special): Add new tests.
11644         ($(linknamespace-symlists-tests)): New rule.
11645         (linknamespace-libs): New variable.
11646         ($(objpfx)symlist-stdlibs): New rule.
11647         ($(linknamespace-header-tests)): Likewise.
11648         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
11649         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
11650         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
11651         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
11652         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
11653         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
11654         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
11655         (test-xfail-ISO/math.h/linknamespace): Likewise.
11656         (test-xfail-ISO/signal.h/linknamespace): Likewise.
11657         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
11658         (test-xfail-ISO/time.h/linknamespace): Likewise.
11659         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11660         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
11661         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11662         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11663         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11664         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11665         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11666         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11667         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11668         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11669         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11670         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11671         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11672         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11673         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11674         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11675         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11676         (test-xfail-XPG3/search.h/linknamespace): Likewise.
11677         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11678         (test-xfail-XPG3/time.h/linknamespace): Likewise.
11679         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11680         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11681         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11682         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11683         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11684         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11685         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11686         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11687         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11688         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11689         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11690         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11691         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11692         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11693         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11694         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11695         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11696         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11697         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11698         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11699         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11700         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11701         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11702         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11703         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11704         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11705         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11706         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11707         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11708         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11709         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11710         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11711         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11712         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11713         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11714         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11715         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11716         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11717         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11718         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11719         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11720         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11721         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11722         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11723         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11724         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11725         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11726         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11727         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11728         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11729         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11730         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11731         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11732         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11733         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11734         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11735         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11736         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11737         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11738         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11739         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11740         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11741         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11742         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11743         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11744         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11745         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11746         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11747         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11748         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11749         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11750         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11751         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11752         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11753         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11754         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11755         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11756         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11757         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11758         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11759         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11760         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11761         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11762         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11763         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11764         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11765         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11766         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11767         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11768         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11769         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11770         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11771         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11772         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11773         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11774         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11775         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11776         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11777         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11778         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11779         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11780         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11781         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11782         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11783         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11784         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11785         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11786         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11787         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11788         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11789         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11790         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11791         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11792         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11793         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11794         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11795         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11796         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11797         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11798         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11799         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11800         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11801         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11802         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11803         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11804         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11805         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11806         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11807         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11808         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11810         [BZ #17589]
11811         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11812         of fgets_unlocked.
11814         [BZ #17585]
11815         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11816         (memmem): Rename to __memmem and define as weak alias of
11817         __memmem.  Use libc_hidden_weak.
11818         (__memmem): Use libc_hidden_def.
11819         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
11820         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11821         memmem.
11823         [BZ #17582]
11824         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11825         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
11826         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11827         and define as weak alias of __fgets_unlocked.  Use
11828         libc_hidden_weak.
11829         (__fgets_unlocked): Use libc_hidden_def.
11830         * include/stdio.h (__fgets_unlocked): Declare.  Use
11831         libc_hidden_proto.
11832         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11833         __fgets_unlocked instead of fgets_unlocked.
11834         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11835         (GET_NPROCS_CONF_PARSER): Likewise.
11836         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11837         (GET_NPROCS_CONF_PARSER): Likewise.
11839         [BZ #17574]
11840         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11841         weak alias of __wmemset.  Use libc_hidden_weak.
11842         (__wmemset): Use libc_hidden_def.
11843         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
11844         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11845         of wmemset.
11847         [BZ #17573]
11848         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11849         with asm name __mempcpy.
11850         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11852         [BZ #17572]
11853         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11854         and define as weak alias of __rawmemchr.
11855         (__rawmemchr): Do not define as strong alias of rawmemchr.
11857         [BZ #17571]
11858         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11859         alias of __qsort_r.
11860         (qsort): Call __qsort_r instead of qsort_r.
11861         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11862         (__qsort_r): Declare.  Call libc_hidden_proto.
11863         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11864         instead of qsort_r.
11865         * nscd/gai.c (__qsort_r): Define to qsort_r.
11866         * posix/tst-rfc3484.c (__qsort_r): Likewise.
11867         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11868         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11870         [BZ #17570]
11871         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11872         define as weak alias of __malloc_info.
11874         [BZ #17584]
11875         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11876         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11877         (__rewinddir): Use libc_hidden_def.
11878         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11879         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11880         (__rewinddir): Use libc_hidden_def.
11881         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11882         weak alias of __rewinddir.  Don't use libc_hidden_def.
11883         (__rewinddir): Use libc_hidden_def.
11884         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11885         (__rewinddir): Use libc_hidden_proto.
11886         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11887         rewinddir.
11888         (__getcwd): Use __rewinddir instead of rewinddir.
11890         [BZ #17583]
11891         * libio/fileno.c (fileno): Rename to __fileno and define as weak
11892         alias of __fileno.  Use libc_hidden_weak.
11893         (__fileno): Use libc_hidden_def.
11894         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11895         * libio/ftello.c (ftello): Rename to __ftello and define as weak
11896         alias of __ftello.
11897         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11898         __ftello.
11899         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11900         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
11901         libc_hidden_def.
11902         (fread_unlocked): Don't use libc_hidden_ver.
11903         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11904         and define as weak alias of __fread_unlocked.  Don't use
11905         libc_hidden_def.
11906         (__fread_unlocked): Use libc_hidden_def.
11907         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
11908         (ftello): Don't use libc_hidden_proto.
11909         (__ftello): Declare.  Use libc_hidden_proto.
11910         (fread_unlocked): Don't use libc_hidden_proto.
11911         (__fread_unlocked): Declare.  Use libc_hidden_proto.
11912         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11913         and __ftello instead of fileno, fread_unlocked and ftello.
11915 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11917         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11918         GOT12.
11919         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11920         Likewise.
11921         (_dl_start_user): Likewise.
11922         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11924 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
11925             Siddhesh Poyarekar  <siddhesh@redhat.com>
11927         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11928         Move argv and envp down instead of moving argc up.
11929         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11931 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
11933         [BZ #17506]
11934         * test-skeleton.c (main): Return successful if one of
11935         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11936         * string/tst-strcoll-overflow.c: Define expected status.
11938 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
11940         [BZ #17475]
11941         * locale/iso-639.def: Define Bhili and Tulu language codes.
11943 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
11945         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11947 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
11949         [BZ #17555]
11950         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11952 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11954         * configure.ac: Updated check of minimal required version to
11955         2.22.
11956         * manual/install.texi (Tools for Compilation): Updated version
11957         number.
11958         * configure: Regenerated.
11959         * INSTALL: Likewise.
11961 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
11963         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11964         __tls_get_addr.
11966 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
11968         * include/sys/wait.h (__libc_waitpid): Remove declaration.
11969         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11970         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11971         libc_hidden_weak.
11972         (waitpid): Define as alias of __waitpid.
11973         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11974         __waitpid.
11975         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11976         libc_hidden_weak.
11977         (waitpid): Define as alias of __waitpid.
11978         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11979         __libc_waitpid alias.
11980         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11981         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11982         Likewise.
11983         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
11984         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
11985         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
11986         alias.
11987         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
11988         __waitpid.
11989         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11990         libc_hidden_weak.
11991         (waitpid): Define as alias of __waitpid.
11993 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
11995         * manual/llio.texi: Add comment that write safety has been
11996         fixed in Linux.
11998         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
11999         (localplt-build-dso): Add elf/ld.so.
12000         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12001         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12002         and free for ld.so.
12003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12004         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12006         Likewise.
12007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12008         Likewise.
12009         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12010         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12011         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12012         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12013         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12014         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12015         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12016         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12017         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12018         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12019         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12021 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12023         [BZ #14132]
12024         * include/libc-symbols.h (INTUSE): Remove macro.
12025         (INTDEF): Likewise.
12026         (INTVARDEF): Likewise.
12027         (_INTVARDEF): Likewise.
12028         (INTDEF2): Likewise.
12029         (INTVARDEF2): Likewise.
12030         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12031         rtld_hidden_def instead of INTVARDEF.
12032         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12033         (_dl_starting_up_internal): Remove declaration.
12034         (_dl_starting_up): Use rtld_hidden_proto.
12035         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12036         declaration.
12037         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12038         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12039         _dl_starting_up.
12040         * elf/dl-writev.h (_dl_writev): Likewise.
12041         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12042         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12043         _dl_starting_up_internal.
12045 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12047         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12048         test-skeleton.c.
12050 2014-11-05  Will Newton  <will.newton@linaro.org>
12052         * benchtests/Makefile: (bench-malloc): Add malloc thread
12053         scalability benchmark.
12054         * benchtests/bench-malloc-threads.c: New file.
12056 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12058         * sysdeps/aarch64/strchrnul.S: New file.
12060 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12062         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12063         definition.
12064         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12065         Likwise.
12066         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12067         Likewise.
12068         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12069         Likewise.
12070         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12071         Likewise.
12072         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12073         Likewise.
12075 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12077         * catgets/test-gencat.c: Use test-skeleton.c.
12078         * catgets/tst-catgets.c: Likewise.
12079         * csu/tst-empty.c: Likewise.
12080         * elf/tst-audit2.c: Likewise.
12081         * elf/tst-global1.c: Likewise.
12082         * elf/tst-pathopt.c: Likewise.
12083         * elf/tst-piemod1.c: Likewise.
12084         * elf/tst-tls10.c: Likewise.
12085         * elf/tst-tls11.c: Likewise.
12086         * elf/tst-tls12.c: Likewise.
12087         * gnulib/tst-gcc.c: Likewise.
12088         * iconvdata/tst-e2big.c: Likewise.
12089         * iconvdata/tst-loading.c: Likewise.
12090         * iconv/tst-iconv1.c: Likewise.
12091         * iconv/tst-iconv2.c: Likewise.
12092         * inet/test-inet6_opt.c: Likewise.
12093         * inet/tst-gethnm.c: Likewise.
12094         * inet/tst-network.c: Likewise.
12095         * inet/tst-ntoa.c: Likewise.
12096         * intl/tst-codeset.c: Likewise.
12097         * intl/tst-gettext2.c: Likewise.
12098         * intl/tst-gettext3.c: Likewise.
12099         * intl/tst-ngettext.c: Likewise.
12100         * intl/tst-translit.c: Likewise.
12101         * io/test-stat.c: Likewise.
12102         * libio/test-fmemopen.c: Likewise.
12103         * libio/tst-freopen.c: Likewise.
12104         * libio/tst-sscanf.c: Likewise.
12105         * libio/tst-ungetwc1.c: Likewise.
12106         * libio/tst-ungetwc2.c: Likewise.
12107         * libio/tst-widetext.c: Likewise.
12108         * localedata/tst-ctype.c: Likewise.
12109         * localedata/tst-digits.c: Likewise.
12110         * localedata/tst-leaks.c: Likewise.
12111         * localedata/tst-mbswcs1.c: Likewise.
12112         * localedata/tst-mbswcs2.c: Likewise.
12113         * localedata/tst-mbswcs3.c: Likewise.
12114         * localedata/tst-mbswcs4.c: Likewise.
12115         * localedata/tst-mbswcs5.c: Likewise.
12116         * localedata/tst-setlocale.c: Likewise.
12117         * localedata/tst-trans.c: Likewise.
12118         * localedata/tst-wctype.c: Likewise.
12119         * localedata/tst-xlocale1.c: Likewise.
12120         * login/tst-grantpt.c: Likewise.
12121         * malloc/tst-calloc.c: Likewise.
12122         * malloc/tst-malloc.c: Likewise.
12123         * malloc/tst-mallocstate.c: Likewise.
12124         * malloc/tst-mcheck.c: Likewise.
12125         * malloc/tst-mtrace.c: Likewise.
12126         * malloc/tst-obstack.c: Likewise.
12127         * math/atest-exp2.c: Likewise.
12128         * math/atest-exp.c: Likewise.
12129         * math/atest-sincos.c: Likewise.
12130         * math/test-matherr.c: Likewise.
12131         * math/test-misc.c: Likewise.
12132         * math/test-powl.c: Likewise.
12133         * math/tst-definitions.c: Likewise.
12134         * misc/tst-dirname.c: Likewise.
12135         * misc/tst-efgcvt.c: Likewise.
12136         * misc/tst-fdset.c: Likewise.
12137         * misc/tst-hsearch.c: Likewise.
12138         * misc/tst-mntent2.c: Likewise.
12139         * nptl/tst-sem7.c: Likewise.
12140         * nptl/tst-sem8.c: Likewise.
12141         * nptl/tst-sem9.c: Likewise.
12142         * nss/test-netdb.c: Likewise.
12143         * posix/tst-fnmatch.c: Likewise.
12144         * posix/tst-getlogin.c: Likewise.
12145         * posix/tst-gnuglob.c: Likewise.
12146         * posix/tst-mmap.c: Likewise.
12147         * pwd/tst-getpw.c: Likewise.
12148         * resolv/tst-inet_ntop.c: Likewise.
12149         * rt/tst-timer.c: Likewise.
12150         * stdio-common/test-fseek.c: Likewise.
12151         * stdio-common/test-popen.c: Likewise.
12152         * stdio-common/test-vfprintf.c: Likewise.
12153         * stdio-common/tst-cookie.c: Likewise.
12154         * stdio-common/tst-fileno.c: Likewise.
12155         * stdio-common/tst-gets.c: Likewise.
12156         * stdio-common/tst-obprintf.c: Likewise.
12157         * stdio-common/tst-perror.c: Likewise.
12158         * stdio-common/tst-sprintf2.c: Likewise.
12159         * stdio-common/tst-sprintf3.c: Likewise.
12160         * stdio-common/tst-sprintf.c: Likewise.
12161         * stdio-common/tst-swprintf.c: Likewise.
12162         * stdio-common/tst-tmpnam.c: Likewise.
12163         * stdio-common/tst-unbputc.c: Likewise.
12164         * stdio-common/tst-wc-printf.c: Likewise.
12165         * stdlib/tst-environ.c: Likewise.
12166         * stdlib/tst-fmtmsg.c: Likewise.
12167         * stdlib/tst-limits.c: Likewise.
12168         * stdlib/tst-rand48-2.c: Likewise.
12169         * stdlib/tst-rand48.c: Likewise.
12170         * stdlib/tst-random2.c: Likewise.
12171         * stdlib/tst-random.c: Likewise.
12172         * stdlib/tst-strtol.c: Likewise.
12173         * stdlib/tst-strtoll.c: Likewise.
12174         * stdlib/tst-tls-atexit.c: Likewise.
12175         * stdlib/tst-xpg-basename.c: Likewise.
12176         * string/test-ffs.c: Likewise.
12177         * string/tst-bswap.c: Likewise.
12178         * string/tst-inlcall.c: Likewise.
12179         * string/tst-strtok.c: Likewise.
12180         * string/tst-strxfrm.c: Likewise.
12181         * sysdeps/x86_64/tst-audit10.c: Likewise.
12182         * sysdeps/x86_64/tst-audit3.c: Likewise.
12183         * sysdeps/x86_64/tst-audit4.c: Likewise.
12184         * sysdeps/x86_64/tst-audit5.c: Likewise.
12185         * time/tst-ftime_l.c: Likewise.
12186         * time/tst-getdate.c: Likewise.
12187         * time/tst-mktime3.c: Likewise.
12188         * time/tst-mktime.c: Likewise.
12189         * time/tst-posixtz.c: Likewise.
12190         * time/tst-strptime2.c: Likewise.
12191         * time/tst-strptime3.c: Likewise.
12192         * wcsmbs/tst-btowc.c: Likewise.
12193         * wcsmbs/tst-mbrtowc.c: Likewise.
12194         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12195         * wcsmbs/tst-wchar-h.c: Likewise.
12196         * wcsmbs/tst-wcpncpy.c: Likewise.
12197         * wcsmbs/tst-wcrtomb.c: Likewise.
12198         * wcsmbs/tst-wcsnlen.c: Likewise.
12199         * wcsmbs/tst-wcstof.c: Likewise.
12201 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12203         [BZ #14132]
12204         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12205         INTDEF.
12206         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12207         declaration.
12208         (_dl_mcount): Use rtld_hidden_proto.
12209         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12210         _dl_mcount.
12211         * elf/rtld.c (_rtld_global_ro): Likewise.
12213         [BZ #14132]
12214         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12215         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12216         of _dl_init_internal.
12217         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12218         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12219         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12220         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12221         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12222         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12223         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12224         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12225         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12226         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12227         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12228         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12229         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12230         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12231         * sysdeps/tile/dl-start.S (_start): Likewise.
12232         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12233         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12235         [BZ #14132]
12236         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12237         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12238         (rtld_progname): Make macro definition unconditional.
12239         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12240         INTDEF.
12241         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12242         (dl_main): Likewise.
12243         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12244         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12245         instead of _dl_argv_internal.
12246         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12247         __GI__dl_argv instead of INTUSE(_dl_argv).
12248         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12249         __GI__dl_argv instead of _dl_argv_internal.
12251         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12252         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12253         macro.
12254         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12255         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12256         New macro.
12257         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12258         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12259         macro.
12260         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12261         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12263 2014-11-04  Andreas Schwab  <schwab@suse.de>
12265         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12267 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12269         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12270         mtvsrd instruction in binary form.
12272 2014-11-03  Andreas Schwab  <schwab@suse.de>
12274         [BZ #17522]
12275         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12276         for less than MB_LEN_MAX use a local buffer of that size.
12277         * libio/tst-fputws.c: New file.
12278         * libio/Makefile (tests): Add tst-fputws.
12280 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12282         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12283         the size of the fpu_fr.fpu_dregs[] array.
12285 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12287         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12288         (__nanosleep): Do not define as alias.
12289         (nanosleep): Define as alias of __nanosleep.
12290         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12291         __libc_nanosleep name.
12293 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12295         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12296         install.texi in comment.
12298 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12300         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12301         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12302         ... add here and use lwsync or sync ...
12303         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12304         ... and add here using lwsync.
12306 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12308         * elf/dl-machine-reject-phdr.h: New file.
12309         * elf/dl-load.c: #include that.
12310         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12311         if that returned true.
12313 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12315         [BZ #17496]
12316         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12317         gen-as-const-headers chunk.  Add a big scare comment after the last
12318         safe place to touch before-compile.
12320 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12322         * manual/install.texi (Tools for Compilation): Update autoconf
12323         version requirements.
12324         * INSTALL: Regenerated.
12326         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12327         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12328         (__libc_pselect): Likewise.
12330         [BZ #14138]
12331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12336 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12338         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12339         correct barrier instruction.
12340         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12341         Likewise.
12342         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12343         Likewise.
12345 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12347         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12348         after defining inlines.  Instead, just use parens to defeat macro
12349         expansion of __isctype in its declaration.
12351 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12353         * include/sys/uio.h (__libc_readv): Remove declaration.
12354         (__libc_writev): Likewise.
12355         * misc/readv.c (__libc_readv): Rename to __readv.
12356         (__readv): Do not define as alias.
12357         (readv): Define as alias of __readv.
12358         * misc/writev.c (__libc_writev): Rename to __writev.
12359         (__writev): Do not define as alias.
12360         (writev): Define as alias of __writev.
12361         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12362         (__readv): Do not define as alias.
12363         (readv): Define unconditionally as alias of __readv.
12364         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12365         (__writev): Do not define as alias.
12366         (writev): Define unconditionally as alias of __writev.
12367         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12368         name.
12369         (writev): Do not define __libc_writev name.
12371 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12373         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12374         (convert_charseq): New function, broken out of ...
12375         (use_from_charmap): ... here.  Call it.
12376         (use_to_charmap): Use convert_charseq and free instead of duplicating
12377         its code with a variable-length stack struct.
12379 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12381         * include/fcntl.h (__libc_creat): Remove declaration.
12382         * io/creat.c (__libc_creat): Rename to creat.
12383         (creat): Do not define as alias.
12384         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12385         of creat instead of __libc_creat.
12386         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12387         to creat.
12388         (creat): Do not define as alias.
12389         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12390         __libc_creat.
12391         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12392         __libc_creat name.
12393         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12394         Likewise.
12396 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12398         * manual/llio.texi: Add comments discussing why write() may be
12399         considered MT-unsafe on Linux.
12401 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12403         * dl-load.c (local_strdup): Remove.
12404         (expand_dynamic_string_token): Use __strdup.
12405         (decompose_rpath): Likewise.
12406         (_dl_map_object): Likewise.
12408 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12410         [BZ #14132]
12411         * sysdeps/generic/unwind-dw2-fde.c
12412         (__register_frame_info_bases_internal): Do not declare.
12413         (__register_frame_info_table_bases_internal): Likewise.
12414         (__deregister_frame_info_bases_internal): Likewise.
12415         (__register_frame_info_bases): Declare and use hidden_proto before
12416         definition.  Use hidden_def instead of INTDEF.
12417         (__register_frame_info_table_bases): Likewise.
12418         (__deregister_frame_info_bases): Likewise.
12419         (__register_frame_info): Do not use INTUSE.
12420         (__register_frame): Likewise.
12421         (__register_frame_info_table): Likewise.
12422         (__register_frame_table): Likewise.
12423         (__deregister_frame_info): Likewise.
12424         (__deregister_frame): Likewise.
12426 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12428         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12429         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12430         not undefine.
12431         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12432         Likewise.
12433         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12434         Likewise.
12436 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12438         [BZ #14138]
12439         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12440         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12441         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12442         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12443         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12444         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12445         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12446         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12447         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12448         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12449         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12450         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12451         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12452         syscall.
12453         (setfsuid): Likewise.
12454         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12455         (setfsuid): Likewise.
12456         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12457         (setfsuid): Likewise.
12458         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12459         Likewise.
12460         (setfsuid): Likewise.
12461         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12462         (setfsuid): Likewise.
12463         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12464         Likewise.
12465         (setfsuid): Likewise.
12467 2014-10-27  Andreas Schwab  <schwab@suse.de>
12469         [BZ #17501]
12470         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12471         check for Slow_SSE4_2 feature bit.
12472         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12473         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12474         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12475         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
12477 2014-10-24  Roland McGrath  <roland@hack.frob.com>
12479         * configure.ac: Validate compiler version with a empirical test of
12480         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12481         $CC -v output.
12482         * configure: Regenerated.
12484         * inet/htons.c (htons): Prototypify.
12485         * inet/htonl.c (htonl): Likewise.
12487 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12489         * string/strncat.c (strncat): Improve performance by using strlen.
12491 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12493         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12495 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12497         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12498         Call libc_fetestexcept_aarch64.
12500 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12502         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12503         Call libc_feholdexcept_aarch64.
12505 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12507         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12508         Call get_rounding_mode.
12510 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12512         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12513         Simplify logic.
12515 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12517         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12518         Simplify logic.
12520 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
12522         [BZ #14138]
12523         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12524         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12525         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12526         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12527         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12528         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12529         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12530         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12531         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12532         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12533         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12534         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12535         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12536         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12537         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12538         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12539         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12540         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12541         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12542         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12543         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12544         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12545         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12546         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12547         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12548         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12549         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12550         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12551         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12552         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12553         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12554         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12555         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12556         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12557         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12558         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12559         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12560         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12561         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12562         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12563         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12564         syscall.
12565         (geteuid): Likewise.
12566         (getgid): Likewise.
12567         (getuid): Likewise.
12568         (getresgid): Likewise.
12569         (getresuid): Likewise.
12570         (getgroups): Likewise.
12571         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12572         (geteuid): Likewise.
12573         (getgid): Likewise.
12574         (getuid): Likewise.
12575         (getresgid): Likewise.
12576         (getresuid): Likewise.
12577         (getgroups): Likewise.
12578         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12579         (geteuid): Likewise.
12580         (getgid): Likewise.
12581         (getuid): Likewise.
12582         (getresgid): Likewise.
12583         (getresuid): Likewise.
12584         (getgroups): Likewise.
12585         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12586         Likewise.
12587         (geteuid): Likewise.
12588         (getgid): Likewise.
12589         (getuid): Likewise.
12590         (getresgid): Likewise.
12591         (getresuid): Likewise.
12592         (getgroups): Likewise.
12593         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12594         (geteuid): Likewise.
12595         (getgid): Likewise.
12596         (getuid): Likewise.
12597         (getresgid): Likewise.
12598         (getresuid): Likewise.
12599         (getgroups): Likewise.
12600         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12601         Likewise.
12602         (geteuid): Likewise.
12603         (getgid): Likewise.
12604         (getuid): Likewise.
12605         (getgroups): Likewise.
12607         [BZ #14138]
12608         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
12609         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
12610         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
12611         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12612         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
12613         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
12614         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
12615         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
12616         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
12617         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
12618         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
12619         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
12620         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
12621         __chown.
12622         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
12623         (lchown): Likewise.
12624         (fchown): Likewise.
12625         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
12626         Likewise.
12627         (lchown): Likewise.
12628         (fchown): Likewise.
12629         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
12630         (lchown): Likewise.
12631         (fchown): Likewise.
12632         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
12633         Likewise.
12634         (lchown): Likewise.
12635         (fchown): Likewise.
12637 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12639         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
12640         Simplify logic.
12642 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12644         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12645         Cleanup logic.
12647 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12649         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12650         Remove unused include.
12652 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12654         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
12655         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
12656         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
12657         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
12659 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
12660             Helge Deller <deller@gmx.de>
12662         [BZ #17508]
12663         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
12664         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
12665         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
12667 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
12669         [BZ #14132]
12670         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12671         Remove macro definition.
12672         (__ashrdi3_v_glibc20): Likewise.
12673         (__lshrdi3_v_glibc20): Likewise.
12674         (__cmpdi2_v_glibc20): Likewise.
12675         (__ucmpdi2_v_glibc20): Likewise.
12676         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12677         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12678         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12679         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12680         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12681         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12683 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12685         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12686         old GNU extension [0] syntax.
12687         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12688         alloca rather than an array member with variable length.
12689         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12690         * nscd/nscd.c (invalidate_db): New function, broken out of ...
12691         (parse_opt): ... here.  Likewise use alloca there.
12692         Validate the -i argument before checking for rootness.
12693         (send_shutdown): New function, broken out of ...
12694         (parse_opt): ... here.
12696 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12698         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12699         macro to get at the _rt_local_ro field.
12700         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12701         ([PIC] case) or _dl_hwcap ([!PIC] case).
12702         * sysdeps/arm/setjmp.S: Likewise.
12704         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12705         * sysdeps/arm/configure.ac: New check to define it.
12706         * sysdeps/arm/configure: Regenerated.
12707         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12708         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12709         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12710         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12711         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12712         Use move/movt pair instead of a load.
12713         (LDST_GLOBAL): Macro removed.
12714         (LDR_GLOBAL): New macro replaces it.
12715         (LDR_HIDDEN): New macro.
12716         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12717         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12719         * setjmp/tst-setjmp-static.c: New file.
12720         * setjmp/Makefile (tests): Add it.
12721         (tests-static): New variable.
12723 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
12725         [BZ #17485]
12726         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12728 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
12730         [BZ #14132]
12731         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12733 2014-10-21  Roland McGrath  <roland@hack.frob.com>
12735         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12737 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12739         * io/fts.c (dirent_not_directory): New function.
12740         (fts_build): Call it.
12742 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12744         * nptl/version.c (__nptl_main): Use normal __write rather than
12745         INTERNAL_SYSCALL.
12746         (banner): Update copyright years.
12748         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12749         gettimeofday.
12750         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12751         * nptl/pthread_cond_timedwait.c: Likewise.
12752         * nptl/pthread_mutex_timedlock.c: Likewise.
12753         * nptl/sem_timedwait.c: Likewise.
12755         * sysdeps/nptl/bits/libc-lock.h
12756         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12757         (__libc_lock_init_recursive): Return void, not 0.
12758         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12759         (__libc_rwlock_init): Likewise.
12760         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12762 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12764         [BZ #15215]
12765         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12766         (__pthread_once_slow): ... here.
12767         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12768         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12770 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12772         [BZ #15215]
12773         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12774         __PTHREAD_ONCE_FORK_GEN_INCR): New.
12775         * sysdeps/nptl/fork.c (__libc_fork): Use them.
12776         * nptl/pthread_once.c (__pthread_once): Likewise.
12777         Update comments.
12779 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
12781         [BZ #14138]
12782         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12783         name.
12784         (writev): Use __libc_writev as strong name.
12785         * sysdeps/unix/sysv/linux/readv.c: Remove file.
12786         * sysdeps/unix/sysv/linux/writev.c: Likewise.
12788 2014-10-17  Roland McGrath  <roland@hack.frob.com>
12790         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12792         * sysdeps/i386/nptl/tls.h
12793         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12794         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12795         New macros.
12796         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12797         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12798         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12799         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12800         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12801         Call CHECK_THREAD_SYSINFO instead of doing an assert.
12803         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12804         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12805         on [__NR_futex].
12806         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12807         broken out of ...
12808         (__pthread_mutex_init): ... here.  Call it.
12809         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12810         Conditionalize PI cases on [__NR_futex].
12811         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12812         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12813         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12815         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12816         conditional on [SIGSETXID].
12817         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12818         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12819         is defined.  Likewise for SIGSETXID.
12820         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12821         Conditionalize definitions on [SIGSETXID].
12822         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12823         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12824         unblocking on [SIGCANCEL].
12826         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12827         [__NR_set_robust_list].
12829 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12831         * string/strcoll_l.c (get_next_seq): Fix up formatting.
12832         (do_compare): Likewise.
12834 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
12836         [BZ #15884]
12837         * string/strcoll_l.c: Don't include stdio.h.
12838         (coll_seq): Remove members idxarr and rulearr.
12839         (get_next_seq_cached): Remove function.
12840         (get_next_seq): Likewise.
12841         (get_next_seq_nocache): Rename to get_next_seq.
12842         (do_compare): Remove function.
12843         (do_compare_nocache): Rename to do_compare.
12844         (STRCOLL): Remove weight and rules cache.
12846 2014-10-16  Roland McGrath  <roland@hack.frob.com>
12848         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12849         * sysdeps/arm/sfp-machine.h: ... to here.
12850         * sysdeps/arm/Implies: Remove arm/soft-fp.
12852 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
12854         * conform/data/sys/utsname.h-data (*_t): Allow.
12855         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12856         [POSIX] (WEXITED): Do not expect constant.
12857         [POSIX] (WSTOPPED): Likewise.
12858         [POSIX] (WNOHANG): Likewise.
12859         [POSIX] (WNOWAIT): Likewise.
12860         [POSIX] (siginfo_t): Do not expect type or elements.
12861         [POSIX] (pid_t): Do not expect type.
12862         [POSIX] (signal.h): Do not allow header.
12863         [POSIX] (sys/resource.h): Likewise.
12864         [POSIX] (si_*): Do not allow pattern.
12865         [POSIX] (W*): Likewise.
12866         [POSIX] (P_*): Likewise.
12867         [POSIX] (BUS_*): Likewise.
12868         [POSIX] (CLD_*): Likewise.
12869         [POSIX] (FPE_*): Likewise.
12870         [POSIX] (ILL_*): Likewise.
12871         [POSIX] (POLL_*): Likewise.
12872         [POSIX] (SEGV_*): Likewise.
12873         [POSIX] (SI_*): Likewise.
12874         [POSIX] (TRAP_*): Likewise.
12875         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12876         variable.
12878 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12880         [BZ #12926]
12881         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12882         infinite loop when __recvmsg returns 0.
12884 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
12886         * CANCEL-FCT-WAIVE: Remove file.
12887         * CANCEL-FILE-WAIVE: Likewise.
12889         [BZ #14132]
12890         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12891         instead of INTVARDEF.
12892         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12893         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12894         rtld_hidden_data_def instead of INTVARDEF.
12895         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12896         * elf/dl-deps.c (expand_dst): Likewise.
12897         * elf/dl-load.c (_dl_dst_count): Likewise.
12898         (_dl_dst_substitute): Likewise.
12899         (decompose_rpath): Likewise.
12900         (_dl_init_paths): Likewise.
12901         (open_path): Likewise.
12902         (_dl_map_object): Likewise.
12903         * elf/rtld.c (dl_main): Likewise.
12904         (process_dl_audit): Likewise.
12905         (process_envvars): Likewise.
12906         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12907         Remove declaration.
12908         (__libc_enable_secure): Use rtld_hidden_proto.
12910 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12912         * elf/dl-load.c
12913         (add_path): New function broken out of _dl_rtld_di_serinfo.
12914         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
12916 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12918         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12919         parentheses around macro arguments.
12920         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12921         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12922         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12923         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12924         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12925         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12926         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12927         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12928         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12929         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12930         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12931         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12932         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12933         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12934         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12935         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12936         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12937         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12938         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12939         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12940         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12941         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12942         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12943         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12944         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12945         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12946         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12947         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12948         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12949         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12950         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12951         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12952         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12953         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12954         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12955         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12956         Likewise.
12957         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12958         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12959         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12960         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12961         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12962         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12963         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12964         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12965         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12966         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12967         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12968         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12969         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12970         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12971         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12972         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12973         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12974         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12975         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12976         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12977         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12978         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12979         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
12980         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
12981         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
12982         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
12983         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
12984         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
12985         (_FP_FRAC_SRS_1): Likewise.
12986         (_FP_FRAC_CLZ_1): Likewise.
12987         (_FP_MUL_MEAT_1_imm): Likewise.
12988         (_FP_MUL_MEAT_1_wide): Likewise.
12989         (_FP_MUL_MEAT_1_hard): Likewise.
12990         (_FP_SQRT_MEAT_1): Likewise.
12991         (_FP_FRAC_ASSEMBLE_1): Likewise.
12992         (_FP_FRAC_DISASSEMBLE_1): Likewise.
12993         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
12994         (__FP_CLZ_2): Likewise.
12995         (_FP_MUL_MEAT_2_wide): Likewise.
12996         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12997         (_FP_MUL_MEAT_2_gmp): Likewise.
12998         (_FP_MUL_MEAT_2_120_240_double): Likewise.
12999         (_FP_SQRT_MEAT_2): Likewise.
13000         (_FP_FRAC_ASSEMBLE_2): Likewise.
13001         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13002         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13003         (_FP_FRAC_CLZ_4): Likewise.
13004         (_FP_MUL_MEAT_4_wide): Likewise.
13005         (_FP_MUL_MEAT_4_gmp): Likewise.
13006         (_FP_SQRT_MEAT_4): Likewise.
13007         (_FP_FRAC_ASSEMBLE_4): Likewise.
13008         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13009         * soft-fp/op-common.h (_FP_CMP): Likewise.
13010         (_FP_CMP_EQ): Likewise.
13011         (_FP_CMP_UNORD): Likewise.
13012         (_FP_TO_INT): Likewise.
13013         (_FP_FROM_INT): Likewise.
13014         [!__FP_CLZ] (__FP_CLZ): Likewise.
13015         (_FP_DIV_HELP_imm): Likewise.
13016         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13017         Likewise.
13018         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13019         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13020         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13021         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13022         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13023         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13024         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13025         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13026         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13027         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13028         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13029         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13030         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13031         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13032         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13033         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13034         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13035         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13036         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13037         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13038         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13039         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13040         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13041         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13042         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13043         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13044         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13045         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13046         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13047         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13048         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13049         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13050         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13051         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13052         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13053         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13054         (FP_UNPACK_RAW_SP): Likewise.
13055         (FP_PACK_RAW_S): Likewise.
13056         (FP_PACK_RAW_SP): Likewise.
13057         (FP_UNPACK_S): Likewise.
13058         (FP_UNPACK_SP): Likewise.
13059         (FP_UNPACK_SEMIRAW_S): Likewise.
13060         (FP_UNPACK_SEMIRAW_SP): Likewise.
13061         (FP_PACK_S): Likewise.
13062         (FP_PACK_SP): Likewise.
13063         (FP_PACK_SEMIRAW_S): Likewise.
13064         (FP_PACK_SEMIRAW_SP): Likewise.
13065         (_FP_SQRT_MEAT_S): Likewise.
13066         (FP_CMP_S): Likewise.
13067         (FP_CMP_EQ_S): Likewise.
13068         (FP_CMP_UNORD_S): Likewise.
13069         (FP_TO_INT_S): Likewise.
13070         (FP_FROM_INT_S): Likewise.
13072         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13074         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13075         (FP_EX_INVALID_IMZ): Likewise.
13076         (FP_EX_INVALID_IMZ_FMA): Likewise.
13077         (FP_EX_INVALID_ISI): Likewise.
13078         (FP_EX_INVALID_ZDZ): Likewise.
13079         (FP_EX_INVALID_IDI): Likewise.
13080         (FP_EX_INVALID_SQRT): Likewise.
13081         (FP_EX_INVALID_CVI): Likewise.
13082         (FP_EX_INVALID_VC): Likewise.
13083         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13084         "invalid" exceptions.
13085         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13086         (_FP_ADD_INTERNAL): Likewise.
13087         (_FP_MUL): Likewise.
13088         (_FP_FMA): Likewise.
13089         (_FP_DIV): Likewise.
13090         (_FP_CMP_CHECK_NAN): Likewise.
13091         (_FP_SQRT): Likewise.
13092         (_FP_TO_INT): Likewise.
13093         (FP_EXTEND): Likewise.
13095 2014-10-09  Allan McRae  <allan@archlinux.org>
13097         * po/fr.po: Update French translation from translation project.
13099 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13101         [BZ #14132]
13102         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13103         of INTDEF.
13104         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13105         (__cxa_atexit): Use libc_hidden_proto.
13106         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13108         [BZ #14132]
13109         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13110         declaration.
13111         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13112         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13113         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13114         [!_ISOMAC] (__iswctype_internal): Likewise.
13115         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13116         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13117         alias.
13118         (fcntl): Remove __fcntl_internal alias.
13119         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13120         __connect_internal alias.
13121         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13122         Likewise.
13124         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13125         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13126         FP_DENORM_ZERO.
13127         (_FP_CHECK_FLUSH_ZERO): New macro.
13128         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13129         (_FP_CMP): Likewise.
13130         (_FP_CMP_EQ): Likewise.
13131         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13132         FP_DENORM_ZERO.
13133         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13134         (FP_TRUNC): Likewise.
13136         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13137         treated as invalid conversion, not as normal exponent.
13139         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13140         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13141         (_FP_CMP_EQ): Likewise.
13142         (_FP_CMP_UNORD): Likewise.
13143         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13144         (FP_CMP_EQ_D): Likewise.
13145         (FP_CMP_UNORD_D): Likewise.
13146         * soft-fp/extended.h (FP_CMP_E): Likewise.
13147         (FP_CMP_EQ_E): Likewise.
13148         (FP_CMP_UNORD_E): Likewise.
13149         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13150         (FP_CMP_EQ_Q): Likewise.
13151         (FP_CMP_UNORD_Q): Likewise.
13152         * soft-fp/single.h (FP_CMP_S): Likewise.
13153         (FP_CMP_EQ_S): Likewise.
13154         (FP_CMP_UNORD_S): Likewise.
13155         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13156         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13157         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13158         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13159         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13160         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13161         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13162         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13163         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13164         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13165         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13166         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13167         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13168         to FP_CMP_Q.
13169         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13170         FP_CMP_Q.
13171         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13172         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13173         FP_CMP_EQ_Q.
13174         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13175         FP_CMP_Q.
13176         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13177         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13178         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13179         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13180         FP_CMP_EQ_Q.
13181         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13182         FP_CMP_Q.
13183         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13184         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13185         FP_CMP_EQ_Q.
13186         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13187         FP_CMP_Q.
13188         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13189         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13190         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13191         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13192         FP_CMP_EQ_Q.
13194         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13195         a subnormal result, set the underflow exception if trapping on
13196         underflow is enabled.
13197         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13198         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13199         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13200         redefine to 0.
13201         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13202         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13203         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13204         * soft-fp/extendxftf2.c (__extendxftf2): Use
13205         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13207         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13208         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13209         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13210         FP_HANDLE_EXCEPTIONS.
13211         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13212         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13213         FP_HANDLE_EXCEPTIONS.
13214         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13215         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13216         FP_HANDLE_EXCEPTIONS.
13217         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13218         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13219         FP_HANDLE_EXCEPTIONS.
13221 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13223         [BZ #14132]
13224         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13225         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13226         use INTUSE.
13227         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13228         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13229         Remove alias.
13230         (__adjtimex): Define using libc_hidden_ver.
13231         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13232         Remove declaration.
13233         (ntp_gettime): Call __adjtimex directly.
13234         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13235         Remove declaration.
13236         (ntp_gettimex): Call __adjtimex directly.
13237         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13238         __adjtimex_internal alias.
13240 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13242         [BZ #17460]
13243         * nscd/nscd.c (more_help): Rewrite list of tables collection
13244         using xstrdup and asprintf.
13246         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13248 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13249             Roland McGrath  <roland@hack.frob.com>
13251         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13252         (do_lookup_unique): ... local function 'enter' here; update callers.
13254 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13256         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13257         compat_symbol calls on [SHARED].
13258         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13259         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13260         Remove.
13261         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13262         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13263         (oldsetrlimit): Remove.
13264         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13266         (lchown): New syscall entry.
13267         (oldsetrlimit): Remove.
13268         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13269         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13270         (oldsetrlimit): Remove.
13271         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13273         [BZ #14138]
13274         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13275         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13276         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13277         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13278         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13279         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13280         (fchown): Likewise.
13281         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13282         (fchown): Likewise.
13283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13284         Likewise.
13286 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13288         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13289         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13290         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13291         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13292         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13293         Likewise.
13294         (__old_sem_post): Likewise.
13296 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13298         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13299         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13300         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13301         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13302         Use INLINE_VSYSCALL macro.
13303         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13304         __vdso_clock_gettime.
13305         * sysdeps/unix/sysv/linux/tile/init-first.c
13306         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13307         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13308         __vdso_clock_gettime.
13310         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13311         to set up frame more cleanly.
13313         * sysdeps/tile/memcmp.c: New file.
13315         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13317         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13318         * sysdeps/tile/tilegx/strcasestr.c: New file.
13319         * sysdeps/tile/tilegx/strnlen.c: New file.
13320         * sysdeps/tile/tilegx/strstr.c: New file.
13322         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13324 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13326         * nptl/tst-setuid3.c: Write errors to stdout.
13328 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13330         * elf/dl-deps.c
13331         (preload): New functions broken out of _dl_map_object_deps.
13332         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13334 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13336         [BZ #14138]
13337         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13338         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13340 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13342         * sysdeps/mips/strcmp.S: New.
13344 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13346         [BZ #14138]
13347         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13348         (linkat): Likewise.
13349         (mkdirat): Likewise.
13350         (readlinkat): Likewise.
13351         (renameat): Likewise.
13352         (symlinkat): Likewise.
13353         (unlinkat): Likewise.
13354         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13355         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13356         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13357         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13358         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13359         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13360         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13362 2014-09-30  Will Newton  <will.newton@linaro.org>
13364         * math/math.h: Define long double math functions if
13365         _LIBC_TEST is defined.
13366         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13368         * localedata/Makefile: Move assignment to tests-special
13369         into an ifdef testing run-built-tests.
13370         * timezone/Makefile: Likewise.
13372 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13374         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13375         with $(BASH) not $(SHELL).
13377 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13378             Matthew LeGendre  <legendre1@llnl.gov>
13380         [BZ #17411]
13381         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13382         l_reloc_result.
13384 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13386         * stdio-common/printf_fp.c
13387         (hack_digit): New function, broken out of ...
13388         (__printf_fp): ... local function here.  Update call sites.
13389         hack_digit now takes an additional parameter that is a pointer
13390         to a struct of the referenced locals.  Those locals moved inside
13391         the struct and references updated.
13393 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13395         * aclocal.m4: Require autoconf 2.69.
13396         * configure: Regenerated.
13397         * sysdeps/aarch64/configure: Likewise.
13398         * sysdeps/alpha/configure: Likewise.
13399         * sysdeps/arm/armv7/configure: Likewise.
13400         * sysdeps/arm/configure: Likewise.
13401         * sysdeps/ia64/configure: Likewise.
13402         * sysdeps/mach/configure: Likewise.
13403         * sysdeps/mips/configure: Likewise.
13404         * sysdeps/s390/configure: Likewise.
13405         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13408         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13409         file.
13410         * sysdeps/ia64/configure.ac: Likewise.
13412 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13415         specify symbol version for ld.so.  Do not include entry for
13416         libpthread.
13417         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13418         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13419         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13421         [BZ #14171]
13422         * Makeconfig [$(build-shared) = yes]
13423         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13424         makefiles.
13425         [$(build-shared) = yes && $(soversions.mk-done) = t]
13426         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13427         [$(build-shared) = yes && $(soversions.mk-done) = t]
13428         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13429         to Makerules.
13430         [$(build-shared) = yes && $(soversions.mk-done) = t]
13431         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13432         here.
13433         [$(build-shared) = yes && $(soversions.mk-done) = t]
13434         (common-generated): Don't append gnu/lib-names.h and
13435         gnu/lib-names.stmp here.
13436         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13437         (lib-names-h-abi): New variable.
13438         [$(build-shared) = yes && $(soversions.mk-done) = t]
13439         (lib-names-stmp-abi): Likewise.
13440         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13441         abi-variants] (before-compile): Append
13442         $(common-objpfx)$(lib-names-h-abi).
13443         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13444         abi-variants] (common-generated): Append gnu/lib-names.h.
13445         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13446         abi-variants] (install-others-nosubdir): Depend on
13447         $(inst_includedir)/$(lib-names-h-abi).
13448         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13449         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13450         [$(build-shared) = yes && $(soversions.mk-done) = t]
13451         ($(common-objpfx)$(lib-names-h-abi)): New rule.
13452         [$(build-shared) = yes && $(soversions.mk-done) = t]
13453         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13454         [$(build-shared) = yes && $(soversions.mk-done) = t]
13455         (common-generated): Append $(lib-names-h-abi) and
13456         $(lib-names-stmp-abi).
13457         * scripts/lib-names.awk: Do not handle multi being set.
13458         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13459         Remove variable.
13460         (abi-lp64_be-ld-soname): Likewise.
13461         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13462         Likewise.
13463         (abi-hard-ld-soname): Likewise.
13464         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13465         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13466         Remove variable.
13467         (abi-o32_hard-ld-soname): Likewise.
13468         (abi-o32_soft_2008-ld-soname): Likewise.
13469         (abi-o32_hard_2008-ld-soname): Likewise.
13470         (abi-n32_soft-ld-soname): Likewise.
13471         (abi-n32_hard-ld-soname): Likewise.
13472         (abi-n32_soft_2008-ld-soname): Likewise.
13473         (abi-n32_hard_2008-ld-soname): Likewise.
13474         (abi-n64_soft-ld-soname): Likewise.
13475         (abi-n64_hard-ld-soname): Likewise.
13476         (abi-n64_soft_2008-ld-soname): Likewise.
13477         (abi-n64_hard_2008-ld-soname): Likewise.
13478         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13479         Likewise.
13480         (abi-64-v2-ld-soname): Likewise.
13481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13482         ld.so entries.
13483         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13484         variable.
13485         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13486         entry.
13487         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13488         variable.
13489         (abi-64-ld-soname): Likewise.
13490         (abi-x32-ld-soname): Likewise.
13491         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13492         entry.
13493         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13495 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
13497         [BZ #14138]
13498         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13499         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13500         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13501         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13502         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13503         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13504         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13505         syscall entry for GLIBC_2.2 symbol version.
13506         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13507         Likewise.
13508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13509         (setrlimit): Likewise.
13510         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13511         Likewise.
13513 2014-09-23  Will Newton  <will.newton@linaro.org>
13515         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13516         _LINUX_ARM_SYSDEP_H include guard too.
13517         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13518         define.
13520 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13522         * sysdeps/unix/sysv/linux/eventfd.c:
13523         Make first argument unsigned.
13524         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13525         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13527 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
13529         * socket/recvmmsg.c (recvmmsg): Drop const argument.
13530         * socket/sys/socket.h: Likewise
13531         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13533 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13535         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13537 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
13539         * time/tst-ftime.c: New test.
13540         * time/Makefile (tests): Add tst-ftime.
13542 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
13544         * soft-fp/extended.h: Fix comment formatting.
13545         * soft-fp/op-1.h: Likewise.
13546         * soft-fp/op-2.h: Likewise.
13547         * soft-fp/op-4.h: Likewise.
13548         * soft-fp/op-8.h: Likewise.
13549         * soft-fp/op-common.h: Likewise.
13550         * soft-fp/soft-fp.h: Likewise.
13552         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13554 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
13556         [BZ #6652]
13557         * Makeconfig (soversions-default-setname): Remove variable.
13558         ($(common-objpfx)soversions.i): Don't pass default_setname to
13559         soversions.awk.
13560         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13561         oldest_abi to abi-versions.awk.
13562         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13563         * config.make.in (oldest-abi): Remove variable.
13564         * configure.ac (--enable-oldest-abi): Remove configure option.
13565         * configure: Regenerated.
13566         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13567         text.
13568         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13569         * scripts/soversions.awk: Do not handle default_setname variable.
13570         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13571         variable.
13572         * sysdeps/mach/hurd/configure: Regenerated.
13573         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13574         variable.
13575         * sysdeps/unix/sysv/linux/configure: Regenerated.
13577 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13579         * elf/Makefile (CFLAGS-interp.c): Remove.
13580         ($(elf-objpfx)runtime-linker.h): Generate header with linker
13581         path string.
13582         * elf/interp.c: Include generated runtime-linker.h
13584         * Makerules (lib%.so): Don't include $(+interp) in
13585         prerequisites.
13586         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13587         * dlfcn/eval.c: Remove file.
13589         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13590         macros.
13592         [BZ #17266]
13593         * misc/sys/cdefs.h: Define __extern_always_inline for clang
13594         4.2 and newer.
13596         [BZ #17370]
13597         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13599 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13600             Jakub Jelinek  <jakub@redhat.com>
13602         [BZ #17266]
13603         * libio/stdio.h: Check definition of __fortify_function
13604         instead of __extern_always_inline to include bits/stdio2.h.
13605         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13606         check if __extern_always_inline is defined.
13607         [__USE_MISC || __USE_XOPEN]: Likewise.
13608         [__USE_ISOC99] Likewise.
13609         * misc/sys/cdefs.h (__fortify_function): Define only if
13610         __extern_always_inline is defined.
13611         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
13612         __extern_always_inline and __extern_inline only for g++-4.3
13613         and newer or a compatible gcc.
13615 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
13617         [BZ #17371]
13618         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13619         last change to handle zero prefix length.
13621 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13623         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
13624         _SC_REGEX_VERSION.
13626         * posix/getconf.c (vars): Add _POSIX_IPV6 and
13627         _POSIX_RAW_SOCKETS.
13629 2014-09-13  Allan McRae  <allan@archlinux.org>
13631         * po/ru.po: Update Russian translation from translation project.
13633 2014-09-12  Roland McGrath  <roland@hack.frob.com>
13635         * locale/programs/locale.c (show_locale_vars): Inline local function
13636         into its sole call site.  Clean up some style nits.
13637         (print_item): New function, broken out of ...
13638         (show_info): ... local function here.  Clean up style nits.
13640         * locale/programs/ld-ctype.c (set_one_default): New function, broken
13641         out of ...
13642         (set_class_defaults): ... local function set_default here.
13643         Define set_default as a macro locally to pass constant parameters.
13644         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13645         rather than a shared local.
13647         * stdlib/rpmatch.c (try): New function, broken out of ...
13648         (rpmatch): ... local function here.  Also, prototypify definition.
13650 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
13652         * scripts/soversions.awk: Do not handle configuration names.
13653         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
13654         vendor and os variables to soversions.awk.
13655         * configure.ac: Do not modify gnu-* host_os.
13656         * configure: Regenerated
13657         * shlib-versions: Remove first column with configuration names.
13658         * nptl/shlib-versions: Likewise.
13659         * nptl_db/shlib-versions: Likewise.
13660         * sysdeps/hppa/shlib-versions: Likewise.
13661         * sysdeps/m68k/shlib-versions: Likewise.
13662         * sysdeps/mach/hurd/shlib-versions: Likewise.
13663         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
13664         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
13665         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
13666         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
13667         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
13668         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13669         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13670         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13672         Likewise.
13673         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13674         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13675         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13676         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13677         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13678         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13679         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13680         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13683         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13685         Regenerated.
13686         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13688         Condition symbol version definitions on [HAVE_ELFV2_ABI].
13690         * shlib-versions: Remove OS-specific entries.  Moved to files in
13691         sysdeps.
13692         * sysdeps/mach/hurd/shlib-versions: New file.
13693         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13695         * nptl/shlib-versions: Remove architecture-specific entries.
13696         Moved to files in sysdeps.
13697         * shlib-versions: Likewise.
13698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13699         file.
13700         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13701         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13702         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13703         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13705         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13706         (UDP_NO_CHECK6_RX): Likewise.
13708 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13710         * sysdeps/posix/sysconf.c (__sysconf): Spell
13711         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13713 2014-08-12  Florian Weimer  <fweimer@redhat.com>
13715         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13716         loading.
13717         * iconv/Versions (__gconv_transliterate): Export for use from
13718         gconv modules.
13719         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13720         (struct __gconv_trans_data, __gconv_trans_fct,
13721         __gconv_trans_context_fct, __gconv_trans_query_fct,
13722         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13723         definitions.
13724         (struct __gconv_step_data): Remove __trans member.
13725         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
13726         longer hidden.  Remove unused trans_data argument.
13727         * iconv/gconv_int.h (struct trans_struct): Remove definition.
13728         (__gconv_translit_find): Remove declaration.
13729         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
13730         prototype.
13731         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13732         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13733         trans_data argument.  Add hidden definition.
13734         (__gconv_translit_find): Remove.
13735         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13736         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13737         * iconv/skeleton.c: Remove transliteration initialization.
13738         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13739         __gconv_step_data initialization.
13740         * libio/iofwide.c (__libio_translit_): Remove.
13741         (_IO_fwide): Adjust struct __gconv_step_data initialization.
13742         * wcsmbs/btowc.c (__btowc): Likewise.
13743         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13744         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13745         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13746         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13747         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13748         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13749         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13750         * wcsmbs/wctob.c (wctob): Likewise.
13752 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13754         [BZ #16194]
13755         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13756         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
13757         register usage.
13758         * sysdeps/x86/Makefile: Adjust.
13760 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13761             Roland McGrath  <roland@hack.frob.com>
13763         * locale/weight.h: Add include guard.
13764         (findidx): Make static rather than auto; take new parameters
13765         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13766         * locale/weightwc.h: Likewise.
13767         * posix/fnmatch_loop.c
13768         (FCT): Change type of EXTRA from int32_t to wint_t.
13769         Don't include either header inside the function.
13770         Call FINDIDX rather than findidx, and pass new arguments.
13771         #undef FINDIDX at the end of the file.
13772         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13773         FINDIDX before including fnmatch_loop.c for the non-wide version.
13774         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13775         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13776         for the wide version.
13777         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13778         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13779         Pass new arguments to findidx.
13780         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13781         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13782         Don't #include it inside the function.  Pass new arguments to findidx.
13783         * posix/regex_internal.h
13784         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13785         (re_string_elem_size_at): Don't #include it inside the function.
13786         Pass new arguments to findidx.
13787         * string/strcoll_l.c: #include WEIGHT_H at top level.
13788         (get_next_seq): Don't #include it inside the function.
13789         Pass new arguments to findidx.
13790         (get_next_seq_nocache): Likewise.
13791         * string/strxfrm_l.c: #include WEIGHT_H at top level.
13792         (STRXFRM): Don't #include it inside the function.
13793         Pass new arguments to findidx.
13795 2014-09-11  Florian Weimer  <fweimer@redhat.com>
13797         [BZ #17344]
13798         * malloc/malloc.c (unlink): Turn asserts into a call to
13799         malloc_printerr.
13801 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
13803         [BZ #17370]
13804         * libio/wfileops (do_ftell_wide): Free OUT.
13806 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
13808         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13810 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13812         [BZ #17363]
13813         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13814         group if the current group is empty.
13816 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13818         * benchtests/bench-memset.c (test_main): Add more test from size
13819         from 32 to 512 bytes.
13820         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13821         Add POWER8 memset object.
13822         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13823         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13824         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13825         implementation.
13826         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13827         Likewise.
13828         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13829         multiarch POWER8 memset optimization.
13830         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13831         POWER8 memset optimization.
13833         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13834         Remove bzero multiarch objects.
13835         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13836         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13837         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13838         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13839         Remove define.
13840         [__bzero]: Redefine to specific name.
13841         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13842         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13843         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13844         define.
13845         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13846         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13848 2014-09-10  Florian Weimer  <fweimer@redhat.com>
13850         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13851         warnings into errors.
13853         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13854         __cxa_thread_atexit_impl prototype.
13856 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13858         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13859         Fix capitalization of error message.
13861 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13863         * sysdeps/mips/preconfigure: Modify ABI tests.
13865 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
13867         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13869 2014-09-07  Roland McGrath  <roland@hack.frob.com>
13870             Carlos O'Donell  <carlos@systemhalted.org>
13872         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13873         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13874         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13875         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13876         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13877         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13878         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13879         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13880         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13881         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13882         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13883         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13884         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13885         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13886         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13887         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13888         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13889         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13890         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13891         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13892         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13893         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13894         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13895         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13896         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13897         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13898         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13899         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13900         Deconditionalize the code that was previously under [RESET_PID].
13901         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13902         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13903         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13904         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13905         include sysdep.h.
13907 2014-09-08  Allan McRae  <allan@archlinux.org>
13909         * version.h (RELEASE): Set to "development".
13910         (VERSION): Set to "2.20.90"
13912 2014-09-07  Allan McRae  <allan@archlinux.org
13914         * version.h (RELEASE): Set to "stable".
13915         (VERSION): Set to "2.20"
13916         * include/features.h (__GLIBC_MINOR__): Set to 20.
13918         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13919         Liebler.
13921         * po/ko.po: Update Korean translation from translation project.
13923 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
13925         [BZ #17354]
13926         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13927         macro for handling signed relocations.
13929 2014-09-03  Florian Weimer  <fweimer@redhat.com>
13931         [BZ #17325]
13932         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13933         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13934         assert.
13935         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13936         * iconvdata/ibm935.c (BODY): Likewise.
13937         * iconvdata/ibm937.c (BODY): Likewise.
13938         * iconvdata/ibm939.c (BODY): Likewise.
13939         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13940         assert.
13941         * iconvdata/Makefile (iconv-test.out): Pass module list to test
13942         script.
13943         * iconvdata/run-iconv-test.sh: New test loop for checking for
13944         decoder crashers.
13946 2014-09-02  Khem Raj  <raj.khem@gmail.com>
13948         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13949         libm_hidden_ver.
13951 2014-09-01  Allan McRae  <allan@archlinux.org>
13953         * po/eo.po: Update Esperanto translation from translation project.
13955         * po/ca.po: Update Catalan translation from translation project.
13957 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13959         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13960         __proc_dostop call.
13962 2014-08-27  Mark Wielaard  <mjw@redhat.com>
13964         [BZ #17319]
13965         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13966         to call set_thread_area instead of hand written asm.
13967         (__NR_set_thread_area): Removed define.
13968         (TLS_FLAG_WRITABLE): Likewise.
13969         (__ASSUME_SET_THREAD_AREA): Remove check.
13970         (TLS_EBX_ARG): Remove define.
13971         (TLS_LOAD_EBX): Likewise.
13973 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13975         Simplify atomicity of socket creation in bind.
13977         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13978         looking up the name after linking the file.
13980 2014-08-27  Allan McRae  <allan@archlinux.org>
13982         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13984 2014-08-26  Florian Weimer  <fweimer@redhat.com>
13986         [BZ #17187]
13987         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
13988         trans_compare, open_translit, __gconv_translit_find):
13989         Remove module loading code.
13991 2014-08-26  Allan McRae  <allan@archlinux.org>
13993         * po/vi.po: Update Vietnamese translation from translation project.
13995         * po/uk.po: Update Ukrainian translation from translation project.
13997         * po/fr.po: Update French translation from translation project.
13999         * po/ru.po: Update Russian translation from translation project.
14001         * po/pl.po: Update Polish translation from translation project.
14003         * po/cs.po: Update Czech translation from translation project.
14005         * po/de.po: Update German translation from translation project.
14007         * po/bg.po: Update Bulgarian translation from translation project.
14009         * po/sv.po: Update Sweedish translation from translation project.
14011         * po/nl.po: Update Dutch translation from translation project.
14013         * po/es.po: Update Spanish translation from translation project.
14015 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14017         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14019         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14020         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14021         (CPPFLAGS-iconvconfig): Likewise.
14022         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14024         * include/libc-symbols.h: Remove unnecessary check for
14025         NOT_IN_libc.
14026         * nptl/pthreadP.h: Likewise.
14027         * sysdeps/aarch64/setjmp.S: Likewise.
14028         * sysdeps/alpha/setjmp.S: Likewise.
14029         * sysdeps/arm/sysdep.h: Likewise.
14030         * sysdeps/i386/setjmp.S: Likewise.
14031         * sysdeps/m68k/setjmp.c: Likewise.
14032         * sysdeps/posix/getcwd.c: Likewise.
14033         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14034         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14035         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14036         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14037         * sysdeps/sh/sh3/setjmp.S: Likewise.
14038         * sysdeps/sh/sh4/setjmp.S: Likewise.
14039         * sysdeps/unix/alpha/sysdep.h: Likewise.
14040         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14041         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14042         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14043         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14046         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14047         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14048         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14049         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14050         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14051         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14052         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14053         * sysdeps/x86_64/setjmp.S: Likewise.
14055 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14057         [BZ #17263]
14058         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14059         <stdint.h>.
14060         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14061         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14063 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14065         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14067         [BZ #17262]
14068         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14069         and __x86_64__ when disabling x87 inline functions.
14071 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14073         [BZ #17259]
14074         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14075         asm statement with __cpuid_count.
14077 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14079         * configure.ac: Change __ehdr_start code to dereference the struct.
14080         Run readelf on the output to look for relocations.
14081         * configure: Regenerated.
14083 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14085         [BZ #17261]
14086         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14087         value to 0.
14088         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14090 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14092         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14094 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14096         [BZ #16892]
14097         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14098         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14100 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14102         * malloc/malloc.c: Fix typo in comment.
14104 2014-08-09  Allan McRae  <allan@archlinux.org>
14106         * Regenerate libc.po.
14108 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14110         * intl/tst-gettext2.sh: Check every lang file for creation.
14112 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14114         * sysdeps/aarch64/fpu/math_private.h
14115         (libc_feholdsetround_noex_aarch64_ctx): New function.
14117 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14119         * sysdeps/arm/armv6/strcpy.S (strcpy):
14120         Fix performance issue in misaligned cases.
14122 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14124         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14125         Move definition from termios.h.
14126         (struct termio): Likewise.
14127         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14128         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14129         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14130         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14131         Likewise.
14132         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14133         Move definition to ioctl-types.h
14134         (struct termio): Likewise.
14135         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14136         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14137         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14138         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14139         Likewise.
14141 2014-08-05  Richard Henderson  <rth@redhat.com>
14143         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14144         exceptions.
14145         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14146         Add fraiseexcpt.
14147         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14148         Use __feraiseexcept.
14149         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14150         Protect libm symbols with IS_IN_libm.
14152         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14154 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14156         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14158 2014-08-04  Will Newton  <will.newton@linaro.org>
14160         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14161         file.
14163 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14165         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14166         variants for each function.
14168 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14170         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14171         appended ...
14172         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14173         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14174         appended ...
14175         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14176         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14177         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14178         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14179         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14180         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14181         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14182         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14183         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14184         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14185         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14186         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14187         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14188         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14189         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14190         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14191         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14192         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14193         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14194         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14195         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14196         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14197         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14198         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14199         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14200         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14201         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14202         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14203         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14204         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14205         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14206         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14207         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14208         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14209         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14210         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14211         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14212         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14213         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14214         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14215         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14216         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14217         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14218         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14219         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14220         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14221         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14222         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14223         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14224         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14225         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14226         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14227         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14228         Update #include.
14229         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14230         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14232 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14234         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14235         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14236         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14237         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14238         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14239         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14241 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14243         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14244         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14245         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14246         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14248 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14250         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14251         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14252         (__libc_vfork): Define function under this name.
14253         (__vfork): Define as an alias.
14254         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14255         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14257 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14259         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14260         that was previously under [RESET_PID].
14261         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14263 2014-08-04  Andreas Schwab  <schwab@suse.de>
14265         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14267 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14269         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14270         (main): Likewise.
14272 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14274         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14276 2014-08-01  Richard Henderon  <rth@redhat.com>
14278         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14279         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14280         typo in exact zero test.
14281         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14282         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14283         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14285 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14287         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14288         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14289         * sysdeps/arm/sysdep.h: ... here.
14290         [!__ASSEMBLER__]: Include <stdint.h>.
14292 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14294         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14295         (HAVE_WCTYPE_H): Likewise.
14296         (HAVE_ISWCTYPE): Likewise.
14297         (ENABLE_NLS): Likewise.
14298         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14299         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14301         * posix/regex_internal.c: Check if DEBUG is defined and is
14302         set.
14304         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14305         (HAVE_MBSRTOWCS): Likewise.
14306         * posix/fnmatch.c: Include string.h unconditionally.
14308 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14310         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14311         reversal.
14313 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14315         * sysdeps/generic/safe-fatal.h: New file.
14316         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14317         * nptl/forward.c: Include it.
14318         (__pthread_unwind): Use __safe_fatal as default action, rather
14319         than a bogus use of INTERNAL_SYSCALL that could never work.
14321         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14322         * configure.ac (libc_cv_builtin_trap): New test.
14323         * configure: Regenerated.
14324         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14325         (ABORT_INSTRUCTION): Define using __builtin_trap.
14327         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14328         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14329         * sysdeps/nptl/nptl-signals.h: New file.
14330         * nptl/pthreadP.h: Include <nptl-signals.h>.
14332 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14334         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14335         (ONE_DIRECTION): Define.
14336         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14337         (ONE_DIRECTION): Define.
14338         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14339         (ONE_DIRECTION): Define.
14341 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14343         * sysdeps/s390/Makefile: Delete file.
14344         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14345         * sysdeps/s390/__longjmp.c: Delete file.
14346         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14347         Remove fields __flags and __reserved.
14348         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14349         and add versioning.
14350         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14351         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14352         * sysdeps/s390/rtld-setjmp.S: Likewise.
14353         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14354         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14355         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14356         * sysdeps/s390/s390-32/setjmp.S: ... here.
14357         Add versioning.
14358         (__sigsetjmp): Remove setting __flags field.
14359         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14360         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14361         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14362         * sysdeps/s390/s390-64/setjmp.S: ... here.
14363         Add versioning.
14364         (__sigsetjmp): Remove setting __flags field.
14365         * sysdeps/s390/setjmp.S: Delete file.
14366         * sysdeps/s390/sigjmp.c: Likewise.
14367         * sysdeps/s390/v1-longjmp.c: Likewise.
14368         * sysdeps/s390/v1-setjmp.h: Likewise.
14369         * sysdeps/s390/v1-sigjmp.c: Likewise.
14370         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14371         Remove v1-longjmp_chk.
14372         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14373         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14374         Include debug/longjmp_chk.c and add versioning.
14375         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14376         Include nptl/pt-longjmp.c and add versioning.
14377         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14378         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14379         Include __longjmp.c.
14380         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14381         Move to ...
14382         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14383         (__getcontext): Remove setting __flags field.
14384         Add versioning.
14385         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14386         Don't restore upper high grps.
14387         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14388         Likewise.
14389         (__swapcontext): Remove setting uc_flags field.
14390         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14391         Delete file.
14392         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14393         Include __longjmp.c.
14394         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14395         Move to ...
14396         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14397         (__getcontext): Remove setting __flags field.
14398         Add versioning.
14399         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14400         (__swapcontext): Remove setting uc_flags field.
14401         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14402         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14403         Remove fields uc_high_gprs and __reserved.
14404         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14405         New file with reverted content.
14406         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14407         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14408         Regenerated.
14409         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14410         Regenerated.
14412 2014-07-31  Andreas Schwab  <schwab@suse.de>
14414         * config.h.in (HAVE_IFUNC): Define to 0.
14415         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14416         definedness.
14418 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14420         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14421         memmove-avx-unaligned, memcpy-avx-unaligned and
14422         mempcpy-avx-unaligned.
14423         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14424         Add tests for AVX memcpy functions.
14425         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14426         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14427         memcpy_chk.
14428         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14429         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14430         memmove_chk.
14431         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14432         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14433         mempcpy_chk.
14434         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14435         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14436         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14438 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14440         [BZ #17213]
14441         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14442         powerpc64le.
14444 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14446         [BZ #16839]
14447         * manual/llio.texi: Add section about open file description locks.
14448         * manual/examples/ofdlocks.c: Example of open file description
14449         lock usage.
14450         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14451         F_OFD_SETLK, and F_OFD_SETLKW.
14453 2014-07-23  Allan McRae  <allan@archlinux.org>
14455         * po/es.po: Update Spanish translation from translation project.
14457 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
14459         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14461 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
14463         [BZ #17078]
14464         * sysdeps/arm/dl-machine.h (elf_machine_rela)
14465         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14466         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14468 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
14470         [BZ #17088]
14471         * math/fesetenv.c (__fesetenv)
14472         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14473         * math/feupdateenv.c (__feupdateenv)
14474         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14476         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14477         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14478         (__ASSUME_SOCKETCALL): Do not define.
14480         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14481         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14482         (__ASSUME_SOCKETCALL): Do not define.
14483         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14484         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14485         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14486         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14487         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14488         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14489         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14490         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14492         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14493         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14494         (__ASSUME_SOCKETCALL): Do not define.
14495         (__ASSUME_IPC64): Define unconditionally.
14496         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14497         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14498         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14499         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14500         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14501         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14502         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14503         Likewise.
14505         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14506         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14507         (__ASSUME_SOCKETCALL): Do not define.
14508         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14509         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14510         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14511         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14512         (__ASSUME_REQUEUE_PI): Define unconditionally.
14513         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14514         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14515         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14516         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14517         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14518         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14520         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14521         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14522         (__ASSUME_SOCKETCALL): Do not define.
14523         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14524         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14525         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14526         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14527         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14528         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14530         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14531         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14532         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14533         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14534         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14535         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14536         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14537         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14538         (__ASSUME_GETCPU_SYSCALL): Likewise.
14540         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14541         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
14542         cases for individual architectures.
14543         * sysdeps/gnu/configure: Regenerated.
14544         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14545         LIBC_SLIBDIR_RTLDDIR.
14546         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14547         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14548         LIBC_SLIBDIR_RTLDDIR.
14549         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14551         LIBC_SLIBDIR_RTLDDIR.
14552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14553         Regenerated.
14554         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14555         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14556         file.
14557         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14558         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14559         file.
14560         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14561         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14562         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14563         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14565         * sysdeps/aarch64/shlib-versions: Move to ...
14566         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14567         * sysdeps/alpha/shlib-versions: Move to ...
14568         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14569         * sysdeps/arm/shlib-versions: Move to ...
14570         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14571         * sysdeps/hppa/shlib-versions: Move all contents except for
14572         libgcc_s entry to ...
14573         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
14574         entry from ...
14575         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
14576         * sysdeps/ia64/shlib-versions: Move to ...
14577         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
14578         entry from ...
14579         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
14580         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14581         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14582         * sysdeps/microblaze/shlib-versions: Move to ...
14583         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14584         * sysdeps/mips/shlib-versions: Move to ...
14585         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
14586         entry from ...
14587         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
14588         * sysdeps/tile/shlib-versions: Move to ...
14589         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14590         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14591         from ...
14592         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
14593         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14594         entry from ...
14595         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
14597 2014-07-17  Will Newton  <will.newton@linaro.org>
14599         * sysdeps/arm/bits/atomic.h
14600         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14601         (__arch_compare_and_exchange_bool_16_int): Likewise.
14602         (__arch_compare_and_exchange_bool_64_int): Likewise.
14604         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14605         into an #else block.
14607 2014-07-16  Roland McGrath  <roland@hack.frob.com>
14609         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
14610         just Linux configurations.  Test empirically that the compiler sets
14611         __ARM_EABI__, rather than using the tuple to decide.
14612         * sysdeps/arm/preconfigure: Regenerated.
14613         * sysdeps/unix/sysv/linux/arm/configure: File removed.
14614         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14615         contents appended ...
14616         * sysdeps/arm/configure.ac: ... here.
14617         * sysdeps/arm/configure: Regenerated.
14619 2014-07-15  Roland McGrath  <roland@hack.frob.com>
14621         * nptl/pthread_kill.c: New file.
14622         * nptl/pthread_sigmask.c: New file.
14623         * nptl/pthread_sigqueue.c: New file.
14625         * sysdeps/nptl/lowlevellock.h: New file.
14626         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
14627         * sysdeps/nptl/lowlevellock-futex.h: New file.
14629         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
14630         Remove dead declarations.
14632 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
14634         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
14635         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
14636         config-cflags-avx2.
14637         * sysdeps/x86_64/configure.ac: Likewise.
14638         * sysdeps/i386/configure: Regenerated.
14639         * sysdeps/x86_64/configure: Likewise.
14640         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14641         memset-avx2 only if config-cflags-avx2 is yes.
14642         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14643         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
14644         defined.
14645         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
14646         only if HAVE_AVX2_SUPPORT is defined.
14647         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14649 2014-07-14  Alan Modra  <amodra@gmail.com>
14651         [BZ #17153]
14652         * elf/elf.h (DT_PPC64_NUM): Correct value.
14653         * NEWS: Add to fixed bug list.
14655 2014-07-13  Jim Meyering  <meyering@fb.com>
14657         [BZ 17150]
14658         regex: don't deref NULL upon heap allocation failure
14659         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
14660         failure in one more place.
14661         To trigger the segfault, configure grep -with-included-regex,
14662         build it, and run these commands:
14663         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
14665 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
14667         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14669 2014-07-11  Richard Henderson  <rth@redhat.com>
14671         * sysdeps/aarch64/libm-test-ulps: Update.
14673 2014-07-10  Florian Weimer  <fweimer@redhat.com>
14675         [BZ #17135]
14676         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14677         * nptl/allocatestack.c (__nptl_setxid_error): New function.
14678         (__nptl_setxid): Initialize error member.  Call
14679         __nptl_setxid_error.
14680         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14681         * nptl/descr.h (struct xid_command): Add error member.
14682         * nptl/tst-setuid3.c: New file.
14683         * nptl/Makefile (tests): Add it.
14685 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14687         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14688         New define.
14689         (__lll_trylock): Use __lll_base_trylock.
14690         (__lll_cond_trylock): Likewise.
14692 2014-07-10  Roland McGrath  <roland@hack.frob.com>
14694         * nptl/pthread_create.c (start_thread): Use atomic_or and
14695         lll_futex_wake directly rather than lll_robust_dead.
14696         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14697         (lll_robust_dead): Macro removed.
14698         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14699         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14700         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14701         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14702         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14703         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14704         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14705         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14706         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14707         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14708         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14709         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14710         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14711         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14712         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14714         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14715         Use atomic_compare_and_exchange_val_acq directly rather than
14716         lll_robust_trylock.
14717         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14718         (__lll_robust_trylock, lll_robust_trylock): Removed.
14719         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14720         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14721         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14722         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14723         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14724         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14725         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14726         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14727         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14728         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14729         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14730         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14731         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14732         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14734 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14736         * manual/locale.texi (Locale Names): New section documenting
14737         locale name syntax.  Adjust menu and node chaining accordingly.
14738         (Choosing Locale): Reference Locale Names, Locale Categories.
14739         Mention setting LC_ALL=C.  Reflect that name syntax is now
14740         documented.
14741         (Locale Categories): New section title.  Reference Locale Names.
14742         LC_ALL is an environment variable, but not a category.
14743         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14744         description, now in Locale Name.  Reference that section.  Locale
14745         name syntax is now documented.
14747 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14749         [BZ #17137]
14750         * locale/findlocale.c (name_present, valid_locale_name): New
14751         functions.
14752         (_nl_find_locale): Use the loc_name variable to store name
14753         candidates.  Call name_present and valid_locale_name to check and
14754         validate locale names.  Return an error if the locale is invalid.
14756 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14758         * locale/setlocale.c (setlocale): Use strdup for allocating
14759         composite name copy.
14761 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14763         Sync up with gnulib.
14764         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14765         [!_LIBC && ENABLE_NLS]: Include gettext.h.
14766         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14767         and _GL_ARG_NONNULL.
14768         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14769         [!_LIBC]: Include code for Windows and Cygwin.
14770         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14771         Include prototype for int strerror_r.
14772         [!_LIBC] (is_open): New function.
14773         (flush_stdout): New function.
14774         (print_errno_message): Use it.
14775         (error): Likewise.
14776         (error_at_line): Likewise.
14777         (error_tail) Add function attribute macros.  Use
14778         __builtin_expect.
14780         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14782         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14784         * io/ftw.c: Include sys/param.h unconditionally.
14786         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14788         [BZ #17125]
14789         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14790         libc_freeres_ptr.
14791         (freecache): New function to free CACHE on exit.
14793         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14794         initialization.
14796 2014-07-09  David S. Miller  <davem@davemloft.net>
14798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14800         * sysdeps/sparc/nptl/internaltypes.h: Delete.
14801         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14802         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14803         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14804         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14805         * sysdeps/sparc/nptl/sem_init.c: Likewise.
14806         * sysdeps/sparc/nptl/sem_post.c: Likewise.
14807         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14808         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14809         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14810         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14811         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14812         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14814 2014-07-09  Andreas Schwab  <schwab@suse.de>
14816         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14817         output.
14818         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14819         (do_test): Likewise.
14821         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14823 2014-07-09  Will Newton  <will.newton@linaro.org>
14825         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14826         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14827         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14828         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14829         * sysdeps/hppa/start.S (_start): Likewise.
14831 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14833         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14835         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14836         defined.
14838 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14840         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14841         after checking that it is non-NULL.
14843         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14845 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14847         * sysdeps/powerpc/memmove.c: Remove file.
14848         * sysdeps/powerpc/powerpc32/power4/memcopy.h
14849         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14850         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14851         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14852         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14853         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14854         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14855         string memmove instead of removed powerpc one.
14857         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14858         [weak_alias]: Fix compiler warning due trailing data.
14859         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14860         [weak_alias]: Likewise.
14861         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14862         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14864         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14865         (__libc_ifunc_impl_list): Add memmove functions.
14867 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14869         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14870         Remove code.
14871         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14872         Likewise
14873         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14874         Likewise
14875         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14876         Likewise
14877         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14878         Likewise
14879         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14880         Likewise
14881         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14882         Likewise
14883         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14884         Likewise
14885         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14886         Likewise
14887         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14888         Likewise
14889         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14890         Likewise
14891         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14892         Likewise
14893         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14894         Likewise
14895         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14896         Likewise
14897         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14898         Likewise
14899         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14900         Likewise
14901         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14902         Likewise
14904 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14906         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14907         to avoid alignment traps in non-cacheable memory.
14908         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14910         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14911         multiarch objects.
14912         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14913         file: multiarch power7 memmove.
14914         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14915         multiarch default memmove.
14916         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14917         multiarch memove for powerpc32/power4.
14919         * string/bcopy.c: Use full path to include memmove.c.
14920         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14921         multiarch objects.
14922         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14923         bcopy for powerpc64.
14924         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14925         bcopy for powerpc64.
14926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14927         and memmove implementations.
14928         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14929         optimized multiarch memmove for POWER7/powerpc64.
14930         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14931         default multiarch memmove for powerpc64.
14932         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14933         multiarch for powerpc64.
14934         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14935         for POWER7/powerpc64.
14936         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14937         memmove for POWER7/powerpc64.
14939         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14940         glibc default one.
14942         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14943         __ELF_NATIVE_CLASS equal to 64.
14945 2014-07-07  Roland McGrath  <roland@hack.frob.com>
14947         * sysdeps/nptl/lowlevellock.h: File removed.
14949         * NEWS: NPTL is no longer an add-on!
14950         * nptl/internaltypes.h: Moved ...
14951         * sysdeps/nptl/internaltypes.h: ... here.
14952         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14953         * sysdeps/nptl/fork.c: Likewise.
14954         * sysdeps/nptl/gai_misc.h: Likewise.
14955         * sysdeps/nptl/librt-cancellation.c: Likewise.
14956         * sysdeps/nptl/jmp-unwind.c: Likewise.
14957         * sysdeps/nptl/setxid.h: Likewise.
14958         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14959         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14960         * sysdeps/unix/sysv/linux/arm/Implies: New file.
14961         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14962         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14963         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14964         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14965         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14966         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14967         * sysdeps/unix/sysv/linux/mips/Implies: New file.
14968         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14969         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14970         * sysdeps/unix/sysv/linux/sh/Implies: New file.
14971         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14972         * sysdeps/unix/sysv/linux/tile/Implies: New file.
14973         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14974         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14975         * nptl/Makeconfig: Moved ...
14976         * sysdeps/nptl/Makeconfig: ... here.
14977         * nptl/configure: File removed.
14978         * nptl/ANNOUNCE: File removed.
14979         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14980         * sysdeps/unix/sysv/linux/configure: Regenerated.
14982         * nptl/Makefile (routines): Add libc_pthread_init,
14983         libc_multiple_threads, register-atfork and unregister-atfork.
14984         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
14985         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
14986         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
14987         pthread-pi-defines.sym, structsem.sym.
14988         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
14989         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
14990         [$(subdir) = nptl] (tests): Add tst-setgetname.
14991         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
14992         * sysdeps/unix/sysv/linux/sigaction.c: Just include
14993         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
14994         [!LIBC_SIGACTION]: Remove aliases.
14995         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14996         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14997         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14998         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
14999         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15000         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15001         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15002         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15003         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15004         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15005         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15006         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15007         __libc_allocate_rtsig_private.
15008         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15009         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15010         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15011         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15012         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15013         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15014         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15015         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15016         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15017         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15018         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15019         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15020         * nptl/internaltypes.h: ... here.
15021         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15022         * sysdeps/nptl/jmp-unwind.c: ... here.
15023         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15024         * nptl/libc-lowlevellock.c: ... here.
15025         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15026         * nptl/libc_multiple_threads.c: ... here.
15027         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15028         * nptl/libc_pthread_init.c: ... here.
15029         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15030         * nptl/lowlevelbarrier.sym: ... here.
15031         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15032         * nptl/lowlevelcond.sym: ... here.
15033         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15034         * nptl/lowlevellock.c: ... here.
15035         * nptl/lowlevellock.h: Moved ...
15036         * sysdeps/nptl/lowlevellock.h: ... here.
15037         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15038         * nptl/lowlevelrobustlock.c: ... here.
15039         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15040         * nptl/lowlevelrobustlock.sym: ... here.
15041         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15042         * nptl/lowlevelrwlock.sym: ... here.
15043         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15044         * nptl/pt-fork.c: ... here.
15045         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15046         * nptl/pthread-pi-defines.sym: ... here.
15047         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15048         * nptl/pthread_attr_getaffinity.c: ... here.
15049         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15050         * nptl/pthread_attr_setaffinity.c: ... here.
15051         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15052         * nptl/pthread_mutex_cond_lock.c: ... here.
15053         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15054         Update #include.
15055         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15056         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15057         * nptl/pthread_once.c: ... here, replacing old file.
15058         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15059         * nptl/pthread_yield.c: ... here.
15060         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15061         * nptl/register-atfork.c: ... here.
15062         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15063         * nptl/sem_post.c: ... here.
15064         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15065         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15066         * nptl/sem_timedwait.c: ... here.
15067         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15068         * nptl/sem_trywait.c: ... here.
15069         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15070         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15071         * nptl/sem_wait.c: ... here.
15072         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15073         * nptl/structsem.sym: ... here.
15074         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15075         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15076         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15077         * nptl/unregister-atfork.c: ... here.
15078         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15079         * nptl/unwindbuf.sym: ... here.
15080         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15081         * sysdeps/nptl/fork.c: ... here.
15082         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15083         * sysdeps/nptl/fork.h: ... here.
15084         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15085         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15086         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15087         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15088         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15089         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15090         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15091         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15092         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15093         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15094         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15095         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15096         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15097         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15098         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15099         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15100         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15101         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15102         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15103         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15104         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15105         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15106         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15107         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15108         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15109         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15110         * sysdeps/unix/sysv/linux/raise.c: ... here.
15111         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15112         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15113         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15114         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15115         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15116         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15117         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15118         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15119         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15120         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15121         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15122         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15123         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15124         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15125         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15127 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15129         * sysdeps/generic/memcopy.h: Add comment for
15130         MEMCPY_OK_FOR_FWD_MEMMOVE.
15132 2014-07-04  Will Newton  <will.newton@linaro.org>
15134         * string/memchr.c: Merge from gnulib.
15135         [_LIBC]: Remove conditionals.
15136         (__ptr_t): Remove define.
15137         (LONG_MAX_32_BITS): Likewise.
15138         (LONG_MAX): Likewise.
15139         (MEMCHR): Use ANSI prototype and optimize algorithm.
15141         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15143 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15145         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15146         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15148         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15149         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15150         in a bare environment with no <stdlib.h> installed.
15151         * sysdeps/nptl/configure: Regenerated.
15153         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15155         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15156         AC_EGREP_CPP for kernel header checks, so they only succeed if
15157         including <linux/version.h> actually works right.
15158         * sysdeps/unix/sysv/linux/configure: Regenerated.
15160         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15161         value so it's not diagnosed as unused.
15163         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15164         thing) with "ifeq ($(subdir),rt)".
15166 2014-07-03  Richard Henderson  <rth@redhat.com>
15168         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15169         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15170         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15172         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15173         (math_force_eval): New.
15175         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15176         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15178         * sysdeps/alpha/fpu/s_round.c: Remove file.
15179         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15181         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15182         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15183         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15184         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15185         (_dl_start, print_statistics): Likewise.
15186         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15187         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15189         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15190         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15191         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15192         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15193         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15194         (HP_SMALL_TIMING_AVAIL): Define.
15195         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15196         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15197         (HP_SMALL_TIMING_AVAIL): Define.
15198         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15199         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15201         * sysdeps/aarch64/hp-timing.h: New file.
15203         * sysdeps/generic/hp-timing.h: Remove dead comment.
15204         * sysdeps/generic/hp-timing-common.h: New file.
15205         * sysdeps/alpha/hp-timing.h: Include it.
15206         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15207         * sysdeps/i386/i686/hp-timing.h: Likewise.
15208         * sysdeps/ia64/hp-timing.h: Likewise.
15209         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15210         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15211         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15212         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15213         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15214         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15215         (hp_timing_t): New.
15217         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15218         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15219         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15220         * elf/rtld.c (_dl_start_final): Likewise.
15221         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15222         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15223         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15224         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15225         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15226         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15227         (HP_TIMING_DIFF_INIT): Remove.
15228         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15229         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15230         (HP_TIMING_DIFF_INIT): Remove.
15231         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15232         * sysdeps/i386/i686/hp-timing.c: Remove file.
15233         * sysdeps/x86_64/hp-timing.c: Remove file.
15234         * sysdeps/ia64/hp-timing.c: Remove file.
15235         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15236         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15237         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15238         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15240         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15241         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15242         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15243         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15244         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15245         (HP_TIMING_ACCUM): Remove.
15246         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15247         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15248         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15250         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15251         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15252         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15253         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15254         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15255         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15256         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15257         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15259         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15261 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15263         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15265 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15267         Sync up with gettext.
15268         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15269         [_MSC_VER]: Include malloc.h
15270         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15271         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15272         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15273         TEMP_FAILURE_RETRY.  Cast return of alloca.
15274         [!_LIBC] Call gl_rwlock_init.
15275         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15277 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15279         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15280         before checking its value.
15282 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15284         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15286         * debug/memcpy_chk.c: Don't include pagecopy.h.
15287         * debug/mempcpy_chk.c: Likewise.
15288         * string/memcpy.c: Likewise.
15289         * string/memmove.c: Likewise.
15290         * sysdeps/powerpc/memmove.c: Likewise.
15291         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15292         definition of PAGE_COPY_FWD_MAYBE here...
15293         * sysdeps/generic/pagecopy.h: ... from here.
15294         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15296 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15297             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15299         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15300         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15301         optimizations.
15302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15303         (__libc_ifunc_impl_list): Likewise.
15304         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15305         multiarch strcat for PPC64.
15306         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15307         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15309 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15311         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15313 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15315         * intl/loadmsgcat.c: Remove declaration of
15316         get_sysdep_segment_value.
15317         (get_sysdep_segment_value): Use ISO C style.
15318         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15319         semicolon.  Fix typo and formatting in comment.
15320         (_nl_unload_domain): Use ISO C style.
15322         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15324 2014-07-02  Will Newton  <will.newton@linaro.org>
15326         * malloc/obstack.c: Merge from gnulib master.
15327         [HAVE_CONFIG_H]: Remove conditional code.
15328         [!_LIBC]: Include config.h.
15329         [!ELIDE_CODE]: Don't include inttypes.h, include
15330         stdint.h unconditionally.
15331         (print_and_abort): Mark as _Noreturn.
15332         (_obstack_allocated_p): Mark as __attribute_pure__.
15333         (obstack_free): Rename to __obstack_free.
15334         [!__attribute__]: Remove conditional code.
15335         * malloc/obstack.h: Merge from gnulib master.
15336         [__cplusplus]: Move conditional down.
15337         [!__attribute_pure__]: Define __attribute_pure__ here
15338         if it is not already defined.
15339         (_obstack_memory_used): Mark as __attribute_pure__.
15340         [!__obstack_free]: Define as obstack_free.
15341         [__GNUC__]: Remove check for ancient NeXT gcc.
15343 2014-07-02  Will Newton  <will.newton@linaro.org>
15344             Paul Eggert  <eggert@cs.ucla.edu>
15346         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15348 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15350         * resolv/gethnamaddr.c: Add comment warning that the file is
15351         not maintained.
15353 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15355         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15356         entries.
15358         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15359         entry for aio_cancel and aio_cancel64.
15360         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15361         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15362         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15363         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15364         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15365         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15366         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15367         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15368         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15369         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15370         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15371         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15372         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15374 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15376         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15377         * nptl/pthread_mutex_lock.c: Likewise.
15378         * nptl/pthread_mutex_timedlock.c: Likewise.
15379         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15381 2014-07-01  Richard henderson  <rth@redhat.com>
15383         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15384         (__isnan, __isnanl): Remove.
15385         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15387         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15389 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15391         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15393 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15395         * resolv/nss_dns/dns-host.c (getanswer_r)
15396         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15398 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15400         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15401         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15402         undefine.
15403         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15404         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15406 2014-07-01  Roland McGrath <roland@hack.frob.com>
15408         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15409         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15411         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15412         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15414         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15415         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15416         ... here.
15417         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15418         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15420         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15421         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15422         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15423         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15425         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15426         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15427         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15428         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15429         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15430         Moved ...
15431         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15432         ... here.
15433         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15434         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15435         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15436         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15437         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15438         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15439         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15440         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15441         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15442         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15443         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15444         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15445         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15446         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15447         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15448         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15449         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15450         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15451         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15452         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15453         ... here.
15454         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15455         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15456         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15457         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15458         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15459         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15460         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15461         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15463 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
15465         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15466         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15467         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15468         Add sysdep.
15470 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15474 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15476         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15477         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15479         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15481         * sysdeps/arm/libm-test-ulps: Regenerated.
15483 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15484             Roland McGrath <roland@hack.frob.com>
15486         * test-skeleton.c (signal_handler): Kill the whole process group
15487         before killing the child individually.
15488         (main): Report any failure on `setpgid'.
15490 2014-06-30  Roland McGrath  <roland@hack.frob.com>
15492         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15493         from _TLS_H to _ARM_NPTL_TLS_H.
15494         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15495         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15497 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15499         [BZ #16539]
15500         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15501         (__expm1l): Return argument unchanged when small but not
15502         subnormal.
15504         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15505         include macro name.
15506         (_FP_UNPACK_RAW_1_P): Likewise.
15507         (_FP_PACK_RAW_1): Likewise.
15508         (_FP_PACK_RAW_1_P): Likewise.
15509         (_FP_MUL_MEAT_1_wide): Likewise.
15510         (_FP_MUL_MEAT_DW_1_hard): Likewise.
15511         (_FP_MUL_MEAT_1_hard): Likewise.
15512         (_FP_DIV_MEAT_1_imm): Likewise.
15513         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15514         (_FP_DIV_MEAT_1_udiv): Likewise.
15515         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15516         (_FP_UNPACK_RAW_2): Likewise.
15517         (_FP_UNPACK_RAW_2_P): Likewise.
15518         (_FP_PACK_RAW_2): Likewise.
15519         (_FP_PACK_RAW_2_P): Likewise.
15520         (_FP_MUL_MEAT_DW_2_wide): Likewise.
15521         (_FP_MUL_MEAT_2_wide): Likewise.
15522         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15523         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15524         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15525         (_FP_MUL_MEAT_2_gmp): Likewise.
15526         (_FP_DIV_MEAT_2_udiv): Likewise.
15527         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15528         (_FP_FRAC_SRL_4): Likewise.
15529         (_FP_FRAC_SRST_4): Likewise.
15530         (_FP_FRAC_SRS_4): Likewise.
15531         (_FP_UNPACK_RAW_4): Likewise.
15532         (_FP_UNPACK_RAW_4_P): Likewise.
15533         (_FP_PACK_RAW_4): Likewise.
15534         (_FP_PACK_RAW_4_P): Likewise.
15535         (_FP_MUL_MEAT_DW_4_wide): Likewise.
15536         (_FP_MUL_MEAT_4_wide): Likewise.
15537         (_FP_MUL_MEAT_4_gmp): Likewise.
15538         (umul_ppppmnnn): Likewise.
15539         (_FP_DIV_MEAT_4_udiv): Likewise.
15540         (__FP_FRAC_ADD_4): Likewise.
15541         (__FP_FRAC_SUB_3): Likewise.
15542         (__FP_FRAC_SUB_4): Likewise.
15543         (__FP_FRAC_DEC_3): Likewise.
15544         (__FP_FRAC_DEC_4): Likewise.
15545         (__FP_FRAC_ADDI_4): Likewise.
15546         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15547         (_FP_FRAC_SRL_8): Likewise.
15548         (_FP_FRAC_SRS_8): Likewise.
15550         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15551         include macro name.
15552         (FP_UNPACK_RAW_EP): Likewise.
15553         (FP_PACK_RAW_E): Likewise.
15554         (FP_PACK_RAW_EP): Likewise.
15555         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15556         (_FP_ISSIGNAN): Likewise.
15557         (_FP_ADD_INTERNAL): Likewise.
15558         (_FP_FMA): Likewise.
15559         (_FP_CMP): Likewise.
15560         (_FP_SQRT): Likewise.
15561         (_FP_TO_INT): Likewise.
15562         (_FP_FROM_INT): Likewise.
15563         (FP_EXTEND): Likewise.
15564         (_FP_DIV_MEAT_N_loop): Likewise.
15566 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15568         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15569         throughout.
15571 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
15573         [BZ #17097]
15574         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15575         result with correct sign in case of exponents that produce
15576         overflow except for X very close to 1.
15578 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
15580         mktime: merge #if/#ifdef usage from glibc
15581         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15582         as that works with both Glibc's and Gnulib's style.
15583         See thread starting at Siddhesh Poyarekar's bug report at:
15584         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15586 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15588         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15589         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15590         * sysdeps/tile/tilegx/memmove.c: Remove file.
15592 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15594         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15595         abi-name definition.
15596         * scripts/soversions.awk: Do not handle or generate ABI lines.
15597         * shlib-versions: Remove ABI entries.
15598         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15599         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15601 2014-06-27  Roland McGrath  <roland@hack.frob.com>
15603         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15604         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15605         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15606         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
15607         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
15608         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
15609         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
15610         Moved ...
15611         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15612         ... here.
15613         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
15614         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15615         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
15616         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
15617         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
15618         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
15619         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
15620         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
15621         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
15622         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
15623         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
15624         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
15625         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
15626         Moved ...
15627         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
15628         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
15629         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
15630         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
15631         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
15632         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
15633         Moved ...
15634         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
15635         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
15636         Moved ...
15637         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
15638         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
15639         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
15640         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
15641         Moved ...
15642         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
15643         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
15644         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
15645         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
15646         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
15647         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
15648         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
15649         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
15650         Moved ...
15651         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
15652         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
15653         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
15654         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
15655         Moved ...
15656         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
15657         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
15658         Moved ...
15659         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
15660         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
15661         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
15662         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
15663         Moved ...
15664         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15665         ... here.
15666         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
15667         Identical file removed.
15668         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15669         Moved ...
15670         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15671         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15672         Identical file removed.
15673         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15674         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15675         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15676         Moved ...
15677         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15678         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15679         Identical file removed.
15680         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15681         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15682         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15683         Identical file removed.
15684         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15685         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15686         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15687         Identical file removed.
15688         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15689         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15690         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15691         Identical file removed.
15692         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15693         Moved ...
15694         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15695         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15696         Identical file removed.
15697         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15698         Moved ...
15699         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15700         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15701         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15702         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15703         Identical file removed.
15704         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15705         Moved ...
15706         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15707         ... here.
15708         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15709         Identical file removed.
15710         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15711         Moved ...
15712         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15713         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15714         Identical file removed.
15715         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15716         Moved ...
15717         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15718         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15719         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15720         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15721         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15722         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15723         Moved ...
15724         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15725         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15726         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15728         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15729         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15730         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15731         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15732         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15734 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
15736         [BZ #17092]
15737         * nscd/nscd.c (monitor_child): Return exit status of child
15738         instead of return value from wait syscall.
15740 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15742         * configure.ac (libc_commonpagesize): Remove variable.
15743         (libc_relro_required): Likewise.
15744         (libc_cv_z_relro): Remove configure test.
15745         * configure: Regenerated.
15746         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15747         variable.
15748         (libc_relro_required): Likewise.
15749         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15750         (libc_relro_required): Likewise.
15751         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15752         (libc_relro_required): Likewise.
15753         * sysdeps/arm/preconfigure: Regenerated.
15754         * sysdeps/ia64/preconfigure: Remove file.
15755         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15756         variable.
15757         (libc_relro_required): Likewise.
15759         [BZ #16561]
15760         [BZ #16562]
15761         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15762         (__ieee754_yn): Set FE_TONEAREST mode internally and then
15763         recompute overflowing results in original rounding mode.
15764         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15765         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15766         recompute overflowing results in original rounding mode.
15767         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15768         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15769         recompute overflowing results in original rounding mode.
15770         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15771         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15772         recompute overflowing results in original rounding mode.
15773         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15774         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15775         recompute overflowing results in original rounding mode.
15776         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15777         (libc_feholdsetround_ctx): New macro.
15778         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15779         * sysdeps/i386/fpu/libm-test-ulps: Update.
15780         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15782 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15784         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15785         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15786         corresponding .cpsetup call.
15788 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15790         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15791         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15792         * sysdeps/arm/Makefile [$(subdir) = csu]
15793         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15794         (static-only-routines): Add aeabi_read_tp here.
15795         (shared-only-routines): Add libc-aeabi_read_tp here.
15796         (CFLAGS-libc-start.c): Add -fexceptions here.
15797         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15798         (sysdep_routines, static-only-routines, shared-only-routines):
15799         Don't add to these here.
15800         (CFLAGS-libc-start.c): Likewise.
15802         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15803         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15804         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15805         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15806         * sysdeps/arm/Makefile [$(subdir) = rt]
15807         (librt-sysdep_routines, librt-shared-only-routines):
15808         Append rt-aeabi_unwind_cpp_pr1 here.
15809         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15810         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15811         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15812         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15813         Append nptl-aeabi_unwind_cpp_pr1 here.
15814         (tests): Filter out tst-cleanupx4 here.
15815         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15816         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15817         Don't do those here.
15819 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15821         * scripts/list-sources.sh: Do not handle ports specially.
15823 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15825         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15826         * sysdeps/arm/feupdateenv.c: Likewise.
15828         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15830 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15832         * manual/texinfo.tex: Update to version 2014-05-05.10 with
15833         trailing whitespace removed.
15834         * scripts/config.guess: Update to version 2014-03-23.
15835         * scripts/config.sub: Update to version 2014-05-01
15836         * scripts/install-sh: Update to version 2013-12-25.23.
15837         * scripts/move-if-change: Update from gnulib.
15839 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15841         * debug/memmove_chk.c: Remove pagecopy.h include.
15843 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
15845         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
15846         identical to gnulib mktime.
15848 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15850         * configure.ac: Do not test for machine being rs6000.  Do not test
15851         for powerpc*-*soft.
15852         * configure: Regenerated.
15854         [BZ #11505]
15855         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15856         test.
15857         * configure: Regenerated.
15858         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15859         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15860         Remove configure test.
15861         * sysdeps/arm/configure: Regenerated.
15862         * sysdeps/nptl/configure.ac: Do not check
15863         libc_cv_asm_cfi_directives.
15864         * sysdeps/nptl/configure: Regenerated.
15865         * sysdeps/x86_64/nptl/configure.ac: Remove file.
15866         * sysdeps/x86_64/nptl/configure: Remove generated file.
15867         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15868         unconditional.
15869         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15871 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15873         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15874         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15875         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15876         it is defined.
15878         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15879         instead of whether it is defined.
15880         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15881         * sysdeps/hppa/dl-machine.h: Likewise.
15882         * sysdeps/ia64/dl-machine.h: Likewise.
15883         * sysdeps/m68k/dl-machine.h: Likewise.
15884         * sysdeps/microblaze/dl-machine.h: Likewise.
15885         * sysdeps/mips/dl-machine.: Likewise.
15886         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15887         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15888         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15889         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15890         * sysdeps/sh/dl-machine.h: Likewise.
15891         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15892         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15893         * sysdeps/tile/dl-machine.h: Likewise.
15894         * sysdeps/x86_64/dl-machine.h: Likewise.
15896         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15897         code.
15898         (verify_persistent_db): Likewise.
15900 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15903         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15905         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15907         Moved ...
15908         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15909         ... here.
15910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15911         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15913         Identical file removed.
15914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15915         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15917         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15919         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15921         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15923         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15925         Moved ...
15926         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15927         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15928         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15930         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15931         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15932         Moved ...
15933         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15935         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15937         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15939         Identical file removed.
15940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15941         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15943         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15945         Moved ...
15946         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15947         ... here.
15948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15949         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15951         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15953         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15955         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15957         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15958         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15959         Moved ...
15960         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15962         Moved ...
15963         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15965         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15967         Moved ...
15968         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15970         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15972         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15973         folded into ...
15974         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15975         * sysdeps/unix/sysv/linux/s390/Versions
15976         (libpthread: GLIBC_2.19): New version set.
15977         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15978         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15979         (librt: GLIBC_2.3.3): New version set.
15980         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15981         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15982         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15983         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
15984         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
15985         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
15986         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
15987         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
15988         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
15989         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
15990         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
15991         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
15992         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
15993         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
15994         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
15995         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
15996         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
15997         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
15998         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
15999         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16000         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16001         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16002         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16003         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16004         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16005         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16006         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16007         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16008         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16009         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16010         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16011         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16012         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16013         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16014         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16015         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16016         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16017         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16018         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16019         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16020         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16021         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16022         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16023         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16024         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16026         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16027         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16028         (__libc_vfork): Define the function under this name.
16029         [!NOT_IN_libc] (__vfork): Make this an alias.
16030         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16031         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16032         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16033         (__libc_vfork): Define the function under this name.
16034         [!NOT_IN_libc] (__vfork): Make this an alias.
16035         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16036         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16037         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16038         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16039         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16040         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16042         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16043         code that was previously under [RESET_PID].
16044         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16045         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16046         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16048         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16049         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16050         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16051         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16052         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16053         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16054         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16055         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16056         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16057         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16058         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16059         Moved ...
16060         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16061         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16062         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16063         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16064         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16065         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16066         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16067         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16068         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16069         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16070         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16071         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16072         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16073         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16074         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16075         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16076         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16077         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16078         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16079         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16080         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16081         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16082         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16083         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16084         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16085         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16086         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16087         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16088         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16090 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16092         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16093         that was previously under [RESET_PID].
16094         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16096 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16098         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16099         not undefine and redefine.
16100         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16101         [O_CLOEXEC]: Make code unconditional.
16102         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16103         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16104         <kernel-features.h>.
16105         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16106         conditional variable definition.
16107         (shm_open) [O_CLOEXEC]: Make code unconditional.
16108         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16109         code.
16111         * configure.ac (USE_REGPARMS): Don't define here.
16112         * configure: Regenerated.
16113         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16114         * sysdeps/i386/configure: Regenerated.
16116         * nptl/createthread.c: Don't include kernel-features.h.
16117         * nptl/pthread_cancel.c: Likewise.
16118         * nptl/pthread_condattr_setclock.c: Likewise.
16119         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16120         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16121         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16122         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16123         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16124         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16125         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16126         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16127         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16128         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16129         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16130         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16131         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16132         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16133         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16134         * nscd/gai.c: Likewise.
16135         * nss/nss_db/db-open.c: Likewise.
16136         * sysdeps/generic/ldsodefs.h: Likewise.
16137         * sysdeps/sh/nptl/tls.h: Likewise.
16138         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16139         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16140         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16141         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16142         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16143         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16144         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16145         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16146         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16147         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16148         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16149         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16150         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16151         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16152         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16153         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16154         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16155         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16156         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16157         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16158         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16159         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16160         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16161         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16162         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16163         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16164         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16165         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16166         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16167         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16168         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16169         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16170         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16171         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16172         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16173         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16174         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16175         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16176         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16177         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16178         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16179         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16180         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16181         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16182         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16183         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16184         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16185         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16186         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16187         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16188         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16189         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16190         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16191         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16192         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16193         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16194         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16195         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16218         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16219         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16220         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16221         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16222         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16223         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16224         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16225         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16226         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16227         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16228         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16229         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16230         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16231         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16232         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16233         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16234         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16235         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16236         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16237         * sysdeps/unix/sysv/linux/system.c: Likewise.
16238         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16239         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16240         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16241         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16242         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16243         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16244         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16246         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16247         * configure: Regenerated.
16248         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16250         * configure.ac (base_machine): Do not set specially for particular
16251         machines here.
16252         * configure: Regenerated.
16253         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16254         settings from configure.ac.
16255         * sysdeps/i386/preconfigure: New file.
16256         * sysdeps/s390/preconfigure: Likewise.
16257         * sysdeps/sh/preconfigure: Likewise.
16258         * sysdeps/sparc/preconfigure: Likewise.
16260 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16262         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16263         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16264         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16265         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16266         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16267         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16268         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16269         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16270         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16271         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16272         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16273         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16274         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16275         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16276         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16277         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16278         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16279         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16280         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16282         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16283         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16284         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16285         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16286         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16287         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16288         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16289         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16290         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16291         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16292         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16293         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16294         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16295         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16296         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16297         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16298         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16299         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16300         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16301         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16302         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16303         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16304         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16305         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16306         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16307         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16308         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16309         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16310         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16311         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16312         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16313         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16314         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16315         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16316         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16317         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16318         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16319         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16321         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16322         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16323         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16324         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16326         Moved ...
16327         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16328         ... here.
16329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16330         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16331         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16332         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16334         Moved ...
16335         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16337         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16339         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16341         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16343         Moved ...
16344         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16346         Moved ...
16347         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16348         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16349         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16350         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16351         Moved ...
16352         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16354         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16355         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16356         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16358         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16359         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16360         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16362         Moved ...
16363         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16364         ... here.
16365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16366         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16368         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16370         Moved ...
16371         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16372         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16373         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16375         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16377         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16379         Moved ...
16380         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16382         Moved ...
16383         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16384         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16385         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16386         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16387         Moved ...
16388         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16389         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16390         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16391         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16392         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16394 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16396         * timezone/checktab.awk: Update from tzcode 2014e.
16397         * timezone/private.h: Likewise.
16398         * timezone/tzfile.h: Likewise.
16399         * timezone/zdump.c: Likewise.
16400         * timezone/zic.c: Likewise.
16402         * sysdeps/unix/sysv/linux/kernel-features.h
16403         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16404         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16405         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16406         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16407         Remove conditional code.
16409 2014-06-25  Will Newton  <will.newton@linaro.org>
16411         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16412         (_dl_arm_cap_flags): Add HWCAP2 values.
16413         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16414         (_DL_HWCAP_COUNT): Increase to 37.
16415         (_DL_HWCAP_LAST): New define.
16416         (_DL_HWCAP2_LAST): New define.
16417         (_dl_procinfo): Add support for printing
16418         AT_HWCAP2 entries.
16419         (_dl_string_hwcap): Use _dl_hwcap_string.
16421 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16425 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16427         * README: Do not mention ports directory.
16429         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16430         Remove macro.
16431         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16432         <kernel-features.h>.
16433         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16434         conditional variable definition.
16435         (__futimes): Update comment.
16436         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16437         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16439         [BZ #16560]
16440         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16441         arguments close to 0.
16442         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16443         Likewise.
16444         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16445         Likewise.
16446         * math/auto-libm-test-in: Add more tests of exp10.
16447         * math/auto-libm-test-out: Regenerated.
16448         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16450         * sysdeps/unix/sysv/linux/kernel-features.h
16451         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16452         * sysdeps/unix/sysv/linux/readv.c: Do not include
16453         <kernel-features.h>.
16454         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16455         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16456         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16457         unconditional.
16458         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16459         conditional code.
16460         * sysdeps/unix/sysv/linux/writev.c: Do not include
16461         <kernel-features.h>.
16462         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16463         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16464         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16465         unconditional.
16466         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16467         conditional code.
16469 2014-06-25  Will Newton  <will.newton@linaro.org>
16471         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16472         comment changes throughout the file.  Remove checks
16473         for HAVE_*_H definitions that are not required.
16474         (__gen_tempname): Call abort if an unknown kind value is
16475         passed.
16477 2014-06-25  Andreas Schwab  <schwab@suse.de>
16479         [BZ #17086]
16480         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16481         scalbln, scalblnf, scalblnl in libc.
16483 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16485         [BZ #17086]
16486         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16487         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16488         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16490 2014-06-24  Roland McGrath  <roland@hack.frob.com>
16492         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16493         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16494         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16495         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16496         Update #include.
16497         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16498         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16499         Update #include.
16500         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16501         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16502         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16503         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16504         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16505         * sysdeps/x86/bits/pthreadtypes.h: ... here.
16506         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16507         * sysdeps/x86/bits/semaphore.h: ... here.
16508         * sysdeps/x86/nptl/elide.h: Moved ...
16509         * sysdeps/x86/elide.h: ... here.
16510         * sysdeps/x86_64/nptl/Implies: File removed.
16511         * sysdeps/i386/nptl/Implies: File removed.
16513 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
16515         [BZ #16539]
16516         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16517         return the argument for normal arguments with exponent below -64.
16518         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16519         Likewise.
16520         * math/auto-libm-test-in: Add another test of expm1.
16521         * math/auto-libm-test-out: Regenerated.
16523         [BZ #16287]
16524         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16525         calling __erfcl for arguments at least 16.
16526         * math/auto-libm-test-in: Add more tests of erf.
16527         * math/auto-libm-test-out: Regenerated.
16529         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16530         individual architectures.
16531         * sysdeps/unix/sysv/linux/configure: Regenerated.
16532         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16533         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16534         * sysdeps/unix/sysv/linux/powerpc/configure.ac
16535         (ldd_rewrite_script): Define variable.
16536         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16538         file.
16539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16540         generated file.
16541         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16542         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16543         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16544         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16545         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16546         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16547         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16548         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16550 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16552         [BZ #17084]
16553         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16554         Rename member __data.d to __data.__elision_data.
16556 2014-06-24  Wilco  <wdijkstr@arm.com>
16558         * NEWS: Add 16918 to fixed bug list.
16560 2014-06-24  Wilco  <wdijkstr@arm.com>
16562         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16564 2014-06-24  Wilco  <wdijkstr@arm.com>
16566         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16567         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16568         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16569         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16570         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16571         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16572         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16573         Use _FPU_MASK_RM.
16575 2014-06-24  Wilco  <wdijkstr@arm.com>
16577         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16579 2014-06-24  Wilco  <wdijkstr@arm.com>
16581         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16582         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16583         * sysdeps/arm/fesetround.c (fesetround): Remove space.
16584         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16586 2014-06-24  Wilco  <wdijkstr@arm.com>
16588         [BZ #16918]
16589         * sysdeps/arm/feupdateenv.c (feupdateenv):
16590         Rewrite to reduce FPSCR accesses and fix return value.
16592 2014-06-24  Wilco  <wdijkstr@arm.com>
16594         * sysdeps/arm/fclrexcpt.c (feclearexcept):
16595         Optimize to avoid unnecessary FPSCR writes.
16596         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16597         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16598         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16599         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16601 2014-06-24  Wilco  <wdijkstr@arm.com>
16603         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16604         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16605         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16606         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
16607         Call libc_fetestexcept_vfp.
16608         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
16609         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
16610         __SOFTFP__ ifdef so that they can be built for softfp.
16612 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16614         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
16615         argument type signed char.
16617         * Makerules (check-abi): Dump diff of symlist if the test
16618         fails.
16620 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16622         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
16623         using abort.
16625         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16626         Remove unused variable ST.
16628 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16630         [BZ #16354]
16631         [BZ #17061]
16632         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
16633         small arguments before calling __expm1.
16634         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
16635         small arguments before calling __expm1f.
16636         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
16637         small arguments before calling __expm1l.
16638         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16639         Likewise.
16640         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16641         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
16642         spurious underflow for some cosh tests.
16643         * math/auto-libm-test-out: Regenerated.
16644         * sysdeps/i386/fpu/libm-test-ulps: Update.
16646         [BZ #17050]
16647         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
16648         (__ieee754_y1): Set errno if return value overflows.
16649         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
16650         (__ieee754_y1f): Set errno if return value overflows.
16651         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
16652         (__ieee754_y1l): Set errno if return value overflows.
16653         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
16654         (__ieee754_y1l): Set errno if return value overflows.
16655         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
16656         * math/auto-libm-test-out: Regenerated.
16658         * math/gen-auto-libm-tests.c: Document use of
16659         ignore-zero-inf-sign.
16660         (input_flag_type): Add value flag_ignore_zero_inf_sign.
16661         (input_flags): Add ignore-zero-inf-sign.
16662         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
16663         * math/gen-libm-test.pl (generate_testfile): Handle
16664         ignore-zero-inf-sign.
16665         * math/auto-libm-test-in: Mark some cpow tests with
16666         ignore-zero-inf-sign and some with xfail-rounding.
16667         * math/auto-libm-test-out: Regenerated.
16668         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16669         * sysdeps/i386/fpu/libm-test-ulps: Update.
16670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16672         [BZ #16315]
16673         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16674         overflowing or underflowing operations take place with sign of
16675         result.
16676         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16677         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16678         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16679         (__ieee754_pow): Recompute overflowing and underflowing results in
16680         original rounding mode.
16681         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16682         (__powl_helper): Allow negative argument X and scale negated value
16683         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
16684         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16685         overflowing or underflowing operations take place with sign of
16686         result.
16687         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16688         Include <math.h>.
16689         * math/auto-libm-test-in: Add more tests of pow.
16690         * math/auto-libm-test-out: Regenerated.
16691         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16692         (pow_tonearest_test_data): Remove.
16693         (pow_test_tonearest): Likewise.
16694         (pow_towardzero_test_data): Likewise.
16695         (pow_test_towardzero): Likewise.
16696         (pow_downward_test_data): Likewise.
16697         (pow_test_downward): Likewise.
16698         (pow_upward_test_data): Likewise.
16699         (pow_test_upward): Likewise.
16700         (main): Don't call removed functions.
16701         * sysdeps/i386/fpu/libm-test-ulps: Update.
16702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16704 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16707         Moved ...
16708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16710         Moved ...
16711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16713         Moved ...
16714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16716         Moved ...
16717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16719         File removed.
16720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16721         File removed.
16722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16723         File removed.
16724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16725         File removed.
16726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16727         File removed.
16728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16729         File removed.
16730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16731         File removed.
16732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16733         File removed.
16734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16735         File removed.
16736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16737         File removed.
16738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16739         File removed.
16740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16741         File removed.
16742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16743         Moved ...
16744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16746         Moved ...
16747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16748         ... here.
16749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16750         Moved ...
16751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16753         Moved ...
16754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16756         Moved ...
16757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16759         Moved ...
16760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16762         Moved ...
16763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16765         Moved ...
16766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16768         Moved ...
16769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16772         ... here.
16773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16774         Moved ...
16775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16777         Moved ...
16778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16779         ... here.
16780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16781         Moved ...
16782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16783         ... here.
16784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16785         Moved ...
16786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16787         ... here.
16788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16789         Moved ...
16790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16792         Moved ...
16793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16797         Moved ...
16798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16799         ... here.
16800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16801         Moved ...
16802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16803         ... here.
16804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16805         Moved ...
16806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16808         Moved ...
16809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16811         Moved ...
16812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16814         Moved ...
16815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16817         Moved ...
16818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16819         ... here.
16820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16821         Moved ...
16822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16824         Moved ...
16825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16827         Moved ...
16828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16830         Moved ...
16831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16835         Moved ...
16836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16838         Moved ...
16839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16841         Moved ...
16842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16843         ... here.
16844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16845         Moved ...
16846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16847         ... here.
16848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16849         Moved ...
16850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16851         ... here.
16852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16853         Moved ...
16854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16856         Moved ...
16857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16859         Moved ...
16860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16862         Moved ...
16863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16864         ... here.
16865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16866         Moved ...
16867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16868         ... here.
16869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16870         Moved ...
16871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16872         ... here.
16873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16874         Moved ...
16875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16877         Moved ...
16878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16880 2014-06-23  Will Newton  <will.newton@linaro.org>
16881             Wilco  <wdijkstr@arm.com>
16883         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16884         implementation.  Include get-rounding-mode.h.
16885         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16886         [!libc_feholdsetround_noex_ctx]: Define
16887         libc_feholdsetround_noex_ctx.
16888         [!libc_feholdsetround_noexf_ctx]: Define
16889         libc_feholdsetround_noexf_ctx.
16890         [!libc_feholdsetround_noexl_ctx]: Define
16891         libc_feholdsetround_noexl_ctx.
16892         (libc_feholdsetround_ctx): New function.
16893         (libc_feresetround_ctx): New function.
16894         (libc_feholdsetround_noex_ctx): New function.
16895         (libc_feresetround_noex_ctx): New function.
16897 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16899         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16900         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16901         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16902         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16903         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16904         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16906         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16907         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16908         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16909         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16910         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16911         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16912         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16913         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16914         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16915         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16916         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16917         Moved ...
16918         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16919         ... here.
16920         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16921         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16922         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16923         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16924         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16925         Moved ...
16926         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16927         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16928         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16929         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16930         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16931         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16932         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16933         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16934         Moved ...
16935         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16936         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16937         Moved ...
16938         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16939         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16940         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16941         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16942         Moved ...
16943         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16944         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16945         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16946         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16947         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16948         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16949         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16950         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16951         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16952         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16953         Moved ...
16954         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16955         ... here.
16956         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16957         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16958         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16959         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16960         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16961         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16962         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16963         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16964         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16965         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16966         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16967         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16968         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16969         Moved ...
16970         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16971         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16972         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16973         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16974         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16975         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16976         Moved ...
16977         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16978         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16979         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16980         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16981         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16983         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
16984         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
16985         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
16986         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
16987         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
16988         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
16989         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
16990         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
16991         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
16992         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
16993         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
16994         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
16995         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16996         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
16997         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
16998         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
16999         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17000         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17001         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17002         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17003         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17004         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17005         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17006         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17007         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17008         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17009         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17010         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17012 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17014         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17015         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17016         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17017         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17018         (IPV6_PMTUDISC_INTERFACE): Likewise.
17019         (IPV6_PMTUDISC_OMIT): Likewise.
17021 2014-06-23  Andreas Schwab  <schwab@suse.de>
17023         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17024         Remove unused errout label.
17026 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17028         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17029         macro: hardware supports Vector Crypto instructions.
17031 2014-06-23  Will Newton  <will.newton@linaro.org>
17033         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17034         rather than __builtin_expect.
17036         * elf/dl-lookup.c (undefined_msg): Remove variable.
17037         (_dl_lookup_symbol_x): Replace undefined_msg with string
17038         literal.
17040         * elf/dl-lookup.c (do_lookup_unique): New function.
17041         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17042         to a separate function.
17044 2014-06-23  Andreas Schwab  <schwab@suse.de>
17046         [BZ #17079]
17047         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17048         before reading the next line.
17050 2014-06-23  Will Newton  <will.newton@linaro.org>
17052         * test-skeleton.c (signal_handler): Use printf and %m
17053         rather than perror.  Use printf rather than fprintf to
17054         stderr.  Use puts rather than fputs to stderr.
17055         (main): Likewise.
17057 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17059         * nscd/nscd.c (thread_info_t): Remove typedef.
17060         (thread_info): Remove variable.
17062 2014-06-21  Allan McRae  <allan@archlinux.org>
17064         * NEWS: Mention CVE-2014-4043.
17066 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17068         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17069         * nptl/smp.h: ... here.
17071         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17073         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17074         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17075         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17076         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17078         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17079         * nptl/stack-aliasing.h: New file.
17080         * sysdeps/i386/i686/stack-aliasing.h: New file.
17081         * sysdeps/i386/i686/nptl/Makefile: File removed.
17082         * sysdeps/x86_64/stack-aliasing.h: New file.
17083         * sysdeps/x86_64/nptl/Makefile
17084         (CFLAGS-pthread_create.c): Variable removed.
17086         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17087         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17088         old file.
17089         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17090         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17091         old file.
17093 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17095         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17096         (__ASSUME_SIGFRAME_V2): Remove macro.
17097         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17098         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17099         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17100         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17101         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17102         Declare as function.  Remove conditional macro definitions.
17103         (__default_rt_sa_restorer): Likewise.
17104         (__default_sa_restorer_v1): Remove declaration.
17105         (__default_sa_restorer_v2): Likewise.
17106         (__default_rt_sa_restorer_v1): Likewise.
17107         (__default_rt_sa_restorer_v2): Likewise.
17108         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17109         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17110         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17112 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17114         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17115         (libpthread-routines): Add sysdep.
17116         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17117         * sysdeps/unix/sysv/linux/sparc/Versions
17118         (libpthread: GLIBC_2.3.3): New version set.
17119         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17120         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17121         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17122         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17123         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17124         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17125         Moved ...
17126         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17127         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17128         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17129         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17130         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17131         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17132         * sysdeps/sparc/nptl/sem_init.c: ... here.
17133         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17134         * sysdeps/sparc/nptl/sem_post.c: ... here.
17135         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17136         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17137         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17138         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17139         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17140         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17141         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17142         (libpthread-routines): Add cpu_relax.
17143         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17144         File removed.
17145         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17146         (librt: GLIBC_2.3.3): New version set.
17147         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17148         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17149         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17150         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17151         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17152         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17153         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17154         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17155         Moved ...
17156         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17157         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17158         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17159         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17160         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17161         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17162         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17164         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17165         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17166         Moved ...
17167         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17168         Update #include.
17169         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17170         Moved ...
17171         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17172         Update #include.
17173         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17174         Moved ...
17175         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17176         Update #include.
17177         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17178         Moved ...
17179         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17180         Update #include.
17181         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17182         Moved ...
17183         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17184         Update #include.
17185         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17186         Moved ...
17187         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17188         Update #include.
17189         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17190         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17191         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17192         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17194         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17196         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17197         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17198         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17199         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17200         Moved ...
17201         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17202         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17203         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17204         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17205         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17207 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17209         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17210         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17211         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17212         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17213         * nscd/nscd.c: Likewise.
17214         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17215         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17216         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17217         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17219         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17220         <kernel-features.h>.
17221         (init_mq_netlink): Remove conditional have_sock_cloexec
17222         definitions.  Remove code conditional on have_sock_cloexec < 0.
17223         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17224         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17225         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17226         <kernel-features.h>.
17227         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17228         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17230 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17232         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17233         Add tests for memset_chk and memset.
17235         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17236         with AVX2_Usable.
17238 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17240         [BZ #16046]
17241         * elf/tst-dl-iter-static.c: New file.
17242         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17244         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17245         error.
17247 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17249         * sysdeps/unix/sysv/linux/kernel-features.h
17250         (__ASSUME_F_GETOWN_EX): Remove macro.
17251         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17252         <kernel-features.h>.
17253         (miss_F_GETOWN_EX): Remove variable or macro.
17254         (do_fcntl): Do not check miss_F_GETOWN_EX.
17255         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17257         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17258         Remove macro.
17259         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17260         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17261         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17263         * sysdeps/unix/sysv/linux/kernel-features.h
17264         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17265         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17266         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17267         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17269 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17271         [BZ #17075]
17272         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17273         Fix calculation of the symbol's value.
17274         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17275         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17276         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17277         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17278         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17279         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17280         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17281         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17282         (modules-names): Add `tst-armtlsdescmod',
17283         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17284         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17285         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17286         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17287         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17288         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17289         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17290         ($(objpfx)tst-armtlsdescloc): New dependency.
17291         ($(objpfx)tst-armtlsdescextnow): Likewise.
17292         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17293         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17294         TLS scheme support.
17295         * sysdeps/arm/configure: Regenerate.
17297 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17299         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17300         (__atfct_seterrno_2): Likewise.
17301         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17302         <kernel-features.h>.
17303         (__ASSUME_ATFCTS): Do not undefine and redefine.
17304         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17305         (__have_atfcts): Remove conditional definition.
17306         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17307         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17308         unreachable if [__ASSUME_ATFCTS].
17309         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17310         not undefine and redefine.
17311         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17312         <kernel-features.h>.
17313         (faccessat) [__NR_faccessat]: Make code unconditional.
17314         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17315         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17316         <kernel-features.h>.
17317         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17318         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17319         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17320         <kernel-features.h>.
17321         (fchownat) [__NR_fchownat]: Make code unconditional.
17322         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17323         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17324         <kernel-features.h>.
17325         (futimesat) [__NR_futimesat]: Make code unconditional.
17326         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17327         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17328         <kernel-features.h>.
17329         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17330         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17331         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17332         <kernel-features.h>.
17333         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17334         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17335         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17336         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17337         <kernel-features.h>.
17338         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17339         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17340         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17341         <kernel-features.h>.
17342         (linkat) [__NR_linkat]: Make code unconditional.
17343         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17344         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17345         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17346         <kernel-features.h>.
17347         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17348         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17349         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17350         <kernel-features.h>.
17351         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17352         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17353         * sysdeps/unix/sysv/linux/openat.c: Do not include
17354         <kernel-features.h>.
17355         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17356         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17357         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17358         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17359         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17360         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17361         <kernel-features.h>.
17362         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17363         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17364         result of INLINE_SYSCALL directly, not via int variable.
17365         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17366         <kernel-features.h>.
17367         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17368         (renameat) [__NR_renameat]: Make code unconditional.
17369         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17370         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17371         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17372         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17373         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17374         (__ASSUME_ATFCTS): Do not undefine and redefine.
17375         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17376         <kernel-features.h>.
17377         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17378         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17379         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17380         <kernel-features.h>.
17381         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17382         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17383         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17384         (__ASSUME_ATFCTS): Do not undefine and redefine.
17385         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17386         <kernel-features.h>.
17387         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17388         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17389         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17390         <kernel-features.h>.
17391         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17392         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17394 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17396         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17398 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17400         [BZ #17069]
17401         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17402         constructed tree before returning error.
17403         * posix/bug-regexp36.c: Expand test case.
17405 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17407         [BZ #6803]
17408         * math/libm-test.inc (scalbln_test_date):
17409         Add errno expectations.
17410         * math/w_scalblnf.c: New File.
17411         Add wrapper which checks for setting errno to ERANGE.
17412         Add weak_alias for corresponding scalbln function.
17413         * math/w_scalbln.c: Likewise.
17414         * math/w_scalblnl.c: Likewise.
17415         * math/Makefile (libm-calls): Add w_scalbln.
17416         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17417         Remove weak_alias for corresponding scalbln function.
17418         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17419         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17420         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17421         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17422         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17423         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17424         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17425         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17426         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17427         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17428         Remove long_double_symbol for scalblnl function in libm, libc.
17429         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17430         Add wrapper which checks for setting errno to ERANGE.
17431         Add long_double_symbol for scalblnl function in libm, libc.
17432         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17433         Remove long_double_symbol for scalblnl in libm.
17434         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17435         Add wrapper which checks for setting errno to ERANGE.
17436         Add long_double_symbol for scalblnl function in libm.
17437         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17438         Do not use wrapper because of own implementation.
17440 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17442         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17443         3 bytes for __pad1 for x32.
17444         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17446 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
17447             H.J. Lu  <hongjiu.lu@intel.com>
17449         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17450         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17451         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17452         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17453         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17455 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
17457         [BZ #17069]
17458         * posix/regcomp.c (parse_expression): Deallocate partially
17459         constructed tree before returning error.
17460         * posix/Makefile.c (tests): Add bug-regex36.
17461         (generated): Add bug-regex36.mtrace.
17462         (tests-special): Add $(objpfx)bug-regex36-mem.out
17463         (bug-regex36-ENV): New variable.
17464         ($(objpfx)bug-regex36-mem.out): New rule.
17465         * posix/bug-regex36.c: New file.
17467 2014-06-19  Will Newton  <will.newton@linaro.org>
17469         * malloc/malloc.c (systrim): If extra is zero then return
17470         early.
17472 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17474         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17476 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
17478         * sysdeps/aarch64/strchr.S: New file.
17480 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17482         [BZ #17022]
17483         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17484         from arguments -2 or below.
17485         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17486         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17488 2014-06-18  Andreas Schwab  <schwab@suse.de>
17490         [BZ #17062]
17491         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17492         of a bracket expr not to run off the end of the string.
17493         * posix/Makefile (tests): Add tst-fnmatch3.
17494         * posix/tst-fnmatch3.c: New file.
17496 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17498         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17499         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17500         [$(cross-compiling) = no]: Likewise.
17501         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17502         [$(cross-compiling) = no]: Likewise.
17504 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17506         [BZ #17031]
17507         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17508         double, adjusted for any remainder from the high double.
17509         * math/libm-test.inc (nearbyint): Add tests.
17510         (rint): Likewise.
17512 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17514         * nptl/sysdeps/powerpc/Makefile: Moved ...
17515         * sysdeps/powerpc/nptl/Makefile: ... here.
17516         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17517         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17518         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17519         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17520         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17521         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17522         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17523         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17524         * nptl/sysdeps/powerpc/tls.h: Moved ...
17525         * sysdeps/powerpc/nptl/tls.h: ... here.
17527 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
17529         [BZ #16681]
17530         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17531         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17532         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17533         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17534         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17535         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17536         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17537         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17538         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17540 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
17542         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17544 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
17546         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17547         defined operator.
17549         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17550         $TIMEOUTFACTOR.
17552 2014-06-16  Florian Weimer  <fweimer@redhat.com>
17554         [BZ #17058]
17555         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17556         non-executed part of the test.
17558 2014-06-16  Andreas Schwab  <schwab@suse.de>
17560         * string/bits/string2.h (strdup, strndup): Update feature guard.
17562 2014-06-14  David S. Miller  <davem@davemloft.net>
17564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17566 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
17568         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17569         that was previously under [RESET_PID].
17570         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17572         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17573         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17574         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17575         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17576         (__libc_vfork): New strong alias.
17577         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17579 2014-06-14 Andi Kleen  <ak@linux.intel.com>
17581         * sysdeps/generic/elide.h: New file.
17583 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17585         * Makefile (installed-headers): Adjust path of pthread.h header.
17587 2014-06-13  Roland McGrath  <roland@hack.frob.com>
17589         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17590         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17591         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17592         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17594         * nptl/sysdeps/s390/Makefile: Moved ...
17595         * sysdeps/s390/nptl/Makefile: ... here.
17596         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17597         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17598         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17599         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17600         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17601         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17602         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17603         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17604         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17605         * sysdeps/s390/nptl/pthreaddef.h: ... here.
17606         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
17607         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
17608         * nptl/sysdeps/s390/tls.h: Moved ...
17609         * sysdeps/s390/nptl/tls.h: ... here.
17611         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
17612         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
17614 2014-06-13  David S. Miller  <davem@davemloft.net>
17616         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
17617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
17618         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
17619         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
17620         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
17621         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
17622         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
17623         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
17624         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
17625         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
17626         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
17627         Remove RESET_PID cpp guards.
17628         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
17629         Remove RESET_PID cpp guards.
17630         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
17632 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
17634         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
17635         __sp to uintptr_t.
17637 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17639         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
17640         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
17641         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
17642         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
17643         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
17644         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
17645         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
17646         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
17647         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17648         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
17649         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
17650         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
17651         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
17652         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17653         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
17654         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
17655         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
17656         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
17657         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
17658         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
17660         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
17661         (pthread_rwlock_rdlock): Add elision.
17662         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
17663         (pthread_rwlock_wrlock): Add elision.
17664         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
17665         (pthread_rwlock_trywrlock): Add elision.
17666         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
17667         (pthread_rwlock_tryrdlock): Add elision.
17668         * nptl/pthread_rwlock_unlock.c: Include elide.h.
17669         (pthread_rwlock_tryrdlock): Add elision unlock.
17670         * nptl/sysdeps/pthread/pthread.h:
17671         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17672         (PTHREAD_RWLOCK_INITIALIZER,
17673         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17674         Handle new elision field.
17675         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17676         * sysdeps/arm/nptl/bits/pthreadtypes.h
17677         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17678         * sysdeps/sh/nptl/bits/pthreadtypes.h
17679         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17680         * sysdeps/tile/nptl/bits/pthreadtypes.h
17681         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17682         * sysdeps/a/nptl/bits/pthreadtypes.h
17683         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17684         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17685         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17686         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17687         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17688         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17689         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17690         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17691         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17692         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17693         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17694         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17695         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17696         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17697         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17698         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17699         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17700         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17701         (elision_init): Set try_xbegin to zero when no RTM.
17702         * sysdeps/x86/nptl/bits/pthreadtypes.h
17703         (pthread_rwlock_t): Change __pad1 to __rwelision.
17704         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17706 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17708         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17709         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17710         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17711         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17713 2014-06-13  Meador Inge  <meadori@codesourcery.com>
17715         [BZ #16996]
17716         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17717         that the cached result has been set before returning it.
17719 2014-06-12  Roland McGrath  <roland@hack.frob.com>
17721         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17722         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17723         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17724         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17725         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17726         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17728         * nptl/sysdeps/sparc/Makefile: Moved ...
17729         * sysdeps/sparc/nptl/Makefile: ... here.
17730         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17731         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17732         * nptl/sysdeps/sparc/tls.h: Moved ...
17733         * sysdeps/sparc/nptl/tls.h: ... here.
17734         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17735         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17736         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17737         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17738         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17739         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17740         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17741         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17742         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17743         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17744         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17745         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17746         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17747         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17748         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17749         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17750         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17751         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17752         Update #include.
17753         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17754         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17755         Update #include.
17756         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17757         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17758         Update #include.
17759         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17760         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17761         Update #include.
17763         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17765         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17766         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17768         * sysdeps/pthread/posix-timer.h: Include <list.h>.
17769         (struct list_links): Type removed.
17770         (struct thread_node, struct timer_node): Replace struct list_links
17771         with struct list_head.
17772         (list_unlink_ip): Likewise.
17773         * sysdeps/pthread/timer_routines.c
17774         (timer_free_list, thread_free_list, thread_active_list): Likewise.
17775         (list_append, list_insbefore): Likewise.
17776         (list_init): Function removed.
17777         (thread_init, init_module): Use INIT_LIST_HEAD instead.
17778         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17779         * sysdeps/pthread/Makefile: ... here, new file.
17781         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17782         * sysdeps/nptl/Implies: ... here.
17783         * sysdeps/unix/sysv/linux/Implies: Add nptl.
17784         * nptl/sysdeps/pthread/list.h: Moved ...
17785         * include/list.h: ... here.
17786         * nptl/sysdeps/pthread/createthread.c: Moved ...
17787         * nptl/createthread.c: ... here.
17788         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17789         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17790         * nptl/pt-longjmp.c: ... here.
17791         * nptl/sysdeps/pthread/Makefile: Moved ...
17792         * sysdeps/nptl/Makefile: ... here.
17793         * nptl/sysdeps/pthread/Subdirs: Moved ...
17794         * sysdeps/nptl/Subdirs: ... here.
17795         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17796         * sysdeps/nptl/aio_misc.h: ... here.
17797         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17798         * sysdeps/nptl/bits/libc-lock.h: ... here.
17799         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17800         * sysdeps/nptl/bits/libc-lockP.h: ... here.
17801         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17802         * sysdeps/nptl/bits/stdio-lock.h: ... here.
17803         * nptl/sysdeps/pthread/configure: Moved ...
17804         * sysdeps/nptl/configure: ... here.
17805         * nptl/sysdeps/pthread/configure.ac: Moved ...
17806         * sysdeps/nptl/configure.ac: ... here.
17807         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17808         * sysdeps/nptl/gai_misc.h: ... here.
17809         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17810         * sysdeps/nptl/librt-cancellation.c: ... here.
17811         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17812         * sysdeps/nptl/malloc-machine.h: ... here.
17813         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17814         * sysdeps/nptl/pthread-functions.h: ... here.
17815         * nptl/sysdeps/pthread/pthread.h: Moved ...
17816         * sysdeps/nptl/pthread.h: ... here.
17817         * nptl/sysdeps/pthread/setxid.h: Moved ...
17818         * sysdeps/nptl/setxid.h: ... here.
17819         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17820         * sysdeps/nptl/sigfillset.c: ... here.
17821         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17822         * sysdeps/nptl/tcb-offsets.h: ... here.
17823         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17824         * sysdeps/nptl/tst-mqueue8x.c: ... here.
17825         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17826         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17827         * nptl/sysdeps/pthread/allocalim.h: Moved ...
17828         * sysdeps/pthread/allocalim.h: ... here.
17829         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17830         * sysdeps/pthread/bits/sigthread.h: ... here.
17831         * nptl/sysdeps/pthread/flockfile.c: Moved ...
17832         * sysdeps/pthread/flockfile.c: ... here.
17833         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17834         * sysdeps/pthread/ftrylockfile.c: ... here.
17835         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17836         * sysdeps/pthread/funlockfile.c: ... here.
17837         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17838         * sysdeps/pthread/posix-timer.h: ... here.
17839         * nptl/sysdeps/pthread/timer_create.c: Moved ...
17840         * sysdeps/pthread/timer_create.c: ... here.
17841         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17842         * sysdeps/pthread/timer_delete.c: ... here.
17843         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17844         * sysdeps/pthread/timer_getoverr.c: ... here.
17845         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17846         * sysdeps/pthread/timer_gettime.c: ... here.
17847         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17848         * sysdeps/pthread/timer_routines.c: ... here.
17849         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17850         * sysdeps/pthread/timer_settime.c: ... here.
17851         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17852         * sysdeps/pthread/tst-timer.c: ... here.
17853         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17854         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17856         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17857         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17859         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17860         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17861         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17862         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17863         Update #include target.
17864         * nptl/sysdeps/i386/i686/Makefile: Moved ...
17865         * sysdeps/i386/i686/nptl/Makefile: ... here.
17866         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17867         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17868         Update #include target.
17869         * nptl/sysdeps/i386/i686/tls.h: Moved ...
17870         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
17871         * nptl/sysdeps/i386/Makefile: Moved ...
17872         * sysdeps/i386/nptl/Makefile: ... here.
17873         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17874         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17875         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17876         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17877         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17878         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17879         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17880         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17881         * sysdeps/i386/nptl/pthreaddef.h: ... here.
17882         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17883         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17884         * nptl/sysdeps/i386/tls.h: Moved ...
17885         * sysdeps/i386/nptl/tls.h: ... here.
17887         * sysdeps/sh/Makefile [$(subdir) = csu]
17888         (gen-as-const-headers): Add tcb-offsets.sym.
17889         * nptl/sysdeps/sh/Makefile: File removed.
17890         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17891         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17892         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17893         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17894         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17895         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17896         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17897         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17898         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17899         * sysdeps/sh/nptl/pthreaddef.h: ... here.
17900         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17901         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17902         * nptl/sysdeps/sh/tls.h: Moved ...
17903         * sysdeps/sh/nptl/tls.h: ... here.
17904         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17905         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17906         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17907         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17908         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17909         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17910         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17911         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17912         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17913         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17914         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17915         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17916         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17917         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17918         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17919         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17920         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17921         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17922         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17923         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17924         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17925         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17926         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17927         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17928         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17929         Moved ...
17930         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17931         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17932         Moved ...
17933         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17934         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17935         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17936         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17937         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17938         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17939         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17940         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17941         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17942         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17943         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17944         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17945         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17946         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17947         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17948         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17949         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17950         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17951         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17953 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17955         * posix/spawn_faction_addopen.c: Include string.h.
17957 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17959         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17960         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17961         * nptl/sysdeps/x86_64/Makefile: Moved ...
17962         * sysdeps/x86_64/nptl/Makefile: ... here.
17963         * nptl/sysdeps/x86_64/configure: Moved ...
17964         * sysdeps/x86_64/nptl/configure: ... here.
17965         * nptl/sysdeps/x86_64/configure.ac: Moved ...
17966         * sysdeps/x86_64/nptl/configure.ac: ... here.
17967         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17968         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17969         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17970         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17971         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17972         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17973         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17974         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17975         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17976         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17977         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17978         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17979         * nptl/sysdeps/x86_64/tls.h: Moved ...
17980         * sysdeps/x86_64/nptl/tls.h: ... here.
17981         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17982         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17983         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
17984         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
17986         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
17988 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17992 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
17994         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
17995         type.
17996         [POSIX] (off_t): Likewise.
17997         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
17998         [POSIX] (S_ISBLK): Require macro.
17999         [POSIX] (S_ISCHR): Likewise.
18000         [POSIX] (S_ISDIR): Likewise.
18001         [POSIX] (S_ISFIFO): Likewise.
18002         [POSIX] (S_ISREG): Likewise.
18003         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18004         optional-macro.
18005         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18006         type.
18007         [POSIX] (time_t): Likewise.
18008         [POSIX] (timer_t): Likewise.
18010 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18012         [BZ #17048]
18013         * posix/spawn_int.h (struct __spawn_action): Make the path string
18014         non-const to support deallocation.
18015         * posix/spawn_faction_addopen.c
18016         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18017         * posix/spawn_faction_destroy.c
18018         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18019         path in all spawn_do_open actions.
18020         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18021         posix_spawn_file_actions_addopen.
18023 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18025         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18026         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18027         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18028         conditional code always true.
18029         (__libc_vfork): New alias.
18031 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18033         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18034         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18036         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18038         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18039         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18041         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18042         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18044         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18045         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18047 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18049         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18050         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18051         multiarch strcmp for PPC64.
18052         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18053         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18054         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18055         multiarch optimizations.
18056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18057         (__libc_ifunc_impl_list): Likewise.
18059 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18061         * benchtests/scripts/validate_benchout.py: New script.
18062         * benchtests/Makefile (bench-func): Call it.
18063         * benchtests/scripts/benchout.schema.json: New file.
18065 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18067         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18068         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18069         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18070         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18071         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18072         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18073         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18074         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18075         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18076         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18077         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18078         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18079         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18080         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18081         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18082         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18084         Moved ...
18085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18086         ... here.
18087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18088         Moved ...
18089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18091         Moved ...
18092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18093         ... here.
18094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18095         Moved ...
18096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18097         ... here.
18098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18099         Moved ...
18100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18102         Moved ...
18103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18104         ... here.
18105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18106         Moved ...
18107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18108         ... here.
18109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18110         Moved ...
18111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18113         Moved ...
18114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18115         ... here.
18116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18117         Moved ...
18118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18119         ... here.
18120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18121         Moved ...
18122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18123         ... here.
18124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18125         Moved ...
18126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18128         Moved ...
18129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18130         ... here.
18131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18132         Moved ...
18133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18134         ... here.
18135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18136         Moved ...
18137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18138         ... here.
18139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18140         Moved ...
18141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18143         Moved ...
18144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18145         ... here.
18146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18147         Moved ...
18148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18149         ... here.
18150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18151         Moved ...
18152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18154         Moved ...
18155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18156         ... here.
18157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18158         Moved ...
18159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18161         Moved ...
18162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18164         Moved ...
18165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18166         ... here.
18167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18168         Moved ...
18169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18170         ... here.
18171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18172         Moved ...
18173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18174         ... here.
18175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18176         Moved ...
18177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18179         Moved ...
18180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18181         ... here.
18182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18183         Moved ...
18184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18185         ... here.
18186         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18187         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18188         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18189         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18190         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18191         Moved ...
18192         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18193         ... here.
18194         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18195         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18196         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18197         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18198         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18199         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18200         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18201         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18202         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18203         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18204         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18205         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18206         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18207         Moved ...
18208         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18209         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18210         Moved ...
18211         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18212         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18213         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18214         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18215         Moved ...
18216         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18217         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18218         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18219         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18220         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18221         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18222         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18224 2014-06-10  Wilco  <wdijkstr@arm.com>
18226         * math/test-fenv-return.c: New file.
18227         * math/Makefile: Add new test test-fenv-return.
18229 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18231         [BZ #17042]
18232         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18233         when x - 1 is zero.
18234         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18235         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18236         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18237         0.0L for an argument of 1.0L.
18238         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18239         Likewise.
18240         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18241         value when x - 1 is zero.
18242         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18243         * sysdeps/i386/fpu/libm-test-ulps: Update.
18244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18246 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18248         [BZ #15119]
18249         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18251 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18253         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18254         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18256 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18258         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18259         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18261         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18262         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18264         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18265         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18267         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18268         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18270         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18271         if not already defined.
18272         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18273         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18274         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18275         (TLS_INIT_TP): Use it.
18276         (TLS_DEFINE_INIT_TP): New macro.
18277         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18279 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18281         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18282         constant.
18283         [POSIX] (IXANY): Likewise.
18284         [POSIX] (OLCUC): Likewise.
18285         [POSIX || POSIX2008] (CBAUD): Do not allow.
18286         [POSIX || POSIX2008] (DEFECHO): Likewise.
18287         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18288         [POSIX || POSIX2008] (ECHOKE): Likewise.
18289         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18290         [POSIX || POSIX2008] (EXTA): Likewise.
18291         [POSIX || POSIX2008] (EXTB): Likewise.
18292         [POSIX || POSIX2008] (FLUSHO): Likewise.
18293         [POSIX || POSIX2008] (LOBLK): Likewise.
18294         [POSIX || POSIX2008] (PENDIN): Likewise.
18295         [POSIX || POSIX2008] (SWTCH): Likewise.
18296         [POSIX || POSIX2008] (VDISCARD): Likewise.
18297         [POSIX || POSIX2008] (VDSUSP): Likewise.
18298         [POSIX || POSIX2008] (VLNEXT): Likewise.
18299         [POSIX || POSIX2008] (VREPRINT): Likewise.
18300         [POSIX || POSIX2008] (VSTATUS): Likewise.
18301         [POSIX || POSIX2008] (VWERASE): Likewise.
18302         (B*): Change to B[0123456789]*.
18303         * conform/data/time.h-data [POSIX || UNIX98]
18304         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18305         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18306         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18307         [POSIX] (tm_*): Do not allow.
18309 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18311         * Makefile (install): Don't set LANGUAGE.
18312         * Makefile.in (install): Likewise.
18313         * assert/Makefile (test-assert-ENV): Remove variable.
18314         (test-assert-perr-ENV): Likewise.
18315         * elf/Makefile (neededtest4-ENV): Likewise.
18316         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18317         [$(cross-compiling) = no]: Don't set LANGUAGE.
18318         * io/ftwtest-sh (LANG): Remove variable.
18319         * libio/Makefile (tst-widetext-ENV): Likewise.
18320         * manual/install.texi (Running make install): Don't refer to
18321         environment settings for make install.
18322         * INSTALL: Regenerated.
18323         * nptl/tst-tls6.sh: Don't set LANG.
18324         * posix/globtest.sh (LANG): Remove variable.
18325         * string/Makefile (tester-ENV): Likewise.
18326         (inl-tester-ENV): Likewise.
18327         (noinl-tester-ENV): Likewise.
18328         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18329         [$(cross-compiling) = no]: Don't set LANGUAGE.
18330         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18331         without explicit environment settings.
18333 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18335         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18336         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18337         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18338         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18340 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18342         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18343         other files in the crypt directory.
18344         * crypt/crypt.c: Remove duplicate includes.
18345         * crypt/crypt-entry.c: Likewise.
18346         * crypt/crypt_util.c: Likewise.
18348 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18350         * Makeconfig (run-program-env): New variable.
18351         (run-program-prefix-before-env): Likewise.
18352         (run-program-prefix-after-env): Likewise.
18353         (run-program-prefix): Define in terms of new variables.
18354         (built-program-cmd-before-env): New variable.
18355         (built-program-cmd-after-env): Likewise.
18356         (built-program-cmd): Define in terms of new variables.
18357         (test-program-prefix-before-env): New variable.
18358         (test-program-prefix-after-env): Likewise.
18359         (test-program-prefix): Define in terms of new variables.
18360         (test-program-cmd-before-env): New variable.
18361         (test-program-cmd-after-env): Likewise.
18362         (test-program-cmd): Define in terms of new variables.
18363         * Rules (make-test-out): Use $(run-program-env).
18364         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18365         (help): Do not mention environment variables.  Mention
18366         --timeoutfactor option.
18367         (timeoutfactor): New variable.
18368         (blacklist_exports): Remove function.
18369         (exports): Remove variable.
18370         (command): Do not include ${exports}.
18371         * manual/install.texi (Configuring and compiling): Do not mention
18372         test wrappers preserving environment variables.  Mention that last
18373         assignment to a variable must take precedence.
18374         * INSTALL: Regenerated.
18375         * benchtests/Makefile (run-bench): Use $(run-program-env).
18376         * catgets/Makefile ($(objpfx)test1.cat): Use
18377         $(built-program-cmd-before-env), $(run-program-env) and
18378         $(built-program-cmd-after-env).
18379         ($(objpfx)test2.cat): Do not specify environment variables
18380         explicitly.
18381         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18382         $(run-program-env) and $(built-program-cmd-after-env).
18383         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18384         $(run-program-env) and $(test-program-cmd-after-env).
18385         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18386         explicitly.
18387         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18388         run_program_env and test_program_cmd_after_env arguments.
18389         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18390         * elf/tst-pathopt.sh: Use run_program_env argument.
18391         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18392         $(test-wrapper-env) and $(run-program-env).
18393         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18394         run_program_env arguments.
18395         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18396         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18397         $(test-program-prefix-before-env), $(run-program-env) and
18398         $(test-program-prefix-after-env).
18399         ($(objpfx)tst-gettext2.out): Likewise.
18400         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18401         run_program_env and test_program_prefix_after_env arguments.
18402         * intl/tst-gettext2.sh: Likewise.
18403         * intl/tst-gettext4.sh: Do not set environment variables
18404         explicitly.
18405         * intl/tst-gettext6.sh: Likewise.
18406         * intl/tst-translit.sh: Likewise.
18407         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18408         $(test-program-prefix-before-env), $(run-program-env) and
18409         $(test-program-prefix-after-env).
18410         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18411         run_program_env and test_program_prefix_after_env arguments.
18412         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18413         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18414         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18415         explicitly with each use of ${test_wrapper_env}.
18416         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18417         $(test-program-prefix-before-env), $(run-program-env) and
18418         $(test-program-prefix-after-env).
18419         * posix/tst-getconf.sh: Do not set environment variables
18420         explicitly.
18421         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18422         run_program_env and test_program_prefix_after_env arguments.
18423         * stdio-common/tst-printf.sh: Do not set environment variables
18424         explicitly.
18425         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18426         $(test-program-prefix-before-env), $(run-program-env) and
18427         $(test-program-prefix-after-env).
18428         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18429         run_program_env and test_program_prefix_after_env arguments.
18430         Split $test calls into $test_pre and $test.
18431         * timezone/Makefile (build-testdata): Use
18432         $(built-program-cmd-before-env), $(run-program-env) and
18433         $(built-program-cmd-after-env).
18435 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18437         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18438         strlen for non SHARED builds.
18440 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18442         * nptl/allocatestack.c (check_list): Inlined function...
18443         (__reclaim_stacks): ... here.
18445 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18447         [BZ #15698]
18448         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18449         memory overrun.
18451 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
18453         * Rules (make-test-out): Include
18454         LOCPATH=$(common-objpfx)localedata in default environment.
18455         * debug/Makefile (tst-chk1-ENV): Remove variable.
18456         (tst-chk2-ENV): Likewise.
18457         (tst-chk3-ENV): Likewise.
18458         (tst-chk4-ENV): Likewise.
18459         (tst-chk5-ENV): Likewise.
18460         (tst-chk6-ENV): Likewise.
18461         (tst-lfschk1-ENV): Likewise.
18462         (tst-lfschk2-ENV): Likewise.
18463         (tst-lfschk3-ENV): Likewise.
18464         (tst-lfschk4-ENV): Likewise.
18465         (tst-lfschk5-ENV): Likewise.
18466         (tst-lfschk6-ENV): Likewise.
18467         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18468         (tst-iconv7-ENV): Likewise.
18469         * intl/Makefile (LOCPATH-ENV): Likewise.
18470         (tst-codeset-ENV): Likewise.
18471         (tst-gettext3-ENV): Likewise.
18472         (tst-gettext5-ENV): Likewise.
18473         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18474         (tst-fopenloc-ENV): Likewise.
18475         (tst-fgetws-ENV): Remove variable.
18476         (tst-ungetwc1-ENV): Likewise.
18477         (tst-ungetwc2-ENV): Likewise.
18478         (bug-ungetwc2-ENV): Likewise.
18479         (tst-swscanf-ENV): Likewise.
18480         (bug-ftell-ENV): Likewise.
18481         (tst-fgetwc-ENV): Likewise.
18482         (tst-fseek-ENV): Likewise.
18483         (tst-ftell-partial-wide-ENV): Likewise.
18484         (tst-ftell-active-handler-ENV): Likewise.
18485         (tst-ftell-append-ENV): Likewise.
18486         * posix/Makefile (tst-fnmatch-ENV): Likewise.
18487         (tst-regexloc-ENV): Likewise.
18488         (bug-regex1-ENV): Likewise.
18489         (tst-regex-ENV): Likewise.
18490         (tst-regex2-ENV): Likewise.
18491         (bug-regex5-ENV): Likewise.
18492         (bug-regex6-ENV): Likewise.
18493         (bug-regex17-ENV): Likewise.
18494         (bug-regex18-ENV): Likewise.
18495         (bug-regex19-ENV): Likewise.
18496         (bug-regex20-ENV): Likewise.
18497         (bug-regex22-ENV): Likewise.
18498         (bug-regex23-ENV): Likewise.
18499         (bug-regex25-ENV): Likewise.
18500         (bug-regex26-ENV): Likewise.
18501         (bug-regex30-ENV): Likewise.
18502         (bug-regex32-ENV): Likewise.
18503         (bug-regex33-ENV): Likewise.
18504         (bug-regex34-ENV): Likewise.
18505         (bug-regex35-ENV): Likewise.
18506         (tst-rxspencer-ENV): Likewise.
18507         (tst-rxspencer-no-utf8-ENV): Likewise.
18508         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18509         (tst-sscanf-ENV): Likewise.
18510         (tst-swprintf-ENV): Likewise.
18511         (tst-swscanf-ENV): Likewise.
18512         (test-vfprintf-ENV): Likewise.
18513         (scanf13-ENV): Likewise.
18514         (bug14-ENV): Likewise.
18515         (tst-grouping-ENV): Likewise.
18516         * stdlib/Makefile (tst-strtod-ENV): Likewise.
18517         (tst-strtod3-ENV): Likewise.
18518         (tst-strtod4-ENV): Likewise.
18519         (tst-strtod5-ENV): Likewise.
18520         (testmb2-ENV): Likewise./
18521         * string/Makefile (tst-strxfrm-ENV): Likewise.
18522         (tst-strxfrm2-ENV): Likewise.
18523         (bug-strcoll1-ENV): Likewise.
18524         (test-strcasecmp-ENV): Likewise.
18525         (test-strncasecmp-ENV): Likewise.
18526         * time/Makefile (tst-strptime-ENV): Likewise.
18527         (tst-ftime_l-ENV): Likewise.
18528         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18529         (tst-mbrtowc-ENV): Likewise.
18530         (tst-wcrtomb-ENV): Likewise.
18531         (tst-mbrtowc2-ENV): Likewise.
18532         (tst-c16c32-1-ENV): Likewise.
18533         (tst-mbsnrtowcs-ENV): Likewise.
18535 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18537         * manual/resource.texi (How to get information about the memory
18538         subsystem?): Fix typo.
18539         Reported by Peon de la Parra Ivan <peon@keba.com>
18541 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
18543         [BZ #16882]
18544         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18545         (pthread_spin_lock): Branch out of spin loop to proper location.
18546         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18547         (pthread_spin_lock): Likewise.
18549         * nptl/tst-spin4.c: New test.
18550         * nptl/Makefile (tests): Add tst-spin4.
18552 2014-06-03  Andreas Schwab  <schwab@suse.de>
18554         [BZ #15946]
18555         * resolv/res_send.c (send_dg): Reload file descriptor after
18556         calling reopen.
18558 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
18560         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18562 2014-06-03  Richard Henderson  <rth@redhat.com>
18564         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18565         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18566         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18567         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
18568         in the SAVE_PID block.
18569         (__libc_vfork): New alias.
18570         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18572         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18573         child in registers, not on the stack.  Remove RESET_PID conditionals.
18574         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18576 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18578         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18580 2014-06-03  Wilco  <wdijkstr@arm.com>
18582         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18583         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18584         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18585         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18586         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18587         Likewise.
18589 2014-06-03  Wilco  <wdijkstr@arm.com>
18591         * sysdeps/aarch64/fpu/math_private.h
18592         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18593         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18594         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18595         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18596         Fix declarations.
18598 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18600         * crypt/crypt-private.h: Include ufc-crypt.h.
18601         (__b64_from_24bit): Declare extern.
18602         * crypt/crypt_util.c(__b64_from_24bit): New function.
18603         (b64t): New static const variable.
18604         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18605         (b64t): Remove variable.
18606         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
18607         * crypt/sha256-crypt.c: Include crypt-private.h.
18608         (b64t): Remove variable.
18609         (__sha256_crypt_r): Remove b64_from_24bit and replace
18610         with __b64_from_24bit.
18611         * crypt/sha512-crypt.c: Likewise.
18613 2014-06-02  Roland McGrath  <roland@hack.frob.com>
18615         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
18616         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
18617         Label the code __libc_vfork rather than __vfork.
18618         [!NOT_IN_libc] (vfork): Define as weak alias.
18619         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
18620         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
18621         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
18623 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18625         * malloc/malloc.c (malloc_info): Fix format specifier for
18626         n_mmaps.
18628 2014-06-02  Wilco  <wdijkstr@arm.com>
18630         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
18631         FPCR write.
18633 2014-06-02  Wilco  <wdijkstr@arm.com>
18635         [BZ #17009]
18636         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
18637         Rewrite to reduce FPCR/FPSR accesses.
18639 2014-06-01  David S. Miller  <davem@davemloft.net>
18641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18643 2014-05-31  David S. Miller  <davem@davemloft.net>
18645         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
18646         to occur in round to nearest mode when |x| >= 2.0
18648 2014-05-30  Richard Henderson  <rth@twiddle.net>
18650         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
18651         (PSEUDO_RET_NOERRNO): Remove.
18652         (ret): Don't redefine.
18653         (ret_NOERRNO): Define in terms of ret.
18654         (ret_ERRVAL): Likewise.
18656         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
18657         use of PSEUDO_RET; perform the error check directly.
18659 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
18661         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
18662         with __int128_t.
18664 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18666         * malloc/malloc (malloc_info): Fix formatting.
18668 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18669             Roland McGrath  <roland@hack.frob.com>
18671         * malloc/malloc (malloc_info): Also print mmapped statistics.
18673 2014-05-30  Roland McGrath  <roland@hack.frob.com>
18675         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18676         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18678 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
18680         * malloc/malloc.c (malloc_info): Inline mi_arena.
18682 2014-05-29  Richard Henderson  <rth@twiddle.net>
18684         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18685         Remove comma before expanding ASM_ARGS_##nr.
18686         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18687         Make _x0 a strict output; make _x8 a strict input; adjust expansion
18688         of ASM_ARGS_##nr.
18689         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18690         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18691         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18692         (ASM_ARGS_1): Add leading comma.
18694         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18695         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18696         to __errno_location.
18697         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18698         Remove the expected plt for __errno_location.
18700         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18701         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18702         call to __read_tp.
18704         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18705         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
18706         it and break it down.
18707         (DOCARGS_0, DOCARGS_1): Do nothing.
18708         (DOCARGS_2): Update to store into the new stack frame.
18709         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18710         (UNDOCARGS_1): Update to restore from the new stack frame.
18711         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18712         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18714         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18715         (SINGLE_THREAD_P): New parameter for result regno.
18716         (PSEUDO): Update to match; use cbz instead of beq.
18718         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18719         Use ENTRY to define the _nocancel entry point.  Share the syscall
18720         and syscall error check paths with the cancel path.
18721         (PSEUDO_END): New.
18723         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18724         whitespace; tabs before and after asm mnemonics.
18726 2014-05-29  Eric Wong  <normalperson@yhbt.net>
18728         [BZ #15132]
18729         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18730         Call fstat64 or stat64 internally, depending on arguments passed.
18731         Replace stat buffer argument with file descriptor argument.
18732         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18733         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18734         Pass fd to __internal_statvfs instead of calling fstat64.
18735         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18736         Pass fd to __internal_statvfs64 instead of calling fstat64.
18737         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18738         Pass -1 to __internal_statvfs instead of calling stat64.
18739         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18740         Pass -1 to __internal_statvfs64 instead of calling stat64.
18742 2014-05-28  Roland McGrath  <roland@hack.frob.com>
18744         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18745         that was previously under [RESET_PID].
18746         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18748         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18749         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18751 2014-05-27  Roland McGrath  <roland@hack.frob.com>
18753         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18755         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18756         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18758 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
18760         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18762 2014-05-27  Andreas Schwab  <schwab@suse.de>
18764         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18765         TLS_INIT_TP macro.
18766         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18767         * elf/rtld.c (init_tls, dl_main): Likewise.
18768         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18769         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18770         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18771         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18772         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18773         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18774         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18775         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18776         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18777         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18778         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18779         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18780         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18781         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18782         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18783         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18784         * sysdeps/generic/tls.h: Update description.
18786 2014-05-27  Will Newton  <will.newton@linaro.org>
18788         [BZ #16990]
18789         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18790         and restore r2 rather than just restoring.
18792 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18794         [BZ #16724]
18795         * libio/tst-ftell-append.c: New test case.
18796         * libio/Makefile (tests): Add test case.
18797         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18798         append mode.
18799         * libio/wfileops.c (do_ftell_wide): Likewise.
18801 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18805         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18806         ...
18807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18809         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18810         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18811         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18812         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18813         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18814         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18815         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18816         Moved ...
18817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18818         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18819         Moved ...
18820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18821         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18822         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18823         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18824         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18825         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18826         ...
18827         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18828         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18829         Moved ...
18830         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18831         here.
18832         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18833         ...
18834         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18835         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18836         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18838         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18839         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18840         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18841         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18843         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18844         merge into ...
18845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18846         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18847         ...
18848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18849         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18850         ...
18851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18852         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18853         Moved ...
18854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18855         here.
18856         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18857         Moved ...
18858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18859         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18860         Moved ...
18861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18864         conditional [RESET_PID].
18865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18866         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18867         removed.
18868         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18869         removed.
18871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18872         <tcb-offsets.h>.
18873         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18874         (__libc_vfork): New strong alias.
18875         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18876         removed.
18877         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18878         Removed.
18880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18881         <tcb-offsets.h>.
18882         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18883         (__libc_vfork): New strong alias.
18884         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18885         removed.
18886         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18887         removed.
18889 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
18891         * malloc/malloc.c (mi_arena): New function.
18892         (malloc_info): Remove nested function mi_arena. Call non-nosted
18893         function mi_arena.
18895 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18897         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18898         by insrwi.
18899         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18900         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18901         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18902         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18903         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18904         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18905         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18907 2014-05-26  Andreas Schwab  <schwab@suse.de>
18909         [BZ #16984]
18910         * locale/programs/repertoire.c (repertoire_read): Add slash
18911         between I18NPATH element and file name.
18912         * locale/programs/locfile.c (locfile_read): Likewise.
18914 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18916         * nptl/pthread_mutexattr_settype.c
18917         (__pthread_mutexattr_settype):
18918         Disable lock elision for PTHREAD_MUTEX_NORMAL.
18920 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18922         * nptl/tst-mutex5 (do_test):
18923         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18925 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18927         * benchtests/README: Document 'init' directive.
18928         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18929         BENCH_INIT.
18930         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18931         (parse_file): Recognize 'init' directive.
18933 2014-05-26  Kyle McMartin  <kyle@redhat.com>
18935         [BZ #16796]
18936         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18937         alignment of struct pthread.
18939 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18941         [BZ #16878]
18942         * nscd/netgroupcache.c (addgetnetgrentX): Look for
18943         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18944         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18945         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18947 2014-05-25  Richard Henderson  <rth@twiddle.net>
18949         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18950         (SINGLE_THREAD_P_PIC): Remove.
18951         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18952         (SINGLE_THREAD_P_PIC): Remove.
18954         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18955         branch to syscall error ...
18956         (PSEUDO): ... here.
18957         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18958         from __local_syscall_error to .Lsyscall_error.
18959         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18960         (SYSCALL_ERROR): Update label name.
18962         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18963         Do not use DOARGS/UNDOARGS.
18964         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18965         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18966         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18967         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18968         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18970         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18971         block comment.
18973         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18974         define if !NOT_IN_libc.
18975         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18976         define with non-default symbol versions.
18978 2014-05-23  Richard Henderson  <rth@twiddle.net>
18980         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18981         (vfork, __vfork): Define via compat_symbol.
18983         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
18984         [!HAVE_IFUNC] (vfork_compat): Remove.
18985         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
18987 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18989         [BZ #16978]
18990         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
18991         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
18992         variable.
18994 2014-05-23  Richard Henderson  <rth@twiddle.net>
18996         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
18997         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18998         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
18999         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19001         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19002         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19003         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19004         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19005         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19006         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19007         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19008         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19009         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19010         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19011         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19012         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19013         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19014         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19015         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19016         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19017         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19018         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19019         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19020         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19021         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19022         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19023         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19024         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19025         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19026         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19027         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19028         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19029         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19030         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19031         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19032         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19033         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19034         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19035         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19036         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19037         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19038         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19039         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19040         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19041         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19042         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19043         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19044         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19045         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19046         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19047         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19048         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19049         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19050         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19051         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19052         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19053         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19054         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19055         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19056         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19058         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19059         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19060         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19061         before exiting on error.
19062         (__libc_vfork): New strong alias.
19063         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19064         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19066         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19067         that was previously under [RESET_PID].
19068         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19070         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19072 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19074         [BZ #16977]
19075         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19076         value when x - 1 is zero.
19077         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19078         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19079         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19080         0.0L for an argument of 1.0L.
19081         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19082         Likewise.
19083         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19084         value when x - 1 is zero.
19085         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19086         * sysdeps/i386/fpu/libm-test-ulps: Update.
19087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19089 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19091         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19092         alphasort and versionsort.
19094 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19096         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19097         macro.
19098         [copysignf]: Likewise.
19100 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19102         * crypt/md5-crypt.c: Fix formatting.
19104 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19106         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19107         (b64_from_24bit): New function.
19109 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19111         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19112         libc_hidden_builtin_def to ifunc.
19113         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19114         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19116 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19118         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19119         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19121 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19123         * nscd/Depend (linuxthreads): Remove.
19124         (nptl): Add.
19125         * resolv/Depend (linuxthreads): Remove.
19126         * rt/Depend (linuxthreads): Remove.
19128         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19129         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19130         $(common-objpfx)elf/.
19131         (link-libc-before-gnulib): Likewise.
19132         (elfobjdir): Remove variable.
19133         * Makefile (install): Use $(elf-objpfx) instead of
19134         $(common-objpfx)elf/.
19135         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19136         $(elfobjdir)/.
19137         (link-libc-deps): Likewise.
19138         ($(common-objpfx)libc.so): Likewise.
19139         ($(common-objpfx)linkobj/libc.so): Likewise.
19140         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19141         instead of $(common-objpfx)elf/.
19142         (symbolic-link-list): Likewise.
19143         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19144         [$(cross-compiling) = no]: Likewise.
19145         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19146         $(elfobjdir)/.
19147         (static-gnulib-arch): Likewise.
19148         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19149         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19150         $(common-objpfx)elf/.
19152 2014-05-21  Richard Henderson  <rth@redhat.com>
19154         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19155         (SINGLE_THREAD_P): Use the correct width load.  Fold
19156         into the ldr offset.
19158         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19159         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19161 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19163         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19164         (libgcc_s_resume): Use __attribute_used__.
19165         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19166         Likewise.
19168 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19170         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19171         optimization when used with float constants.
19173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19175 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19177         [BZ #16915]
19178         * locale/nl_langinfo_l.c: Make direct reference to every
19179         _nl_current_CATEGORY symbol.
19180         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19181         (tests-static): Add tst-langinfo-static.
19182         (tests-special): Add tst-langinfo-static.out.
19183         ($(objpfx)tst-langinfo.out): Redirect output.
19184         ($(objpfx)tst-langinfo-static.out): New.
19185         * localedata/tst-langinfo.sh: Send output to stdout.
19186         * localedata/tst-langinfo-static.c: New file.
19188         [BZ #16965]
19189         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19190         when the shift amount is modulo the limb size.
19192 2014-05-20  Richard Henderson  <rth@redhat.com>
19194         [BZ #16967]
19195         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19196         Change type of sa_flags from unsigned int to int.
19198         [BZ #16966]
19199         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19201         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19203 2014-05-20  Will Newton  <will.newton@linaro.org>
19205         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19206         Test the return value of the system call in the nocancel case.
19208 2014-05-20  Will Newton  <will.newton@linaro.org>
19209             Yvan Roux  <yvan.roux@linaro.org>
19211         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19212         #include of asm/ptrace.h.
19213         (PTRACE_GET_THREAD_AREA): Remove #undef.
19214         (PTRACE_GETHBPREGS): Likewise.
19215         (PTRACE_SETHBPREGS): Likewise.
19216         (struct user_regs_struct): New structure.
19217         (struct user_fpsimd_struct): New structure.
19218         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19219         #include of asm/ptrace.h and second #include of sys/user.h.
19220         (PTRACE_GET_THREAD_AREA): Remove #undef.
19221         (PTRACE_GETHBPREGS): Likewise.
19222         (PTRACE_SETHBPREGS): Likewise.
19223         (ELF_NGREG): Use new struct user_regs_struct.
19224         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19226 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19228         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19229         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19231 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19233         [BZ #16958]
19234         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19235         membar to avoid block loads/stores to overlap previous stores.
19237 2014-05-17  Richard Henderson  <rth@redhat.com>
19239         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19240         Create the __##syscall_name##_nocancel entry point.
19241         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19242         Remove; let the sysdep-cancel.h code create it.
19244 2014-05-17  David S. Miller  <davem@davemloft.net>
19246         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19247         Protect with __USE_GNU.
19248         (TIOCSET_TEMPT): Likewise.
19249         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19250         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19251         these are already provided in bits/ioctl-types.h
19253 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19255         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19256         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19258         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19259         Use wait4 regardless of [__NR_waitpid].
19261 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19263         PR libgcc/60166
19264         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19265         (_FP_NANSIGN_Q): Set the quiet bit.
19267 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19269         * benchtests/Makefile
19270         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19271         not $(common-objpfx)math/libm.so.
19272         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19273         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19274         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19275         $(common-objpfx)dlfcn/libdl.so.
19276         ($(objpfx)tst-audit8): Depend on $(libm), not
19277         $(common-objpfx)math/libm.so.
19278         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19279         not $(common-objpfx)dlfcn/libdl.so.
19280         * math/Makefile
19281         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19282         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19283         [$(build-shared) = yes].
19284         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19285         $(common-objpfx)nptl/libpthread.so.
19286         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19287         $(common-objpfx)math/libm.so$(libm.so-version) or
19288         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19289         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19290         $(common-objpfx)dlfcn/libdl.so.
19291         * setjmp/Makefile (link-libm): Remove variable.
19292         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19293         * stdio-common/Makefile (link-libm): Remove variable.
19294         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19295         * stdlib/Makefile (link-libm): Remove variable.
19296         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19297         ($(objpfx)tst-strtod-round): Likewise.
19298         ($(objpfx)tst-tininess): Likewise.
19299         ($(objpfx)tst-strtod-underflow): Likewise.
19300         ($(objpfx)tst-strtod6): Likewise.
19301         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19302         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19303         $(common-objpfx)dlfcn/libdl.so.
19305 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19307         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19308         BSD terminal modes definitions.
19310 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19312         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19313         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19315         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19316         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19317         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19318         Don't do #include_next.
19319         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19320         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19321         Don't do #include_next.
19322         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19323         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19324         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19325         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19327 2014-05-16  Allan McRae  <allan@archlinux.org>
19329         * po/sv.po: Update Swedish translation from translation project.
19331         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19332         in sed expression.
19334 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19336         [BZ #16917]
19337         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19338         errno if the TIOCGPTN ioctl fails with an error different than
19339         EINVAL.
19340         * login/tst-ptsname.c: New file.
19341         * login/Makefile (tests): Add tst-ptsname.
19343         [BZ #16943]
19344         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19345         and prlimit64.
19347 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19349         [BZ #16849]
19350         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19351         herrno to return EAI_AGAIN.
19353 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19355         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19356         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19357         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19358         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19359         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19360         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19361         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19362         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19363         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19364         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19365         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19366         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19367         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19368         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19369         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19370         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19371         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19372         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19373         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19374         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19375         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19376         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19377         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19378         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19379         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19380         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19381         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19382         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19383         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19384         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19385         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19386         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19387         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19388         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19390         Moved ...
19391         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19393         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19394         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19395         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19397         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19398         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19399         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19401         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19402         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19403         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19404         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19405         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19407         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19408         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19409         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19411         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19413         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19414         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19415         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19416         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19417         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19418         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19419         Moved ...
19420         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19421         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19422         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19423         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19424         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19425         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19426         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19427         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19428         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19429         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19430         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19431         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19432         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19434         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19435         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19436         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19437         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19438         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19439         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19440         Moved ...
19441         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19443         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19445         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19446         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19447         (libpthread-sysdep_routines): Add elision-related stuff here instead.
19448         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19449         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19450         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19451         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19452         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19453         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19454         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19455         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19456         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19457         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19458         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19459         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19460         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19461         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19462         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19463         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19464         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19465         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19466         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19467         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19468         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19469         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19470         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19471         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19472         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19473         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19474         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19475         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19477         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19478         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19480         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19481         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19482         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19483         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19484         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19485         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19486         Moved ...
19487         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19488         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19489         Moved ...
19490         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19491         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19492         Moved ...
19493         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19494         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19495         Moved ...
19496         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19497         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19498         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19499         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19500         Moved ...
19501         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19502         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19503         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19504         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19505         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19506         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19507         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19508         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19509         Moved ...
19510         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19511         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19512         Moved ...
19513         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19514         ... here.
19515         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19516         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19517         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19518         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19519         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19520         Moved ...
19521         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19522         ... here.
19523         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19524         Moved ...
19525         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19526         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19527         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19528         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19529         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19530         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19531         Moved ...
19532         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19533         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19534         Moved ...
19535         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19536         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19537         Moved ...
19538         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19539         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19540         Moved ...
19541         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19542         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19543         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19544         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19545         Moved ...
19546         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19547         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19548         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19549         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19550         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19551         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19552         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19553         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19554         Moved ...
19555         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19556         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19557         Moved ...
19558         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19559         ... here.
19560         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19561         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19562         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19563         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19564         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19565         Moved ...
19566         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19567         ... here.
19568         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19569         Moved ...
19570         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19571         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19572         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19573         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19574         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19575         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19576         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19577         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19578         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19579         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19580         Moved ...
19581         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19582         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19583         Moved ...
19584         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19585         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19586         Moved ...
19587         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19588         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19589         Moved ...
19590         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19591         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19592         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19593         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19594         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19595         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19596         Moved ...
19597         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19598         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19599         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19600         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19601         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19602         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19603         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19604         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19605         Moved ...
19606         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
19607         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19608         Moved ...
19609         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19610         ... here.
19611         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
19612         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
19613         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
19614         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
19615         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19616         Moved ...
19617         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19618         ... here.
19619         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
19620         Moved ...
19621         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
19622         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
19623         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
19624         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
19625         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
19626         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
19627         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
19628         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
19629         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
19630         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
19631         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
19633         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
19634         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
19636         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
19637         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
19639         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
19640         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
19641         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
19642         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
19643         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
19644         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
19645         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
19646         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
19647         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
19648         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
19649         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
19650         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
19651         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19652         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
19653         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
19654         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
19655         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
19656         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
19657         Moved ...
19658         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
19659         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
19660         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
19661         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
19662         Moved ...
19663         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
19664         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
19665         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
19666         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
19667         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
19668         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19669         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19670         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19671         Moved ...
19672         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19673         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19674         Moved ...
19675         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19676         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19677         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19678         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19679         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19680         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19681         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19682         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19683         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19684         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19685         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19686         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19687         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19688         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19689         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19690         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19691         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19693         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19694         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19695         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19696         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19697         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19699         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19700         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19701         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19702         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19703         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19704         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19705         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19706         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19707         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19708         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19710         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19711         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19713         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19714         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19715         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19716         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19717         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19718         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19719         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19720         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19721         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19722         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19723         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19724         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19725         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19726         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19727         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19728         Update #include.
19729         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19730         Likewise.
19731         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19732         Likewise.
19733         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19734         Likewise.
19735         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19736         Likewise.
19737         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19738         Likewise.
19739         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19740         Likewise.
19741         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19742         Likewise.
19743         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19744         Likewise.
19745         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19746         Likewise.
19747         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19748         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19749         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19750         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19751         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19752         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19753         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19754         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19755         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19756         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19757         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19758         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19759         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19760         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
19761         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
19763         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19764         that was previously under [RESET_PID].
19765         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19766         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19767         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19769         * sysdeps/i386/nptl/Implies: New file.
19770         * sysdeps/x86_64/nptl/Implies: New file.
19771         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19772         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19773         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19774         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19776         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19777         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19778         (__libc_vfork): New strong alias.
19779         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19780         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19782         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19783         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19784         (__libc_vfork): New strong alias.
19785         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19786         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19788         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19789         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19790         (__libc_vfork): New strong alias.
19791         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19792         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19793         * nptl/pt-vfork.c: New file.
19794         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19795         (libpthread: GLIBC_2.20): New version set (empty).
19797 2014-05-14  Will Newton  <will.newton@linaro.org>
19799         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19800         rather than #if.
19802 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19804         [BZ #16564]
19805         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19806         arguments with exponent 65 or above.
19807         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19808         arguments 0x1p113L or above.
19809         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19810         to arguments 0x1p107L or above.
19811         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19812         positive arguments with exponent 65 or above.
19813         * math/auto-libm-test-in: Add more tests of log1p.
19814         * math/auto-libm-test-out: Regenerated.
19816         [BZ #16928]
19817         * math/s_cacos.c (__cacos): Ensure zero real part of result from
19818         non-finite arguments is +0.
19819         * math/s_cacosf.c (__cacosf): Likewise.
19820         * math/s_cacosl.c (__cacosl): Likewise.
19821         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19822         * sysdeps/i386/fpu/libm-test-ulps: Update.
19823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19825         [BZ #16927]
19826         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19827         value.
19828         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19829         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19830         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19831         for explicit high bit of mantissa when testing for argument equal
19832         to 1.
19833         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19834         * sysdeps/i386/fpu/libm-test-ulps: Update.
19835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19837         [BZ #16516]
19838         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19839         (__erf): Scale by 16 instead of 8 in potentially underflowing
19840         case.  Ensure exception if result actually underflows.
19841         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19842         (__erff): Scale by 16 instead of 8 in potentially underflowing
19843         case.  Ensure exception if result actually underflows.
19844         * sysdeps/ieee754/ldbl-128/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-128ibm/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         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19853         (efx8): Remove variable.
19854         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19855         case.  Ensure exception if result actually underflows.
19856         * math/auto-libm-test-in: Add more tests of erf.
19857         * math/auto-libm-test-out: Regenerated.
19859 2014-05-14  Andreas Schwab  <schwab@suse.de>
19861         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19862         Remove code conditionalized on USE___THREAD.
19864         * config.h.in (HAVE_PT_CHOWN): Define as 0.
19865         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19866         not definedness.
19868 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19870         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19871         Define unconditionally.
19872         (__ASSUME_O_CLOEXEC): Likewise.
19873         (__ASSUME_SOCK_CLOEXEC): Likewise.
19874         (__ASSUME_IN_NONBLOCK): Likewise.
19875         (__ASSUME_PIPE2): Likewise.
19876         (__ASSUME_EVENTFD2): Likewise.
19877         (__ASSUME_SIGNALFD4): Likewise.
19878         (__ASSUME_DUP3): Likewise.
19879         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19880         (__ASSUME_DUP3): Do not define.
19881         (__ASSUME_EVENTFD2): Likewise.
19882         (__ASSUME_IN_NONBLOCK): Likewise.
19883         (__ASSUME_O_CLOEXEC): Likewise.
19884         (__ASSUME_PIPE2): Likewise.
19885         (__ASSUME_SIGNALFD4): Likewise.
19886         (__ASSUME_SOCK_CLOEXEC): Likewise.
19887         (__ASSUME_UTIMES): Undefine.
19888         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19889         (__ASSUME_UTIMES): Do not define.
19890         (__ASSUME_O_CLOEXEC): Likewise.
19891         (__ASSUME_SOCK_CLOEXEC): Likewise.
19892         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19893         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19894         0x020621].
19895         (__ASSUME_PIPE2): Likewise.
19896         (__ASSUME_EVENTFD2): Likewise.
19897         (__ASSUME_SIGNALFD4): Likewise.
19898         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19899         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19900         Do not define.
19901         (__ASSUME_EVENTFD2): Likewise.
19902         (__ASSUME_SIGNALFD4): Likewise.
19903         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19904         (__ASSUME_32BITUIDS): Likewise.
19905         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19906         (__ASSUME_IPC64): Likewise.
19907         (__ASSUME_ST_INO_64_BIT): Likewise.
19908         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19909         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19910         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19911         (__ASSUME_UTIMES): Do not define.
19912         (__ASSUME_PSELECT): Likewise.
19913         (__ASSUME_PPOLL): Likewise.
19914         (__ASSUME_O_CLOEXEC): Likewise.
19915         (__ASSUME_SOCK_CLOEXEC): Likewise.
19916         (__ASSUME_IN_NONBLOCK): Likewise.
19917         (__ASSUME_PIPE2): Likewise.
19918         (__ASSUME_EVENTFD2): Likewise.
19919         (__ASSUME_SIGNALFD4): Likewise.
19920         (__ASSUME_DUP3): Likewise.
19921         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19922         (__ASSUME_UTIMES): Likewise.
19923         (__ASSUME_O_CLOEXEC): Likewise.
19924         (__ASSUME_SOCK_CLOEXEC): Likewise.
19925         (__ASSUME_IN_NONBLOCK): Likewise.
19926         (__ASSUME_PIPE2): Likewise.
19927         (__ASSUME_EVENTFD2): Likewise.
19928         (__ASSUME_SIGNALFD4): Likewise.
19929         (__ASSUME_DUP3): Likewise.
19930         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19931         (__ASSUME_UTIMES): Likewise.
19932         (__ASSUME_O_CLOEXEC): Likewise.
19933         (__ASSUME_SOCK_CLOEXEC): Likewise.
19934         (__ASSUME_IN_NONBLOCK): Likewise.
19935         (__ASSUME_PIPE2): Likewise.
19936         (__ASSUME_EVENTFD2): Likewise.
19937         (__ASSUME_SIGNALFD4): Likewise.
19938         (__ASSUME_DUP3): Likewise.
19939         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19940         Likewise.
19941         (__ASSUME_UTIMES): Likewise.
19942         (__ASSUME_EVENTFD2): Likewise.
19943         (__ASSUME_SIGNALFD4): Likewise.
19944         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19945         (__ASSUME_O_CLOEXEC): Likewise.
19946         (__ASSUME_SOCK_CLOEXEC): Likewise.
19947         (__ASSUME_IN_NONBLOCK): Likewise.
19948         (__ASSUME_PIPE2): Likewise.
19949         (__ASSUME_EVENTFD2): Likewise.
19950         (__ASSUME_SIGNALFD4): Likewise.
19951         (__ASSUME_DUP3): Likewise.
19952         (__ASSUME_UTIMES): Undefine.
19954         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19955         feclearexcept.  Remove symbol versioning code.
19956         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
19957         symbol versioning code.
19958         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
19959         symbol versioning code.
19960         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19961         feupdateenv.  Remove symbol versioning code.
19962         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19963         fegetexceptflag.  Remove symbol versioning code.
19964         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19965         fesetexceptflag.  Remove symbol versioning code.
19966         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19967         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
19968         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19969         (__posix_fadvise64_l32): Remove prototype.
19970         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19971         code.
19973 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19975         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19976         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19977         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19978         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19980 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
19982         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19983         current working directory
19985 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19987         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
19988         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
19989         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
19990         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19991         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
19992         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
19993         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
19994         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
19995         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
19996         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
19997         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
19998         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
19999         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20000         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20001         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20002         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20003         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20004         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20005         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20006         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20007         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20008         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20009         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20010         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20011         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20012         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20013         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20014         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20015         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20016         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20017         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20018         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20019         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20020         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20021         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20022         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20023         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20024         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20025         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20026         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20027         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20028         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20030         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20031         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20033         * sysdeps/unix/sysv/linux/arm/Makefile
20034         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20035         Add rt-aeabi_unwind_cpp_pr1.
20036         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20037         Add nptl-aeabi_unwind_cpp_pr1.
20038         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20039         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20040         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20041         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20042         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20043         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20045         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20046         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20047         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20048         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20050         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20051         Deconditionalize the code that was previously under [RESET_PID].
20052         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20054         * sysdeps/generic/exit-thread.h: New file.
20055         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20056         * include/unistd.h (__exit_thread): Remove declaration.
20057         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20058         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20059         * csu/libc-start.c: Include <exit-thread.h>.
20060         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20061         * nptl/pthread_create.c: Include <exit-thread.h>.
20062         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20063         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20064         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20065         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20066         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20067         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20068         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20069         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20070         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20071         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20072         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20073         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20074         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20075         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20076         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20077         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20078         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20080 2014-05-13  Andreas Schwab  <schwab@suse.de>
20082         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20084 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20086         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20087         (__ASSUME_UTIMES): Do not condition on kernel version.
20088         (__ASSUME_PSELECT): Define unconditionally.
20089         (__ASSUME_PPOLL): Likewise.
20090         (__ASSUME_ATFCTS): Likewise.
20091         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20092         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20093         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20094         (__ASSUME_UTIMENSAT): Define unconditionally.
20095         (__ASSUME_PRIVATE_FUTEX): Likewise.
20096         (__ASSUME_FALLOCATE): Likewise.
20097         (__ASSUME_O_CLOEXEC): Likewise.
20098         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20099         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20100         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20101         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20102         (__ASSUME_IN_NONBLOCK): Likewise.
20103         (__ASSUME_PIPE2): Likewise.
20104         (__ASSUME_EVENTFD2): Likewise.
20105         (__ASSUME_SIGNALFD4): Likewise.
20106         (__ASSUME_DUP3): Likewise.
20107         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20108         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20109         (__ASSUME_AT_RANDOM): Likewise.
20110         (__ASSUME_PREADV): Likewise.
20111         (__ASSUME_PWRITEV): Likewise.
20112         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20113         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20114         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20115         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20116         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20117         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20118         (__ASSUME_O_CLOEXEC): Define unconditionally.
20119         (__ASSUME_PSELECT): Do not undefine conditionally.
20120         (__ASSUME_PPOLL): Likewise.
20121         (__ASSUME_ATFCTS): Likewise.
20122         (__ASSUME_SET_ROBUST_LIST): Likewise.
20123         (__ASSUME_UTIMENSAT): Likewise.
20124         (__ASSUME_FDATASYNC): Define unconditionally.
20125         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20126         (__ASSUME_SIGFRAME_V2): Likewise.
20127         )__ASSUME_EVENTFD2): Likewise.
20128         (__ASSUME_SIGNALFD4): Likewise.
20129         (__ASSUME_PSELECT): Do not undefine conditionally.
20130         (__ASSUME_PPOLL): Likewise.
20131         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20132         (__ASSUME_PSELECT): Define unconditionally.
20133         (__ASSUME_PPOLL): Likewise.
20134         (__ASSUME_O_CLOEXEC): Likewise.
20135         (__ASSUME_SOCK_CLOEXEC): Likewise.
20136         (__ASSUME_IN_NONBLOCK): Likewise.
20137         (__ASSUME_PIPE2): Likewise.
20138         (__ASSUME_EVENTFD2): Likewise.
20139         (__ASSUME_SIGNALFD4): Likewise.
20140         (__ASSUME_DUP3): Likewise.
20141         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20142         (__ASSUME_O_CLOEXEC): Likewise.
20143         (__ASSUME_SOCK_CLOEXEC): Likewise.
20144         (__ASSUME_IN_NONBLOCK): Likewise.
20145         (__ASSUME_PIPE2): Likewise.
20146         (__ASSUME_EVENTFD2): Likewise.
20147         (__ASSUME_SIGNALFD4): Likewise.
20148         (__ASSUME_DUP3): Likewise.
20149         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20150         (__ASSUME_EVENTFD2): Likewise.
20151         (__ASSUME_SIGNALFD4): Likewise.
20152         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20154 2014-05-12  Andreas Schwab  <schwab@suse.de>
20156         [BZ #16932]
20157         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20158         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20159         than maximum RPC packet size.
20160         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20161         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20162         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20163         (_nss_nis_getservbyport_r): Likewise.
20165 2014-05-12  Will Newton  <will.newton@linaro.org>
20167         * malloc/Makefile (tests): Add tst-mallopt.
20168         * malloc/tst-mallopt.c: New file.
20170 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20172         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20173         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20175 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20177         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20178         (tst-tlsmod6.so): Likewise.
20180 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20182         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20184 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20186         [BZ #16064]
20187         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20188         and <dl-procinfo.h>.
20189         (__fegetenv): Save SSE state in envp->__eip if supported.
20190         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20191         envp->__eip if supported.
20192         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20193         and <dl-procinfo.h>.
20194         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20195         __data_offset and __data_selector in environment to 0.  Set SSE
20196         state if supported.
20197         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20198         test-fenv-sse.
20199         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20200         -mfpmath=sse.
20201         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20203 2014-05-09  Will Newton  <will.newton@linaro.org>
20205         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20206         and libc_relro_required for ARM.
20207         * sysdeps/arm/preconfigure: Regenerate.
20209 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20210             Stefan Liebler  <stli@linux.vnet.ibm.com>
20212         * config.make.in (enable-lock-elision): New Makefile variable.
20213         * configure.ac: Likewise.
20214         * configure: Regenerate.
20215         * sysdeps/s390/configure.ac:
20216         Add check for gcc transactions support.
20217         * sysdeps/s390/configure: Regenerate.
20218         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20219         Build elision files if enabled.
20220         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20221         Add lock elision support for s390.
20222         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20223         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20224         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20225         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20226         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20227         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20228         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20229         Likewise.
20230         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20231         Likewise.
20232         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20233         Likewise.
20234         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20235         Likewise.
20236         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20237         (__lll_timedlock_elision, __lll_lock_elision)
20238         (__lll_unlock_elision, __lll_trylock_elision)
20239         (lll_timedlock_elision, lll_lock_elision)
20240         (lll_unlock_elision, lll_trylock_elision): Add.
20241         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20242         (pthread_mutex_t): Add lock elision support for s390.
20244 2014-05-14  Wilco  <wdijkstr@arm.com>
20246         * sysdeps/arm/fclrexcpt.c: Cleanup.
20247         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20248         * sysdeps/arm/feenablxcpt.c: Cleanup.
20249         * sysdeps/arm/fegetenv.c: Cleanup.
20250         * sysdeps/arm/fegetexcept.c: Cleanup.
20251         * sysdeps/arm/fegetround.c: Cleanup.
20252         * sysdeps/arm/feholdexcpt.c: Cleanup.
20253         * sysdeps/arm/fesetenv.c: Cleanup.
20254         * sysdeps/arm/fesetround.c: Cleanup.
20255         * sysdeps/arm/feupdateenv.c: Cleanup.
20256         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20257         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20258         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20259         * sysdeps/arm/ftestexcept.c: Cleanup.
20260         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20261         * sysdeps/arm/setfpucw.c: Cleanup.
20263 2014-05-09  Will Newton  <will.newton@linaro.org>
20265         * sysdeps/arm/armv7/strcmp.S: New file.
20266         * NEWS: Mention addition of ARMv7 optimized strcmp.
20268 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20270         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20271         look for %.ac rather than %.in.
20273         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20274         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20275         * sysdeps/mach/hurd/configure: Regenerated.
20276         * sysdeps/unix/sysv/linux/configure: Regenerated.
20278         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20280 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20282         [BZ# 16922]
20283         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20284         (LONG_SUB): Ditto.
20285         (PTR_SUB): Ditto.
20287 2014-05-07  Andreas Schwab  <schwab@suse.de>
20289         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20290         when skipping over non-matching result from nscd.
20292 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20294         [BZ #16876]
20295         * nptl/sockperf.c (client): Check socket return value.
20297         [BZ #16877]
20298         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20299         nscd security class.
20301 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20303         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20304         * sysdeps/arm/unwind.h: ... here.
20306 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20308         [BZ# 16916]
20309         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20310         Define.
20312 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20314         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20315         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20316         multiarch strncpy for PPC64.
20317         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20318         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20320         multiarch optimizations.
20321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20322         (__libc_ifunc_impl_list): Likewise.
20323         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20324         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20325         multiarch stpncpy for PPC64.
20326         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20327         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20329 2014-05-06  Andreas Schwab  <schwab@suse.de>
20331         [BZ #16912]
20332         * gmon/mcount.c (_MCOUNT_DECL): Use
20333         atomic_compare_and_exchange_bool_acq instead of
20334         catomic_compare_and_exchange_bool_acq.
20336 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20338         * elf/Makefile (others, install-bin): Remove pldd.
20339         (pldd-modules): Variable removed.
20340         ($(objpfx)pldd): Target removed.
20341         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20342         (others, install-bin): Append pldd here.
20343         ($(objpfx)pldd): New target.
20345         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20346         to 0, so the first #if test emitted later doesn't see it undefined.
20347         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20348         * sysdeps/gnu/errlist.c: Regenerated.
20350 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20352         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20353         [libc_hidden_builtin_def]: Define to empty value.
20354         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20355         [libc_hidden_builtin_def]: Likewise.
20356         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20357         [libc_hidden_builtin_def]: Likewise.
20358         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20359         [libc_hidden_builtin_def]: Likewise.
20360         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20361         __redirect_memcpy and define ifunc as default hidden symbol.
20362         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20363         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20365 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20367         * locale/iso-4217.def: Reintroduce XDR currency.
20369 2014-05-04  Allan McRae  <allan@archlinux.org>
20371         * po/eo.po: Update Esperanto translation from translation project.
20373 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20375         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20376         and FEATURE_INDEX_MAX to 1.
20377         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20379 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20381         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20382         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20383         * iconvdata/big5.c (ONE_DIRECTION): Define.
20384         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20385         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20386         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20387         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20388         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20389         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20390         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20391         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20392         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20393         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20394         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20395         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20396         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20397         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20398         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20399         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20400         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20401         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20402         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20403         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20404         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20405         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20406         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20407         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20408         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20409         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20410         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20411         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20412         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20413         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20414         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20415         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20416         * iconvdata/johab.c (ONE_DIRECTION): Define.
20417         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20418         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20419         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20420         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20421         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20422         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20423         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20424         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20425         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20426         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20428 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20430         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20431         (_IO_JUMPS_OFFSET): Define to 0.
20433         * nptl/sysdeps/pthread/bits/libc-lock.h
20434         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20435         (__libc_lock_define_initialized_recursive): Always define using
20436         initializer.  Modern compilers treat uninitialized (implicit zero) and
20437         explicit zero initializers the same (i.e. put the datum in bss).
20439 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20441         * nscd/nscd-client.h: Include <string.h>.
20443 2014-05-01  David S. Miller  <davem@davemloft.net>
20445         [BZ #16885]
20446         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20447         multiple zero bytes exist at the end of a string.
20448         Reported by Aurelien Jarno <aurelien@aurel32.net>
20450         * string/test-strcmp.c (check): Add explicit test for situations where
20451         there are multiple zero bytes after the first.
20453 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20455         [BZ #16890]
20456         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20457         when compiling wprintf.
20458         * stdio-common/tstdiomisc.c (t3): New function.
20459         (main): Call it.
20461 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20463         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20464         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20465         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20466         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20468 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20470         * stdlib/longlong.h: Updated from GCC.
20472 2014-05-01  Will Newton  <will.newton@linaro.org>
20473             Bernard Ogden  <bernie.ogden@linaro.org>
20475         * NEWS: Update fixed bug list.
20477         [BZ #15119]
20478         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20480 2014-04-30  David S. Miller  <davem@davemloft.net>
20482         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20483         (libc_feholdexcept_setround_sparc_ctx): New function.
20484         (libc_fesetenv_sparc_ctx): Likewise.
20485         (libc_feupdateenv_sparc_ctx): Likewise.
20486         (libc_feholdsetround_sparc_ctx): Likewise.
20487         (libc_feholdexcept_setround_ctx): Define.
20488         (libc_feholdexcept_setroundf_ctx): Likewise.
20489         (libc_feholdexcept_setroundl_ctx): Likewise.
20490         (libc_fesetenv_ctx): Likewise.
20491         (libc_fesetenvf_ctx): Likewise.
20492         (libc_fesetenvl_ctx): Likewise.
20493         (libc_feupdateenv_ctx): Likewise.
20494         (libc_feupdateenvf_ctx): Likewise.
20495         (libc_feupdateenvl_ctx): Likewise.
20496         (libc_feresetround_ctx): Likewise.
20497         (libc_feresetroundf_ctx): Likewise.
20498         (libc_feresetroundl_ctx): Likewise.
20499         (libc_feholdsetround_ctx): Likewise.
20500         (libc_feholdsetroundf_ctx): Likewise.
20501         (libc_feholdsetroundl_ctx): Likewise.
20503         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20504         with __USE_GNU instead of XOPEN cpp guards.
20506         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20507         0.
20509         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20510         with XOPEN cpp guards.
20512 2014-04-30  Julian Brown  <julian@codesourcery.com>
20514         [BZ #16888]
20515         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20516         handling.
20518 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
20520         [BZ #9894]
20521         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20522         Change to 2.6.32.
20523         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20524         * sysdeps/unix/sysv/linux/configure: Regenerated.
20525         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20526         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20527         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20528         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20529         * README: Update reference to required Linux kernel version.
20530         * manual/install.texi (Linux): Update reference to required Linux
20531         kernel headers version.
20532         * INSTALL: Regenerated.
20534         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20535         header inclusion.
20536         [POSIX] (limits.h): Likewise.
20537         [POSIX] (math.h): Likewise.
20538         [POSIX] (sys/wait.h): Likewise.
20539         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20540         function.
20541         [POSIX] (stddef.h): Do not allow header inclusion.
20543 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20545         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20547 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
20549         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20550         Return immediately after lll_futex_wake.
20552 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20554         [BZ #16791]
20555         * nscd/nscd-client.h (datahead_init_common): Initialize entire
20556         structure.
20557         (datahead_init_pos): Call datahead_init_common early.
20558         (datahead_init_neg): Likewise.
20560         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20561         datahead_init_neg): New functions.
20562         * nscd/aicache.c (addhstaiX): Use them.
20563         * nscd/grpcache.c (cache_addgr): Likewise.
20564         * nscd/hstcache.c (cache_addhst): Likewise.
20565         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20566         * nscd/netgroupcache.c (do_notfound): Likewise.
20567         (addgetnetgrentX): Likewise.
20568         (addinnetgrX): Likewise.
20569         * nscd/pwdcache.c (cache_addpw): Likewise.
20570         * nscd/servicescache.c (cache_addserv): Likewise.
20572 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20573             Atsushi Onoe  <atsushi@onoe.org>
20575         [BZ #14308]
20576         [BZ #12994]
20577         [BZ #13651]
20578         * resolv/res_query.c (__libc_res_nsearch): Return if at least
20579         one response is valid.
20580         * resolv/res_send.c (send_dg): Check for validity of other
20581         response if the current response is a referral.
20583 2014-04-29  Steve Ellcey  <sellcey@mips.com>
20585         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20587 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
20589         [BZ #16823]
20590         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20591         Always divide by positive zero when computing -Inf result.
20592         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20593         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20595 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20597         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20598         FPSCR if value do not change.
20599         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20600         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20601         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20602         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20603         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20604         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20605         function.
20607 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
20609         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
20610         * sysdeps/unix/sysv/linux/hppa: Move directory from
20611         ports/systeps/unix/sysv/linux/hppa.
20612         * README: Update listing for hppa-*-linux-gnu.
20614 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
20616         [BZ #16754]
20617         * manual/stdio.texi (Hook functions): Fix types of stream hook
20618         functions.
20619         [BZ #16854]
20620         * socket/sys/socket.h: Fix typo in comment.
20622 2014-04-28  Wilco  <wdijkstr@arm.com>
20624         * sysdeps/arm/fenv_private.h: New file.
20625         * sysdeps/arm/math_private.h: New file.
20626         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
20628 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
20630         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
20631         with __int128_t.
20632         (La_x86_64_retval): Likewise.
20634 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
20636         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
20637         fpsr if value didn't change.
20638         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
20639         to fpcr if value didn't change.
20640         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20641         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
20642         fpsr or fpcr if value didn't change.
20643         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20644         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
20645         fpcr if value didn't change.
20646         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20647         to fpsr if value didn't change.
20649 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20651         * nptl/tst-sem3.c: Use test-skeleton.c
20652         (main): Rename to do_test.  Use return instead of
20653         exit.
20654         * nptl/tst-sem4.c: Use test-skeleton.c
20655         (main): Rename to do_test.
20657 2014-04-22  David S. Miller  <davem@davemloft.net>
20659         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
20660         (struct sigaction): New struct member __glibc_reserved0, change
20661         type of sa_flags to int.
20663 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
20665         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
20666         (COUNT_LEADING_ZEROS_0): Define for AArch64.
20668 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20670         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20671         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20673 2014-04-22  Will Newton  <will.newton@linaro.org>
20674             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
20676         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20677         (__longjmp): Add longjmp and longjmp_target SystemTap
20678         probes.
20679         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20680         (__sigsetjmp): Add setjmp SystemTap probe.
20682 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
20684         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20685         match manual order.
20687 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20689         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20691         * sysdeps/powerpc/fpu/fenv_private.h
20692         (libc_feholdexcept_setroundl_ctx): Define to
20693         libc_feholdexcept_setround_ppc_ctx.
20694         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20695         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20696         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20697         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20699 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20701         * sysdeps/aarch64/math-tests.h: New file.
20703 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
20705         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20706         New.
20707         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20708         Check and set bit_AVX2_Usable.
20709         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20710         macro.
20711         (bit_AVX2): Likewise.
20712         (index_AVX2_Usable): Likewise.
20713         (CPUID_AVX2): Likewise.
20714         (HAS_AVX2): Likewise.
20716 2014-04-17  Will Newton  <will.newton@linaro.org>
20718         * manual/setjmp.texi (System V contexts): Add note that
20719         calling setcontext on a context created by a call to a
20720         signal handler is undefined.  Update text to note that
20721         setcontext from a signal handler is possible but not
20722         recommended.
20724         [BZ #16629]
20725         * stdlib/tst-setcontext.c: Include signal.h.
20726         (main): Check that the signal stack before and
20727         after swapcontext is the same.
20729         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20730         Re-implement to restore registers in user code and avoid
20731         rt_sigreturn system call.
20733 2014-04-17  Wilco  <wdijkstr@arm.com>
20735         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20736         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20737         * math/test-fenv.c: Skip exception trap tests on targets which only
20738         support non-stop mode.
20740 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20741             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20743         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20744         (libc_feholdsetround_aarch64_ctx)
20745         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20746         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20747         (libc_feresetround_ctx, libc_feresetroundf_ctx)
20748         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20749         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20750         (libc_feresetround_noexl_ctx): Define.
20752 2014-04-16  Richard Henderson  <rth@redhat.com>
20754         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20756         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20757         unwind tables.
20759         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20760         const from the non-libc, non-ldso copy.
20762         * sysdeps/alpha/libm-test-ulps: Regenerate.
20764 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
20765             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20767         * sysdeps/aarch64/fpu/math_private.h: New file.
20769 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20771         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20773 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
20775         [BZ #16275]
20776         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20777         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20778         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20779         Intel MPX bound registers before _dl_profile_fixup.
20780         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20781         registers after _dl_profile_fixup.  Save and restore bound
20782         registers bnd0/bnd1 when calling _dl_call_pltexit.
20783         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20784         (LR_BND_OFFSET): Likewise.
20785         (LRV_BND0_OFFSET): Likewise.
20786         (LRV_BND1_OFFSET): Likewise.
20788 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20790         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20791         to...
20792         * sysdeps/mach/hurd/i386/tls.h: ... here.
20793         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20794         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20795         fields.
20797 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20799         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20801 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20803         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20805 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20807         [BZ #14770]
20808         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20809         * sysdeps/s390/configure: Regenerate.
20811         [BZ #16824]
20812         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20813         Set round-to-nearest internally to reduce error accumulation.
20815 2014-04-16  Alan Modra  <amodra@gmail.com>
20817         [BZ #16740]
20818         [BZ #16619]
20819         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20820         * math/libm-test.inc (frexp_test_data): Add tests.
20821         * NEWS: Update fixed bug list.
20823 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20825         * benchtests/Makefile: Depend on libraries in build directory.
20826         (bench-math): Separate out math tests.
20827         (bench-pthread): Separate out pthread tests.
20828         (bench): Include math and pthread tests.
20830 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
20832         [BZ #16831]
20833         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20834         _dl_debug_initialize.
20836         * configure.ac: Remove SELinux header check.
20837         * configure: Regenerate.
20838         * nscd/selinux.c (perms): Array of const char* to permission names.
20839         (nscd_request_avc_has_perm): Call security_deny_unknown to find
20840         default policy. Call string_to_security_class and string_to_av_perm to
20841         translate strings. Enforce default policy and call avs_has_perm with
20842         results of translated strings.
20844 2014-04-13  David S. Miller  <davem@davemloft.net>
20846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20848 2014-04-12  Allan McRae  <allan@archlinux.org>
20850         [BZ #16838]
20851         * manual/string.texi (Collation Functions): Fix qsort argument
20852         order in example.
20853         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20855 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
20857         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20858         Make the test a no-op if there are no exceptions defined.
20860 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20862         * elf/Makefile (tests): make tst-dlopen-aout conditional on
20863         enable-hardcoded-path-in-tests
20865 2014-04-11  Will Newton  <will.newton@linaro.org>
20867         * benchtests/Makefile (extra-objs): Add json-lib.o.
20868         (bench-func): Tidy up JSON output.
20869         * benchtests/bench-skeleton.c: Include json-lib.h.
20870         (main): Use JSON library functions to do output of
20871         benchmark results.
20872         * benchtests/bench-timing-type.c (main): Output the
20873         timing type simply, leaving formatting to the user.
20874         * benchtests/json-lib.c: New file.
20875         * benchtests/json-lib.h: Likewise.
20877 2014-04-11  Torvald Riegel  <triegel@redhat.com>
20879         [BZ #15215]
20880         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20881         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
20882         memory barriers.  Add comments.
20883         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20884         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20885         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20886         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20887         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20888         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20890 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20892         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20893         * sysdeps/s390/s390-64/configure.ac: ... this ...
20894         * sysdeps/s390/configure.ac: ... to here.
20895         * sysdeps/s390/s390-32/configure: Delete file.
20896         * sysdeps/s390/s390-64/configure: Delete file.
20897         * sysdeps/s390/configure: Regenerate.
20899 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
20901         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20903 2014-04-11  Will Newton  <will.newton@linaro.org>
20905         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20906         to zero if it is not defined elsewhere.  (mtrim): Test
20907         the value of MALLOC_DEBUG with #if rather than #ifdef.
20909 2014-04-10 Torvald Riegel  <triegel@redhat.com>
20911         * benchtests/pthread_once-inputs: New file.
20912         * benchtests/pthread_once-source.c: New file.
20913         * benchtests/README: Update documentation.
20915 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20916             H.J. Lu  <hongjiu.lu@intel.com>
20918         [BZ #16275]
20919         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20920         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20921         * sysdeps/x86_64/configure: Regenerated.
20922         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20923         macro.
20924         (REGISTER_SAVE_RAX): Likewise.
20925         (REGISTER_SAVE_RCX): Likewise.
20926         (REGISTER_SAVE_RDX): Likewise.
20927         (REGISTER_SAVE_RSI): Likewise.
20928         (REGISTER_SAVE_RDI): Likewise.
20929         (REGISTER_SAVE_R8): Likewise.
20930         (REGISTER_SAVE_R9): Likewise.
20931         (REGISTER_SAVE_BND0): Likewise.
20932         (REGISTER_SAVE_BND1): Likewise.
20933         (REGISTER_SAVE_BND2): Likewise.
20934         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
20935         bound registers when calling _dl_fixup.
20937 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20939         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20940         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20941         of its definition.
20942         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20943         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20944         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20945         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20946         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20947         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20948         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20950 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
20952         [BZ #15514]
20953         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20954         pathconf(_PC_NAME_MAX).
20956 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20958         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20959         Remove macro usage.
20960         (__PTHREAD_SPINS): Move definition to ...
20961         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20962         (__PTHREAD_SPINS): ... here.
20963         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20964         (__PTHREAD_SPIN): Likewise.
20965         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20966         (__PTHREAD_SPIN): Likewise.
20967         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20968         (__PTHREAD_SPIN): Likewise.
20969         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20970         (__PTHREAD_SPIN): Likewise.
20971         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20972         (__PTHREAD_SPIN): Likewise.
20973         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20974         (__PTHREAD_SPIN): Likewise.
20975         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20976         (__PTHREAD_SPIN): Likewise.
20977         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20978         (__PTHREAD_SPIN): Likewise.
20979         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20980         (__PTHREAD_SPIN): Likewise.
20981         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20982         (__PTHREAD_SPIN): Likewise.
20983         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20984         (__PTHREAD_SPIN): Likewise.
20985         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
20986         (__PTHREAD_SPIN): Likewise.
20988         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
20989         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
20990         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
20991         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
20992         imply folder.
20993         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
20994         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
20995         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
20996         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
20997         correct imply path.
20998         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
20999         strlen symbol for non multi-arch builds.
21000         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21001         missing hidden_def and weak_alias.
21003 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21005         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21007 2014-04-07  Will Newton  <will.newton@linaro.org>
21009         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21010         and contents.  [!_LIBC] Remove #ifndef and contents.
21011         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21012         * string/memccpy.c (__memccpy): Use ANSI prototype.
21013         * string/memfrob.c (memfrob): Likewise.
21014         * string/strcoll.c (STRCOLL): Likewise.
21015         * string/strlen.c (strlen): Likewise.
21016         * string/strtok.c (STRTOK): Likewise.
21017         * string/strcat.c: Remove unused #include of memcopy.h.
21018         (strcat): Use ANSI prototype.
21019         * string/strchr.c: Remove unused #include of memcopy.h.
21020         (strchr): Use ANSI prototype.
21021         * string/strcmp.c: Remove unused #include of memcopy.h.
21022         (strcmp): Use ANSI prototype.
21023         * string/strcpy.c: Remove unused #include of memcopy.h.
21024         (strcpy): Use ANSI prototype.
21026 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21028         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21029         * config.make.in (config-extra-cppflags): Set it from
21030         libc_extra_cppflags.
21031         * configure.ac (libc_extra_cflags): Make it accumulate over
21032         configure fragments.
21033         (libc_extra_cppflags): New flag.
21034         * configure. Regenerate.
21035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21036         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21037         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21040         [BZ #16815]
21041         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21042         result for FE_DOWNWARD rounding mode.
21043         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21044         Likewise.
21045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21047 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21049         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21050         in function argument name.
21052 2014-04-03  David Svoboda  <svoboda@cert.org>
21054         [BZ #5666]
21055         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21056         explicitly.
21058 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21060         * elf/dl-unmap-segments.h: New file.
21061         * sysdeps/generic/ldsodefs.h
21062         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21063         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21064         * elf/dl-fptr.c: Likewise.
21065         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21066         * sysdeps/aarch64/tlsdesc.c: Likewise.
21067         * sysdeps/arm/tlsdesc.c: Likewise.
21068         * sysdeps/i386/tlsdesc.c: Likewise.
21069         * sysdeps/tile/dl-runtime.c: Likewise.
21070         * sysdeps/x86_64/tlsdesc.c: Likewise.
21071         * elf/dl-load.h: New file.
21072         * elf/dl-load.c: Include it.
21073         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21074         Macros moved to dl-load.h.
21075         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21076         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21077         Use _dl_unmap_segments in place of __munmap.
21078         Break out segment-mapping loop into ...
21079         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21081 2014-04-03  Will Newton  <will.newton@linaro.org>
21083         * elf/dl-lookup.c (do_lookup_x): Remove comment
21084         referring to nested function and move variable
21085         declarations down to before first use.
21087 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21089         [BZ #16799]
21090         [BZ #16800]
21091         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21092         with 0 numerator.
21093         * math/s_catanf.c (__catanf): Likewise.
21094         * math/s_catanh.c (__catanh): Likewise.
21095         * math/s_catanhf.c (__catanhf): Likewise.
21096         * math/s_catanhl.c (__catanhl): Likewise.
21097         * math/s_catanl.c (__catanl): Likewise.
21098         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21099         by positive zero when computing -Inf result.
21100         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21101         (catanh_test): Likewise.
21102         * sysdeps/i386/fpu/libm-test-ulps: Update.
21103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21105         [BZ #16789]
21106         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21107         instead of using underflowing value in computing result.
21108         * math/s_clog10.c (__clog10): Likewise.
21109         * math/s_clog10f.c (__clog10f): Likewise.
21110         * math/s_clog10l.c (__clog10l): Likewise.
21111         * math/s_clogf.c (__clogf): Likewise.
21112         * math/s_clogl.c (__clogl): Likewise.
21113         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21114         (clog10_test): Likewise.
21115         * sysdeps/i386/fpu/libm-test-ulps: Update.
21116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21118 2014-04-02  Alan Modra  <amodra@gmail.com>
21120         [BZ #16739]
21121         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21122         output when value is near a power of two.  Use int64_t for lx and
21123         remove casts.  Use decimal rather than hex exponent constants.
21124         Don't use long double multiplication when double will suffice.
21125         * math/libm-test.inc (nextafter_test_data): Add tests.
21126         * NEWS: Add 16739 and 16786 to bug list.
21128         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21130         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21132 2014-04-01  Will Newton  <will.newton@linaro.org>
21134         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21135         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21137 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21139         [BZ #13347]
21140         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21141         * nptl/tst-setuid2.c: New file.
21142         * nptl/Makefile (xtests): Add tst-setuid2.
21144 2014-04-01  Alan Modra  <amodra@gmail.com>
21146         [BZ #16786]
21147         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21149 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21151         [BZ #6803]
21152         [BZ #6804]
21153         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21154         set errno as appropriate.
21155         * math/w_scalbf.c (__scalbf): Likewise.
21156         * math/w_scalbl.c (__scalbl): Likewise.
21157         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21158         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21159         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21160         Add more NaN tests.
21162         [BZ #16349]
21163         * math/w_atan2.c: Include <errno.h>.
21164         (__atan2): Set errno for result underflowing to zero.
21165         * math/w_atan2f.c: Include <errno.h>.
21166         (__atan2f): Set errno for result underflowing to zero.
21167         * math/w_atan2l.c: Include <errno.h>.
21168         (__atan2l): Set errno for result underflowing to zero.
21169         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21170         tests.
21171         * math/auto-libm-test-out: Regenerated.
21173 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21175         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21176         Encode instruction correctly in little endian.
21177         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21178         Likewise.
21179         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21180         Likewise.
21181         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21182         Likewise.
21183         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21184         Likewise.
21186 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21188         [BZ #9894]
21189         * sysdeps/unix/sysv/linux/kernel-features.h
21190         [__sparc__ && !__arch64__ && !__sparc_v9__]
21191         (__ASSUME_SET_ROBUST_LIST): Do not define.
21192         [__sparc__ && !__arch64__ && !__sparc_v9__]
21193         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21194         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21195         Likewise.
21196         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21197         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21198         (__ASSUME_REQUEUE_PI): Likewise.
21199         (__ASSUME_SET_ROBUST_LIST): Likewise.
21200         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21201         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21202         Undefine.
21203         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21204         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21205         Likewise.
21206         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21207         Likewise.
21208         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21209         Likewise.
21210         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21211         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21212         Undefine.
21213         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21214         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21215         Likewise.
21217         [BZ #16648]
21218         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21219         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21220         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21222 2014-03-31  Will Newton  <will.newton@linaro.org>
21224         * benchtests/Makefile (bench): Add ffs and ffsll to list
21225         of tests.
21226         * benchtests/ffs-inputs: New file.
21227         * benchtests/ffsll-inputs: Likewise.
21229 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21231         [BZ #16770]
21232         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21233         too large before casting to int.
21234         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21235         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21236         * math/libm-test.inc (scalb_test_data): Add more tests.
21238 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21240         * benchtests/Makefile (DETAILED_OPT): New make option.
21241         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21242         set.
21243         * benchtests/bench-skeleton.c: Include stdbool.h.
21244         (main): Store and print timings per input.
21245         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21246         member to each argument value.
21247         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21248         (_print_arg_data): Initialize per-input timing to 0.
21250         * benchtests/Makefile (timing-type): New binary.
21251         (bench-clean): Also remove bench-timing-type.
21252         (bench): New target for timing-type.
21253         (bench-func): Print output in JSON format.
21254         * benchtests/bench-skeleton.c (main): Print output in JSON
21255         format.
21256         * benchtests/bench-timing-type.c: New file.
21257         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21258         (TIMING_PRINT_STATS): Remove.
21259         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21260         name separately.
21262         * benchtests/bench-modf.c: Remove.
21263         * benchtests/modf-inputs: New inputs file.
21265 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21267         [BZ #16362]
21268         * math/s_clog10.c (M_PI_LOG10E): New macro.
21269         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21270         imaginary parts are 0.
21271         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21272         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21273         imaginary parts are 0.
21274         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21275         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21276         imaginary parts are 0.
21277         * math/libm-test.inc (clog10_test_data): Update expected results
21278         for when real and imaginary parts are 0.
21280 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21282         * elf/dl-load.c: Finish conversion of __builtin_expect into
21283         __glibc_{un}likely.
21285 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21287         [BZ #16348]
21288         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21289         1+x for argument with exponent below -67.
21290         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21291         Likewise.
21292         * math/auto-libm-test-in: Add more tests of exp.
21293         * math/auto-libm-test-out: Regenerated.
21295 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21297         [BZ #16759]
21298         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21299         (nscd_getnetgrent): Use it.
21301         [BZ #16760]
21302         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21303         of stpcpy.
21305 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21307         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21308         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21309         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21310         (lll_robust_unlock): Remove out of line section. Use cfi
21311         intrinsics.
21312         (LLL_STUB_UNWIND_INFO*): Remove.
21313         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21314         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21315         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21316         (lll_robust_unlock): Remove out of line section. Use cfi
21317         intrinsics.
21318         (LLL_STUB_UNWIND_INFO*): Remove.
21320 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21322         [BZ #16758]
21323         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21324         blank values.
21326 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21328         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21330 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21332         [BZ #16198]
21333         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21334         fnstenv.
21335         * math/test-fenv-preserve.c: New file.
21336         * math/Makefile (tests): Add test-fenv-preserve.
21338 2014-03-26  Will Newton <will.newton@linaro.org>
21340         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21342 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21344         * scripts/versionlist.awk: Partition the version sets and emit all
21345         GLIBC_* (sorted) before all others (sorted).
21347 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21349         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21350         GLIBC_2.2.5 version.
21352 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21354         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21355         calls.
21357         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21358         previous change.
21360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21362 2014-03-25  Andreas Schwab  <schwab@suse.de>
21364         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21365         label to be used after in6ailist is initialized.
21367 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21369         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21370         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21372 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21374         [BZ #16357]
21375         [BZ #16599]
21376         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21377         min_plus_half.
21378         (fp_formats): Update initializers.
21379         (init_fp_formats): Initialize new field.
21380         (output_for_one_input_case): Allow underflow for results up to
21381         min_plus_half.
21382         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21383         * math/auto-libm-test-in: Don't mark some underflows from asin and
21384         atanh as spurious.
21385         * math/auto-libm-test-out: Regenerated.
21386         * sysdeps/i386/fpu/libm-test-ulps: Update.
21387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21389 2014-03-25  Andreas Schwab  <schwab@suse.de>
21391         * libio/Makefile (tst-ftell-partial-wide-ENV)
21392         (tst-ftell-active-handler-ENV): Define.
21394 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21396         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21398 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21400         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21402 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21404         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21405         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21406         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21408 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21410         [BZ #16634]
21411         * elf/dl-load.c (open_verify): Add mode parameter.
21412         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21413         (open_path): Change from boolean 'secure' to complete flag 'mode'
21414         (_dl_map_object): Adjust.
21415         * elf/Makefile (tests): Add tst-dlopen-aout.
21416         * elf/tst-dlopen-aout.c: New test.
21418 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21420         [BZ #16714]
21421         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21422         (struct stat): Rename member pad0 to __glibc_reserved0.
21424         [BZ #16712]
21425         * sysdeps/s390/s390-32/bits/wordsize.h
21426         (__WORDSIZE32_SIZE_ULONG): New define.
21427         * sysdeps/s390/s390-64/bits/wordsize.h
21428         (__WORDSIZE32_SIZE_ULONG): Likewise.
21429         * sysdeps/generic/stdint.h (SIZE_MAX):
21430         Define as UL if __WORDSIZE32_SIZE_ULONG.
21432         [BZ #16713]
21433         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21434         (__glibc_reserved0): New variable.
21435         (sa_flags): Change type to int.
21437         * posix/Makefile (before-compile): Use += before-compile instead
21438         of a :=.
21440         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21441         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21443 2014-03-20  Andreas Schwab  <schwab@suse.de>
21445         [BZ #16743]
21446         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21447         non-matching result from nscd.
21449 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21451         * scripts/bench.py: Moved to ...
21452         * benchtests/scripts/bench.py: ... here.
21453         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21455 2014-03-24  Andreas Schwab  <schwab@suse.de>
21457         [BZ #16002]
21458         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21459         alloca_account and account alloca use for struct in6ailist.
21461 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21463         [BZ #16284]
21464         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21465         rounding mode to recompute results that overflow to infinity or
21466         underflow to zero.
21467         * math/auto-libm-test-in: Don't mark tests as expected to fail for
21468         bug 16284.
21469         * math/auto-libm-test-out: Regenerated.
21470         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21471         (ccosh_test): Likewise.
21472         (csin_test_data): Use plus_oflow.
21473         (csin_test): Use ALL_RM_TEST.
21474         (csinh_test_data): Use plus_oflow.
21475         (csinh_test): Use ALL_RM_TEST.
21476         * sysdeps/i386/fpu/libm-test-ulps: Update.
21477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21479 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
21481         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21482         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21483         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21485         [BZ #16731]
21486         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21487         when x - 1 is zero.
21488         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21489         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21490         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21491         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21492         argument is 1.
21493         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21494         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21495         zero.
21496         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21497         * sysdeps/i386/fpu/libm-test-ulps: Update.
21498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21500 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21502         * scripts/bench.pl: Remove file.
21503         * scripts/bench.py: New benchmark script.
21504         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21505         * benchtests/README: Mention python dependency.
21506         * scripts/pylintrc: New file.
21507         * scripts/pylint: New file.
21509         * bits/mathdef.h: Use #ifdef instead of #if.
21510         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21511         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21512         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21513         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21514         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21515         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21517 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21518             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21520         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21521         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21522         and strpbrk-ppc64 objects.
21523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21524         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21525         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21526         multiarch strpbrk for POWER7.
21527         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21528         multiarch strpbrk for PPC64.
21529         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21530         ifunc selector.
21531         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21532         strpbrk for POWER7.
21534 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21536         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21537         (atan_test): Likewise.
21538         (atanh_test_data): Use NO_TEST_INLINE for two tests.
21539         (atanh_test): Use ALL_RM_TEST.
21540         (atan2_test_data): Likewise.
21541         (cabs_test): Likewise.
21542         (cacosh_test): Likewise.
21543         (carg_test): Likewise.
21544         (casin_test): Likewise.
21545         (casinh_test): Likewise.
21546         (cbrt_test): Likewise.
21547         (csqrt_test): Likewise.
21548         (erf_test): Likewise.
21549         (erfc_test): Likewise.
21550         (pow10_test): Likewise.
21551         (exp2_test): Likewise.
21552         (hypot_test): Likewise.
21553         (j0_test): Likewise.
21554         (j1_test): Likewise.
21555         (lgamma_test): Likewise.
21556         (gamma_test): Likewise.
21557         (sincos_test): Likewise.
21558         (tanh_test): Likewise.
21559         (y0_test): Likewise.
21560         (y1_test): Likewise.
21561         * sysdeps/i386/fpu/libm-test-ulps: Update.
21562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21564 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21566         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21568         and strcspn-ppc64 objects.
21569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21570         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21571         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21572         multiarch strcspn for POWER7.
21573         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21574         multiarch strcspn for PPC64.
21575         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21576         ifunc selector.
21577         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21578         strcspn for POWER7.
21580 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21582         * math/gen-libm-test.pl (generate_testfile): Expect only function
21583         name as argument to AUTO_TESTS_* and pass results for all rounding
21584         modes to parse_args.
21585         (parse_auto_input): Separate inputs of automatic tests from
21586         outputs before storing in %auto_tests.
21587         * math/libm-test.inc (acos_test_data): Update call to
21588         AUTO_TESTS_f_f.
21589         (acos_test): Use ALL_RM_TEST.
21590         (acos_tonearest_test_data): Remove.
21591         (acos_test_tonearest): Likewise.
21592         (acos_towardzero_test_data): Likewise.
21593         (acos_test_towardzero): Likewise.
21594         (acos_downward_test_data): Likewise.
21595         (acos_test_downward): Likewise.
21596         (acos_upward_test_data): Likewise.
21597         (acos_test_upward): Likewise.
21598         (acosh_test_data): Update call to AUTO_TESTS_f_f.
21599         (asin_test_data): Likewise.
21600         (asin_test): Use ALL_RM_TEST.
21601         (asin_tonearest_test_data): Remove.
21602         (asin_test_tonearest): Likewise.
21603         (asin_towardzero_test_data): Likewise.
21604         (asin_test_towardzero): Likewise.
21605         (asin_downward_test_data): Likewise.
21606         (asin_test_downward): Likewise.
21607         (asin_upward_test_data): Likewise.
21608         (asin_test_upward): Likewise.
21609         (asinh_test_data): Update call to AUTO_TESTS_f_f.
21610         (atan_test_data): Likewise.
21611         (atanh_test_data): Likewise.
21612         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
21613         (cabs_test_data): Update call to AUTO_TESTS_c_f.
21614         (carg_test_data): Likewise.
21615         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
21616         (ccos_test_data): Update call to AUTO_TESTS_c_c.
21617         (ccosh_test_data): Likewise.
21618         (cexp_test_data): Likewise.
21619         (clog_test_data): Likewise.
21620         (clog10_test_data): Likewise.
21621         (cos_test_data): Update call to AUTO_TESTS_f_f.
21622         (cos_test): Use ALL_RM_TEST.
21623         (cos_tonearest_test_data): Remove.
21624         (cos_test_tonearest): Likewise.
21625         (cos_towardzero_test_data): Likewise.
21626         (cos_test_towardzero): Likewise.
21627         (cos_downward_test_data): Likewise.
21628         (cos_test_downward): Likewise.
21629         (cos_upward_test_data): Likewise.
21630         (cos_test_upward): Likewise.
21631         (cosh_test_data): Update call to AUTO_TESTS_f_f.
21632         (cosh_test): Use ALL_RM_TEST.
21633         (cosh_tonearest_test_data): Remove.
21634         (cosh_test_tonearest): Likewise.
21635         (cosh_towardzero_test_data): Likewise.
21636         (cosh_test_towardzero): Likewise.
21637         (cosh_downward_test_data): Likewise.
21638         (cosh_test_downward): Likewise.
21639         (cosh_upward_test_data): Likewise.
21640         (cosh_test_upward): Likewise.
21641         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
21642         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
21643         (ctan_test_data): Likewise.
21644         (ctan_test): Use ALL_RM_TEST.
21645         (ctan_tonearest_test_data): Remove.
21646         (ctan_test_tonearest): Likewise.
21647         (ctan_towardzero_test_data): Likewise.
21648         (ctan_test_towardzero): Likewise.
21649         (ctan_downward_test_data): Likewise.
21650         (ctan_test_downward): Likewise.
21651         (ctan_upward_test_data): Likewise.
21652         (ctan_test_upward): Likewise.
21653         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
21654         (ctanh_test): Use ALL_RM_TEST.
21655         (ctanh_tonearest_test_data): Remove.
21656         (ctanh_test_tonearest): Likewise.
21657         (ctanh_towardzero_test_data): Likewise.
21658         (ctanh_test_towardzero): Likewise.
21659         (ctanh_downward_test_data): Likewise.
21660         (ctanh_test_downward): Likewise.
21661         (ctanh_upward_test_data): Likewise.
21662         (ctanh_test_upward): Likewise.
21663         (erf_test_data): Update call to AUTO_TESTS_f_f.
21664         (erfc_test_data): Likewise.
21665         (exp_test_data): Likewise.
21666         (exp_test): Use ALL_RM_TEST.
21667         (exp_tonearest_test_data): Remove.
21668         (exp_test_tonearest): Likewise.
21669         (exp_towardzero_test_data): Likewise.
21670         (exp_test_towardzero): Likewise.
21671         (exp_downward_test_data): Likewise.
21672         (exp_test_downward): Likewise.
21673         (exp_upward_test_data): Likewise.
21674         (exp_test_upward): Likewise.
21675         (exp10_test_data): Update call to AUTO_TESTS_f_f.
21676         (exp10_test): Use ALL_RM_TEST.
21677         (exp10_tonearest_test_data): Remove.
21678         (exp10_test_tonearest): Likewise.
21679         (exp10_towardzero_test_data): Likewise.
21680         (exp10_test_towardzero): Likewise.
21681         (exp10_downward_test_data): Likewise.
21682         (exp10_test_downward): Likewise.
21683         (exp10_upward_test_data): Likewise.
21684         (exp10_test_upward): Likewise.
21685         (exp2_test_data): Update call to AUTO_TESTS_f_f.
21686         (expm1_test_data): Likewise.
21687         (expm1_test): Use ALL_RM_TEST.
21688         (expm1_tonearest_test_data): Remove.
21689         (expm1_test_tonearest): Likewise.
21690         (expm1_towardzero_test_data): Likewise.
21691         (expm1_test_towardzero): Likewise.
21692         (expm1_downward_test_data): Likewise.
21693         (expm1_test_downward): Likewise.
21694         (expm1_upward_test_data): Likewise.
21695         (expm1_test_upward): Likewise.
21696         (fma_test_data): Update call to AUTO_TESTS_fff_f.
21697         (fma_test): Use ALL_RM_TEST.
21698         (fma_towardzero_test_data): Remove.
21699         (fma_test_towardzero): Likewise.
21700         (fma_downward_test_data): Likewise.
21701         (fma_test_downward): Likewise.
21702         (fma_upward_test_data): Likewise.
21703         (fma_test_upward): Likewise.
21704         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21705         (j0_test_data): Update call to AUTO_TESTS_f_f.
21706         (j1_test_data): Likewise.
21707         (jn_test_data): Update call to AUTO_TESTS_if_f.
21708         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21709         (log_test_data): Update call to AUTO_TESTS_f_f.
21710         (log10_test_data): Likewise.
21711         (log1p_test_data): Likewise.
21712         (log2_test_data): Likewise.
21713         (pow_test_data): Update call to AUTO_TESTS_ff_f.
21714         (pow_tonearest_test_data): Likewise.
21715         (sin_test_data): Update call to AUTO_TESTS_f_f.
21716         (sin_test): Use ALL_RM_TEST.
21717         (sin_tonearest_test_data): Remove.
21718         (sin_test_tonearest): Likewise.
21719         (sin_towardzero_test_data): Likewise.
21720         (sin_test_towardzero): Likewise.
21721         (sin_downward_test_data): Likewise.
21722         (sin_test_downward): Likewise.
21723         (sin_upward_test_data): Likewise.
21724         (sin_test_upward): Likewise.
21725         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21726         (sinh_test_data): Update call to AUTO_TESTS_f_f.
21727         (sinh_test): Use ALL_RM_TEST.
21728         (sinh_tonearest_test_data): Remove.
21729         (sinh_test_tonearest): Likewise.
21730         (sinh_towardzero_test_data): Likewise.
21731         (sinh_test_towardzero): Likewise.
21732         (sinh_downward_test_data): Likewise.
21733         (sinh_test_downward): Likewise.
21734         (sinh_upward_test_data): Likewise.
21735         (sinh_test_upward): Likewise.
21736         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21737         (sqrt_test): Use ALL_RM_TEST.
21738         (sqrt_tonearest_test_data): Remove.
21739         (sqrt_test_tonearest): Likewise.
21740         (sqrt_towardzero_test_data): Likewise.
21741         (sqrt_test_towardzero): Likewise.
21742         (sqrt_downward_test_data): Likewise.
21743         (sqrt_test_downward): Likewise.
21744         (sqrt_upward_test_data): Likewise.
21745         (sqrt_test_upward): Likewise.
21746         (tan_test_data): Update call to AUTO_TESTS_f_f.
21747         (tan_test): Use ALL_RM_TEST.
21748         (tan_tonearest_test_data): Remove.
21749         (tan_test_tonearest): Likewise.
21750         (tan_towardzero_test_data): Likewise.
21751         (tan_test_towardzero): Likewise.
21752         (tan_downward_test_data): Likewise.
21753         (tan_test_downward): Likewise.
21754         (tan_upward_test_data): Likewise.
21755         (tan_test_upward): Likewise.
21756         (tanh_test_data): Update call to AUTO_TESTS_f_f.
21757         (tgamma_test_data): Likewise.
21758         (y0_test_data): Likewise.
21759         (y1_test_data): Likewise.
21760         (yn_test_data): Update call to AUTO_TESTS_if_f.
21761         (main): Do not call removed functions.
21763 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21765         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21766         (ldexp_test_data): Remove.
21767         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
21768         scalbn_test_data.
21769         (scalb_test): Use ALL_RM_TEST.
21771 2014-03-19  Andreas Schwab  <schwab@suse.de>
21773         * nscd/nscd.service: Also invalidate netgroup cache on reload.
21775 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21777         [BZ #16649]
21778         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21779         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21780         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21781         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21782         (__ASSUME_PREADV): Undefine.
21783         (__ASSUME_PWRITEV): Likewise.
21785 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21787         * bits/mman-linux.h: Add comment about non-Linux use.
21788         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21789         bits/mman-linux.h resting place.
21791         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21792         * bits/mman-linux.h: ... here.
21794 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21796         * conform/conformtest.pl: Add standard definition when calling C
21797         preprocessor on data files.
21798         (checknamespace): Remove unused variable.
21800 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21802         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21803         minus_oflow, plus_uflow and minus_uflow in expected results.
21804         * math/libm-test.inc (scalbn_test_data): Add more tests of
21805         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
21806         minus_uflow.
21807         (scalbn_test): Use ALL_RM_TEST.
21808         (scalbln_test_data): Add more tests of negative arguments.  Use
21809         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21810         (scalbln_test): Use ALL_RM_TEST.
21812 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21814         * scripts/abilist.awk: Ignore symbols marked with .hidden.
21816 2014-03-18  Will Newton  <will.newton@linaro.org>
21818         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21819         inaccurate comment.
21821 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21823         * Makerules [!subdir] (check-abi): Exit with error status if a
21824         test failed.
21826 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21828         * math/libm-test.inc (nearbyint_test_data): Include all tests used
21829         for rint.  Include results for all rounding modes.
21830         (nearbyint_test): Use ALL_RM_TEST.
21831         (rint_test_data): Include all tests used for nearbyint.
21833 2014-03-17  Will Newton  <will.newton@linaro.org>
21835         * nptl/sysdeps/pthread/pthread.h: Revert previous
21836         change.
21838         * sysdeps/generic/ldsodefs.h: Revert previous
21839         change.
21841         * libio/genops.c: Revert previous change.
21842         * libio/libioP.h: Likewise.
21843         * stdio-common/vfprintf.c: Likewise.
21845         * sysdeps/generic/math_private.h: Revert previous
21846         change.
21848         * sysdeps/generic/math_private.h: Check whether
21849         HAVE_RM_CTX is defined with #ifdef rather
21850         than #if.
21852         * argp/argp-fmtstream.h: Check whether
21853         __STRICT_ANSI__ is defined with #ifdef rather
21854         than #if.
21855         * argp/argp.h: Likewise.
21857         * libio/genops.c: Check whether
21858         _IO_JUMPS_OFFSET is defined with #ifdef rather
21859         than #if.
21860         * libio/libioP.h: Likewise.
21861         * stdio-common/vfprintf.c: Likewise.
21863         * sysdeps/generic/ldsodefs.h: Check whether
21864         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21865         than #if.
21867         * nptl/sysdeps/pthread/pthread.h: Check
21868         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21869         its value.
21871 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21873         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21874         setting O_APPEND.
21875         * libio/tst-ftell-active-handler.c (do_append_test): Add a
21876         test case.
21878         [BZ #16680]
21879         * libio/fileops.c (_IO_file_open): Seek to end of file but
21880         don't cache the offset.
21881         (get_file_offset): Remove function.
21882         (do_ftell): Use cached offset when available.
21883         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21884         don't cache the offset.
21885         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21886         case.
21887         (do_one_test): Call it.
21888         (do_ftell_test): Fix up expected old offset for a+ mode.
21889         * libio/wfileops.c (do_ftell_wide): Used cached offset when
21890         available.
21892         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21893         up test status with function return status.
21894         (do_write_test): Likewise.
21895         (do_append_test): Likewise.
21897         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21898         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21899         Remove.
21901 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21903         * math/gen-libm-test.pl (parse_args): Handle results specified for
21904         each rounding mode separately.
21905         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21906         tests and results from lrint_tonearest_test_data,
21907         lrint_towardzero_test_data, lrint_downward_test_data and
21908         lrint_upward_test_data.
21909         (lrint_test): Use ALL_RM_TEST.
21910         (lrint_tonearest_test_data): Remove.
21911         (lrint_test_tonearest): Likewise.
21912         (lrint_towardzero_test_data): Likewise.
21913         (lrint_test_towardzero): Likewise.
21914         (lrint_downward_test_data): Likewise.
21915         (lrint_test_downward): Likewise.
21916         (lrint_upward_test_data): Likewise.
21917         (lrint_test_upward): Likewise.
21918         (llrint_test_data): Merge in per-rounding-mode tests and results
21919         from llrint_tonearest_test_data, llrint_towardzero_test_data,
21920         llrint_downward_test_data and llrint_upward_test_data.
21921         (llrint_test): Use ALL_RM_TEST.
21922         (llrint_tonearest_test_data): Remove.
21923         (llrint_test_tonearest): Likewise.
21924         (llrint_towardzero_test_data): Likewise.
21925         (llrint_test_towardzero): Likewise.
21926         (llrint_downward_test_data): Likewise.
21927         (llrint_test_downward): Likewise.
21928         (llrint_upward_test_data): Likewise.
21929         (llrint_test_upward): Likewise.
21930         (rint_test_data): Merge in per-rounding-mode tests and results
21931         from rint_tonearest_test_data, rint_towardzero_test_data,
21932         rint_downward_test_data and rint_upward_test_data.  Add
21933         per-rounding-mode results for tests not in those arrays.
21934         (rint_test): Use ALL_RM_TEST.
21935         (rint_tonearest_test_data): Remove.
21936         (rint_test_tonearest): Likewise.
21937         (rint_towardzero_test_data): Likewise.
21938         (rint_test_towardzero): Likewise.
21939         (rint_downward_test_data): Likewise.
21940         (rint_test_downward): Likewise.
21941         (rint_upward_test_data): Likewise.
21942         (rint_test_upward): Likewise.
21943         (main): Don't call removed functions.
21945 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21947         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21948         "Compiled on ..." crapola.  It is anti-useful.
21950 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
21952         * scripts/evaluate-test.sh: Handle fourth argument to determine
21953         whether test run should stop on failure.
21954         * Makeconfig (stop-on-test-failure): New variable.
21955         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21956         $(stop-on-test-failure).
21957         * Makefile (tests): Give a summary of results from testing and
21958         exit with failure status if they include an ERROR or FAIL.
21959         (xtests): Likewise.
21960         * manual/install.texi (Configuring and compiling): Mention
21961         stop-on-test-failure=y.
21962         * INSTALL: Regenerated.
21964 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21966         * scripts/versionlist.awk: New file.
21967         * Makerules [$(build-shared) = yes]
21968         (postclean-generated): Add Versions.def, not Versions.def.v and
21969         Versions.def.v.i.
21970         ($(common-objpfx)Versions.def.v.i): Target removed.
21971         ($(common-objpfx)Versions.def): New target.
21972         ($(common-objpfx)Versions.all): Depend on that rather that
21973         $(common-objpfx)Versions.def.v.
21974         * Versions.def: File removed.
21976         * Makeconfig (+gccwarn): Add -Wundef.
21977         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21978         a dl-sysdep.h breaking its contract.
21979         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21980         * include/stackinfo.h: New file.
21981         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21982         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21983         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21984         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
21985         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
21986         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
21987         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21988         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21989         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21990         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21991         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21992         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
21993         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21994         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21995         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21997 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21999         [BZ #16707]
22000         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22001         implementation.
22002         * math/libm-test.inc (round_test_data): Add more tests.
22004         [BZ #16706]
22005         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22006         implementation.
22007         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22009         [BZ #16701]
22010         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22011         implementation.
22012         * math/libm-test.inc (ceil_test_data): Add more tests.
22014         * math/libm-test.inc (trunc_test_data): Add more tests related to
22015         BZ#16414.
22017 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22019         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22020         with #if rather than #ifdef.
22021         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22023 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22025         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22026         first.  Disable AVX-512 GCC support if assembler doesn't support
22027         it.
22028         * sysdeps/x86_64/configure: Regenerated.
22030 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22032         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22033         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22034         (__old_pthread_attr_setstack): Likewise.
22035         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22036         [!_STACK_GROWS_DOWN]: Likewise.
22038 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22040         * config.make.in (have-bash2): Delete.
22041         * configure.ac (libc_cv_have_bash2): Delete.
22042         * configure: Regenerate.
22043         * elf/Makefile (common-ldd-rewrite): Rename to ...
22044         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22045         (sh-ldd-rewrite): Delete.
22046         (bash-ldd-rewrite): Delete.
22047         (have-bash2): Delete checks.
22048         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22049         ldd-rewrite.
22051         * config.make.in (have-ksh): Delete.
22052         (KSH): Delete.
22053         * configure.ac (libc_cv_have_ksh): Delete.
22054         * configure: Regenerate.
22056         * elf/Makefile: Delete $(have-ksh) check.
22057         ($(objpfx)sotruss): Change KSH to BASH.
22058         * elf/sotruss.ksh: Rename to ...
22059         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22060         function style to match POSIX.  Drop ksh vim mode setting.
22062         * manual/time.texi (Specifying the Time Zone with TZ): Change
22063         Tuesday to Thursday.
22065         * debug/tst-longjmp_chk2.c: Update header comment.
22066         (stackoverflow_handler): Add comment.  Call assert on pass value.
22068 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22070         [BZ #16194]
22071         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22072         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22073         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22074         (La_x86_64_vector): Add zmm.
22075         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22076         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22077         ($(objpfx)tst-audit10): New target.
22078         ($(objpfx)tst-audit10.out): Likewise.
22079         (tst-audit10-ENV): New.
22080         (AVX512-CFLAGS): Likewise.
22081         (CFLAGS-tst-audit10.c): Likewise.
22082         (CFLAGS-tst-auditmod10a.c): Likewise.
22083         (CFLAGS-tst-auditmod10b.c): Likewise.
22084         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22085         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22086         * sysdeps/x86_64/configure: Regenerated.
22087         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22088         AVX-512 zmm register support.
22089         (_dl_x86_64_save_sse): Likewise.
22090         (_dl_x86_64_restore_sse): Likewise.
22091         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22092         size vector registers.
22093         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22094         (ZMM_SIZE): Likewise.
22095         * sysdeps/x86_64/tst-audit10.c: New file.
22096         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22097         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22099 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22101         * configure.ac (HAVE_EHDR_START): New check.
22102         * configure: Regenerated.
22103         * config.h.in (HAVE_EHDR_START): New #undef.
22104         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22105         assuming the lowest-addressed segment maps the start of the file.
22107 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22109         * INSTALL: Regenerated.
22111 2014-03-13  Will Newton  <will.newton@linaro.org>
22113         * manual/setjmp.texi (System V contexts): Improve
22114         clarity and grammar of documentation.
22116 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22118         [BZ #16381]
22119         * elf/Makefile (tests): Add tst-pie2.
22120         (tests-pie): Add tst-pie2.
22121         * elf/tst-pie2.c: New file.
22122         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22123         for ET_EXEC.
22124         * elf/rtld.c (map_doit): Load executable as lt_executable.
22125         (dl_main): Likewise.
22127 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22129         [BZ #16642]
22130         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22131         (__ASSUME_PSELECT): Undefine.
22133 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22135         [BZ #16689]
22136         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22137         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22138         static build.
22139         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22140         selector for static builds.
22142 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22144         [BZ #16695]
22145         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22146         key in the buffer.
22148 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22150         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22151         IFUNC selector for static builds.
22153 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22155         * sysdeps/mips/math_private.h [__mips_hard_float]
22156         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22157         libc_feresetround_mips_ctx.
22158         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22159         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22160         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22162         [BZ #16677]
22163         * math/s_nextafter.c (__nextafter): Do not return value from
22164         overflowing computation.
22165         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22166         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22167         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22168         Likewise.
22169         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22170         Likewise.
22171         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22172         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22174 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22176         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22177         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22178         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22179         the new mov targetting sp.
22181 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22183         [BZ #16683]
22184         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22185         Define it for static builds as well.
22186         (NO_BZERO_IMPL): Likewise.
22188 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22190         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22191         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22192         multiarch strspn for PPC64.
22193         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22194         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22196         (__libc_ifunc_impl_list): Likewise.
22197         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22198         multiarch optimizations
22199         * string/strspn.c (strspn): Using macro to redefine symbol name.
22201 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22202             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22204         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22205         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22206         multiarch strncat for PPC64.
22207         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22208         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22210         (__libc_ifunc_impl_list): Likewise.
22211         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22212         multiarch optimizations
22214 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22216         [BZ #16639]
22217         * nscd/nscd.service: Make service type forking.
22219 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22221         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22222         sign in non default rounding modes.
22223         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22225 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22227         * math/libm-test.inc (ALL_RM_TEST): New macro.
22228         (ceil_test): Use ALL_RM_TEST.
22229         (cimag_test): Likewise.
22230         (conj_test): Likewise.
22231         (copysign_test): Likewise.
22232         (cproj_test): Likewise.
22233         (creal_test): Likewise.
22234         (fabs_test): Likewise.
22235         (floor_test): Likewise.
22236         (fmax_test): Likewise.
22237         (fmin_test): Likewise.
22238         (fmod_test): Likewise.
22239         (fpclassify_test): Likewise.
22240         (frexp_test): Likewise.
22241         (ilogb_test): Likewise.
22242         (isfinite_test): Likewise.
22243         (finite_test): Likewise.
22244         (isgreater_test): Likewise.
22245         (isgreaterequal_test): Likewise.
22246         (isinf_test): Likewise.
22247         (isless_test): Likewise.
22248         (islessequal_test): Likewise.
22249         (islessgreater_test): Likewise.
22250         (isnan_test): Likewise.
22251         (isnormal_test): Likewise.
22252         (issignaling_test): Likewise.
22253         (isunordered_test): Likewise.
22254         (logb_test): Likewise.
22255         (logb_downward_test_data): Remove.
22256         (logb_test_downward): Likewise.
22257         (lround_test): Use ALL_RM_TEST.
22258         (llround_test): Likewise.
22259         (modf_test): Likewise.
22260         (nexttoward_test): Likewise.
22261         (remainder_test): Likewise.
22262         (drem_test): Likewise.
22263         (remainder_tonearest_test_data): Likewise.
22264         (remainder_test_tonearest): Likewise.
22265         (drem_test_tonearest): Likewise.
22266         (remainder_towardzero_test_data): Likewise.
22267         (remainder_test_towardzero): Likewise.
22268         (drem_test_towardzero): Likewise.
22269         (remainder_downward_test_data): Likewise.
22270         (remainder_test_downward): Likewise.
22271         (drem_test_downward): Likewise.
22272         (remainder_upward_test_data): Likewise.
22273         (remainder_test_upward): Likewise.
22274         (drem_test_upward): Likewise.
22275         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22276         (round_test): Use ALL_RM_TEST.
22277         (signbit_test): Likewise.
22278         (trunc_test): Likewise.
22279         (significand_test): Likewise.
22280         (main): Don't call removed functions.
22282 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22284         [BZ #16674]
22285         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22286         || __USE_XOPEN2K8].
22287         (ILL_ILLOPN): Likewise.
22288         (ILL_ILLADR): Likewise.
22289         (ILL_ILLTRP): Likewise.
22290         (ILL_PRVOPC): Likewise.
22291         (ILL_PRVREG): Likewise.
22292         (ILL_COPROC): Likewise.
22293         (ILL_BADSTK): Likewise.
22294         (FPE_INTDIV): Likewise.
22295         (FPE_INTOVF): Likewise.
22296         (FPE_FLTDIV): Likewise.
22297         (FPE_FLTOVF): Likewise.
22298         (FPE_FLTUND): Likewise.
22299         (FPE_FLTRES): Likewise.
22300         (FPE_FLTINV): Likewise.
22301         (FPE_FLTSUB): Likewise.
22302         (SEGV_MAPERR): Likewise.
22303         (SEGV_ACCERR): Likewise.
22304         (BUS_ADRALN): Likewise.
22305         (BUS_ADRERR): Likewise.
22306         (BUS_OBJERR): Likewise.
22307         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22308         (TRAP_TRACE): Likewise.
22309         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22310         __USE_XOPEN2K8].
22311         (CLD_KILLED): Likewise.
22312         (CLD_DUMPED): Likewise.
22313         (CLD_TRAPPED): Likewise.
22314         (CLD_STOPPED): Likewise.
22315         (CLD_CONTINUED): Likewise.
22316         (POLL_IN): Likewise.
22317         (POLL_OUT): Likewise.
22318         (POLL_MSG): Likewise.
22319         (POLL_ERR): Likewise.
22320         (POLL_PRI): Likewise.
22321         (POLL_HUP): Likewise.
22322         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22323         Likewise.
22324         (ILL_ILLOPN): Likewise.
22325         (ILL_ILLADR): Likewise.
22326         (ILL_ILLTRP): Likewise.
22327         (ILL_PRVOPC): Likewise.
22328         (ILL_PRVREG): Likewise.
22329         (ILL_COPROC): Likewise.
22330         (ILL_BADSTK): Likewise.
22331         (FPE_INTDIV): Likewise.
22332         (FPE_INTOVF): Likewise.
22333         (FPE_FLTDIV): Likewise.
22334         (FPE_FLTOVF): Likewise.
22335         (FPE_FLTUND): Likewise.
22336         (FPE_FLTRES): Likewise.
22337         (FPE_FLTINV): Likewise.
22338         (FPE_FLTSUB): Likewise.
22339         (SEGV_MAPERR): Likewise.
22340         (SEGV_ACCERR): Likewise.
22341         (BUS_ADRALN): Likewise.
22342         (BUS_ADRERR): Likewise.
22343         (BUS_OBJERR): Likewise.
22344         (BUS_MCEERR_AR): Likewise.
22345         (BUS_MCEERR_AO): Likewise.
22346         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22347         (TRAP_TRACE): Likewise.
22348         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22349         __USE_XOPEN2K8].
22350         (CLD_KILLED): Likewise.
22351         (CLD_DUMPED): Likewise.
22352         (CLD_TRAPPED): Likewise.
22353         (CLD_STOPPED): Likewise.
22354         (CLD_CONTINUED): Likewise.
22355         (POLL_IN): Likewise.
22356         (POLL_OUT): Likewise.
22357         (POLL_MSG): Likewise.
22358         (POLL_ERR): Likewise.
22359         (POLL_PRI): Likewise.
22360         (POLL_HUP): Likewise.
22361         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22362         (ILL_ILLOPN): Likewise.
22363         (ILL_ILLADR): Likewise.
22364         (ILL_ILLTRP): Likewise.
22365         (ILL_PRVOPC): Likewise.
22366         (ILL_PRVREG): Likewise.
22367         (ILL_COPROC): Likewise.
22368         (ILL_BADSTK): Likewise.
22369         (FPE_INTDIV): Likewise.
22370         (FPE_INTOVF): Likewise.
22371         (FPE_FLTDIV): Likewise.
22372         (FPE_FLTOVF): Likewise.
22373         (FPE_FLTUND): Likewise.
22374         (FPE_FLTRES): Likewise.
22375         (FPE_FLTINV): Likewise.
22376         (FPE_FLTSUB): Likewise.
22377         (SEGV_MAPERR): Likewise.
22378         (SEGV_ACCERR): Likewise.
22379         (BUS_ADRALN): Likewise.
22380         (BUS_ADRERR): Likewise.
22381         (BUS_OBJERR): Likewise.
22382         (BUS_MCEERR_AR): Likewise.
22383         (BUS_MCEERR_AO): Likewise.
22384         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22385         (TRAP_TRACE): Likewise.
22386         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22387         __USE_XOPEN2K8].
22388         (CLD_KILLED): Likewise.
22389         (CLD_DUMPED): Likewise.
22390         (CLD_TRAPPED): Likewise.
22391         (CLD_STOPPED): Likewise.
22392         (CLD_CONTINUED): Likewise.
22393         (POLL_IN): Likewise.
22394         (POLL_OUT): Likewise.
22395         (POLL_MSG): Likewise.
22396         (POLL_ERR): Likewise.
22397         (POLL_PRI): Likewise.
22398         (POLL_HUP): Likewise.
22399         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22400         Likewise.
22401         (ILL_ILLOPN): Likewise.
22402         (ILL_ILLADR): Likewise.
22403         (ILL_ILLTRP): Likewise.
22404         (ILL_PRVOPC): Likewise.
22405         (ILL_PRVREG): Likewise.
22406         (ILL_COPROC): Likewise.
22407         (ILL_BADSTK): Likewise.
22408         (ILL_BADIADDR): Likewise.
22409         (ILL_BREAK): Likewise.
22410         (FPE_INTDIV): Likewise.
22411         (FPE_INTOVF): Likewise.
22412         (FPE_FLTDIV): Likewise.
22413         (FPE_FLTOVF): Likewise.
22414         (FPE_FLTUND): Likewise.
22415         (FPE_FLTRES): Likewise.
22416         (FPE_FLTINV): Likewise.
22417         (FPE_FLTSUB): Likewise.
22418         (FPE_DECOVF): Likewise.
22419         (FPE_DECDIV): Likewise.
22420         (FPE_DECERR): Likewise.
22421         (FPE_INVASC): Likewise.
22422         (FPE_INVDEC): Likewise.
22423         (SEGV_MAPERR): Likewise.
22424         (SEGV_ACCERR): Likewise.
22425         (SEGV_PSTKOVF): Likewise.
22426         (BUS_ADRALN): Likewise.
22427         (BUS_ADRERR): Likewise.
22428         (BUS_OBJERR): Likewise.
22429         (BUS_MCEERR_AR): Likewise.
22430         (BUS_MCEERR_AO): Likewise.
22431         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22432         (TRAP_TRACE): Likewise.
22433         (TRAP_BRANCH): Likewise.
22434         (TRAP_HWBKPT): Likewise.
22435         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22436         __USE_XOPEN2K8].
22437         (CLD_KILLED): Likewise.
22438         (CLD_DUMPED): Likewise.
22439         (CLD_TRAPPED): Likewise.
22440         (CLD_STOPPED): Likewise.
22441         (CLD_CONTINUED): Likewise.
22442         (POLL_IN): Likewise.
22443         (POLL_OUT): Likewise.
22444         (POLL_MSG): Likewise.
22445         (POLL_ERR): Likewise.
22446         (POLL_PRI): Likewise.
22447         (POLL_HUP): Likewise.
22448         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22449         (ILL_ILLOPN): Likewise.
22450         (ILL_ILLADR): Likewise.
22451         (ILL_ILLTRP): Likewise.
22452         (ILL_PRVOPC): Likewise.
22453         (ILL_PRVREG): Likewise.
22454         (ILL_COPROC): Likewise.
22455         (ILL_BADSTK): Likewise.
22456         (FPE_INTDIV): Likewise.
22457         (FPE_INTOVF): Likewise.
22458         (FPE_FLTDIV): Likewise.
22459         (FPE_FLTOVF): Likewise.
22460         (FPE_FLTUND): Likewise.
22461         (FPE_FLTRES): Likewise.
22462         (FPE_FLTINV): Likewise.
22463         (FPE_FLTSUB): Likewise.
22464         (SEGV_MAPERR): Likewise.
22465         (SEGV_ACCERR): Likewise.
22466         (BUS_ADRALN): Likewise.
22467         (BUS_ADRERR): Likewise.
22468         (BUS_OBJERR): Likewise.
22469         (BUS_MCEERR_AR): Likewise.
22470         (BUS_MCEERR_AO): Likewise.
22471         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22472         (TRAP_TRACE): Likewise.
22473         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22474         __USE_XOPEN2K8].
22475         (CLD_KILLED): Likewise.
22476         (CLD_DUMPED): Likewise.
22477         (CLD_TRAPPED): Likewise.
22478         (CLD_STOPPED): Likewise.
22479         (CLD_CONTINUED): Likewise.
22480         (POLL_IN): Likewise.
22481         (POLL_OUT): Likewise.
22482         (POLL_MSG): Likewise.
22483         (POLL_ERR): Likewise.
22484         (POLL_PRI): Likewise.
22485         (POLL_HUP): Likewise.
22486         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
22487         (ILL_ILLOPN): Likewise.
22488         (ILL_ILLADR): Likewise.
22489         (ILL_ILLTRP): Likewise.
22490         (ILL_PRVOPC): Likewise.
22491         (ILL_PRVREG): Likewise.
22492         (ILL_COPROC): Likewise.
22493         (ILL_BADSTK): Likewise.
22494         (FPE_INTDIV): Likewise.
22495         (FPE_INTOVF): Likewise.
22496         (FPE_FLTDIV): Likewise.
22497         (FPE_FLTOVF): Likewise.
22498         (FPE_FLTUND): Likewise.
22499         (FPE_FLTRES): Likewise.
22500         (FPE_FLTINV): Likewise.
22501         (FPE_FLTSUB): Likewise.
22502         (SEGV_MAPERR): Likewise.
22503         (SEGV_ACCERR): Likewise.
22504         (BUS_ADRALN): Likewise.
22505         (BUS_ADRERR): Likewise.
22506         (BUS_OBJERR): Likewise.
22507         (BUS_MCEERR_AR): Likewise.
22508         (BUS_MCEERR_AO): Likewise.
22509         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22510         (TRAP_TRACE): Likewise.
22511         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22512         __USE_XOPEN2K8].
22513         (CLD_KILLED): Likewise.
22514         (CLD_DUMPED): Likewise.
22515         (CLD_TRAPPED): Likewise.
22516         (CLD_STOPPED): Likewise.
22517         (CLD_CONTINUED): Likewise.
22518         (POLL_IN): Likewise.
22519         (POLL_OUT): Likewise.
22520         (POLL_MSG): Likewise.
22521         (POLL_ERR): Likewise.
22522         (POLL_PRI): Likewise.
22523         (POLL_HUP): Likewise.
22524         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22525         (ILL_ILLOPN): Likewise.
22526         (ILL_ILLADR): Likewise.
22527         (ILL_ILLTRP): Likewise.
22528         (ILL_PRVOPC): Likewise.
22529         (ILL_PRVREG): Likewise.
22530         (ILL_COPROC): Likewise.
22531         (ILL_BADSTK): Likewise.
22532         (FPE_INTDIV): Likewise.
22533         (FPE_INTOVF): Likewise.
22534         (FPE_FLTDIV): Likewise.
22535         (FPE_FLTOVF): Likewise.
22536         (FPE_FLTUND): Likewise.
22537         (FPE_FLTRES): Likewise.
22538         (FPE_FLTINV): Likewise.
22539         (FPE_FLTSUB): Likewise.
22540         (SEGV_MAPERR): Likewise.
22541         (SEGV_ACCERR): Likewise.
22542         (BUS_ADRALN): Likewise.
22543         (BUS_ADRERR): Likewise.
22544         (BUS_OBJERR): Likewise.
22545         (BUS_MCEERR_AR): Likewise.
22546         (BUS_MCEERR_AO): Likewise.
22547         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22548         (TRAP_TRACE): Likewise.
22549         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22550         __USE_XOPEN2K8].
22551         (CLD_KILLED): Likewise.
22552         (CLD_DUMPED): Likewise.
22553         (CLD_TRAPPED): Likewise.
22554         (CLD_STOPPED): Likewise.
22555         (CLD_CONTINUED): Likewise.
22556         (POLL_IN): Likewise.
22557         (POLL_OUT): Likewise.
22558         (POLL_MSG): Likewise.
22559         (POLL_ERR): Likewise.
22560         (POLL_PRI): Likewise.
22561         (POLL_HUP): Likewise.
22562         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22563         (ILL_ILLOPN): Likewise.
22564         (ILL_ILLADR): Likewise.
22565         (ILL_ILLTRP): Likewise.
22566         (ILL_PRVOPC): Likewise.
22567         (ILL_PRVREG): Likewise.
22568         (ILL_COPROC): Likewise.
22569         (ILL_BADSTK): Likewise.
22570         (ILL_DBLFLT): Likewise.
22571         (ILL_HARDWALL): Likewise.
22572         (FPE_INTDIV): Likewise.
22573         (FPE_INTOVF): Likewise.
22574         (FPE_FLTDIV): Likewise.
22575         (FPE_FLTOVF): Likewise.
22576         (FPE_FLTUND): Likewise.
22577         (FPE_FLTRES): Likewise.
22578         (FPE_FLTINV): Likewise.
22579         (FPE_FLTSUB): Likewise.
22580         (SEGV_MAPERR): Likewise.
22581         (SEGV_ACCERR): Likewise.
22582         (BUS_ADRALN): Likewise.
22583         (BUS_ADRERR): Likewise.
22584         (BUS_OBJERR): Likewise.
22585         (BUS_MCEERR_AR): Likewise.
22586         (BUS_MCEERR_AO): Likewise.
22587         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22588         (TRAP_TRACE): Likewise.
22589         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22590         __USE_XOPEN2K8].
22591         (CLD_KILLED): Likewise.
22592         (CLD_DUMPED): Likewise.
22593         (CLD_TRAPPED): Likewise.
22594         (CLD_STOPPED): Likewise.
22595         (CLD_CONTINUED): Likewise.
22596         (POLL_IN): Likewise.
22597         (POLL_OUT): Likewise.
22598         (POLL_MSG): Likewise.
22599         (POLL_ERR): Likewise.
22600         (POLL_PRI): Likewise.
22601         (POLL_HUP): Likewise.
22602         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
22603         (ILL_ILLOPN): Likewise.
22604         (ILL_ILLADR): Likewise.
22605         (ILL_ILLTRP): Likewise.
22606         (ILL_PRVOPC): Likewise.
22607         (ILL_PRVREG): Likewise.
22608         (ILL_COPROC): Likewise.
22609         (ILL_BADSTK): Likewise.
22610         (FPE_INTDIV): Likewise.
22611         (FPE_INTOVF): Likewise.
22612         (FPE_FLTDIV): Likewise.
22613         (FPE_FLTOVF): Likewise.
22614         (FPE_FLTUND): Likewise.
22615         (FPE_FLTRES): Likewise.
22616         (FPE_FLTINV): Likewise.
22617         (FPE_FLTSUB): Likewise.
22618         (SEGV_MAPERR): Likewise.
22619         (SEGV_ACCERR): Likewise.
22620         (BUS_ADRALN): Likewise.
22621         (BUS_ADRERR): Likewise.
22622         (BUS_OBJERR): Likewise.
22623         (BUS_MCEERR_AR): Likewise.
22624         (BUS_MCEERR_AO): Likewise.
22625         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22626         (TRAP_TRACE): Likewise.
22627         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22628         __USE_XOPEN2K8].
22629         (CLD_KILLED): Likewise.
22630         (CLD_DUMPED): Likewise.
22631         (CLD_TRAPPED): Likewise.
22632         (CLD_STOPPED): Likewise.
22633         (CLD_CONTINUED): Likewise.
22634         (POLL_IN): Likewise.
22635         (POLL_OUT): Likewise.
22636         (POLL_MSG): Likewise.
22637         (POLL_ERR): Likewise.
22638         (POLL_PRI): Likewise.
22639         (POLL_HUP): Likewise.
22640         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
22641         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22643         [BZ #16670]
22644         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
22645         before #include of <time.h>.
22646         [!__USE_XOPEN2K] (__need_timespec): Likewise.
22647         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
22648         (test-xfail-UNIX98/sched.h/conform): Likewise.
22650 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22652         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
22653         error absence of trapping exception support.
22654         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22656 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22658         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
22659         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
22660         * timezone/Makefile (testdata): Move definition above include of
22661         Rules.
22662         (test-zones): New variable.
22663         (tests-special): Add zone files.
22664         (build-testdata): Use $(evaluate-test).
22666         * elf/Makefile (tests-special): Rename tests to end with .out.
22667         ($(objpfx)noload-mem): Likewise.
22668         ($(objpfx)tst-leaks1-mem): Likewise.
22669         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22670         * iconv/Makefile (xtests-special): Change test-iconvconfig to
22671         $(objpfx)test-iconvconfig.out.
22672         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
22673         set -e inside subshell and redirect output to file.
22674         * iconvdata/Makefile (generated): Rename tests to end with .out.
22675         Correct type.
22676         (tests-special): Rename tests to end with .out.
22677         ($(objpfx)mtrace-tst-loading): Likewise.
22678         * intl/Makefile (generated): Likewise.
22679         (tests-special): Likewise.
22680         ($(objpfx)mtrace-tst-gettext): Likewise.
22681         * misc/Makefile (generated): Likewise.
22682         (tests-special): Likewise.
22683         ($(objpfx)tst-error1-mem): Likewise.
22684         * nptl/Makefile (tests-special): Likewise.
22685         ($(objpfx)tst-stack3-mem): Likewise.
22686         (generated): Likewise.
22687         * posix/Makefile (generated): Likewise.
22688         (tests-special): Likewise.
22689         (xtests-special): Likewise.
22690         ($(objpfx)tst-fnmatch-mem): Likewise.
22691         ($(objpfx)bug-regex2-mem): Likewise.
22692         ($(objpfx)bug-regex14-mem): Likewise.
22693         ($(objpfx)bug-regex21-mem): Likewise.
22694         ($(objpfx)bug-regex31-mem): Likewise.
22695         ($(objpfx)tst-vfork3-mem): Likewise.
22696         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22697         ($(objpfx)tst-pcre-mem): Likewise.
22698         ($(objpfx)tst-boost-mem): Likewise.
22699         ($(objpfx)bug-ga2-mem): Likewise.
22700         ($(objpfx)bug-glob2-mem): Likewise.
22701         * resolv/Makefile (generate): Likewise.
22702         (tests-special): Likewise.
22703         (xtests-special): Likewise.
22704         (generated): Likewise.
22705         ($(objpfx)mtrace-tst-leaks): Likewise.
22706         ($(objpfx)mtrace-tst-leaks2): Likewise.
22708         * scripts/merge-test-results.sh: New file.
22709         * Makefile (tests-special-notdir): New variable.
22710         (tests): Run merge-test-results.sh.
22711         (xtests): Likewise.
22712         * Rules (tests-special-notdir): New variable.
22713         (xtests-special-notdir): Likewise.
22714         (tests): Run merge-test-results.sh
22715         (xtests): Likewise.
22717         * Makeconfig (test-xfail-name): New variable.
22718         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22719         compute variable name for expected failures.
22720         * conform/Makefile (conformtest-headers-data): New variable.
22721         (conformtest-standards): Likewise.
22722         (conformtest-headers-ISO): Likewise.
22723         (conformtest-headers-ISO99): Likewise.
22724         (conformtest-headers-ISO11): Likewise.
22725         (conformtest-headers-POSIX): Likewise.
22726         (conformtest-headers-XPG3): Likewise.
22727         (conformtest-headers-XPG4): Likewise.
22728         (conformtest-headers-UNIX98): Likewise.
22729         (conformtest-headers-XOPEN2K): Likewise.
22730         (conformtest-headers-POSIX2008): Likewise.
22731         (conformtest-headers-XOPEN2K8): Likewise.
22732         (conformtest-header-list-base): Likewise.
22733         (conformtest-header-list-tests): Likewise.
22734         (conformtest-header-base): Likewise.
22735         (conformtest-header-tests): Likewise.
22736         (tests-special): Add $(conformtest-header-list-tests).  If
22737         [$(fast-check) && !$(cross-compiling)], add
22738         $(conformtest-header-tests) instead of
22739         $(objpfx)run-conformtest.out.
22740         (generated): Add $(conformtest-header-list-base).  If
22741         [$(fast-check) && !$(cross-compiling)], add
22742         $(conformtest-header-base).  Remove previous setting.
22743         ($(conformtest-header-list-tests)): New target.
22744         (test-xfail-run-conformtest): Remove variable.
22745         ($(objpfx)run-conformtest.out): Remove target.
22746         (test-xfail-ISO11/complex.h/conform): New variable.
22747         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22748         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22749         (test-xfail-XPG3/varargs.h/conform): Likewise.
22750         (test-xfail-XPG4/varargs.h/conform): Likewise.
22751         (test-xfail-UNIX98/varargs.h/conform): Likewise.
22752         (test-xfail-XPG4/ndbm.h/conform): Likewise.
22753         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22754         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22755         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22756         (test-xfail-XPG3/fcntl.h/conform): Likewise.
22757         (test-xfail-XPG3/ftw.h/conform): Likewise.
22758         (test-xfail-XPG3/grp.h/conform): Likewise.
22759         (test-xfail-XPG3/langinfo.h/conform): Likewise.
22760         (test-xfail-XPG3/limits.h/conform): Likewise.
22761         (test-xfail-XPG3/pwd.h/conform): Likewise.
22762         (test-xfail-XPG3/search.h/conform): Likewise.
22763         (test-xfail-XPG3/signal.h/conform): Likewise.
22764         (test-xfail-XPG3/stdio.h/conform): Likewise.
22765         (test-xfail-XPG3/stdlib.h/conform): Likewise.
22766         (test-xfail-XPG3/string.h/conform): Likewise.
22767         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22768         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22769         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22770         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22771         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22772         (test-xfail-XPG3/sys/types.h/conform): Likewise.
22773         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22774         (test-xfail-XPG3/termios.h/conform): Likewise.
22775         (test-xfail-XPG3/time.h/conform): Likewise.
22776         (test-xfail-XPG3/unistd.h/conform): Likewise.
22777         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22778         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22779         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22780         (test-xfail-XPG4/netdb.h/conform): Likewise.
22781         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22782         (test-xfail-XPG4/signal.h/conform): Likewise.
22783         (test-xfail-XPG4/stdio.h/conform): Likewise.
22784         (test-xfail-XPG4/stdlib.h/conform): Likewise.
22785         (test-xfail-XPG4/stropts.h/conform): Likewise.
22786         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22787         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22788         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22789         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22790         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22791         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22792         (test-xfail-XPG4/sys/time.h/conform): Likewise.
22793         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22794         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22795         (test-xfail-XPG4/termios.h/conform): Likewise.
22796         (test-xfail-XPG4/ucontext.h/conform): Likewise.
22797         (test-xfail-XPG4/unistd.h/conform): Likewise.
22798         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22799         (test-xfail-POSIX/sched.h/conform): Likewise.
22800         (test-xfail-POSIX/signal.h/conform): Likewise.
22801         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22802         (test-xfail-POSIX/tar.h/conform): Likewise.
22803         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22804         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22805         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22806         (test-xfail-UNIX98/netdb.h/conform): Likewise.
22807         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22808         (test-xfail-UNIX98/sched.h/conform): Likewise.
22809         (test-xfail-UNIX98/signal.h/conform): Likewise.
22810         (test-xfail-UNIX98/stdio.h/conform): Likewise.
22811         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22812         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22813         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22814         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22815         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22816         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22817         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22818         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22819         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22820         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22821         (test-xfail-UNIX98/unistd.h/conform): Likewise.
22822         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22823         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22824         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22825         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22826         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22827         (test-xfail-XOPEN2K/math.h/conform): Likewise.
22828         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22829         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22830         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22831         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22832         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22833         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22834         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22835         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22836         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22837         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22838         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22839         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22840         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22841         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22842         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22843         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22844         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22845         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22846         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22847         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22848         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22849         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22850         (test-xfail-POSIX2008/signal.h/conform): Likewise.
22851         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22852         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22853         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22854         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22855         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22856         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22857         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22858         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22859         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22860         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22861         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22862         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22863         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22864         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22865         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22866         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22867         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22868         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22869         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22870         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22871         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22872         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22873         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22874         (conformtest-cc-flags): Likewise.
22875         ($(conformtest-header-tests): New target.
22876         * conform/check-header-lists.sh: New file.
22877         * conform/run-conformtest.sh: Remove.
22879         * conform/conformtest.pl: Allow ' and \ in values given for
22880         constants.
22881         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22882         inclusion.
22883         [POSIX] (sys/types.h): Likewise.
22884         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22885         inclusion.
22886         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22887         inclusion.
22888         * conform/data/signal.h-data (SIGIO): Remove expectation.
22889         [XPG3] (SIGBUS): Do not expect.
22890         [POSIX || XPG3] (SIGPOLL): Likewise.
22891         [POSIX || XPG3] (SIGPROF): Likewise.
22892         [POSIX || XPG3] (SIGSYS): Likewise.
22893         [XPG3] (SIGTRAP): Likewise.
22894         [POSIX || XPG3] (SIGURG): Likewise.
22895         [POSIX || XPG3] (SIGVTALRM): Likewise.
22896         [POSIX || XPG3] (SIGXCPU): Likewise.
22897         [POSIX || XPG3] (SIGXFSZ): Likewise.
22898         [POSIX] (SA_SIGINFO): Expect.
22899         [XPG3] (siginfo_t): Do not expect type or contents.
22900         [POSIX] (si_pid): Do not expect element.
22901         [POSIX] (si_uid): Likewise.
22902         [POSIX] (si_addr): Likewise.
22903         [POSIX] (si_status): Likewise.
22904         [POSIX] (si_band): Likewise.
22905         [XPG4] (si_value): Likewise.
22906         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22907         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22908         [POSIX || XPG3] (ILL_ILLADR): Likewise.
22909         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22910         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22911         [POSIX || XPG3] (ILL_PRVREG): Likewise.
22912         [POSIX || XPG3] (ILL_COPROC): Likewise.
22913         [POSIX || XPG3] (ILL_BADSTK): Likewise.
22914         [POSIX || XPG3] (FPE_INTDIV): Likewise.
22915         [POSIX || XPG3] (FPE_INTOVF): Likewise.
22916         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22917         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22918         [POSIX || XPG3] (FPE_FLTUND): Likewise.
22919         [POSIX || XPG3] (FPE_FLTRES): Likewise.
22920         [POSIX || XPG3] (FPE_FLTINV): Likewise.
22921         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22922         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22923         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22924         [POSIX || XPG3] (BUS_ADRALN): Likewise.
22925         [POSIX || XPG3] (BUS_ADRERR): Likewise.
22926         [POSIX || XPG3] (BUS_OBJERR): Likewise.
22927         [POSIX || XPG3] (CLD_EXITED): Likewise.
22928         [POSIX || XPG3] (CLD_KILLED): Likewise.
22929         [POSIX || XPG3] (CLD_DUMPED): Likewise.
22930         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22931         [POSIX || XPG3] (CLD_STOPPED): Likewise.
22932         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22933         [POSIX || XPG3] (POLL_IN): Likewise.
22934         [POSIX || XPG3] (POLL_OUT): Likewise.
22935         [POSIX || XPG3] (POLL_MSG): Likewise.
22936         [POSIX || XPG3] (POLL_ERR): Likewise.
22937         [POSIX || XPG3] (POLL_PRI): Likewise.
22938         [POSIX || XPG3] (POLL_HUP): Likewise.
22939         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22940         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22941         (SIG*): Do not allow.
22942         [XPG3] (si_*): Likewise.
22943         [XPG3] (SI_*): Likewise.
22944         [XPG3 || XPG4] (sigev_*): Likewise.
22945         [XPG3 || XPG4] (SIGEV_*): Likewise.
22946         [XPG3 || XPG4] (sival_*): Likewise.
22947         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22948         [POSIX || XPG3] (BUS_*): Likewise.
22949         [POSIX || XPG3] (CLD_*): Likewise.
22950         [POSIX || XPG3] (FPE_*): Likewise.
22951         [POSIX || XPG3] (ILL_*): Likewise.
22952         [POSIX || XPG3] (POLL_*): Likewise.
22953         [POSIX || XPG3] (SEGV_*): Likewise.
22954         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22955         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22956         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22957         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22958         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22959         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22960         Specify type and value.
22961         (TVERSLEN): Likewise.
22962         (REGTYPE): Likewise.
22963         (AREGTYPE): Likewise.
22964         (LNKTYPE): Likewise.
22965         (SYMTYPE): Likewise.
22966         (CHRTYPE): Likewise.
22967         (BLKTYPE): Likewise.
22968         (DIRTYPE): Likewise.
22969         (FIFOTYPE): Likewise.
22970         (CONTTYPE): Likewise.
22971         (TSUID): Likewise.
22972         (TSGID): Likewise.
22973         (TSVTX): Likewise.
22974         (TUREAD): Likewise.
22975         (TUWRITE): Likewise.
22976         (TUEXEC): Likewise.
22977         (TGREAD): Likewise.
22978         (TGWRITE): Likewise.
22979         (TGEXEC): Likewise.
22980         (TOREAD): Likewise.
22981         (TOWRITE): Likewise.
22982         (TOEXEC): Likewise.
22983         [POSIX] (TSVTX): Expect constant.
22985 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
22987         * Makefile (tests): Change dependencies to ....
22988         (tests-special): ... additions to this variable.
22989         (tests): Depend on $(tests-special).
22990         * Makerules (check-abi-list): New variable.
22991         (check-abi): Depend on $(check-abi-list).
22992         [$(subdir) = elf] (tests-special): Add
22993         $(objpfx)check-abi-libc.out.
22994         [$(build-shared) = yes && subdir] (tests-special): Add
22995         $(check-abi-list).
22996         [$(build-shared) = yes && subdir] (tests): Do not depend on
22997         check-abi.
22998         * Rules (tests): Depend on $(tests-special).
22999         (xtests): Depend on $(xtests-special).
23000         * catgets/Makefile (tests): Change dependencies to ....
23001         (tests-special): ... additions to this variable.
23002         * conform/Makefile (tests): Change dependencies to ....
23003         (tests-special): ... additions to this variable.
23004         * elf/Makefile (tests): Change dependencies to ....
23005         (tests-special): ... additions to this variable.
23006         * grp/Makefile (tests): Change dependencies to ....
23007         (tests-special): ... additions to this variable.
23008         * iconv/Makefile (xtests): Change dependencies to ....
23009         (xtests-special): ... additions to this variable.
23010         * iconvdata/Makefile (tests): Change dependencies to ....
23011         (tests-special): ... additions to this variable.
23012         * intl/Makefile (tests): Change dependencies to ....
23013         (tests-special): ... additions to this variable.  Also add
23014         $(objpfx)tst-gettext.out.
23015         * io/Makefile (tests): Change dependencies to ....
23016         (tests-special): ... additions to this variable.
23017         * libio/Makefile (tests): Change dependencies to ....
23018         (tests-special): ... additions to this variable.
23019         * malloc/Makefile (tests): Change dependencies to ....
23020         (tests-special): ... additions to this variable.
23021         * misc/Makefile (tests): Change dependencies to ....
23022         (tests-special): ... additions to this variable.
23023         * nptl/Makefile (tests): Change dependencies to ....
23024         (tests-special): ... additions to this variable.
23025         * nptl_db/Makefile (tests): Change dependencies to ....
23026         (tests-special): ... additions to this variable.
23027         * posix/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         * resolv/Makefile (tests): Change dependencies to ....
23032         (tests-special): ... additions to this variable.
23033         (xtests): Change dependencies to ....
23034         (xtests-special): ... additions to this variable.
23035         * stdio-common/Makefile (tests): Change dependencies to ....
23036         (tests-special): ... additions to this variable.
23037         (do-tst-unbputc): Remove target.
23038         (do-tst-printf): Likewise.
23039         * stdlib/Makefile (tests): Change dependencies to ....
23040         (tests-special): ... additions to this variable.
23041         * string/Makefile (tests): Change dependencies to ....
23042         (tests-special): ... additions to this variable.
23043         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23044         (tests-special): ... additions to this variable.
23046         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23047         whole file.
23048         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23049         whole file.
23050         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23051         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23053         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23054         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23055         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23056         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23057         * conform/data/libgen.h-data [XPG3]: Likewise.
23058         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23059         * conform/data/ndbm.h-data [XPG3]: Likewise.
23060         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23061         * conform/data/netdb.h-data [XPG3]: Likewise.
23062         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23063         * conform/data/poll.h-data [XPG3]: Likewise.
23064         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23065         * conform/data/strings.h-data [XPG3]: Likewise.
23066         * conform/data/stropts.h-data [XPG3]: Likewise.
23067         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23068         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23069         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23070         Likewise.
23071         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23072         * conform/data/sys/time.h-data [XPG3]: Likewise.
23073         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23074         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23075         * conform/data/sys/un.h-data [XPG3]: Likewise.
23076         * conform/data/syslog.h-data [XPG3]: Likewise.
23077         * conform/data/ucontext.h-data [XPG3]: Likewise.
23078         * conform/data/utmpx.h-data [XPG3]: Likewise.
23079         * conform/data/varargs.h-data [UNIX98]: Enable file.
23081         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23083         * math/libm-test.inc (struct test_f_f_data): Move expected results
23084         into structure for each rounding mode.
23085         (struct test_ff_f_data): Likewise.
23086         (struct test_ff_f_data_nexttoward): Likewise.
23087         (struct test_fi_f_data): Likewise.
23088         (struct test_fl_f_data): Likewise.
23089         (struct test_if_f_data): Likewise.
23090         (struct test_fff_f_data): Likewise.
23091         (struct test_c_f_data): Likewise.
23092         (struct test_f_f1_data): Likewise.
23093         (struct test_fF_f1_data): Likewise.
23094         (struct test_ffI_f1_data): Likewise.
23095         (struct test_c_c_data): Likewise.
23096         (struct test_cc_c_data): Likewise.
23097         (struct test_f_i_data): Likewise.
23098         (struct test_ff_i_data): Likewise.
23099         (struct test_f_l_data): Likewise.
23100         (struct test_f_L_data): Likewise.
23101         (struct test_fFF_11_data): Likewise.
23102         (RM_): New macro.
23103         (RM_FE_DOWNWARD): Likewise.
23104         (RM_FE_TONEAREST): Likewise.
23105         (RM_FE_TOWARDZERO): Likewise.
23106         (RM_FE_UPWARD): Likewise.
23107         (RUN_TEST_LOOP_f_f): Update references to expected results.
23108         (RUN_TEST_LOOP_2_f): Likewise.
23109         (RUN_TEST_LOOP_fff_f): Likewise.
23110         (RUN_TEST_LOOP_c_f): Likewise.
23111         (RUN_TEST_LOOP_f_f1): Likewise.
23112         (RUN_TEST_LOOP_fF_f1): Likewise.
23113         (RUN_TEST_LOOP_fI_f1): Likewise.
23114         (RUN_TEST_LOOP_ffI_f1): Likewise.
23115         (RUN_TEST_LOOP_c_c): Likewise.
23116         (RUN_TEST_LOOP_cc_c): Likewise.
23117         (RUN_TEST_LOOP_f_i): Likewise.
23118         (RUN_TEST_LOOP_f_i_tg): Likewise.
23119         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23120         (RUN_TEST_LOOP_f_b): Likewise.
23121         (RUN_TEST_LOOP_f_b_tg): Likewise.
23122         (RUN_TEST_LOOP_f_l): Likewise.
23123         (RUN_TEST_LOOP_f_L): Likewise.
23124         (RUN_TEST_LOOP_fFF_11): Likewise.
23125         * math/gen-libm-test.pl (parse_args): Output four copies of
23126         expected results for each test.
23128         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23129         (__ASSUME_UTIMES): Remove.
23130         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23131         (__ASSUME_UTIMES): Likewise.
23133         * math/gen-auto-libm-tests.c: Update comment on output format.
23134         (output_for_one_input_case): Generate before-rounding and
23135         after-rounding information as conditions on output flags not
23136         floating-point format.
23137         * math/auto-libm-test-out: Regenerated.
23138         * math/gen-libm-test.pl (cond_value): New function.
23139         (or_cond_value): Use cond_value.
23140         (generate_testfile): Handle conditional exceptions.
23142 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23144         * math/libm-test.inc (max_valid_error): New variable.
23145         (init_max_error): Take new argument specifying whether function
23146         results are exactly determined.  Set max_valid_error and bound
23147         other variables for errors based on this argument.
23148         (set_max_error): Do not record results above max_valid_error.
23149         (check_float_internal): Only accept errors of up to 0.5ulps if
23150         also at most max_valid_error.
23151         (START): Take new argument EXACT and pass it to init_max_error.
23152         (acos_test): Update call to START.
23153         (acos_test_tonearest): Likewise.
23154         (acos_test_towardzero): Likewise.
23155         (acos_test_downward): Likewise.
23156         (acos_test_upward): Likewise.
23157         (acosh_test): Likewise.
23158         (asin_test): Likewise.
23159         (asin_test_tonearest): Likewise.
23160         (asin_test_towardzero): Likewise.
23161         (asin_test_downward): Likewise.
23162         (asin_test_upward): Likewise.
23163         (asinh_test): Likewise.
23164         (atan_test): Likewise.
23165         (atanh_test): Likewise.
23166         (atan2_test): Likewise.
23167         (cabs_test): Likewise.
23168         (cacos_test): Likewise.
23169         (cacosh_test): Likewise.
23170         (carg_test): Likewise.
23171         (casin_test): Likewise.
23172         (casinh_test): Likewise.
23173         (catan_test): Likewise.
23174         (catanh_test): Likewise.
23175         (cbrt_test): Likewise.
23176         (ccos_test): Likewise.
23177         (ccosh_test): Likewise.
23178         (ceil_test): Likewise.
23179         (cexp_test): Likewise.
23180         (cimag_test): Likewise.
23181         (clog_test): Likewise.
23182         (clog10_test): Likewise.
23183         (conj_test): Likewise.
23184         (copysign_test): Likewise.
23185         (cos_test): Likewise.
23186         (cos_test_tonearest): Likewise.
23187         (cos_test_towardzero): Likewise.
23188         (cos_test_downward): Likewise.
23189         (cos_test_upward): Likewise.
23190         (cosh_test): Likewise.
23191         (cosh_test_tonearest): Likewise.
23192         (cosh_test_towardzero): Likewise.
23193         (cosh_test_downward): Likewise.
23194         (cosh_test_upward): Likewise.
23195         (cpow_test): Likewise.
23196         (cproj_test): Likewise.
23197         (creal_test): Likewise.
23198         (csin_test): Likewise.
23199         (csinh_test): Likewise.
23200         (csqrt_test): Likewise.
23201         (ctan_test): Likewise.
23202         (ctan_test_tonearest): Likewise.
23203         (ctan_test_towardzero): Likewise.
23204         (ctan_test_downward): Likewise.
23205         (ctan_test_upward): Likewise.
23206         (ctanh_test): Likewise.
23207         (ctanh_test_tonearest): Likewise.
23208         (ctanh_test_towardzero): Likewise.
23209         (ctanh_test_downward): Likewise.
23210         (ctanh_test_upward): Likewise.
23211         (erf_test): Likewise.
23212         (erfc_test): Likewise.
23213         (exp_test): Likewise.
23214         (exp_test_tonearest): Likewise.
23215         (exp_test_towardzero): Likewise.
23216         (exp_test_downward): Likewise.
23217         (exp_test_upward): Likewise.
23218         (exp10_test): Likewise.
23219         (exp10_test_tonearest): Likewise.
23220         (exp10_test_towardzero): Likewise.
23221         (exp10_test_downward): Likewise.
23222         (exp10_test_upward): Likewise.
23223         (pow10_test): Likewise.
23224         (exp2_test): Likewise.
23225         (expm1_test): Likewise.
23226         (expm1_test_tonearest): Likewise.
23227         (expm1_test_towardzero): Likewise.
23228         (expm1_test_downward): Likewise.
23229         (expm1_test_upward): Likewise.
23230         (fabs_test): Likewise.
23231         (fdim_test): Likewise.
23232         (floor_test): Likewise.
23233         (fma_test): Likewise.
23234         (fma_test_towardzero): Likewise.
23235         (fma_test_downward): Likewise.
23236         (fma_test_upward): Likewise.
23237         (fmax_test): Likewise.
23238         (fmin_test): Likewise.
23239         (fmod_test): Likewise.
23240         (fpclassify_test): Likewise.
23241         (frexp_test): Likewise.
23242         (hypot_test): Likewise.
23243         (ilogb_test): Likewise.
23244         (isfinite_test): Likewise.
23245         (finite_test): Likewise.
23246         (isgreater_test): Likewise.
23247         (isgreaterequal_test): Likewise.
23248         (isinf_test): Likewise.
23249         (isless_test): Likewise.
23250         (islessequal_test): Likewise.
23251         (islessgreater_test): Likewise.
23252         (isnan_test): Likewise.
23253         (isnormal_test): Likewise.
23254         (issignaling_test): Likewise.
23255         (isunordered_test): Likewise.
23256         (j0_test): Likewise.
23257         (j1_test): Likewise.
23258         (jn_test): Likewise.
23259         (ldexp_test): Likewise.
23260         (lgamma_test): Likewise.
23261         (gamma_test): Likewise.
23262         (lrint_test): Likewise.
23263         (lrint_test_tonearest): Likewise.
23264         (lrint_test_towardzero): Likewise.
23265         (lrint_test_downward): Likewise.
23266         (lrint_test_upward): Likewise.
23267         (llrint_test): Likewise.
23268         (llrint_test_tonearest): Likewise.
23269         (llrint_test_towardzero): Likewise.
23270         (llrint_test_downward): Likewise.
23271         (llrint_test_upward): Likewise.
23272         (log_test): Likewise.
23273         (log10_test): Likewise.
23274         (log1p_test): Likewise.
23275         (log2_test): Likewise.
23276         (logb_test): Likewise.
23277         (logb_test_downward): Likewise.
23278         (lround_test): Likewise.
23279         (llround_test): Likewise.
23280         (modf_test): Likewise.
23281         (nearbyint_test): Likewise.
23282         (nextafter_test): Likewise.
23283         (nexttoward_test): Likewise.
23284         (pow_test): Likewise.
23285         (pow_test_tonearest): Likewise.
23286         (pow_test_towardzero): Likewise.
23287         (pow_test_downward): Likewise.
23288         (pow_test_upward): Likewise.
23289         (remainder_test): Likewise.
23290         (drem_test): Likewise.
23291         (remainder_test_tonearest): Likewise.
23292         (drem_test_tonearest): Likewise.
23293         (remainder_test_towardzero): Likewise.
23294         (drem_test_towardzero): Likewise.
23295         (remainder_test_downward): Likewise.
23296         (drem_test_downward): Likewise.
23297         (remainder_test_upward): Likewise.
23298         (drem_test_upward): Likewise.
23299         (remquo_test): Likewise.
23300         (rint_test): Likewise.
23301         (rint_test_tonearest): Likewise.
23302         (rint_test_towardzero): Likewise.
23303         (rint_test_downward): Likewise.
23304         (rint_test_upward): Likewise.
23305         (round_test): Likewise.
23306         (scalb_test): Likewise.
23307         (scalbn_test): Likewise.
23308         (scalbln_test): Likewise.
23309         (signbit_test): Likewise.
23310         (sin_test): Likewise.
23311         (sin_test_tonearest): Likewise.
23312         (sin_test_towardzero): Likewise.
23313         (sin_test_downward): Likewise.
23314         (sin_test_upward): Likewise.
23315         (sincos_test): Likewise.
23316         (sinh_test): Likewise.
23317         (sinh_test_tonearest): Likewise.
23318         (sinh_test_towardzero): Likewise.
23319         (sinh_test_downward): Likewise.
23320         (sinh_test_upward): Likewise.
23321         (sqrt_test): Likewise.
23322         (sqrt_test_tonearest): Likewise.
23323         (sqrt_test_towardzero): Likewise.
23324         (sqrt_test_downward): Likewise.
23325         (sqrt_test_upward): Likewise.
23326         (tan_test): Likewise.
23327         (tan_test_tonearest): Likewise.
23328         (tan_test_towardzero): Likewise.
23329         (tan_test_downward): Likewise.
23330         (tan_test_upward): Likewise.
23331         (tanh_test): Likewise.
23332         (tgamma_test): Likewise.
23333         (trunc_test): Likewise.
23334         (y0_test): Likewise.
23335         (y1_test): Likewise.
23336         (yn_test): Likewise.
23337         (significand_test): Likewise.
23339         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23340         individual tests in comment.
23341         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23342         (prev_max_error): New variable.
23343         (prev_real_max_error): Likewise.
23344         (prev_imag_max_error): Likewise.
23345         (compare_ulp_data): Don't refer to test names in comment.
23346         (find_test_ulps): Remove function.
23347         (find_function_ulps): Likewise.
23348         (find_complex_function_ulps): Likewise.
23349         (init_max_error): Take function name as argument.  Look up ulps
23350         for that function.
23351         (print_ulps): Remove function.
23352         (print_max_error): Use prev_max_error instead of calling
23353         find_function_ulps.
23354         (print_complex_max_error): Use prev_real_max_error and
23355         prev_imag_max_error instead of calling find_complex_function_ulps.
23356         (check_float_internal): Take max_ulp parameter instead of calling
23357         find_test_ulps.  Don't call print_ulps.
23358         (check_float): Update call to check_float_internal.
23359         (check_complex): Update calls to check_float_internal.
23360         (START): Pass argument to init_max_error.
23361         * math/gen-libm-test.pl (%results): Don't include "kind"
23362         information.
23363         (parse_ulps): Don't handle ulps of individual tests.
23364         (print_ulps_file): Likewise.
23365         (output_ulps): Likewise.
23366         * math/README.libm-test: Update.
23367         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23368         individual tests.
23369         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23370         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23371         * sysdeps/arm/libm-test-ulps: Likewise.
23372         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23373         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23374         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23375         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23376         * sysdeps/microblaze/libm-test-ulps: Likewise.
23377         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23378         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23379         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23380         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23381         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23382         * sysdeps/sh/libm-test-ulps: Likewise.
23383         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23384         * sysdeps/tile/libm-test-ulps: Likewise.
23385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23387 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23389         * math/libm-test.inc (print_complex_max_error): Check separately
23390         whether real and imaginary errors are within allowed range and
23391         pass 0 to print_complex_function_ulps instead of value within
23392         allowed range.
23394 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23396         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23397         formatting.
23398         (get_handles_fopen): Likewise.
23399         (do_write_test): Likewise.
23401         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23403         * libio/fileops.c (do_ftell): Use cached offset when
23404         available.
23405         * libio/iofwide.c (do_ftell_wide): Likewise.
23406         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23407         _IO_file_attach.
23408         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23410         [BZ #16532]
23411         * libio/libioP.h (get_file_offset): New function.
23412         * libio/fileops.c (get_file_offset): Likewise.
23413         (do_ftell): Likewise.
23414         (_IO_new_file_seekoff): Split out ftell logic.
23415         * libio/wfileops.c (do_ftell_wide): Likewise.
23416         (_IO_wfile_seekoff): Split out ftell logic.
23417         * libio/tst-ftell-active-handler.c: New test case.
23418         * libio/Makefile (tests): Add it.
23420 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23422         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23423         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23425 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23427         [BZ #16639]
23428         * nscd/connections.c (nscd_init): Call do_exit.
23429         (start_threads): Call do_exit and notify_parent.
23430         (begin_drop_privileges): Call do_exit.
23431         (finish_drop_privileges): Likewise.
23432         * nscd/selinux.c (preserve_capabilities): Likewise.
23433         (install_real_capabilities): Likewise.
23434         (nscd_selinux_enabled): Likewise.
23435         (avc_create_thread): Likewise.
23436         (avc_alloc_lock): Likewise.
23437         (nscd_avc_init): Likewise.
23438         * nscd/nscd.c (parent_fd): New static variable.
23439         (main): Create a pipe between parent and child processes.
23440         Skip closing parent_fd.
23441         (monitor_child): New function.
23442         (do_exit): Likewise.
23443         (notify_parent): Likewise.
23444         * nscd/nscd.h (notify_parent): Likewise.
23445         (do_exit): Likewise.
23447 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
23449         * malloc/malloc.c (__libc_calloc): Revert last change.
23451 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23455 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23457         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23459         implementation.
23460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23461         (__libc_ifunc_impl_list): Likewise.
23462         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23463         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23464         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23465         * string/strrchr.c: Define STRRCHR.
23467 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
23469         * benchtest/bench-strtok.c (simple_strtok): Delete.
23470         (strtok_string): Use as benchmark.
23471         * string/strtok (STRTOK): New macro.
23473 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
23475         * manual/threads.texi: Add header and standard comments to all
23476         functions.
23478         * elf/dl-lookup.c (check_match): New function.
23479         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23480         (do_lookup_x): Remove nested function check_match. Use non-nested
23481         function check_match.
23483 2014-02-28  Roland McGrath  <roland@hack.frob.com>
23485         * csu/Makefile (generated, before-compile): Use += rather than =.
23486         * catgets/Makefile (generated, generated-dirs): Likewise.
23487         * debug/Makefile (generated): Likewise.
23488         * dlfcn/Makefile (generated): Likewise.
23489         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23490         * iconvdata/Makefile (before-compile, generated): Likewise.
23491         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23492         * libio/Makefile (generated): Likewise.
23493         * malloc/Makefile (generated): Likewise.
23494         * manual/Makefile (generated, generated-dirs): Likewise.
23495         * misc/Makefile (generated): Likewise.
23496         * posix/Makefile (generated): Likewise.
23497         * resolv/Makefile (generated): Likewise.
23498         * sunrpc/Makefile (generated, generated-dirs): Likewise.
23499         * timezone/Makefile (generated, generated-dirs): Likewise.
23501         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23503 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23505         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23506         power8 implementation.
23507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23508         file: POWER8 llround ifunc implementation.
23509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23510         (__lllround): Add POWER8 implementation.
23511         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23512         POWER8 llround implementation.
23514         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23515         power8 implementation.
23516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23517         file: POWER8 llrint ifunc implementation.
23518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23519         Add POWER8 implementation.
23520         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23521         POWER8 llrint implementation.
23523         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23524         power8 implementation.
23525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23526         file: POWER8 finite ifunc implementation.
23527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23528         Add POWER8 implementation.
23529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23530         Likewise.
23531         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23532         POWER8 finite implementation.
23533         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23535         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23536         power8 implementation.
23537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23538         file: POWER8 isinf ifunc implementation.
23539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23540         POWER8 implementation.
23541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23542         Likewise.
23543         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23544         isinf implementation.
23545         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23547         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23548         (INIT_ARCH): Add hwcap2 initialization.
23549         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23550         power8 implementation.
23551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23552         file: POWER8 isnan ifunc implementation.
23553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23554         POWER8 implementation.
23555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23556         Likewise.
23557         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23558         isnan implementation.
23559         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23561 2014-02-27  Joey Ye  <joey.ye@arm.com>
23563         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23564         (_FP_NANFRAC_Q): Set to zero.
23566 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23568         [BZ #16623]
23569         * math/auto-libm-test-in: New test inputs.
23570         * math/auto-libm-test-out: Regenerate.
23571         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23572         and DA.
23573         (__cos): Likewise.
23574         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23576 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
23578         * scripts/evaluate-test.sh: Take new argument indicating whether
23579         failure is expected.
23580         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23581         indicating whether failure is expected.
23582         * conform/Makefile (test-xfail-run-conformtest): New variable.
23583         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23584         level.
23585         * posix/Makefile (test-xfail-annexc): New variable.
23586         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23588 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
23590         * argp/Makefile: Include Makeconfig immediately after defining
23591         subdir.
23592         * assert/Makefile: Likewise.
23593         * benchtests/Makefile: Likewise.
23594         * catgets/Makefile: Likewise.
23595         * conform/Makefile: Likewise.
23596         * crypt/Makefile: Likewise.
23597         * csu/Makefile: Likewise.
23598         (all): Remove target.
23599         * ctype/Makefile: Include Makeconfig immediately after defining
23600         subdir.
23601         * debug/Makefile: Likewise.
23602         * dirent/Makefile: Likewise.
23603         * dlfcn/Makefile: Likewise.
23604         * gmon/Makefile: Likewise.
23605         * gnulib/Makefile: Likewise.
23606         * grp/Makefile: Likewise.
23607         * gshadow/Makefile: Likewise.
23608         * hesiod/Makefile: Likewise.
23609         * hurd/Makefile: Likewise.
23610         (all): Remove target.
23611         * iconvdata/Makefile: Include Makeconfig immediately after
23612         defining subdir.
23613         * inet/Makefile: Likewise.
23614         * intl/Makefile: Likewise.
23615         * io/Makefile: Likewise.
23616         * libio/Makefile: Likewise.
23617         (all): Remove target.
23618         * locale/Makefile: Include Makeconfig immediately after defining
23619         subdir.
23620         * login/Makefile: Likewise.
23621         * mach/Makefile: Likewise.
23622         (all): Remove target.
23623         * malloc/Makefile: Include Makeconfig immediately after defining
23624         subdir.
23625         (all): Remove target.
23626         * manual/Makefile: Include Makeconfig immediately after defining
23627         subdir.
23628         * math/Makefile: Likewise.
23629         * misc/Makefile: Likewise.
23630         * nis/Makefile: Likewise.
23631         * nss/Makefile: Likewise.
23632         * po/Makefile: Likewise.
23633         (all): Remove target.
23634         * posix/Makefile: Include Makeconfig immediately after defining
23635         subdir.
23636         * pwd/Makefile: Likewise.
23637         * resolv/Makefile: Likewise.
23638         * resource/Makefile: Likewise.
23639         * rt/Makefile: Likewise.
23640         * setjmp/Makefile: Likewise.
23641         * shadow/Makefile: Likewise.
23642         * signal/Makefile: Likewise.
23643         * socket/Makefile: Likewise.
23644         * soft-fp/Makefile: Likewise.
23645         * stdio-common/Makefile: Likewise.
23646         * stdlib/Makefile: Likewise.
23647         * streams/Makefile: Likewise.
23648         * string/Makefile: Likewise.
23649         * sunrpc/Makefile: Likewise.
23650         (all): Remove target.
23651         * sysvipc/Makefile: Include Makeconfig immediately after defining
23652         subdir.
23653         * termios/Makefile: Likewise.
23654         * time/Makefile: Likewise.
23655         * timezone/Makefile: Likewise.
23656         (all): Remove target.
23657         * wcsmbs/Makefile: Include Makeconfig immediately after defining
23658         subdir.
23659         * wctype/Makefile: Likewise.
23661 2014-02-26  Steve Ellcey  <sellcey@mips.com>
23663         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
23664         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
23665         (libc_feholdexcept_setround_mips): Ditto.
23666         (libc_feholdsetround): New.
23667         (libc_feholdsetroundf): New.
23668         (libc_feholdsetroundl): New.
23669         (libc_feupdateenv_test_mips): New.
23670         (libc_feupdateenv_test): New.
23671         (libc_feupdateenv_testf): New.
23672         (libc_feupdateenv_testl): New.
23673         (libc_feresetround): New.
23674         (libc_feresetroundf): New.
23675         (libc_feresetroundl): New.
23676         (libc_fetestexcept_mips): New.
23677         (libc_fetestexcept): New.
23678         (libc_fetestexceptf): New.
23679         (libc_fetestexceptl): New.
23680         (HAVE_RM_CTX): New.
23681         (libc_feholdexcept_setround_mips_ctx): New.
23682         (libc_feholdexcept_setround_ctx): New.
23683         (libc_feholdexcept_setroundf_ctx): New.
23684         (libc_feholdexcept_setroundl_ctx): New.
23685         (libc_fesetenv_mips_ctx): New.
23686         (libc_fesetenv_ctx): New.
23687         (libc_fesetenv_ctxf): New.
23688         (libc_fesetenv_ctxl): New.
23689         (libc_feupdateenv_mips_ctx): New.
23690         (libc_feupdateenv_ctx): New.
23691         (libc_feupdateenvf_ctx): New.
23692         (libc_feupdateenvl_ctx): New.
23693         (libc_feholdsetround_mips_ctx): New.
23694         (libc_feholdsetround_ctx): New.
23695         (libc_feholdsetroundf_ctx): New.
23696         (libc_feholdsetroundl_ctx): New.
23697         (libc_feresetround_mips_ctx): New.
23698         (libc_feresetround_ctx): New.
23699         (libc_feresetroundf_ctx): New.
23700         (libc_feresetroundl_ctx): New.
23702 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
23704         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23706         * manual/ipc.texi: New file.
23707         * manual/Makefile (chapters): Add ipc.
23708         * manual/job.texi: Add "Inter-Process Communication" to next.
23709         * manual/process.texi: Add "Inter-Process Communication" to prev.
23711 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23715 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
23717         * malloc/malloc.c (__libc_calloc): Simplify implementation.
23719         * manual/arith.texi: Fix spaces after sentences.
23720         * manual/charset.texi: Likewise.
23721         * manual/errno.texi: Likewise.
23722         * manual/install.texi: Likewise.
23723         * manual/llio.texi: Likewise.
23724         * manual/locale.texi: Likewise.
23725         * manual/maint.texi: Likewise.
23726         * manual/math.texi: Likewise.
23727         * manual/memory.texi: Likewise.
23728         * manual/message.texi: Likewise.
23729         * manual/probes.texi: Likewise.
23730         * manual/resource.texi: Likewise.
23731         * manual/signal.texi: Likewise.
23732         * manual/socket.texi: Likewise.
23733         * manual/stdio.texi: Likewise.
23734         * manual/string.texi: Likewise.
23735         * manual/time.texi: Likewise.
23736         * manual/users.texi: Likewise.
23738 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
23740         [BZ #16632]
23741         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23742         _DEFAULT_SOURCE is defined.
23744 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
23745             Carlos O'Donell  <carlos@redhat.com>
23747         [BZ #16613]
23748         * elf/dl-tls.c (_dl_count_modids): New function.
23749         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23750         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23751         audit library and increment generation counter.
23752         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23753         * elf/tst-audit9.c: New file.
23754         * elf/tst-auditmod9a.c: New file.
23755         * elf/tst-auditmod9b.c: New file.
23756         * elf/Makefile: Add rules to build and run tst-audit9.
23758 2014-02-25  Florian Weimer  <fweimer@redhat.com>
23760         [BZ #15347]
23761         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23763 2014-02-25  Will Newton  <will.newton@linaro.org>
23765         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23766         (__longjmp): Restore sp and lr before restoring callee
23767         saved registers.  Add longjmp and longjmp_target
23768         SystemTap probe point.
23769         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23770         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23771         Define to zero to match jmpbuf layout.
23772         * sysdeps/arm/setjmp.S: Include stap-probe.h.
23773         (__sigsetjmp): Save sp and lr before saving callee
23774         saved registers.  Add setjmp SystemTap probe point.
23776 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23778         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23780 2014-02-24  Andreas Schwab  <schwab@suse.de>
23782         [BZ #15804]
23783         * elf/pldd.c (wait_for_ptrace_stop): New function.
23784         (main): Call it after attaching.
23786 2014-02-22  Roland McGrath  <roland@hack.frob.com>
23788         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23789         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23790         Versions files is now verboten.
23791         * hurd/Versions (libc: GLIBC_2.0):
23792         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23793         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23794         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23795         * mach/Versions: Likewise.
23797         * csu/Versions: Remove unused %include.
23798         * resolv/Versions: Likewise.
23800 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
23802         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23803         ($(objpfx)check-local-headers.out): Likewise.
23804         ($(objpfx)begin-end-check.out): Likewise.
23805         * Makerules (check-abi-%.out): Likewise.
23806         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23807         ($(objpfx)test2.cat): Likewise.
23808         ($(objpfx)de/libc.cat): Likewise.
23809         ($(objpfx)test-gencat.out): Likewise.
23810         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23811         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23812         ($(objpfx)noload-mem): Likewise.
23813         ($(objpfx)tst-pathopt.out): Likewise.
23814         ($(objpfx)tst-rtld-load-self.out): Likewise.
23815         ($(objpfx)tst-array1-cmp.out): Likewise.
23816         ($(objpfx)tst-array1-static-cmp.out): Likewise.
23817         ($(objpfx)tst-array2-cmp.out): Likewise.
23818         ($(objpfx)tst-array3-cmp.out): Likewise.
23819         ($(objpfx)tst-array4-cmp.out): Likewise.
23820         ($(objpfx)tst-array5-cmp.out): Likewise.
23821         ($(objpfx)tst-array5-static-cmp.out): Likewise.
23822         ($(objpfx)check-textrel.out): Likewise.
23823         ($(objpfx)check-execstack.out): Likewise.
23824         ($(objpfx)check-localplt.out): Likewise.
23825         ($(objpfx)order2-cmp.out): Likewise.
23826         ($(objpfx)tst-leaks1-mem): Likewise.
23827         ($(objpfx)tst-leaks1-static-mem): Likewise.
23828         ($(objpfx)tst-initorder-cmp.out): Likewise.
23829         ($(objpfx)tst-initorder2-cmp.out): Likewise.
23830         ($(objpfx)tst-unused-dep.out): Likewise.
23831         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23832         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23833         * iconv/Makefile (test-iconvconfig): Likewise.
23834         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23835         ($(objpfx)iconv-test.out): Likewise.
23836         ($(objpfx)tst-tables.out): Likewise.
23837         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23838         ($(objpfx)tst-gettext.out): Likewise.
23839         ($(objpfx)tst-translit.out): Likewise.
23840         ($(objpfx)tst-gettext2.out): Likewise.
23841         ($(objpfx)tst-gettext4.out): Likewise.
23842         ($(objpfx)tst-gettext6.out): Likewise.
23843         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23844         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23845         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23846         ($(objpfx)tst-fopenloc-mem.out): Likewise.
23847         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23848         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23849         * posix/Makefile ($(objpfx)globtest.out): Likewise.
23850         ($(objpfx)wordexp-tst.out): Likewise.
23851         ($(objpfx)annexc.out): Likewise.
23852         ($(objpfx)tst-fnmatch-mem): Likewise.
23853         ($(objpfx)bug-regex2-mem): Likewise.
23854         ($(objpfx)bug-regex14-mem): Likewise.
23855         ($(objpfx)bug-regex21-mem): Likewise.
23856         ($(objpfx)bug-regex31-mem): Likewise.
23857         ($(objpfx)tst-vfork3-mem): Likewise.
23858         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23859         ($(objpfx)tst-pcre-mem): Likewise.
23860         ($(objpfx)tst-boost-mem): Likewise.
23861         ($(objpfx)tst-getconf.out): Likewise.
23862         ($(objpfx)bug-ga2-mem): Likewise.
23863         ($(objpfx)bug-glob2-mem): Likewise.
23864         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23865         ($(objpfx)mtrace-tst-leaks2): Likewise.
23866         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23867         ($(objpfx)tst-printf.out): Likewise.
23868         ($(objpfx)tst-setvbuf1.out): Likewise.
23869         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23870         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23871         ($(objpfx)tst-fmtmsg.out): Likewise.
23872         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23873         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23875         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23876         * bits/sigaction.h [__USE_MISC]: Likewise.
23877         * bits/waitstatus.h: Update #endif comments.
23878         * ctype/ctype.h: Likewise.
23879         * dirent/dirent.h: Likewise.
23880         [__USE_MISC]: Remove redundant conditionals.
23881         * grp/grp.h: Update #endif comments.
23882         [__USE_GNU]: Remove redundant conditionals.
23883         [__USE_MISC]: Likewise.
23884         * inet/netinet/in.h [__USE_GNU]: Likewise.
23885         * io/sys/stat.h [__USE_MISC]: Likewise.
23886         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23887         * libio/bits/stdio.h: Update #endif comments.
23888         [__USE_MISC]: Remove redundant conditionals.
23889         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23890         * libio/stdio.h: Update #endif comments.
23891         [__USE_MISC]: Remove redundant conditionals.
23892         * math/bits/math-finite.h [__USE_MISC]: Likewise.
23893         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23894         * math/math.h: Update #else and #endif comments.
23895         [__USE_MISC]: Remove redundant conditionals.
23896         * misc/sys/uio.h: Update #endif comments.
23897         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23898         * posix/glob.h [__USE_MISC]: Likewise.
23899         * posix/sys/types.h: Update #endif comments.
23900         [__USE_MISC]: Remove redundant conditionals.
23901         * posix/sys/wait.h: Update #endif comments.
23902         [__USE_MISC]: Remove redundant conditionals.
23903         * posix/unistd.h: Update #endif comments.
23904         [__USE_MISC]: Remove redundant conditionals.
23905         * pwd/pwd.h [__USE_GNU]: Likewise.
23906         [__USE_MISC]: Likewise.
23907         * resolv/netdb.h [__USE_GNU]: Likewise.
23908         * signal/signal.h: Update #endif comments.
23909         [__USE_MISC]: Remove redundant conditionals.
23910         * stdlib/stdlib.h: Update #else and #endif comments.
23911         [__USE_MISC]: Remove redundant conditionals.
23912         [__USE_GNU]: Likewise.
23913         * string/bits/string2.h [__USE_MISC]: Likewise.
23914         * string/string.h: Update #endif comments.
23915         [__USE_MISC]: Remove redundant conditionals.
23916         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23917         Likewise.
23918         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23919         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23920         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23921         Likewise.
23922         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23923         Likewise.
23924         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23925         comments.
23926         [__USE_MISC]: Remove redundant conditionals.
23927         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23928         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23929         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23930         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23931         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23932         Likewise.
23933         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23934         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23935         Likewise.
23936         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23937         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23938         Likewise.
23939         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23940         Likewise.
23941         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23942         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23943         Likewise.
23944         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23945         Likewise.
23946         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23947         * sysdeps/x86/bits/string.h: Update #endif comments.
23948         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23949         conditionals.
23950         * time/sys/time.h: Update #endif comments.
23951         * time/time.h: Likewise.
23952         [__USE_MISC]: Remove redundant conditionals.
23954 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
23956         [BZ #16600]
23957         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23959 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
23961         * Versions.def (librt): Add GLIBC_2.17.
23963 2014-02-21  Adam Conrad  <adconrad@0c3.net>
23965         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23966         synonym for _SYS_AUXV_H to allow direct inclusion.
23967         * sysdeps/sparc/bits/hwcap.h: Likewise.
23968         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23969         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23970         * sysdeps/sparc/sysdep.h: Likewise.
23972 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23974         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23976 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23978         * benchtests/bench-strrchr.c: Print length instead of position.
23980 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
23982         [BZ #16611]
23983         * sysdeps/unix/sysv/linux/kernel-features.h
23984         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23985         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
23986         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
23987         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
23988         Likewise.
23989         [__i386__ || __powerpc__ || __sh__ || __sparc__]
23990         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23991         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
23992         (__ASSUME_SENDMMSG): Define instead of using previous
23993         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23994         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23995         (__ASSUME_SENDMMSG_SYSCALL): Define.
23996         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23997         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23998         Likewise.
23999         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24000         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24001         Likewise.
24002         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24003         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24004         Likewise.
24005         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24006         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24007         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24008         [__ASSUME_SENDMMSG]: Change conditionals to
24009         [__ASSUME_SENDMMSG_SOCKETCALL].
24010         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24011         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24012         Define.
24013         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24014         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24015         Likewise.
24016         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24017         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24018         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24019         [!__ASSUME_SENDMMSG]: Change conditional to
24020         [!__ASSUME_SENDMMSG_SOCKETCALL].
24021         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24022         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24023         Define.
24025         [BZ #16610]
24026         * sysdeps/unix/sysv/linux/kernel-features.h
24027         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24028         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24029         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24030         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24031         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24032         [__i386__ || __sparc__]
24033         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24034         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24035         (__ASSUME_RECVMMSG): Define instead of using previous
24036         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24037         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24038         (__ASSUME_RECVMMSG_SYSCALL): Define.
24039         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24040         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24041         Likewise.
24042         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24043         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24044         Likewise.
24045         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24046         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24047         Likewise.
24048         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24049         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24050         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24051         [__ASSUME_RECVMMSG]: Change condition to
24052         [__ASSUME_RECVMMSG_SOCKETCALL].
24053         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24054         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24055         Define.
24056         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24057         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24058         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24059         Likewise.
24060         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24061         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24062         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24063         [!__ASSUME_RECVMMSG]: Change condition to
24064         [!__ASSUME_RECVMMSG_SOCKETCALL].
24065         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24066         (__ASSUME_RECVMMSG_SYSCALL): Define.
24068         [BZ #16609]
24069         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24070         __powerpc__ || __s390__ || __sh__ || __sparc__]
24071         (__ASSUME_SOCKETCALL): Define.
24072         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24073         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24074         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24075         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24076         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24077         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24078         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24079         (__ASSUME_ACCEPT4): Define instead of using previous
24080         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24081         __powerpc__ || __sparc__ || __s390__)] condition.
24082         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24083         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24084         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24085         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24086         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24087         [!__ASSUME_ACCEPT4]: Change condition to
24088         [!__ASSUME_ACCEPT4_SOCKETCALL].
24089         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24090         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24091         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24092         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24093         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24094         __ASSUME_ACCEPT4_SYSCALL.
24095         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24096         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24097         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24098         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24099         __ASSUME_ACCEPT4_SYSCALL.
24100         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24101         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24102         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24103         [__ASSUME_ACCEPT4]: Change condition to
24104         [__ASSUME_ACCEPT4_SOCKETCALL].
24105         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24106         (__ASSUME_SOCKETCALL): Define.
24107         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24108         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24109         (__ASSUME_SOCKETCALL): Define.
24110         (__ASSUME_ACCEPT4): Remove.
24111         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24112         Define.
24113         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24114         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24115         Likewise.
24116         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24117         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24119         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24120         macro.
24121         (HWCAP_ARM_LPAE): Likewise.
24122         (HWCAP_ARM_EVTSTRM): Likewise.
24123         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24124         Add vpfd32, lpae and evtstrm.
24125         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24126         Increase to 22.
24128 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24130         * math/auto-libm-test-in: Add tests of clog10.
24131         * math/auto-libm-test-out: Regenerated.
24132         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24133         * sysdeps/i386/fpu/libm-test-ulps: Update.
24134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24136 2014-02-18  Andreas Schwab  <schwab@suse.de>
24138         [BZ #16574]
24139         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24140         Store non-zero if the second buffer was newly allocated.
24141         (send_dg): Likewise.
24142         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24143         to send_vc and send_dg.
24144         (res_nsend): Pass NULL for ansp2_malloced.
24145         * resolv/res_query.c (__libc_res_nquery): Add parameter
24146         answerp2_malloced and pass it down to __libc_res_nsend.
24147         (res_nquery): Pass additional NULL to __libc_res_nquery.
24148         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24149         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24150         second answer buffer if answerp2_malloced was set.
24151         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24152         (__libc_res_nquerydomain): Add parameter
24153         answerp2_malloced and pass it down to __libc_res_nquery.
24154         (res_nquerydomain): Pass additional NULL to
24155         __libc_res_nquerydomain.
24156         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24157         additional NULL to __libc_res_nsend and __libc_res_nquery.
24158         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24159         additional NULL to __libc_res_nsearch.
24160         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24161         parameter of __libc_res_nsearch to check for separately allocated
24162         second buffer.
24163         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24164         __libc_res_nquery.
24165         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24166         additional NULL to __libc_res_nquery.
24167         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24168         __libc_res_nsearch.
24169         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24170         * include/resolv.h: Update prototypes of __libc_res_nquery,
24171         __libc_res_nsearch, __libc_res_nsend.
24173 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24175         * math/auto-libm-test-in: Add tests of fma.
24176         * math/auto-libm-test-out: Regenerated.
24177         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24178         (fma_towardzero_test_data): Likewise.
24179         (fma_downward_test_data): Likewise.
24180         (fma_upward_test_data): Likewise.
24181         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24182         mpc_mode.
24183         (rounding_modes): Add values for new field.
24184         (func_calc_method): Add value mpfr_fff_f.
24185         (func_calc_desc): Add mpfr_fff_f union field.
24186         (test_function): Add field exact_args.
24187         (FUNC): Add macro argument EXACT_ARGS.
24188         (FUNC_mpfr_f_f): Update call to FUNC.
24189         (FUNC_mpfr_f_f): Likewise.
24190         (FUNC_mpfr_ff_f): Likewise.
24191         (FUNC_mpfr_if_f): Likewise.
24192         (FUNC_mpc_c_f): Likewise.
24193         (FUNC_mpc_c_c): Likewise.
24194         (test_functions): Add fma.  Update calls to FUNC.
24195         (handle_input_arg): Add argument exact_args.
24196         (add_test): Update call to handle_input_arg.
24197         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24198         (output_for_one_input_case): Update call to calc_generic_results.
24199         Recalculate exact zero results in each rounding mode.
24201         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24202         non-negative before setting low bit.
24203         * math/auto-libm-test-in: Mark one asin test possibly having
24204         spurious underflow.
24205         * math/auto-libm-test-out: Regenerated.
24206         * sysdeps/i386/fpu/libm-test-ulps: Update.
24207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24209 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24211         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24212         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24213         ports/sysdeps/unix/sysv/linux/microblaze.
24214         * README: Add missing listing for microblaze*-*-linux-gnu.
24216 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24218         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24219         duplicate code
24221 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24223         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24224         * sysdeps/unix/sysv/linux/ia64: Move directory from
24225         ports/sysdeps/unix/sysv/linux/ia64.
24226         * README: Update listing for ia64-*-linux-gnu.
24228 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24229             Joseph Myers  <joseph@codesourcery.com>
24231         * Makeconfig (test-name): New variable.
24232         (evaluate-test): Likewise.
24233         * Makerules (do-test-clean): Remove .test-result files.
24234         (common-mostlyclean): Likewise.
24235         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24236         * scripts/evaluate-test.sh: New file.
24238 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24240         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24241         separate $(objpfx)tst-fopenloc-cmp.out and
24242         $(objpfx)tst-fopenloc-mem.out targets.
24243         (tests): Update dependencies.
24244         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24245         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24246         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24247         (tst-rxspencer-no-utf8-ARGS): New variable.
24248         (tst-rxspencer-no-utf8-ENV): Likewise.
24249         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24250         instead of $(objpfx)tst-rxspencer-mem.
24251         ($(objpfx)tst-rxspencer-mem): Change target to
24252         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24253         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24254         * posix/tst-rxspencer-no-utf8.c: New file.
24256         * elf/Makefile ($(objpfx)order.out): Remove rule.
24257         [$(run-built-tests) = yes] (tests): Depend on
24258         $(objpfx)order-cmp.out.
24259         ($(objpfx)order-cmp.out): New rule.
24260         [$(run-built-tests) = yes] (tests): Depend on
24261         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24262         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24263         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24264         $(objpfx)tst-array5-static-cmp.out.
24265         ($(objpfx)tst-array1.out): Remove rule.
24266         ($(objpfx)tst-array1-cmp.out): New rule.
24267         ($(objpfx)tst-array1-static.out): Remove rule.
24268         ($(objpfx)tst-array1-static-cmp.out): New rule.
24269         ($(objpfx)tst-array2.out): Remove rule.
24270         ($(objpfx)tst-array2-cmp.out): New rule.
24271         ($(objpfx)tst-array3.out): Remove rule.
24272         ($(objpfx)tst-array3-cmp.out): New rule.
24273         ($(objpfx)tst-array4.out): Remove rule.
24274         ($(objpfx)tst-array4-cmp.out): New rule.
24275         ($(objpfx)tst-array5.out): Remove rule.
24276         ($(objpfx)tst-array5-cmp.out): New rule.
24277         ($(objpfx)tst-array5-static.out): Remove rule.
24278         ($(objpfx)tst-array5-static-cmp.out): New rule.
24279         [$(run-built-tests) = yes] (tests): Depend on
24280         $(objpfx)order2-cmp.out.
24281         ($(objpfx)order2.out): Remove rule.
24282         ($(objpfx)order2-cmp.out): New rule.
24283         ($(objpfx)tst-initorder.out): Remove rule.
24284         [$(run-built-tests) = yes] (tests): Depend on
24285         $(objpfx)tst-initorder-cmp.out.
24286         ($(objpfx)tst-initorder-cmp.out): New rule.
24287         ($(objpfx)tst-initorder2.out): Remove rule.
24288         [$(run-built-tests) = yes] (tests): Depend on
24289         $(objpfx)tst-initorder2-cmp.out.
24290         ($(objpfx)tst-initorder2-cmp.out): New rule.
24291         [$(run-built-tests) = yes] (tests): Depend on
24292         $(objpfx)tst-unused-dep-cmp.out.
24293         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24294         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24295         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24296         on $(objpfx)tst-setvbuf1-cmp.out.
24297         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24298         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24299         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24300         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24301         ($(objpfx)tst-svc.out): Remove rule.
24302         ($(objpfx)tst-svc-cmp.out): New rule.
24304 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24306         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24307         * ctype/ctype.h [__USE_MISC]: Likewise.
24308         * dirent/dirent.h [__USE_MISC]: Likewise.
24309         * grp/grp.h [__USE_MISC]: Likewise.
24310         * io/fcntl.h [__USE_MISC]: Likewise.
24311         * io/sys/stat.h [__USE_MISC]: Likewise.
24312         * libio/stdio.h [__USE_MISC]: Likewise.
24313         * posix/unistd.h [__USE_MISC]: Likewise.
24314         * pwd/pwd.h [__USE_MISC]: Likewise.
24315         * stdlib.h [__USE_MISC]: Likewise.
24316         * string/bits/string2.h [__USE_MISC]: Likewise.
24317         * string/string.h [__USE_MISC]: Likewise.
24318         * time/time.h [__USE_MISC]: Likewise.
24320 2014-02-13  Andreas Schwab  <schwab@suse.de>
24322         [BZ #16574]
24323         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24324         second answer buffer if it was separately allocated.
24326 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24328         * sysdeps/mips/math-tests.h: Include <features.h>.
24329         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24330         (ROUNDING_TESTS_long_double): Do not define.
24331         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24332         (EXCEPTION_TESTS_long_double): Likewise.
24333         * sysdeps/mips/mips64/libm-test-ulps: Update.
24335         * include/features.h (__USE_BSD): Remove macro definitions.
24336         (__USE_SVID): Likewise.
24337         (_BSD_SOURCE): Likewise.
24338         (_SVID_SOURCE): Likewise.
24339         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24340         from definition of _DEFAULT_SOURCE.
24341         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24342         [_DEFAULT_SOURCE].
24343         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24344         * bits/mman.h [__USE_BSD]: Likewise.
24345         * bits/termios.h [__USE_BSD]: Likewise.
24346         * bits/waitstatus.h [__USE_BSD]: Likewise.
24347         * ctype/ctype.h [__USE_SVID]: Likewise.
24348         * dirent/dirent.h [__USE_BSD]: Likewise.
24349         * grp/grp.h [__USE_SVID]: Likewise.
24350         [__USE_BSD]: Likewise.
24351         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24352         * io/fcntl.h [__USE_BSD]: Likewise.
24353         * io/ftw.h [__USE_BSD]: Likewise.
24354         * io/sys/stat.h [__USE_BSD]: Likewise.
24355         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24356         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24357         * libio/stdio.h [__USE_SVID]: Likewise.
24358         [__USE_BSD]: Likewise.
24359         * math/math.h [__USE_SVID]: Likewise.
24360         [__USE_BSD]: Likewise.
24361         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24362         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24363         * misc/search.h [__USE_SVID]: Likewise.
24364         * misc/sys/mman.h [__USE_BSD]: Likewise.
24365         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24366         * misc/sys/uio.h [__USE_BSD]: Likewise.
24367         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24368         * posix/glob.h [__USE_BSD]: Likewise.
24369         * posix/regex.h [__USE_BSD]: Likewise.
24370         * posix/sys/types.h [__USE_BSD]: Likewise.
24371         [__USE_SVID]: Likewise.
24372         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24373         * posix/sys/wait.h [__USE_BSD]: Likewise.
24374         [__USE_SVID]: Likewise.
24375         * posix/unistd.h [__USE_BSD]: Likewise.
24376         [__USE_SVID]: Likewise.
24377         * pwd/pwd.h [__USE_SVID]: Likewise.
24378         * resolv/netdb.h [__USE_BSD]: Likewise.
24379         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24380         * signal/signal.h [__USE_BSD]: Likewise.
24381         [__USE_SVID]: Likewise.
24382         * socket/sys/socket.h [__USE_BSD]: Likewise.
24383         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24384         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24385         [__USE_SVID]: Likewise.
24386         * string/bits/string2.h [__USE_BSD]: Likewise.
24387         [__USE_SVID]: Likewise.
24388         * string/bits/string3.h [__USE_BSD]: Likewise.
24389         * string/endian.h [__USE_BSD]: Likewise.
24390         * string/string.h [__USE_SVID]: Likewise.
24391         [__USE_BSD]: Likewise.
24392         * string/strings.h [__USE_BSD]: Likewise.
24393         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24394         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24395         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24396         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24397         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24398         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24399         Likewise.
24400         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24401         Likewise.
24402         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24403         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24404         Likewise.
24405         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24406         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24407         Likewise.
24408         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24409         Likewise.
24410         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24411         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24412         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24413         Likewise.
24414         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24415         Likewise.
24416         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24417         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24418         * termios/termios.h [__USE_BSD]: Likewise.
24419         * time/sys/time.h [__USE_BSD]: Likewise.
24420         * time/time.h [__USE_BSD]: Likewise.
24421         [__USE_SVID]: Likewise.
24423         * Makefile (subdir_targets): Remove subdir_lint.out.
24425         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24426         (do-tst-printf): Likewise.
24427         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24428         $(objpfx)tst-printf.out.
24430         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24432         * Makerules (check-abi-%): Change target to
24433         $(objpfx)check-abi-%.out.
24434         (check-abi target): Update dependencies.
24435         (check-abi-pattern variable): Redirect output of diff to $@.
24436         (check-abi variable): Likewise.
24437         * elf/Makefile (check-abi): Update dependencies.
24439         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24440         unused.
24441         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24442         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24443         subnormal range.
24444         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24445         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24446         value has largest subnormal exponent.
24447         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24448         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24449         * sysdeps/aarch64/soft-fp/sfp-machine.h
24450         (_FP_TININESS_AFTER_ROUNDING): New macro.
24451         * sysdeps/alpha/soft-fp/sfp-machine.h
24452         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24453         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24454         Likewise.
24455         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24456         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24457         * sysdeps/mips/soft-fp/sfp-machine.h
24458         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24459         * sysdeps/powerpc/soft-fp/sfp-machine.h
24460         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24461         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24462         Likewise.
24463         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24464         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24465         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24466         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24467         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24468         Likewise.
24470 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
24472         [BZ #16545]
24473         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24474         model 1.
24476 2014-02-12  Richard Henderson  <rth@redhat.com>
24478         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24479         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24480         * sysdeps/unix/sysv/linux/alpha: Move directory from
24481         ports/sysdeps/unix/sysv/linux/alpha.
24482         * README: Update listing for alpha-*-linux-gnu.
24484 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
24486         * include/features.h: Update comment documenting feature test
24487         macros.
24488         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
24489         _DEFAULT_SOURCE.
24490         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24491         (_SVID_SOURCE): Likewise.
24492         (_DEFAULT_SOURCE): Update description of default features.
24493         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24494         with _GNU_SOURCE.
24495         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24496         (S_ISVTX): Likewise.
24497         * manual/math.texi (Mathematical Constants): Likewise.
24498         * manual/signal.texi (Interrupted Primitives): Likewise.
24499         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24500         * math/test-matherr.c (_SVID_SOURCE): Do not define.
24501         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24502         Don't refer to _SVID_SOURCE in warning text.
24504         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24506         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24507         already defined.
24508         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24509         * sysdeps/mips/dl-lookup.c: Remove.
24510         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24512 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24514         [BZ #16447]
24515         * math/auto-libm-test-in: Add testcase for expl.
24516         * math/auto-libm-test-out: Regenerate.
24517         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24518         calculation of unsafe.
24519         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24521 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24523         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24524         * sysdeps/unix/sysv/linux/aarch64: Move directory from
24525         ports/sysdeps/unix/sysv/linux/aarch64.
24526         * README: Update listing for aarch64*-*-linux-gnu.
24528 2014-02-11  Will Newton  <will.newton@linaro.org>
24530         * manual/probes.texi (Mathematical Function Probes): Use
24531         "triggered" instead of "hit".
24533         * manual/probes.texi (Internal Probes): Add documentation
24534         of setjmp, longjmp and longjmp_target probes.
24536         * include/stap-probe.h: Add comment about probe argument
24537         format.
24539         * malloc/mtrace.c (attribute_hidden): Remove unused macro
24540         definition.  (tr_where, tr_freehook, tr_mallochook,
24541         tr_reallochook, tr_memalignhook): Use ANSI protoype.
24543 2014-02-11  David S. Miller  <davem@davemloft.net>
24545         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24546         processing int_tests.
24548 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
24550         * sysdeps/mips: Move directory from ports/sysdeps/mips.
24551         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24552         * sysdeps/unix/sysv/linux/mips: Move directory from
24553         ports/sysdeps/unix/sysv/linux/mips.
24554         * README: Update listing for mips-*-linux-gnu and
24555         mips64-*-linux-gnu.
24557 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
24559         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24560         * sysdeps/unix/sysv/linux/m68k: Move directory from
24561         ports/sysdeps/unix/sysv/linux/m68k.
24562         * README: Update listing for m68k-*-linux-gnu.
24564 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
24566         * sysdeps/tile: Move directory from ports/sysdeps/tile.
24567         * sysdeps/unix/sysv/linux/generic: Move directory from
24568         ports/sysdeps/unix/sysv/linux/generic.
24569         * sysdeps/unix/sysv/linux/tile: Move directory from
24570         ports/sysdeps/unix/sysv/linux/tile.
24571         * README: Update listing for tile*-*-linux-gnu.
24573 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
24575         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24576         __builtin_expect.
24577         * benchtests/bench-memmem.c (simple_memmem): Likewise.
24578         * catgets/open_catalog.c (__open_catalog): Likewise.
24579         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24580         * debug/confstr_chk.c: Likewise.
24581         * debug/fread_chk.c (__fread_chk): Likewise.
24582         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24583         * debug/getgroups_chk.c: Likewise.
24584         * debug/mbsnrtowcs_chk.c: Likewise.
24585         * debug/mbsrtowcs_chk.c: Likewise.
24586         * debug/mbstowcs_chk.c: Likewise.
24587         * debug/memcpy_chk.c: Likewise.
24588         * debug/memmove_chk.c: Likewise.
24589         * debug/mempcpy_chk.c: Likewise.
24590         * debug/memset_chk.c: Likewise.
24591         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24592         * debug/strcat_chk.c (__strcat_chk): Likewise.
24593         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24594         * debug/strncat_chk.c (__strncat_chk): Likewise.
24595         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24596         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24597         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24598         * debug/wcpncpy_chk.c: Likewise.
24599         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24600         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24601         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24602         * debug/wcsncpy_chk.c: Likewise.
24603         * debug/wcsnrtombs_chk.c: Likewise.
24604         * debug/wcsrtombs_chk.c: Likewise.
24605         * debug/wcstombs_chk.c: Likewise.
24606         * debug/wmemcpy_chk.c: Likewise.
24607         * debug/wmemmove_chk.c: Likewise.
24608         * debug/wmempcpy_chk.c: Likewise.
24609         * debug/wmemset_chk.c: Likewise.
24610         * dirent/scandirat.c (SCANDIRAT): Likewise.
24611         * dlfcn/dladdr1.c (dladdr1): Likewise.
24612         * dlfcn/dladdr.c (dladdr): Likewise.
24613         * dlfcn/dlclose.c (dlclose_doit): Likewise.
24614         * dlfcn/dlerror.c (__dlerror): Likewise.
24615         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
24616         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
24617         * dlfcn/dlopen.c (dlopen_doit): Likewise.
24618         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24619         * dlfcn/dlsym.c (dlsym_doit): Likewise.
24620         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
24621         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
24622         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
24623         Likewise.
24624         * elf/dl-conflict.c: Likewise.
24625         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
24626         * elf/dl-dst.h: Likewise.
24627         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
24628         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
24629         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
24630         * elf/dl-init.c (call_init, _dl_init): Likewise.
24631         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
24632         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
24633         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
24634         Likewise.
24635         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
24636         Likewise.
24637         * elf/dl-minimal.c (__libc_memalign): Likewise.
24638         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
24639         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24640         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
24641         * elf/dl-sym.c (do_sym): Likewise.
24642         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
24643         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
24644         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
24645         * elf/dl-writev.h (_dl_writev): Likewise.
24646         * elf/ldconfig.c (search_dir): Likewise.
24647         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
24648         (dl_main): Likewise.
24649         * elf/setup-vdso.h (setup_vdso): Likewise.
24650         * grp/compat-initgroups.c (compat_call): Likewise.
24651         * grp/fgetgrent.c (fgetgrent): Likewise.
24652         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
24653         * grp/putgrent.c (putgrent): Likewise.
24654         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24655         Likewise.
24656         * hurd/hurdinit.c: Likewise.
24657         * iconvdata/8bit-gap.c (struct): Likewise.
24658         * iconvdata/ansi_x3.110.c : Likewise.
24659         * iconvdata/big5.c : Likewise.
24660         * iconvdata/big5hkscs.c : Likewise.
24661         * iconvdata/cp1255.c: Likewise.
24662         * iconvdata/cp1258.c : Likewise.
24663         * iconvdata/cp932.c : Likewise.
24664         * iconvdata/euc-cn.c: Likewise.
24665         * iconvdata/euc-jisx0213.c : Likewise.
24666         * iconvdata/euc-jp.c: Likewise.
24667         * iconvdata/euc-jp-ms.c : Likewise.
24668         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24669         * iconvdata/gb18030.c : Likewise.
24670         * iconvdata/gbbig5.c (const): Likewise.
24671         * iconvdata/gbgbk.c: Likewise.
24672         * iconvdata/gbk.c : Likewise.
24673         * iconvdata/ibm1364.c : Likewise.
24674         * iconvdata/ibm930.c : Likewise.
24675         * iconvdata/ibm932.c: Likewise.
24676         * iconvdata/ibm933.c : Likewise.
24677         * iconvdata/ibm935.c : Likewise.
24678         * iconvdata/ibm937.c : Likewise.
24679         * iconvdata/ibm939.c : Likewise.
24680         * iconvdata/ibm943.c: Likewise.
24681         * iconvdata/iso_11548-1.c: Likewise.
24682         * iconvdata/iso-2022-cn.c : Likewise.
24683         * iconvdata/iso-2022-cn-ext.c : Likewise.
24684         * iconvdata/iso-2022-jp-3.c: Likewise.
24685         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24686         * iconvdata/iso-2022-kr.c : Likewise.
24687         * iconvdata/iso646.c (gconv_end): Likewise.
24688         * iconvdata/iso_6937-2.c : Likewise.
24689         * iconvdata/iso_6937.c : Likewise.
24690         * iconvdata/iso8859-1.c: Likewise.
24691         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24692         * iconvdata/shift_jisx0213.c : Likewise.
24693         * iconvdata/sjis.c : Likewise.
24694         * iconvdata/t.61.c : Likewise.
24695         * iconvdata/tcvn5712-1.c : Likewise.
24696         * iconvdata/tscii.c: Likewise.
24697         * iconvdata/uhc.c : Likewise.
24698         * iconvdata/unicode.c (gconv_end): Likewise.
24699         * iconvdata/utf-16.c (gconv_end): Likewise.
24700         * iconvdata/utf-32.c (gconv_end): Likewise.
24701         * iconvdata/utf-7.c (base64): Likewise.
24702         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24703         * iconv/gconv_close.c (__gconv_close): Likewise.
24704         * iconv/gconv_open.c (__gconv_open): Likewise.
24705         * iconv/gconv_simple.c (internal_ucs4_loop_single)
24706         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24707         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24708         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24709         (ucs4le_internal_loop_single): Likewise.
24710         * iconv/iconv.c (iconv): Likewise.
24711         * iconv/iconv_close.c: Likewise.
24712         * iconv/loop.c (SINGLE): Likewise.
24713         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24714         * include/atomic.h: Likewise.
24715         * inet/inet6_option.c (option_alloc): Likewise.
24716         * intl/bindtextdom.c (set_binding_values): Likewise.
24717         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24718         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24719         * intl/localealias.c (read_alias_file): Likewise.
24720         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24721         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24722         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24723         * libio/fmemopen.c (fmemopen): Likewise.
24724         * libio/iofgets.c (_IO_fgets): Likewise.
24725         * libio/iofgets_u.c (fgets_unlocked): Likewise.
24726         * libio/iofgetws.c (fgetws): Likewise.
24727         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24728         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24729         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24730         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24731         * locale/findlocale.c (_nl_find_locale): Likewise.
24732         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24733         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24734         Likewise.
24735         * locale/setlocale.c (setlocale): Likewise.
24736         * login/programs/pt_chown.c (main): Likewise.
24737         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24738         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24739         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24740         (mmap, mmap64, mremap, munmap): Likewise.
24741         * math/e_exp2l.c: Likewise.
24742         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24743         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24744         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24745         * math/s_catan.c (__catan): Likewise.
24746         * math/s_catanf.c (__catanf): Likewise.
24747         * math/s_catanh.c (__catanh): Likewise.
24748         * math/s_catanhf.c (__catanhf): Likewise.
24749         * math/s_catanhl.c (__catanhl): Likewise.
24750         * math/s_catanl.c (__catanl): Likewise.
24751         * math/s_ccosh.c (__ccosh): Likewise.
24752         * math/s_ccoshf.c (__ccoshf): Likewise.
24753         * math/s_ccoshl.c (__ccoshl): Likewise.
24754         * math/s_cexp.c (__cexp): Likewise.
24755         * math/s_cexpf.c (__cexpf): Likewise.
24756         * math/s_cexpl.c (__cexpl): Likewise.
24757         * math/s_clog10.c (__clog10): Likewise.
24758         * math/s_clog10f.c (__clog10f): Likewise.
24759         * math/s_clog10l.c (__clog10l): Likewise.
24760         * math/s_clog.c (__clog): Likewise.
24761         * math/s_clogf.c (__clogf): Likewise.
24762         * math/s_clogl.c (__clogl): Likewise.
24763         * math/s_csin.c (__csin): Likewise.
24764         * math/s_csinf.c (__csinf): Likewise.
24765         * math/s_csinh.c (__csinh): Likewise.
24766         * math/s_csinhf.c (__csinhf): Likewise.
24767         * math/s_csinhl.c (__csinhl): Likewise.
24768         * math/s_csinl.c (__csinl): Likewise.
24769         * math/s_csqrt.c (__csqrt): Likewise.
24770         * math/s_csqrtf.c (__csqrtf): Likewise.
24771         * math/s_csqrtl.c (__csqrtl): Likewise.
24772         * math/s_ctan.c (__ctan): Likewise.
24773         * math/s_ctanf.c (__ctanf): Likewise.
24774         * math/s_ctanh.c (__ctanh): Likewise.
24775         * math/s_ctanhf.c (__ctanhf): Likewise.
24776         * math/s_ctanhl.c (__ctanhl): Likewise.
24777         * math/s_ctanl.c (__ctanl): Likewise.
24778         * math/w_pow.c: Likewise.
24779         * math/w_powf.c: Likewise.
24780         * math/w_powl.c: Likewise.
24781         * math/w_scalb.c (sysv_scalb): Likewise.
24782         * math/w_scalbf.c (sysv_scalbf): Likewise.
24783         * math/w_scalbl.c (sysv_scalbl): Likewise.
24784         * misc/error.c (error_tail): Likewise.
24785         * misc/pselect.c (__pselect): Likewise.
24786         * nis/nis_callback.c (__nis_create_callback): Likewise.
24787         * nis/nis_call.c (__nisfind_server): Likewise.
24788         * nis/nis_creategroup.c (nis_creategroup): Likewise.
24789         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24790         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24791         * nis/nis_getservlist.c (nis_getservlist): Likewise.
24792         * nis/nis_lookup.c (nis_lookup): Likewise.
24793         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24794         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24795         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24796         * nis/nis_xdr.c (xdr_endpoint): Likewise.
24797         * nis/nss_compat/compat-grp.c (getgrent_next_file)
24798         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24799         * nis/nss_compat/compat-initgroups.c (add_group)
24800         (internal_getgrent_r): Likewise.
24801         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24802         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24803         * nis/nss_compat/compat-spwd.c (getspent_next_file)
24804         (internal_getspnam_r): Likewise.
24805         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24806         (_nss_nis_getaliasbyname_r): Likewise.
24807         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24808         (_nss_nis_getntohost_r): Likewise.
24809         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24810         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24811         (_nss_nis_getgrgid_r): Likewise.
24812         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24813         (internal_nis_gethostent_r, internal_gethostbyname2_r)
24814         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24815         (_nss_nis_gethostbyname4_r): Likewise.
24816         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24817         (initgroups_netid): Likewise.
24818         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24819         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24820         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24821         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24822         (_nss_nis_getprotobynumber_r): Likewise.
24823         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24824         (_nss_nis_getsecretkey): Likewise.
24825         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24826         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24827         (_nss_nis_getpwuid_r): Likewise.
24828         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24829         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24830         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24831         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24832         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24833         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24834         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24835         Likewise.
24836         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24837         (_nss_nisplus_getntohost_r): Likewise.
24838         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24839         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24840         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24841         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24842         Likewise.
24843         * nis/nss_nisplus/nisplus-initgroups.c
24844         (_nss_nisplus_initgroups_dyn): Likewise.
24845         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24846         (_nss_nisplus_getnetbyaddr_r): Likewise.
24847         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24848         (_nss_nisplus_getprotobynumber_r): Likewise.
24849         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24850         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24851         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24852         Likewise.
24853         * nis/nss_nisplus/nisplus-service.c
24854         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24855         (_nss_nisplus_getservbyport_r): Likewise.
24856         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24857         (_nss_nisplus_getspnam_r): Likewise.
24858         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24859         Likewise.
24860         * nscd/aicache.c (addhstaiX): Likewise.
24861         * nscd/cache.c (cache_search, prune_cache): Likewise.
24862         * nscd/connections.c (register_traced_file, send_ro_fd)
24863         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24864         (main_loop_epoll): Likewise.
24865         * nscd/grpcache.c (addgrbyX): Likewise.
24866         * nscd/hstcache.c (addhstbyX): Likewise.
24867         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24868         * nscd/mem.c (gc, mempool_alloc): Likewise.
24869         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24870         (addinnetgrX): Likewise.
24871         * nscd/nscd-client.h (__nscd_acquire_maplock)
24872         (__nscd_drop_map_ref): Likewise.
24873         * nscd/nscd_getai.c (__nscd_getai): Likewise.
24874         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24875         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24876         Likewise.
24877         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24878         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24879         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24880         (__nscd_get_map_ref): Likewise.
24881         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24882         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24883         Likewise.
24884         * nscd/pwdcache.c (addpwbyX): Likewise.
24885         * nscd/selinux.c (preserve_capabilities): Likewise.
24886         * nscd/servicescache.c (addservbyX): Likewise.
24887         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24888         * posix/fnmatch.c (fnmatch): Likewise.
24889         * posix/getopt.c (_getopt_internal_r): Likewise.
24890         * posix/glob.c (glob, glob_in_dir): Likewise.
24891         * posix/wordexp.c (exec_comm_child): Likewise.
24892         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24893         (getanswer_r, gaih_getanswer_slice): Likewise.
24894         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24895         * resolv/res_init.c: Likewise.
24896         * resolv/res_mkquery.c (res_nmkquery): Likewise.
24897         * resolv/res_query.c (__libc_res_nquery): Likewise.
24898         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24899         Likewise.
24900         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24901         * stdio-common/perror.c (perror): Likewise.
24902         * stdio-common/printf_fp.c (___printf_fp): Likewise.
24903         * stdio-common/tmpnam.c (tmpnam): Likewise.
24904         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24905         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24906         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24907         Likewise.
24908         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24909         * stdlib/putenv.c (putenv): Likewise.
24910         * stdlib/setenv.c (__add_to_environ): Likewise.
24911         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24912         * stdlib/strtol_l.c (INTERNAL): Likewise.
24913         * string/memmem.c (memmem): Likewise.
24914         * string/strerror.c (strerror): Likewise.
24915         * string/strnlen.c (__strnlen): Likewise.
24916         * string/test-memmem.c (simple_memmem): Likewise.
24917         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24918         * sunrpc/pm_getport.c (__get_socket): Likewise.
24919         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24920         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24921         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24922         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24923         Likewise.
24924         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24925         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24926         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24927         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24928         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24929         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24930         Likewise.
24931         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24932         Likewise.
24933         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24934         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24935         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24936         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24937         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24938         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24939         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24940         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24941         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24942         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24943         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24944         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24945         Likewise.
24946         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24947         Likewise.
24948         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24949         Likewise.
24950         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24951         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24952         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24953         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24954         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24955         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24956         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24957         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24958         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24959         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24960         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24961         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24962         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24963         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24964         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24965         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24966         Likewise.
24967         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24968         Likewise.
24969         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24970         Likewise.
24971         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24972         Likewise.
24973         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24974         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24975         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24976         Likewise.
24977         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24978         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24979         * sysdeps/posix/opendir.c (__opendirat): Likewise.
24980         * sysdeps/posix/sleep.c: Likewise.
24981         * sysdeps/posix/tempname.c: Likewise.
24982         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24983         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24984         Likewise.
24985         * sysdeps/powerpc/powerpc32/dl-machine.h
24986         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
24987         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24988         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24989         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
24990         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
24991         Likewise.
24992         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
24993         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
24994         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24995         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
24996         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24997         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
24998         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
24999         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25000         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25001         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25002         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25003         (elf_machine_lazy_rel): Likewise.
25004         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25005         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25006         (elf_machine_lazy_rel): Likewise.
25007         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25008         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25009         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25010         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25011         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25012         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25013         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25014         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25015         Likewise.
25016         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25017         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25018         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25019         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25020         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25021         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25022         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25023         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25024         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25025         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25026         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25027         Likewise.
25028         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25029         (__posix_fallocate64_l64): Likewise.
25030         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25031         (posix_fallocate): Likewise.
25032         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25033         Likewise.
25034         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25035         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25036         (getifaddrs_internal): Likewise.
25037         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25038         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25039         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25040         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25041         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25042         (__posix_fallocate64_l64): Likewise.
25043         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25044         Likewise.
25045         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25046         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25047         (__get_clockfreq): Likewise.
25048         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25049         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25050         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25051         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25052         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25053         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25054         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25055         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25056         Likewise.
25057         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25058         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25059         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25060         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25061         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25062         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25063         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25064         Likewise.
25065         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25066         (posix_fallocate): Likewise.
25067         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25068         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25069         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25070         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25071         (elf_machine_rela, elf_machine_rela_relative)
25072         (elf_machine_lazy_rel): Likewise.
25073         * time/asctime.c (asctime_internal): Likewise.
25074         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25075         * time/tzset.c (__tzset_parse_tz): Likewise.
25076         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25077         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25078         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25079         * wcsmbs/wcsmbsload.h: Likewise.
25081         [BZ #15894]
25082         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25084         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25085         (arena_get2): Remove THREAD_STATS conditionals.
25086         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25087         (__malloc_stats, int): Likewise.
25089 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25091         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25092         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25094         * manual/setjmp.texi: Fix typos/grammar errors.
25096         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25097         Only return early when n is <= 0.  Delete unused return statement.
25099         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25100         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25101         * debug/tst-longjmp_chk3.c: New file.
25103         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25104         (test_main): Replace code with set_fortify_handler call.
25105         * debug/test-strcpy_chk.c: Likewise.
25106         * debug/tst-chk1.c: Likewise.
25107         * debug/tst-longjmp_chk.c: Likewise.
25108         * test-skeleton.c: Include fcntl.h & paths.h
25109         (set_fortify_handler): Define.
25111         * debug/tst-longjmp_chk.c: Add header comment and include
25112         ../test-skeleton.c.
25113         (do_test): Mark static.
25114         (TEST_FUNCTION): Define.
25116         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25117         (IP_PMTUDISC_INTERFACE): Likewise.
25118         (IP_MULTICAST_IF): Likewise.
25119         (IP_MULTICAST_TTL): Likewise.
25120         (IP_MULTICAST_LOOP): Likewise.
25121         (IP_ADD_MEMBERSHIP): Likewise.
25122         (IP_DROP_MEMBERSHIP): Likewise.
25123         (IP_UNBLOCK_SOURCE): Likewise.
25124         (IP_BLOCK_SOURCE): Likewise.
25125         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25126         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25127         (IP_MSFILTER): Likewise.
25128         (MCAST_JOIN_GROUP): Likewise.
25129         (MCAST_BLOCK_SOURCE): Likewise.
25130         (MCAST_UNBLOCK_SOURCE): Likewise.
25131         (MCAST_LEAVE_GROUP): Likewise.
25132         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25133         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25134         (MCAST_MSFILTER): Likewise.
25135         (IP_MULTICAST_ALL): Likewise.
25136         (IP_UNICAST_IF): Likewise.
25138         * timezone/Makefile: Delete $(have-ksh) check.
25139         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25140         * timezone/tzselect.ksh: Add +x mode bits.
25142         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25143         (ANON_INODE_FS_MAGIC): Likewise.
25144         (BDEVFS_MAGIC): Likewise.
25145         (BINFMTFS_MAGIC): Likewise.
25146         (BTRFS_TEST_MAGIC): Likewise.
25147         (CRAMFS_MAGIC_WEND): Likewise.
25148         (DEBUGFS_MAGIC): Likewise.
25149         (ECRYPTFS_SUPER_MAGIC): Likewise.
25150         (EXT3_SUPER_MAGIC): Likewise.
25151         (EXT4_SUPER_MAGIC): Likewise.
25152         (FUTEXFS_SUPER_MAGIC): Likewise.
25153         (HOSTFS_SUPER_MAGIC): Likewise.
25154         (HUGETLBFS_MAGIC): Likewise.
25155         (MINIX3_SUPER_MAGIC): Likewise.
25156         (MTD_INODE_FS_MAGIC): Likewise.
25157         (NILFS_SUPER_MAGIC): Likewise.
25158         (OPENPROM_SUPER_MAGIC): Likewise.
25159         (PIPEFS_MAGIC): Likewise.
25160         (PSTOREFS_MAGIC): Likewise.
25161         (QNX6_SUPER_MAGIC): Likewise.
25162         (RAMFS_MAGIC): Likewise.
25163         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25164         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25165         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25166         (SECURITYFS_MAGIC): Likewise.
25167         (SELINUX_MAGIC): Likewise.
25168         (SMACK_MAGIC): Likewise.
25169         (SOCKFS_MAGIC): Likewise.
25170         (SQUASHFS_MAGIC): Likewise.
25171         (STACK_END_MAGIC): Likewise.
25172         (TMPFS_MAGIC): Likewise.
25173         (USBDEVICE_SUPER_MAGIC): Likewise.
25174         (V9FS_MAGIC): Likewise.
25175         (XENFS_SUPER_MAGIC): Likewise.
25176         (CRAMFS_MAGIC): Fix typo in comment.
25177         (EXT2_SUPER_MAGIC): Update comment.
25178         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25180 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25182         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25183         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25184         * sysdeps/unix/sysv/linux/arm: Move directory from
25185         ports/sysdeps/unix/sysv/linux/arm.
25186         * README: Update listing for arm-*-linux-gnueabi.
25188         * README: Remove mention of am33.
25190 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25192         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25193         than the comma operator, to avoid "rhs of comma has no effect"
25194         compiler warnings.
25195         (__sigfillset, __sigandset, __sigorset): Likewise.
25196         * include/signal.h (__sigemptyset): Likewise.
25197         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25199 2014-02-07  Allan McRae  <allan@archlinux.org>
25201         * version.h (RELEASE): Set to "development".
25202         (VERSION): Set to "2.19.90"
25203         * NEWS: Add 2.20 section.
25205 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25207         [BZ #16529]
25208         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25210 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25212         * manual/contrib.texi: Update entry for Carlos O'Donell,
25213         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25215 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25217         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25219         * sysdeps/unix/sysv/linux/kernel-features.h
25220         [__LINUX_KERNEL_VERSION >= 0x020621]
25221         (__ASSUME_PROC_PID_TASK_COMM): Define.
25223 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25225         [BZ #16398]
25226         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25227         conversion when destination buffer does not have enough space.
25228         * libio/tst-ftell-partial-wide.c: New test case.
25229         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25231         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25232         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25233         Leonard and Allan McRae.
25235 2014-02-04  David S. Miller  <davem@davemloft.net>
25237         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25238         32-bit.
25240 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25243         New file
25244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25245         New file
25246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25247         New file.
25248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25249         New file.
25250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25251         New file.
25252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25253         New file.
25254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25255         New file.
25256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25257         New file.
25258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25259         New file.
25260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25261         New file.
25262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25263         New file.
25264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25265         New file.
25266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25267         New file.
25269 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25271         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25272         * shlib-versions: Likewise.
25274 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25275             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25277         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25278         (abilist-pattern): New variable, set to %-le.abilist.
25280         * Makerules (abilist-pattern): New variable.
25281         (vpath): Use $(abilist-pattern) in place of %.abilist.
25282         (check-abi-% pattern rule): Likewise.
25283         (check-abi, update-abi): Likewise.
25285 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25287         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25289 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25291         * manual/startup.texi: Add next, previous, and top entries for
25292         the `Program Arguments' and `Environment Variables' nodes.
25294 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25296         * manual/macros.texi: Add comments before MTASC-safety macros.
25298         * manual/users.texi: Document MTASC-safety properties.
25300         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25301         (pthread_getspecific, pthread_setspecific): Format with
25302         @deftypefun, and add @safety note.
25303         * manual/signal.texi: Move comments that analyze the above
25304         functions to their home place.
25306 2014-02-03  Allan McRae  <allan@archlinux.org>
25308         * po/sl.po: Update Slovenian translation from translation project.
25310 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25312         * manual/time.texi (timegm): Add missing blank after @c.
25313         Reported by Joseph Myers <joseph@codesourcery.com>.
25315 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25317         * manual/check-safety.sh: New.
25318         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25320         * manual/terminal.texi: Document MTASC-safety properties.
25322         * manual/filesys.texi: Document MTASC-safety properties.
25324         * manual/errno.texi: Document MTASC-safety properties.
25326         * manual/intro.texi: Document safety identifiers and
25327         conditionals.
25329         * manual/string.texi (wcstok): Fix prototype.
25330         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25332         * manual/time.texi: Document MTASC-safety properties.
25334         * manual/string.texi: Document MTASC-safety properties.
25336         * manual/threads.texi: Document MTASC-safety properties.
25338         * manual/stdio.texi: Document MTASC-safety properties.
25340         * manual/syslog.texi: Document MTASC-safety properties.
25342         * manual/sysinfo.texi: Document MTASC-safety properties.
25344         * manual/startup.texi: Document MTASC-safety properties.
25346         * manual/socket.texi: Document MTASC-safety properties.
25348         * manual/signal.texi: Document MTASC-safety properties.
25350 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25352         * manual/setjmp.texi: Document MTASC-safety properties.
25354         * manual/search.texi: Document MTASC-safety properties.
25356         * manual/resource.texi: Document MTASC-safety properties.
25358         * manual/process.texi: Document MTASC-safety properties.
25360         * manual/platform.texi: Document MTASC-safety properties.
25362         * manual/pipe.texi: Document MTASC-safety properties.
25364         * manual/pattern.texi: Document MTASC-safety properties.
25366         * manual/message.texi: Document MTASC-safety properties.
25368         [BZ #12751]
25369         * manual/memory.texi: Document MTASC-safety properties.
25371         * manual/math.texi: Document MTASC-safety properties.
25373         * manual/locale.texi: Document MTASC-safety properties.
25375         * manual/llio.texi: Document MTASC-safety properties.
25377         * manual/libdl.texi: New.
25379         * manual/lang.texi: Document MTASC-safety properties.
25381         * manual/job.texi: Document MTASC-safety properties.
25383         * manual/getopt.texi: Document MTASC-safety properties.
25385         * manual/ctype.texi: Document MTASC-safety properties.
25387 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25389         [BZ #16046]
25390         * csu/libc-tls.c (static_map): Remove variable.
25391         (__libc_setup_tls): Use main executable's link map for TLS data.
25392         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25393         casing for LM_ID_BASE and GL(dl_nns).
25394         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25395         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25396         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25397         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25398         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25399         member.
25400         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25401         l_phnum members.
25403 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25405         * manual/debug.texi: Document MTASC-safety properties.
25407 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25409         [BZ #16510]
25410         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25411         of __x86_64__ when disabling x87 inline functions.
25413 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25415         * manual/charset.texi: Document MTASC-safety properties.
25417         * manual/crypt.texi: Document MTASC-safety properties.
25419         * manual/conf.texi: Document MTASC-safety properties.
25421         * manual/arith.texi: Document MTASC-safety properties.
25423         * manual/argp.texi: Document MTASC-safety properties.
25425         * manual/macros.texi: Introduce macros to document multi
25426         thread, asynchronous signal and asynchronous cancellation
25427         safety properties.
25428         * manual/intro.texi: Introduce the properties themselves.
25430 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25432         * sysdeps/sh/sh4/Makefile: New file.
25434 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25436         * math/gen-libm-test.pl ($srcdir): New variable.
25437         ($auto_input): Use it.
25439 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25441         [BZ #16506]
25442         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25443         access beyond array bounds when parsing netgroups file.
25445         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25446         the old buffer before realloc.
25448 2014-01-27  Allan McRae  <allan@archlinux.org>
25450         * po/fr.po: Update French translation from translation project.
25452 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25454         * sysdeps/sh/libm-test-ulps: Regenerate.
25456 2014-01-24  David S. Miller  <davem@davemloft.net>
25458         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25460 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25462         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25463         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25465 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25467         [BZ #16474]
25468         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25469         string pointers after reallocation.
25471 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25473         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25474         __SH4A__ instead of __SH_FPU_ANY__.
25476 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25478         * sysdeps/sh/fpu_control.h: New file.
25479         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25480         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25481         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25482         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25483         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25484         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25485         * sysdeps/sh/sys/ucontext.h: Remove.
25486         * sysdeps/sh/sys: Remove directory.
25488 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25490         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25491         s390/sys/ucontext.h.
25492         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25493         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25495 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
25497         [BZ #15605]
25498         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25500 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25502         [BZ#16431]
25503         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25504         Adjust the vDSO correctly for internal calls.
25505         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25507 2014-01-20  Allan McRae  <allan@archlinux.org>
25509         * po/ca.po: Update Catalan translation from translation project.
25511 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
25513         * sysdeps/s390/sotruss-lib.c: New file.
25515 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25517         [BZ#16430]
25518         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25519         (__GI___gettimeofday): Alias for a different internal symbol to avoid
25520         local calls issues by not having a PLT stub required for IFUNC calls.
25521         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25523 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
25525         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25526         * math/test-fpucw-static.c: Likewise.
25528 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25530         [BZ #16453]
25531         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25533 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25535         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25536         implementation for powerpc.
25538 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
25540         [BZ #14782]
25541         * sysdeps/posix/system.c (__libc_system): Do not enable
25542         asynchronous cancellation.
25544 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25546         [BZ #16427]
25547         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25548         handling only for numbers special also in the IEEE case.
25550 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25552         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25554 2014-01-11  Allan McRae  <allan@archlinux.org>
25556         * po/bg.po: Update Bulgarian translation from translation project.
25558         * po/de.po: Update German translation from translation project.
25560 2014-01-10  Roland McGrath  <roland@hack.frob.com>
25562         * sysdeps/generic/gcc-compat.h: New file.
25564 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25566         * benchtests/asin-inputs: Correct slow inputs.
25567         * benchtests/acos-inputs: Likewise.
25569 2014-01-10  Allan McRae  <allan@archlinux.org>
25571         * po:sv.po: Update Swedish translation from translation project.
25573         * po/vi.po: Update Vietnamese translation from translation project.
25575         * po/eo.po: Update Esperanto translation from translation project.
25577         * po/cs.po: Update Czech translation from translation project.
25579         * po/nl.po: Update Dutch translation from translation project.
25581         * po/pl.po: Update Polish translation from translation project.
25583         * po/ru.po: Update Russian translation from translation project.
25585         * po/uk.po: Update Ukrainian translation from translation project.
25587 2014-01-08  Brooks Moses  <bmoses@google.com>
25589         * elf/dl-load.c: Fix comment typo.
25591 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
25593         * po/header.pot: Rename to...
25594         * po/pot.header: ... this.
25595         * po/Makefile: Use pot.header.
25597 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
25598             Maxim Kuvyrkov  <maxim@kugelworks.com>
25600         [BZ #16394]
25601         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25602         SRC and DEST against LEN.
25604 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25606         [BZ #16414]
25607         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
25608         implementation.
25609         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
25611 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25615 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
25617         [BZ #16408]
25618         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
25619         for large positive arguments.
25621 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
25623         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25625         * math/auto-libm-test-in: Mark various tests with
25626         xfail-rounding:ldbl-128ibm.
25627         * math/auto-libm-test-out: Regenerated.
25629         [BZ #16407]
25630         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25631         Increase overflow threshold.
25633 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
25635         [BZ #14286]
25636         * stdio-common/vfprintf.c: Check for integer overflow.
25638 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25640         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
25641         the first argument and return value of __tls_get_addr_internal.
25643 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25645         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
25646         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
25648 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25650         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25651         * sysdeps/s390/rtld-global-offsets.sym: New file.
25652         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
25653         GLIBC_2.19 symbol.
25654         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
25655         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
25656         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25657         ... this.
25658         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
25659         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25660         ... this.
25661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25662         Regenerate.
25663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25664         Regenerate.
25665         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
25666         halfs of GPRs for high_gprs contexts.
25667         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
25668         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
25669         field.
25670         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25671         uc_flags field.
25672         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25673         64 bit versions:
25674         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25675         for high GPRs (uc_high_gprs) and for future extensions
25676         (__reserved).
25677         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25678         for future extensions (__reserved).
25679         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25680         64 bit versions:
25681         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25682         SC_HIGHGPRS offset definition.
25683         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25684         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25686         * Versions.def: Add GLIBC_2.19 for libpthread.
25687         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25688         siglongjmp for libpthread with GLIBC_2.19 symver.
25689         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25690         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25691         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25692         * sysdeps/s390/__longjmp.c: New file.
25693         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25694         * sysdeps/s390/longjmp.c: New file.
25695         * sysdeps/s390/setjmp.S: New file.
25696         * sysdeps/s390/sigjmp.S: New file.
25697         * sysdeps/s390/v1-longjmp.c: New file.
25698         * sysdeps/s390/v1-setjmp.h: New file.
25699         * sysdeps/s390/v1-sigjmp.c: New file.
25700         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25701         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25702         GLIBC_2.19 version.
25703         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25704         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25705         versioned symbols for ____longjmp_chk.
25706         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25707         Likewise.
25708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25709         Regenerate.
25710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25711         Regenerate.
25712         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25713         Regenerate.
25714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25715         Regenerate.
25716         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25717         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25718         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25719         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25720         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25721         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25722         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25723         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25724         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25725         * sysdeps/s390/rtld-__longjmp.c: New file.
25726         * sysdeps/s390/rtld-setjmp.S: New file.
25728 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
25730         [BZ #16400]
25731         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25732         Return -__logl (x) for small positive arguments without evaluating
25733         a polynomial.
25735 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
25737         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25738         Rename to ...
25739         (__ptrace_peeksiginfo_args): ... this.
25740         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25741         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25742         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25744 2014-01-06  Allan McRae  <allan@archlinux.org>
25746         * inet/netinet/in.h: Fix typo in comment.
25748 2014-01-05  Andreas Jaeger  <aj@suse.de>
25750         * sysdeps/i386/fpu/libm-test-ulps: Update.
25752 2014-01-05  Allan McRae  <allan@archlinux.org>
25754         * po/libc.pot: Regenerated.
25756         * malloc/memusagestat.c: Fix gettext call formatting.
25758 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
25760         * nscd/nscd.c: Improve usage() output.
25762 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
25764         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25765         * sysdeps/unix/sysv/linux/configure: Regenerated.
25766         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25767         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25769 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25771         [BZ #16390]
25772         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25773         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25775 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25777         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25778         extra tokens at end of #undef directive.
25779         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25780         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25781         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25783 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25785         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25787         * math/auto-libm-test-in: Mark various tests with
25788         xfail-rounding:ldbl-128ibm.
25789         * math/auto-libm-test-out: Regenerated.
25791 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
25793         [BZ #16386]
25794         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25795         numbers with subnormal high part when calculating exponent.
25797         [BZ #16385]
25798         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25799         fabs.
25801         [BZ #16384]
25802         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25803         M_LN2l.
25804         (__ieee754_acoshl): Use __log1pl not __log1p.
25806 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
25808         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25809         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25810         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25811         (grow_heap, heap_trim, _int_new_arena, get_free_list)
25812         (reused_arena, arena_get2): Convert to GNU style.
25813         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25814         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25815         (memalign_check, __malloc_set_state): Likewise.
25816         * malloc/mallocbug.c (main): Likewise.
25817         * malloc/malloc.c (__malloc_assert, malloc_init_state)
25818         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25819         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25820         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25821         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25822         (__posix_memalign, malloc_info): Likewise.
25823         * malloc/malloc.h: Likewise.
25824         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25825         (mallochook, memalignhook, reallochook, mabort): Likewise.
25826         * malloc/mcheck.h: Likewise.
25827         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25828         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25829         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25830         * malloc/morecore.c (__default_morecore): Likewise.
25831         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25832         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25833         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25834         (print_and_abort): Likewise.
25835         * malloc/obstack.h: Likewise.
25836         * malloc/set-freeres.c (__libc_freeres): Likewise.
25837         * malloc/tst-mallocstate.c (main): Likewise.
25838         * malloc/tst-mtrace.c (main): Likewise.
25839         * malloc/tst-realloc.c (do_test): Likewise.
25841 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25843         [BZ #16366]
25844         * nscd/netgroupcache.c (do_notfound): New function.
25845         (addgetnetgrentX): Use it.
25847         [BZ # 16365]
25848         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25849         NSS_STATUS_NOTFOUND.
25851 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
25853         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25856 2014-01-01  Allan McRae  <allan@archlinux.org>
25858         * scripts/update-copyrights: Update configure input file suffix.
25860         * NEWS: Update copyright year.
25861         * catgets/gencat.c: Likewise.
25862         * csu/version.c: Likewise.
25863         * debug/catchsegv.sh: Likewise.
25864         * debug/pcprofiledump.c: Likewise.
25865         * debug/xtrace.sh: Likewise.
25866         * elf/ldconfig.c: Likewise.
25867         * elf/ldd.bash.in: Likewise.
25868         * elf/pldd.c: Likewise.
25869         * elf/sotruss.ksh: Likewise.
25870         * elf/sprof.c: Likewise.
25871         * iconv/iconv_prog.c: Likewise.
25872         * iconv/iconvconfig.c: Likewise.
25873         * locale/programs/locale.c: Likewise.
25874         * locale/programs/localedef.c: Likewise.
25875         * login/programs/pt_chown.c: Likewise.
25876         * malloc/memusage.sh: Likewise.
25877         * malloc/memusagestat.c: Likewise.
25878         * malloc/mtrace.pl: Likewise.
25879         * manual/libc.texinfo: Likewise.
25880         * nscd/nscd.c: Likewise.
25881         * nss/getent.c: Likewise.
25882         * nss/makedb.c: Likewise.
25883         * posix/getconf.c: Likewise.
25884         * scripts/test-installation.pl: Likewise.
25886         * All files with FSF copyright notices: Update copyright dates
25887         using scripts/update-copyrights.
25888         * intl/plural.c: Regenerated.
25889         * locale/programs/charmap-kw.h: Likewise.
25890         * locale/programs/locfile-kw.h: Likewise.
25892 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
25894         * sysdeps/unix/sysv/linux/configure: Regenerated.
25895         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25896         the linux/fanotify.h header.
25897         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25898         HAVE_LINUX_FANOTIFY_H is defined.
25900 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25902         * benchtests/cos-inputs: New inputs.
25903         * benchtests/sin-inputs: Likewise.
25905         * benchtests/atan-inputs: New inputs. Fix name of multiple
25906         precision fallback inputs.
25908         * benchtests/atanh-inputs: New inputs.
25909         * benchtests/tanh-inputs: Likewise.
25911         * benchtests/acosh-inputs: New inputs.
25912         * benchtests/asinh-inputs: Likewise.
25914         * benchtests/cosh-inputs: New inputs.
25915         * benchtests/sinh-inputs: Likewise.
25917         * benchtests/acos-inputs: Add more inputs.
25918         * benchtests/asin-inputs: Likewise.
25920 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
25922         [BZ #16375]
25923         * manual/arith.texi: Fix spelling.
25924         * manual/charset.texi: Likewise.
25925         * manual/errno.texi: Likewise.
25926         * manual/filesys.texi: Likewise.
25927         * manual/lang.texi: Likewise.
25928         * manual/llio.texi: Likewise.
25929         * manual/locale.texi: Likewise.
25930         * manual/message.texi: Likewise.
25931         * manual/resource.texi: Likewise.
25932         * manual/search.texi: Likewise.
25933         * manual/setjmp.texi: Likewise.
25934         * manual/stdio.texi: Likewise.
25935         * manual/string.texi: Likewise.
25936         * manual/sysinfo.texi: Likewise.
25937         * manual/time.texi: Likewise.
25939 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
25941         * po/sl.po: New file.
25943 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
25945         * .gitignore: Add core/.gdbinit/.gdb_history.
25947 2013-12-27  Allan McRae  <allan@archlinux.org>
25949         [BZ #16369]
25950         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25951         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25953 2013-12-24  Brooks Moses  <bmoses@google.com>
25955         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25956         all compilers that claim C++98 compliance, not just GCC.
25957         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25958         Likewise.
25960 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25962         * NEWS: Restore accidentally deleted bug-fix entries.
25964 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25965             Ondřej Bílka  <neleai@seznam.cz>
25967         [BZ #15073]
25968         * malloc/malloc.c (_int_free): Perform sanity check only if we
25969         have_lock.
25971 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
25973         [BZ #12986]
25974         * manual/stdio.texi (String Input Conversions): Clarify that character
25975         classes are not supported.
25977 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25981 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
25983         [BZ #16337]
25984         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25985         Calculate results for small negative arguments directly rather
25986         than using reflection formula with special underflow handling.
25988         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
25989         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
25990         sysdeps/unix/bsd/bsd4.4/syscalls.list.
25991         (fchflags): Likewise.
25992         (revoke): Likewise.
25993         (setlogin): Likewise.
25994         (sigaltstack): Likewise.
25995         (wait4): Likewise.
25996         (sigblock): Remove.
25997         (sigsetmask): Likewise.
25998         (wait3): Likewise.
25999         (waitpid): Likewise.
26000         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26001         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26002         file.
26003         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26004         * sysdeps/unix/bsd/Makefile: ... here.
26005         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26006         * sysdeps/unix/bsd/Versions: ... here.
26007         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26008         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26009         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26010         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26011         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26012         * sysdeps/unix/bsd/sigblock.c: ... here.
26013         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26014         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26015         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26016         * sysdeps/unix/bsd/sigvec.c: ... here.
26017         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26018         * sysdeps/unix/bsd/tcdrain.c: ... here.
26019         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26020         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26021         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26022         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26023         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26024         * sysdeps/unix/bsd/wait.c: ... here.
26025         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26026         * sysdeps/unix/bsd/wait3.c: ... here.
26027         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26028         * sysdeps/unix/bsd/waitpid.c: ... here.
26030 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26032         [BZ #16356]
26033         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26034         round-to-nearest for [!USE_AS_EXPM1L].
26035         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26036         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26037         more tests of exp and exp10.  Expect some exp10 tests to miss
26038         exceptions or fail in directed rounding modes.
26039         * math/auto-libm-test-out: Regenerated.
26040         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26041         (exp10_test_tonearest): New function.
26042         (exp10_towardzero_test_data): New array.
26043         (exp10_test_towardzero): New function.
26044         (exp10_downward_test_data): New array.
26045         (exp10_test_downward): New function.
26046         (exp10_upward_test_data): New array.
26047         (exp10_test_upward): New function.
26048         (main): Call the new functions.
26049         * sysdeps/i386/fpu/libm-test-ulps: Update.
26050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26052 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26054         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26055         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26056         * math/auto-libm-test-out: Regenerated.
26057         * math/libm-test.inc (acosh_test_data): Add more tests.
26058         (atanh_test_data): Likewise.
26059         (ceil_test_data): Likewise.
26060         (copysign_test_data): Likewise.
26061         * sysdeps/i386/fpu/libm-test-ulps: Update.
26062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26064         * timezone/checktab.awk: Update from tzcode 2013i.
26065         * timezone/private.h: Likewise.
26066         * timezone/scheck.c: Likewise.
26067         * timezone/tzfile.h: Likewise.
26068         * timezone/tzselect.ksh: Likewise.
26069         * timezone/zdump.c: Likewise.
26070         * timezone/zic.c: Likewise.
26072         * math/auto-libm-test-in: Add tests of cpow.
26073         * math/auto-libm-test-out: Regenerated.
26074         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26075         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26076         mpc_cc_c.
26077         (func_calc_desc): Add mpc_cc_c union field.
26078         (test_functions): Add cpow.
26079         (special_fill_2pi): New function.
26080         (special_real_inputs): Add 2pi.
26081         (calc_generic_results): Handle mpc_cc_c.
26082         * sysdeps/i386/fpu/libm-test-ulps: Update.
26083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26085         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26086         csqrt, ctan and ctanh.
26087         * math/auto-libm-test-out: Regenerated.
26088         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26089         (TEST_COND_x86): Likewise.
26090         (ccos_test_data): Use AUTO_TESTS_c_c.
26091         (ccosh_test_data): Likewise.
26092         (cexp_test_data): Likewise.
26093         (clog_test_data): Likewise.
26094         (csqrt_test_data): Likewise.
26095         (ctan_test_data): Likewise.
26096         (ctan_tonearest_test_data): Likewise.
26097         (ctan_towardzero_test_data): Likewise.
26098         (ctan_downward_test_data): Likewise.
26099         (ctan_upward_test_data): Likewise.
26100         (ctanh_test_data): Likewise.
26101         (ctanh_tonearest_test_data): Likewise.
26102         (ctanh_towardzero_test_data): Likewise.
26103         (ctanh_downward_test_data): Likewise.
26104         (ctanh_upward_test_data): Likewise.
26105         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26106         mpc_c_c.
26107         (func_calc_desc): Add mpc_c_c union field.
26108         (FUNC_mpc_c_c): New macro.
26109         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26110         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26111         ctanh.
26112         (special_fill_min_subnorm_p120): New function.
26113         (special_real_inputs): Add min_subnorm_p120.
26114         (calc_generic_results): Handle mpc_c_c.
26115         * sysdeps/i386/fpu/libm-test-ulps: Update.
26116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26118 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26120         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26121         (do_sin_slow): New functions.
26122         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26123         (cslow2, csloww1, csloww2): Use the new functions.
26125         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26126         Use M to change sign of result instead of X.  Assume X is
26127         positive.
26128         (csloww1): Likewise.
26129         (__sin): Adjust.
26130         (__cos): Adjust.
26132         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26133         arguments A and DA.
26134         (__sin): Adjust.
26135         (__cos): Likewise.
26137         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26138         (__cos): Likewise.
26139         (sloww1): Don't adjust sign of DX.
26140         (csloww1): Likewise.
26141         (sloww2): Use X directly and don't adjust sign of DX.
26142         (csloww2): Likewise.
26144 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26146         * math/auto-libm-test-in: Add tests of cabs and carg.
26147         * math/auto-libm-test-out: Regenerated.
26148         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26149         (carg_test_data): Likewise.
26150         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26151         mpc_c_f.
26152         (func_calc_desc): Add mpc_c_f union field.
26153         (test_functions): Add cabs and carg.
26154         (calc_generic_results): Handle mpc_c_f.
26156         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26157         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26158         as a macro and a compat symbol.
26159         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26160         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26161         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26162         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26163         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26164         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26165         not use .hidden.
26166         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26167         Likewise.
26168         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26169         Likewise.
26170         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26171         Likewise.
26172         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26173         Likewise.
26174         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26175         Likewise.
26176         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26177         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26178         from GLIBC_2.3.2.
26180 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26184 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26186         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26187         trailing whitespace removed.
26188         * scripts/config.guess: Update to version 2013-11-29.
26189         * scripts/config.sub: Update to version 2013-10-01.
26191         * math/auto-libm-test-in: Add tests of sincos.
26192         * math/auto-libm-test-out: Regenerated.
26193         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26194         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26195         mpfr_f_11.
26196         (func_calc_desc): Add mpfr_f_11 union field.
26197         (test_functions): Add sincos.
26198         (calc_generic_results): Handle mpfr_f_11.
26199         * sysdeps/i386/fpu/libm-test-ulps: Update.
26200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26202 2013-12-19  Andreas Schwab  <schwab@suse.de>
26204         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26205         CALL_MCOUNT.
26206         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26207         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26208         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26210 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26212         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26213         * sysdeps/i386/fpu/libm-test-ulps: Update.
26214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26216         [BZ #16293]
26217         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26218         round-to-nearest mode when using frndint.
26219         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26220         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26221         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26222         Likewise.
26223         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26224         sinh test to fail.
26225         * math/auto-libm-test-out: Regenerated.
26226         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26227         (TEST_COND_x86): Likewise.
26228         (expm1_tonearest_test_data): New array.
26229         (expm1_test_tonearest): New function.
26230         (expm1_towardzero_test_data): New array.
26231         (expm1_test_towardzero): New function.
26232         (expm1_downward_test_data): New array.
26233         (expm1_test_downward): New function.
26234         (expm1_upward_test_data): New array.
26235         (expm1_test_upward): New function.
26236         (main): Run the new test functions.
26237         * sysdeps/i386/fpu/libm-test-ulps: Update.
26238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26240         * include/features.h: Update comment documenting feature test
26241         macros.  Mention _DEFAULT_SOURCE in comment.
26242         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26243         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26244         _BSD_SOURCE and _SVID_SOURCE.
26245         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26246         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26247         !_SVID_SOURCE]: Likewise.
26248         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26249         (__USE_POSIX_IMPLICITLY): Define.
26250         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26251         (_POSIX_SOURCE): Undefine and redefine.
26252         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26253         (_POSIX_C_SOURCE): Likewise.
26254         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26255         (Feature Test Macros): Update documentation of default features.
26257 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26259         * benchtests/Makefile: Add bench-strtok.
26260         * benchtests/bench-strtok.c: New file: strtok benchtest.
26262 2013-12-19  Allan McRae  <allan@archlinux.org>
26264         * manual/install.texi: Suppress menu for plain text output.
26265         * INSTALL: Regenerated.
26267 2013-12-18  Brooks Moses  <bmoses@google.com>
26269         [BZ #15846]
26270         * misc/getauxval.c: Include errno.h.
26271         (__getauxval): Set errno to ENOENT if the requested type is not
26272         found.
26273         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26274         don't declare with __attribute_const__.
26275         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26276         * manual/startup.texi: Document that getauxval sets errno.
26278 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26280         * math/auto-libm-test-in: Add tests of jn and yn.
26281         * math/auto-libm-test-out: Regenerated.
26282         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26283         (yn_test_data): Likewise.
26284         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26285         mpfr_if_f.
26286         (func_calc_desc): Add mpfr_if_f union field.
26287         (FUNC_mpfr_if_f): New macro.
26288         (test_functions): Add jn and yn.
26289         (calc_generic_results): Assert type of second input for
26290         mpfr_ff_f.  Handle mpfr_if_f.
26291         (output_for_one_input_case): Disable all checking for arguments
26292         fitting floating-point types in case of an integer argument.
26293         * sysdeps/i386/fpu/libm-test-ulps: Update.
26294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26297         Don't expect fegetround reference in libm.so.
26299 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26301         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26302         $(config-cflags-nofma).
26304 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26306         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26307         * math/auto-libm-test-out: Regenerated.
26309         [BZ #16338]
26310         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26311         to determine exponent and adjust argument to have exponent of -1.
26312         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26313         log2.
26314         * math/auto-libm-test-out: Regenerated.
26315         * sysdeps/i386/fpu/libm-test-ulps: Update.
26316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26318 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26320         * manual/probes.texi: Remove cases when per-thread arenas are
26321         disabled.
26323 2013-12-18  Andreas Schwab  <schwab@suse.de>
26325         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26326         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26327         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26328         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26329         * sysdeps/i386/i686/multiarch/Makefile: Update.
26330         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26332 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26334         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26335         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26337 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26339         [BZ #15968]
26340         Support TZ transition times < 00:00:00.
26341         This is needed for version-3 tz-format files; it supports time
26342         stamps past 2037 for America/Godthab (the only entry in the tz
26343         database for which this change is relevant).
26344         * manual/time.texi (TZ Variable): Document transition times
26345         from -167:59:59 through -00:00:01.
26346         * time/tzset.c (tz_rule): Time of day is now signed.
26347         (__tzset_parse_tz): Parse negative time of day.
26349         Document TZ transition times >= 25:00:00.
26350         * manual/time.texi (TZ Variable): Document transition times from
26351         25:00:00 through 167:59:59.  These are already supported, and this
26352         support will help with version-3 tz-format files.
26354         * manual/time.texi (TZ Variable): Modernize North America example
26355         to reflect current (i.e., 2007-and-later) daylight saving rules.
26357         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26359 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26361         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26362         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26363         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26364         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26365         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26366         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26367         * sysdeps/unix/bsd/clock.c: Likewise.
26368         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26369         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26370         * sysdeps/unix/bsd/init-posix.c: Likewise.
26371         * sysdeps/unix/bsd/poll.c: Likewise.
26372         * sysdeps/unix/bsd/ptsname.c: Likewise.
26373         * sysdeps/unix/bsd/seekdir.c: Likewise.
26374         * sysdeps/unix/bsd/setegid.c: Likewise.
26375         * sysdeps/unix/bsd/seteuid.c: Likewise.
26376         * sysdeps/unix/bsd/setgid.c: Likewise.
26377         * sysdeps/unix/bsd/setrgid.c: Likewise.
26378         * sysdeps/unix/bsd/setruid.c: Likewise.
26379         * sysdeps/unix/bsd/setsid.c: Likewise.
26380         * sysdeps/unix/bsd/setuid.c: Likewise.
26381         * sysdeps/unix/bsd/sigaction.c: Likewise.
26382         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26383         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26384         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26385         * sysdeps/unix/bsd/telldir.c: Likewise.
26386         * sysdeps/unix/bsd/times.c: Likewise.
26387         * sysdeps/unix/bsd/usleep.c: Likewise.
26389         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26390         ($(objpfx)libbsd-compat.a): Remove rule.
26392         * include/features.h (__FAVOR_BSD): Do not define.
26393         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26394         features conflicting with POSIX.
26395         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26396         (_BSD_SOURCE): Remove description of not being a subset of other
26397         feature test macros.
26398         * manual/job.texi (getpgrp): Do not document BSD version.
26399         (getpgid): Do not document by reference to BSD getpgrp.
26400         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26401         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26402         * signal/signal.h [__FAVOR_BSD]: Likewise.
26403         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26404         instead of making contents conditional on [__FAVOR_BSD].
26405         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26407 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26411 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26413         [BZ #16314]
26414         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26415         values below 2**-450, not 2**-500.
26416         * math/auto-libm-test-in: Don't allow spurious underflow from
26417         hypot.
26418         * math/auto-libm-test-out: Regenerated.
26420         [BZ #16316]
26421         [BZ #16330]
26422         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26423         values of ha and hb and sort them after adjusting subnormal
26424         arguments.
26425         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26426         Likewise.
26427         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26428         values of ea and eb and sort them after adjusting subnormal
26429         arguments.
26430         * math/auto-libm-test-in: Do not expect some hypot tests of
26431         subnormals to fail.  Add more hypot tests.
26432         * math/auto-libm-test-out: Regenerated.
26434 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26436         [BZ #13304]
26437         * sysdeps/sh/s_fma.c: New file.
26438         * sysdeps/sh/s_fmaf.c: New file.
26439         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26440         version.
26441         * sysdeps/sh/Implies: Add sh/soft-fp.
26443 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26445         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26446         level of indirection to members `objname', `errstring', `malloced'.
26447         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26448         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
26449         it as the __longjmp argument (just pass 1 instead).
26450         (_dl_catch_error): Initialize C with argument pointers and address of
26451         volatile local ERRCODE rather than copying values out of C at return.
26453 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
26455         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26456         * math/auto-libm-test-out: Regenerated.
26457         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26458         (hypot_test_data): Likewise.
26459         (pow_test_data): Likewise.
26460         (pow_tonearest_test_data): Likewise.
26461         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26462         mpfr_ff_f.
26463         (func_calc_desc): Add mpfr_ff_f union field.
26464         (FUNC_mpfr_ff_f): New macro.
26465         (test_functions): Add atan2, hypot and pow.
26466         (special_fill_min): New function.
26467         (special_fill_minus_min): Likewise.
26468         (special_fill_min_subnorm): Likewise.
26469         (special_fill_minus_min_subnorm): Likewise.
26470         (special_real_inputs): Add min, -min, min_subnorm and
26471         -min_subnorm.
26472         (calc_generic_results): Handle mpfr_ff_f.
26473         * sysdeps/i386/fpu/libm-test-ulps: Update.
26474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26476 2013-12-16  Will Newton  <will.newton@linaro.org>
26478         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26479         (Aligned Memory Blocks): Add documentation for aligned_alloc
26480         and suggest it as an alternative to posix_memalign.
26481         (Hooks for Malloc): Document __memalign_hook is also called
26482         for aligned_alloc.  (Summary of Malloc): Add summary for
26483         aligned alloc.  Document __memalign_hook is also called
26484         for aligned_alloc.
26486 2013-12-16  Will Newton  <will.newton@linaro.org>
26488         * manual/memory.texi (Malloc Examples): Clarify default
26489         alignment documentation.  Suggest posix_memalign rather
26490         than memalign or valloc.
26491         (Aligned Memory Blocks): Remove suggestion to use memalign
26492         or valloc.  Remove obsolete comment about BSD.
26493         Document memalign errno values and mark the function obsolete.
26494         Document posix_memalign returned error codes.  Mark valloc
26495         as obsolete.  (Hooks for Malloc): __memalign_hook is also
26496         called for posix_memalign and valloc.
26497         (Summary of Malloc): Add posix_memalign to function summary.
26498         __memalign_hook is also called for posix_memalign and valloc.
26500 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26502         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26503         TAYLOR_SIN.
26504         (__sin): Adjust.
26505         (__cos): Likewise.
26506         (sloww): Use mynumber union.  Expand ternary operator into
26507         if-else statements.
26508         (cslow): use mynumber union.
26510 2013-12-16  Allan McRae  <allan@archlinux.org>
26512         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26513         * configure: Regenerated.
26515         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26517         [BZ #14120]
26518         * configure.ac: Added --enable-maintainer-mode. Check for
26519         autoconf when enabled.
26520         * configure: Regenerated.
26522         * nscd/nscd.service: New file.
26523         * nscd/nscd.tmpfiles: New file.
26525 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
26527         [BZ #12100]
26528         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26529         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26530         * sysdeps/x86_64/multiarch/strstr.c: ... here.
26531         (strstr): Add __strstr_sse2_unaligned ifunc.
26532         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26533         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26534         (strcasestr): Remove __strcasestr_sse42 ifunc.
26535         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26536         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26537         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26539 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26541         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26542         * sysdeps/sh/bits/fenv.h: ... here.
26543         * sysdeps/sh/sh4/fpu/bits: Remove directory.
26545 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26547         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26549         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26550         hypotf multiarch implementations.
26551         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26552         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26553         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26554         multiarch hypot for PPC64.
26555         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26556         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26557         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26558         multiarch hypotf for PPC64.
26560         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26561         modff multiarch implementations.
26562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26565         multiarch modf for PPC64.
26566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26569         multiarch modff for PPC64.
26571         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26572         and logl multiarch implementations.
26573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26576         multiarch logb for PPC64.
26577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26580         multiarch logb for PPC64.
26581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26584         multiarch logb for PPC64.
26586         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26587         isinff multiarch implementation.
26588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26589         file.
26590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26592         multiarch isinf for PPC64.
26593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26594         file.
26595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26596         multiarch isinff for PPC64.
26598         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26599         finitef multiarch implementation.
26600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26601         file.
26602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26604         multiarch finite for PPC64.
26605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26606         file.
26607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
26608         multiarch finitef for PPC64.
26610         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
26611         lrint multiarch implementation.
26612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
26613         file.
26614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
26615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
26616         multiarch llrint for PPC64.
26617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
26618         multiarch lrint for PPC64.
26620         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
26621         copysignf multiarch implementation.
26622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
26623         file.
26624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
26625         file.
26626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
26627         multiarch copysign for PPC64.
26628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
26629         multiarch copysignf for PPC64.
26631         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
26632         multiarch implementation.
26633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
26634         file.
26635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
26636         file.
26637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
26638         file.
26639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
26640         file.
26641         multiarch llround for PPC64.
26642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
26643         multiarch trunc for PPC64.
26644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
26645         multiarch truncf for PPC64.
26647         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
26648         multiarch implementation.
26649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
26650         file.
26651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
26652         file.
26653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
26654         file.
26655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
26656         file.
26657         multiarch llround for PPC64.
26658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
26659         multiarch round for PPC64.
26660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
26661         multiarch roundf for PPC64.
26663         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
26664         multiarch implementation.
26665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
26666         file.
26667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26668         file.
26669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26670         file.
26671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26672         file.
26673         multiarch llround for PPC64.
26674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26675         multiarch floor for PPC64.
26676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26677         multiarch floorf for PPC64.
26679         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26680         multiarch implementation.
26681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26682         file.
26683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26684         file.
26685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26686         file.
26687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26688         file.
26689         multiarch llround for PPC64.
26690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26691         multiarch ceil for PPC64.
26692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26693         multiarch ceilf for PPC64.
26695         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26696         multiarch implementation.
26697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26698         file.
26699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26700         file.
26701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26702         file.
26703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26704         multiarch llround for PPC64.
26705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26706         multiarch lround for PPC64.
26708         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26709         multiarch implementation.
26710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26713         file.
26714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26717         multiarch isnan for PPC64.
26718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26719         multiarch isnanf for PPC64.
26721         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26722         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26723         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26724         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26725         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26728         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26729         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26730         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26731         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26734         multiarch implementations.
26735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26736         (__libc_ifunc_impl_list): Likewise.
26737         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26738         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26739         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26740         multiarch stpcpy for PPC64.
26742         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26743         multiarch implementations.
26744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26745         (__libc_ifunc_impl_list): Likewise.
26746         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26747         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26748         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26749         multiarch strcpy for PPC64.
26751         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26752         redefine function name.
26753         (_wordcopy_fwd_dest_aligned): Likewise.
26754         (_wordcopy_bwd_aligned): Likewise.
26755         (_wordcopy_bwd_dest_aligned): Likewise.
26756         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26757         multiarch implementations.
26758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26759         (__libc_ifunc_impl_list): Likewise.
26760         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26761         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26762         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26763         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26764         multiarch wcscpy for PPC64.
26766         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26767         multiarch implementations.
26768         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26769         (__libc_ifunc_impl_list): Likewise.
26770         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26771         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26772         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26773         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26774         multiarch wcscpy for PPC64.
26776         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26777         multiarch implementations.
26778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26779         (__libc_ifunc_impl_list): Likewise.
26780         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26781         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26782         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26783         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26784         multiarch wcsrchr for PPC64.
26786         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26787         multiarch implementations.
26788         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26789         (__libc_ifunc_impl_list): Likewise.
26790         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26791         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26792         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26793         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26794         multiarch wcschr for PPC64.
26796         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26797         multiarch implementations.
26798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26799         (__libc_ifunc_impl_list): Likewise.
26800         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26801         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26802         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26803         multiarch strchrnul for PPC64.
26805         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26806         implementations.
26807         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26808         (__libc_ifunc_impl_list): Likewise.
26809         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26810         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26811         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26812         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26813         strchr for PPC64.
26815         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26816         implementations.
26817         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26818         (__libc_ifunc_impl_list): Likewise.
26819         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26820         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26821         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26822         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26823         strncmp for PPC64.
26825         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26826         multiarch implementations.
26827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26828         (__libc_ifunc_impl_list): Likewise.
26829         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26830         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26831         strncasecmp for PPC64.
26832         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26833         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26834         multiarch strncasecmp_l for PPC64.
26836         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26837         multiarch implementations.
26838         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26839         (__libc_ifunc_impl_list): Likewise.
26840         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26841         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26842         multiarch strcasecmp for PPC64.
26843         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26844         file.
26845         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26846         multiarch strcasecmp_l for PPC64.
26848         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26849         implementations.
26850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26851         (__libc_ifunc_impl_list): Likewise.
26852         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26853         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26854         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26855         strnlen for PPC64.
26857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26858         implementations.
26859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26860         (__libc_ifunc_impl_list): Likewise.
26861         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26862         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26863         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26864         strlen for PPC64.
26866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26867         implementations.
26868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26869         (__libc_ifunc_impl_list): Likewise.
26870         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26871         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26872         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26873         rawmemrchr for PPC64.
26875         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26876         implementation.
26877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26878         (__libc_ifunc_impl_list): Likewise.
26879         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26880         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26881         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26882         memrchr for PPC64.
26884         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26885         implementation.
26886         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26887         (__libc_ifunc_impl_list): Likewise.
26888         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26889         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26890         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26891         memchr for PPC64.
26893         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26894         implementation.
26895         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26896         (__libc_ifunc_impl_list): Likewise.
26897         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26898         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26899         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26900         mempcpy for PPC64.
26902         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26903         avoid cretion of __bzero symbol.
26904         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26905         Likewise.
26906         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26907         Likewise.
26908         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26909         Likewise.
26910         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26911         multiarch implementations.
26912         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26913         (__libc_ifunc_impl_list): Likewise.
26914         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26915         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26916         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26917         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26918         bzero for PPC32.
26919         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26920         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26921         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26922         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26923         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26924         memset for PPC64.
26925         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26927         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26928         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26929         implementations.
26930         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26931         (__libc_ifunc_impl_list): Likewise.
26932         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26933         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26934         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26935         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26936         memcmp for PPC64.
26938         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26939         multiarch for POWER/PPC64.
26940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26941         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26942         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26943         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26944         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26945         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26946         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26947         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26948         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26949         memcpy for PPC64.
26951         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26952         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26953         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26954         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26955         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26956         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26957         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26958         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26959         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26960         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26961         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26962         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26963         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26964         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26965         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26974 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26976         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26978 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26980         * benchtests/Makefile (bench): Add exp2 and log2.
26981         (LDLIBS-bench-exp2): Add -lm.
26982         (LDLIBS-bench-log2): Likewise.
26983         * benchtests/exp2-inputs: New inputs file.
26984         * benchtests/log2-inputs: New inputs file.
26985         * benchtests/log-inputs: Add new inputs.
26986         * benchtests/tan-inputs: Likewise.
26988 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26990         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
26991         definition...
26992         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
26993         (csloww2): ... from here.
26995         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
26996         instead of structures.
26997         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
26998         (POLYNOMIAL): Likewise.
26999         (TAYLOR_SLOW): Likewise.
27000         (__sin): Likewise.
27001         (__cos): Likewise.
27002         (slow1): Likewise.
27003         (slow2): Likewise.
27004         (sloww): Likewise.
27005         (sloww1); Likewise.
27006         (sloww2): Likewise.
27007         (bsloww1): Likewise.
27008         (bsloww2): Likewise.
27009         (cslow2): Likewise.
27010         (csloww): Likewise.
27011         (csloww1): Likewise.
27012         (csloww2): Likewise.
27014 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27016         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27017         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27018         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27019         * malloc/hooks.c (realloc_check): Likewise.
27021         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27022         * malloc/arena.c: Remove PER_THREAD conditional.
27023         [!PER_THREAD]: Remove code.
27024         (ptmalloc_unlock_all2): Likewise.
27025         (ptmalloc_init): Likewise.
27026         (_int_new_arena): Likewise.
27027         (arena_get2): Likewise.
27028         * malloc/hooks.c (__malloc_get_state): Likewise.
27029         (__malloc_set_state): Likewise.
27030         * malloc/malloc.c: Likewise.
27031         (struct malloc_state): Likewise.
27032         (struct malloc_par): Likewise.
27033         (__libc_realloc): Likewise.
27034         (__libc_mallopt): Likewise.
27036 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27038         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27040 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27042         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27043         macro to a function.  Check for zero perturb_byte.
27044         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27046         * malloc/malloc.c: (force_reg): Remove.
27047         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27048         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27049         force_reg by atomic_forced_read.
27050         * malloc/arena.c (ptmalloc_init): Likewise.
27051         * malloc/hooks.c (top_check): Likewise.
27053 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27057 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27059         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27061 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27063         * math/auto-libm-test-in: Add tests of lgamma.
27064         * math/auto-libm-test-out: Regenerated.
27065         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27066         (M_LOG_2_SQRT_PIl): Likewise.
27067         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27068         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27069         mpfr_f_f1.
27070         (func_calc_desc): Add mpfr_f_f1 union field.
27071         (ARGS1): New macro.
27072         (ARGS2): Likewise.
27073         (ARGS3): Likewise.
27074         (ARGS4): Likewise.
27075         (RET1): Likewise.
27076         (RET2): Likewise.
27077         (CALC): Likewise.
27078         (FUNC): Likewise.
27079         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27080         (test_functions): Add lgamma.
27081         (calc_generic_results): Handle mpfr_f_f1.
27082         * sysdeps/i386/fpu/libm-test-ulps: Update.
27083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27085 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27087         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27088         __mpn_add_n for PowerPC64/POWER7.
27089         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27090         __mpn_sub_n for PowerPC64/POWER7.
27092         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27093         __mpn_addmul_1 for PowerPC64.
27094         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27095         __mpn_submul_1 for PowerPC64.
27096         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27097         for PowerPC64.
27098         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27099         for PowerPC64.
27101 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27103         [BZ #15089]
27104         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27106 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27108         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27110         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27111         add multiarch folders.
27112         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27113         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27114         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27115         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27116         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27117         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27118         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27119         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27120         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27121         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27122         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27131         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27133         New file.
27134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27135         New file.
27136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27137         multiarch __ieee754_hypot for PowerPC32.
27138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27139         New file.
27140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27141         New file.
27142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27143         multiarch __ieee754_hypotf for PowerPC32.
27145         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27146         long_double_symbol only if __logbl is defined.
27147         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27148         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27149         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27150         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27151         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27152         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27153         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27154         path for implementation.
27155         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27156         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27158         logb, and logbl multiarch implementations for PowerPC32.
27159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27160         file.
27161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27162         file.
27163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27164         multiarch logb for PowerPC32.
27165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27166         file.
27167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27168         file.
27169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27170         multiarch logbf for PowerPC32.
27171         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27173         file.
27174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27175         multiarch logbl implementation for PowerPC32.
27177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27178         and modff multiarch implementations.
27179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27180         New file.
27181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27182         New file.
27183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27184         multiarch modf for PowerPC32.
27185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27186         New file.
27187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27188         New file.
27189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27190         multiarch modff for PowerPC32.
27192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27193         and lrintf multiarch implementations.
27194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27195         New file.
27196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27197         New file.
27198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27199         multiarch lrint for PowerPC32.
27200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27201         file: multiarch lrintf for PowerPC32.
27203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27204         and lroundf multiarch implementations.
27205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27206         New file.
27207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27208         New file.
27209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27210         New file.
27211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27212         multiarch lround for PowerPC32.
27213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27214         file: multiarch lroundf for PowerPC32.
27216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27217         copysign and copysignf multiarch implementations.
27218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27219         New file.
27220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27221         New file.
27222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27223         file: multiarch copysign for PowerPC32.
27224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27225         file: multiarch copysignf for PowerPC32.
27227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27228         and truncf multiarch implementations.
27229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27230         New file.
27231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27232         file.
27233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27234         multiarch trunc for PowerPC32.
27235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27236         New file.
27237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27238         New file.
27239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27240         multiarch truncf for PowerPC32.
27242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27243         and roundf multiarch implementations.
27244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27245         New file.
27246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27247         file.
27248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27249         multiarch round for PowerPC32.
27250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27251         New file.
27252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27253         New file.
27254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27255         multiarch roundf for PowerPC32.
27257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27258         and floorf multiarch implementations.
27259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27260         New file.
27261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27262         file.
27263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27264         multiarch floor for PowerPC32.
27265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27266         New file.
27267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27268         New file.
27269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27270         multiarch floorf for PowerPC32.
27272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27273         and ceilf multiarch implementations.
27274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27275         New file.
27276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27277         file.
27278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27279         multiarch ceil for PowerPC32.
27280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27281         New file.
27282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27283         file.
27284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27285         multiarch ceilf for PowerPC32.
27287         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27288         is defined.
27289         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27290         FINITEF is defined.
27291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27292         and finitef multiarch implementations.
27293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27294         New file.
27295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27296         file.
27297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27298         multiarch finite for PowerPC32.
27299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27300         New file.
27301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27302         file: multiarch finitef for PowerPC32.
27304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27305         and isinff multiarch implementations.
27306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27307         file.
27308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27309         file.
27310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27311         multiarch isinf for PowerPC32.
27312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27313         New file.
27314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27315         multiarch isinff for PowerPC32.
27317         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27318         alias when __isnan is defined.
27319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27320         and isnanf multiarch implementations.
27321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27322         file.
27323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27324         file.
27325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27326         file.
27327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27328         file.
27329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27330         multiarch isnan for PowerPC32.
27331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27332         New file.
27333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27334         New file.
27335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27336         multiarch isnanf for PowerPC32.
27338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27339         and sqrtf multiarch implementations.
27340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27341         file.
27342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27343         file.
27344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27345         multiarch sqrt for PowerPC32.
27346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27347         file.
27348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27349         file.
27350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27351         multiarch sqrtf for PowerPC32.
27353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27354         and llroundf multiarch implementations.
27355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27356         New file.
27357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27358         New file.
27359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27360         New file.
27361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27362         file: multiarch llround for PowerPC32.
27363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27364         file: multiarch llroundf for PowerPC32.
27366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27367         multiarch PowerPC32 fpu implementations.
27368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27369         New file.
27370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27371         New file.
27372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27373         multiarch llrint for PowerPC32.
27374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27375         New file.
27376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27377         New file.
27378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27379         file.
27381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27383         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27384         file.
27385         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27386         file.
27387         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27388         file.
27389         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27390         multiarch wordcopy for PPC32.
27391         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27392         wordcopy objects.
27393         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27394         (__libc_ifunc_impl_list): Likewise.
27395         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27396         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27397         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27398         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27399         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27400         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27402         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27403         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27404         file.
27405         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27406         file.
27407         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27408         file.
27409         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27410         multiarch wcscpy for PPC32.
27411         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27412         multiarch objects.
27413         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27414         (__libc_ifunc_impl_list): Likewise.
27415         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27416         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27417         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27418         sysdeps/powerpc/power6/wcscpy.c.
27420         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27421         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27422         file.
27423         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27424         file.
27425         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27426         file.
27427         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27428         multiarch wcsrchr for PPC32.
27429         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27430         multiarch objects.
27431         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27432         (__libc_ifunc_impl_list): Likewise.
27433         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27434         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27435         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27436         sysdeps/powerpc/power6/wcsrchr.c.
27438         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27439         file.
27440         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27441         file.
27442         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27443         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27444         multiarch wcschr for PPc32.
27445         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27446         multiarch objects.
27447         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27448         (__libc_ifunc_impl_list): Likewise.
27449         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27450         * sysdeps/powerpc/power6/wcschr.c: ... to here.
27451         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27452         sysdeps/powerpc/power6/wcschr.c.
27454         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27455         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27456         file.
27457         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27458         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27459         file: multiarch strchr for PPC32.
27460         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27461         multiarch objects.
27462         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27463         (__libc_ifunc_impl_list): Likewise.
27465         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27466         name.
27467         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27468         file.
27469         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27470         file.
27471         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27472         multiarch strchrnul for PPC32.
27473         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27474         multiarch objects.
27475         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27476         (__libc_ifunc_impl_list): Likewise.
27478         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27479         file.
27480         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27481         multiarch strncasecmp for PPC32.
27482         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27483         file.
27484         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27485         multiarch strncasecmp_l for PPC32.
27486         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27487         strncasecmp multiarch objects.
27488         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27489         (__libc_ifunc_impl_list): Likewise.
27491         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27492         file.
27493         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27494         multiarch strncasecmp for PPC32.
27495         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27496         New file.
27497         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27498         multiarch strcasecmp_l for PPC32.
27499         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27500         multiarch objects.
27501         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27502         (__libc_ifunc_impl_list): Likewise.
27504         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27505         file.
27506         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27507         file.
27508         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27509         multiarch strncmp for PPC32.
27510         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27511         multiarch objects.
27512         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27513         (__libc_ifunc_impl_list): Likewise.
27515         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27516         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27517         file.
27518         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27519         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27520         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27521         multiarch objects.
27522         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27523         (__libc_ifunc_impl_list): Likewise.
27525         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27526         file.
27527         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27528         file.
27529         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27530         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27531         multiarch objects.
27532         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27533         (__libc_ifunc_impl_list): Likewise.
27535         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27536         file.
27537         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27538         file.
27539         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27540         multiarch rawmemchr for PPC32.
27541         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27542         multiarch objects.
27543         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27544         (__libc_ifunc_impl_list): Likewise.
27546         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27547         file.
27548         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27549         file.
27550         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27551         file: memrchr multiarch for PPC32.
27552         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27553         multiarch objects.
27554         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27555         (__libc_ifunc_impl_list): Likewise.
27557         * string/memchr.c (__memchr): Using macro to redefine symbol name.
27558         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27559         file.
27560         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27561         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27562         multiarch memchr for PPC32.
27563         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27564         multiarch objects.
27565         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27566         (__libc_ifunc_impl_list): Likewise.
27568         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27569         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27570         file.
27571         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27572         file.
27573         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27574         file: multiarch mempcpy for PPC32.
27575         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27576         multiarch objects.
27577         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27578         (__libc_ifunc_impl_list): Likewise.
27580         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27581         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27582         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27583         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27584         multiarch bzero for PPC32.
27585         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27586         file.
27587         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27588         file.
27589         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27590         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27591         file: multiarch memset for PPC32.
27592         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27593         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27594         memset multiarch objects.
27595         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27596         (__libc_ifunc_impl_list): Likewise.
27598         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27599         file.
27600         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27601         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27602         memcmp for PPC32.
27603         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27604         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27605         multiarch objects.
27606         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27607         (__libc_ifunc_impl_list): Likewise.
27609         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
27610         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
27611         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
27612         file.
27613         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
27614         file.
27615         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
27616         file.
27617         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
27618         multiarch memcpy for PPC32.
27619         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
27620         multiarch objects.
27621         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27622         (__libc_ifunc_impl_list): Likewise.
27624         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
27625         support multiarch for POWER/PPC32.
27626         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
27627         Likewise.
27628         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
27630         Implies file to make multiarch folder appers before the fpu and
27631         default folder for power4 configuration.
27633 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27635         * scripts/bench.pl: Append volatile keyword to type.
27637 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27639         * sysdeps/sh/sotruss-lib.c: New file.
27640         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
27642 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27646 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
27648         [BZ #6810]
27649         * math/w_tgamma.c: Include <errno.h>.
27650         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
27651         * math/w_tgammaf.c: Include <errno.h>.
27652         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
27653         * math/w_tgammal.c: Include <errno.h>.
27654         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
27655         * math/auto-libm-test-in: Do not allow missing errno on tgamma
27656         underflow.  Add more tgamma tests.
27657         * math/auto-libm-test-out: Regenerated.
27658         * sysdeps/i386/fpu/libm-test-ulps: Update.
27659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27661         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
27662         sin, sinh, tan, tanh, tgamma, y0 and y1.
27663         * math/auto-libm-test-out: Regenerated.
27664         * math/libm-test.inc (TEST_COND_x86_64): New macro.
27665         (TEST_COND_x86): Likewise.
27666         (M_E2l): Remove macro.
27667         (M_E3l): Likewise.
27668         (M_2_SQRT_PIl): Likewise.
27669         (M_SQRT_PIl): Likewise.
27670         (M_1_DIV_El): Likewise.
27671         (log_test_data): Use AUTO_TESTS_f_f.
27672         (log10_test_data): Likewise.
27673         (log1p_test_data): Likewise.
27674         (log2_test_data): Likewise.
27675         (sin_test_data): Likewise.
27676         (sin_tonearest_test_data): Likewise.
27677         (sin_towardzero_test_data): Likewise.
27678         (sin_downward_test_data): Likewise.
27679         (sin_upward_test_data): Likewise.
27680         (sinh_test_data): Likewise.
27681         (sinh_tonearest_test_data): Likewise.
27682         (sinh_towardzero_test_data): Likewise.
27683         (sinh_downward_test_data): Likewise.
27684         (sinh_upward_test_data): Likewise.
27685         (tan_test_data): Likewise.
27686         (tan_tonearest_test_data): Likewise.
27687         (tan_towardzero_test_data): Likewise.
27688         (tan_downward_test_data): Likewise.
27689         (tan_upward_test_data): Likewise.
27690         (tanh_test_data): Likewise.
27691         (tgamma_test_data): Likewise.
27692         (y0_test_data): Likewise.
27693         (y1_test_data): Likewise.
27694         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27695         (special_real_inputs): Add pi/4.
27696         * sysdeps/i386/fpu/libm-test-ulps: Update.
27697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27699 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27701         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27702         "longjmp_target" static probes.
27703         (__longjmp): Rename to __longjmp_symbol.
27704         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27705         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27706         on which longjmp to generate.
27707         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27708         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27709         probe.
27710         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27711         (__sigjmp_save): Rename to __sigjmp_save_symbol.
27712         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27713         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27714         and __sigjmp_save_symbol based on which sigsetjmp to generated.
27715         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27717         __longjmp_symbol based on which __longjmp to generate.
27718         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27719         probe.
27720         (setjmp): Rename to setjmp_symbol.
27721         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27722         (_setjmp): Rename to _setjmp_symbol.
27723         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27724         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27725         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27726         which setjmp to generate.
27727         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27728         "longjmp_target" static probes.
27730 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27732         * benchtests/README: Add note about output arguments.
27733         * benchtests/bench-sincos.c: Remove file.
27734         * benchtests/sincos-inputs: New file.
27735         * scripts/bench.pl: Identify output arguments and define
27736         static variables for them.
27738         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27740         [BZ #15941]
27741         * Makefile (INSTALL): Add install-plain.texi as the primary
27742         dependency.
27743         * manual/install-plain.texi: New file.
27744         * manual/install.texi: Include node directive only for
27745         non-plaintext output.
27747 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
27749         * stdlib/longlong.h: Update from GCC.
27751         [BZ #6807]
27752         [BZ #15901]
27753         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27754         * math/w_j0f.c (y0f): Likewise.
27755         * math/w_j0l.c (__y0l): Likewise.
27756         * math/w_j1.c (y1): Likewise.
27757         * math/w_j1f.c (y1f): Likewise.
27758         * math/w_j1l.c (__y1l): Likewise
27759         * math/w_jn.c (yn): Likewise.
27760         * math/w_jnf.c (ynf): Likewise.
27761         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27762         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
27763         value for Bessel function domain errors outside _SVID_ mode.
27764         Adjust sign of return value for yn (negative integer, 0).
27765         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27766         by zero in return for negative x and set sign appropriately for
27767         negative n.
27768         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27769         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27770         * math/libm-test.inc (y0_test_data): Add more tests and adjust
27771         expectations in error cases.
27772         (y1_test_data): Likewise.
27773         (yn_test_data): Likewise.
27774         * sysdeps/i386/fpu/libm-test-ulps: Update.
27775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27777 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27779         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27780         "64" to "64-v1".  Add "64-v2".
27781         (abi-64-options): Rename to ...
27782         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
27783         (abi-64-condition): Rename to ...
27784         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
27785         (abi-64-ld-soname): Rename to ...
27786         (abi-64-v1-ld-soname): ... this.
27787         (abi-64-v2-options): Define.
27788         (abi-64-v2-condition): Likewise.
27789         (abi-64-v2-ld-soname): Likewise.
27790         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27791         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27796 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27797             Alan Modra  <amodra@gmail.com>
27799         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27800         New versions for use with the ELFv2 ABI.
27801         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27802         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27803         declaration.
27804         (struct La_ppc64v2_retval): Likewise.
27805         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27806         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27807         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27808         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27809         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27810         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27811         Do not save or restore CR.
27812         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27813         (_dl_profile_resolve): Do no save or restore CR.  Support extended
27814         return values for ELFv2 ABI.  Fix location of FPR return registers.
27815         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27816         updated values for _CALL_ELF == 2.
27817         (La_regs, La_retval, int_retval): Likewise.
27819 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27821         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27822         (FRAME_MIN_SIZE_PARM): Likewise.
27823         (FRAME_BACKCHAIN): Likewise.
27824         (FRAME_CR_SAVE): Likewise.
27825         (FRAME_LR_SAVE): Likewise.
27826         (FRAME_TOC_SAVE): Likewise.
27827         (FRAME_PARM_SAVE): Likewise.
27828         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27829         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27830         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27831         (call_mcount_parm_offset): New macro.
27832         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27833         (PROF): Use symbolic stack frame offsets.
27834         (TAIL_CALL_SYSCALL_ERROR): Likewise.
27835         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27836         Redefine in terms of FRAME_MIN_SIZE.
27837         (_dl_runtime_resolve): Use symbolic stack frame offsets.
27838         (_dl_profile_resolve): Likewise.  Update comment.
27839         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27840         symbols stack frame offsets.
27841         (__sigsetjmp): Likewise.
27842         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27843         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27844         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27845         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27848         (FRAME_BACKCHAIN): Remove.
27849         (FRAME_CR_SAVE): Likewise.
27850         (FRAME_LR_SAVE): Likewise.
27851         (FRAME_COMPILER_DW): Likewise.
27852         (FRAME_LINKER_DW): Likewise.
27853         (FRAME_TOC_SAVE): Likewise.
27854         (FRAME_PARM_SAVE): Likewise.
27855         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27856         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27857         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27859         (CHECK_SP): Use symbolic stack frame offsets.
27860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27861         zone" instead of caller's parameter save area for temp storage.
27862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27863         Likewise.  Also, use symbolic stack frame offsets.
27864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27865         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27866         our own stack frame instead of the caller's.
27867         (__socket): Use symbolic stack frame offsets.
27869 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27870             Alan Modra  <amodra@gmail.com>
27872         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27873         Define.
27874         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27875         (PPC64_LOCAL_ENTRY_OFFSET): Define.
27876         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27877         New function.
27878         (elf_machine_fixup_plt): Call it.
27879         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
27880         reloc arguments.
27881         (elf_machine_rela): Update call to elf_machine_plt_conflict.
27882         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27883         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27884         r2 before calling target.
27886 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27887             Alan Modra  <amodra@gmail.com>
27889         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27890         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27891         versions of macros to support ELFv2 ABI.
27892         (LOCALENTRY): New macro.
27893         (ENTRY, EALIGN): Use it.
27894         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27895         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27896         fall through into ENTRY entry point.
27897         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27898         Only define if _CALL_ELF != 2.
27900         (elf_machine_matches_host): Verify ABI version matches.
27901         (RTLD_START): Use LOCALENTRY.
27902         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27903         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27904         (PLT_ENTRY_WORDS): New macro.
27905         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27906         (elf_machine_runtime_setup): Support ELFv2 ABI.
27907         (elf_machine_fixup_plt): Likewise.
27908         (elf_machine_plt_conflict): Likewise.
27909         (resolve_ifunc): Likewise.
27910         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27911         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27912         Likewise.
27913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27914         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27916         (makecontext): Support ELFv2 ABI.
27917         * elf/elf.h (EF_PPC64_ABI): Define.
27919 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27921         * sysdeps/powerpc/powerpc64/sysdep.h
27922         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27923         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27924         (ENTRY) [ASSEMBLER]: ... but instead here ...
27925         (EALIGN) [ASSEMBLER]: ... and here.
27926         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27927         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27928         (ENTRY_2) [!ASSEMBLER]: Use it.
27929         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27930         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
27931         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27932         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27933         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27935         Use PPC64_LOAD_FUNCPTR.
27937         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27939 2013-12-04  Alan Modra  <amodra@gmail.com>
27941         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27942         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27943         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27944         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27946         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27947         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27948         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27949         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27950         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27951         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27953 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27956         (__makecontext): Fix incorrect CFI when backtracing out of
27957         context created via makecontext.
27958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27959         (__setcontext): Fix incorrect CFI during switch to new context.
27960         (__novec_setcontext): Likewise.
27962 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27964         [BZ #4772]
27965         * time/strptime_l.c (__strptime_internal): Allow modifiers
27966         in strptime.
27967         * time/tst-strptime.c (day_tests): Add testcase.
27969 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27971         * scripts/bench.pl: Skip over blank lines.
27973 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
27975         [BZ #926]
27976         * manual/time.texi (Calendar Time): Clarify what timezone functions
27977         use.
27979 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27983 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27985         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
27986         implementation.
27987         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27988         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27989         * debug/memset_chk.c (__memset_chk): Likewise.
27990         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
27991         * debug/strncpy_chk.c: Likewise.
27993 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27995         [BZ #15268]
27996         [BZ #15425]
27997         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
27998         (__ieee754_exp): For possibly underflowing results, check size of
27999         result and force underflow exception if required.
28000         * math/auto-libm-test-in: Add more tests of exp.
28001         * math/auto-libm-test-out: Regenerated.
28002         * sysdeps/i386/fpu/libm-test-ulps: Update.
28003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28005         [BZ #16283]
28006         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28007         * math/w_exp2f.c (__exp2f): Likewise.
28008         * math/w_exp2l.c (__exp2l): Likewise.
28009         * math/auto-libm-test-in: Do not allow missing errno on exp2
28010         underflow.
28011         * math/auto-libm-test-out: Regenerated.
28013 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28015         [BZ #16274]
28016         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28017         handle filename validation.
28018         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28019         (do_open): Delete.
28021 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28023         [BZ #6786]
28024         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28025         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28026         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28027         <float.h>.
28028         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28029         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28030         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28031         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28032         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28033         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28034         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28035         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28036         Add more erfc tests.
28037         * math/auto-libm-test-out: Regenerated.
28038         * sysdeps/i386/fpu/libm-test-ulps: Update.
28039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28041         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28042         exp2, expm1, j0 and j1.
28043         * math/auto-libm-test-out: Regenerated.
28044         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28045         (erfc_test_data): Likewise.
28046         (exp_test_data): Likewise.
28047         (exp_tonearest_test_data): Likewise.
28048         (exp_towardzero_test_data): Likewise.
28049         (exp_downward_test_data): Likewise.
28050         (exp_upward_test_data): Likewise.
28051         (exp10_test_data): Likewise.
28052         (exp2_test_data): Likewise.
28053         (expm1_test_data): Likewise.
28054         (j0_test_data): Likewise.
28055         (j1_test_data): Likewise.
28056         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28057         (input_flag_type): Add flag_xfail_rounding.
28058         (input_flags): Add xfail-rounding.
28059         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28060         (output_for_one_input_case): Handle flag_xfail_rounding.
28061         * sysdeps/i386/fpu/libm-test-ulps: Update.
28062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28064 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28066         [BZ #16289]
28067         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28068         division by 0.
28070 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28072         [BZ #16195]
28073         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28074         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28075         (STAP_PROBE0): New macro.
28076         (STAP_PROBE1): Likewise.
28077         (STAP_PROBE2): Likewise.
28078         (STAP_PROBE3): Likewise.
28079         (STAP_PROBE4): Likewise.
28081 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28083         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28085 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28087         * benchtests/Makefile (bench): Add sqrt.
28088         (LDLIBS-bench-sqrt): New.
28089         * benchtests/sqrt-input: New.
28091 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28093         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28094         (GAIH_EAI): Likewise.
28095         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28096         (gaih_inet): Likewise.
28097         (getaddrinfo): Don't use GAIH_EAI.
28099         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28100         (struct gaih): Remove definition.
28102 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28104         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28105         Use HERRNOP directly.
28107 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28111 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28113         * math/gen-auto-libm-tests.c (test_functions): Add more
28114         single-argument functions.
28115         (special_fill_pi_2): New function.
28116         (special_fill_minus_pi_2): Likewise.
28117         (special_fill_pi_6): Likewise.
28118         (special_fill_minus_pi_6): Likewise.
28119         (special_fill_pi_3): Likewise.
28120         (special_fill_2pi_3): Likewise.
28121         (special_fill_e): Likewise.
28122         (special_fill_1_e): Likewise.
28123         (special_fill_e_minus_1): Likewise.
28124         (special_real_inputs): Add more special inputs.
28125         (output_for_one_input_case): Do not require ERANGE on underflow to
28126         zero if round-to-nearest result does not underflow to zero, unless
28127         exact results required.
28128         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28129         atan, atanh, cbrt, cos and cosh.
28130         * math/auto-libm-test-out: Regenerated.
28131         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28132         (acos_tonearest_test_data): Likewise.
28133         (acos_towardzero_test_data): Likewise.
28134         (acos_downward_test_data): Likewise.
28135         (acos_upward_test_data): Likewise.
28136         (acosh_test_data): Likewise.
28137         (asin_test_data): Likewise.
28138         (asin_tonearest_test_data): Likewise.
28139         (asin_towardzero_test_data): Likewise.
28140         (asin_upward_test_data): Likewise.
28141         (asinh_test_data): Likewise.
28142         (atan_test_data): Likewise.
28143         (atanh_test_data): Likewise.
28144         (cbrt_test_data): Likewise.
28145         (cos_test_data): Likewise.
28146         (cos_tonearest_test_data): Likewise.
28147         (cos_towardzero_test_data): Likewise.
28148         (cos_downward_test_data): Likewise.
28149         (cos_upward_test_data): Likewise.
28150         (cosh_test_data): Likewise.
28151         (cosh_tonearest_test_data): Likewise.
28152         (cosh_towardzero_test_data): Likewise.
28153         (cosh_downward_test_data): Likewise.
28154         (cosh_upward_test_data): Likewise.
28155         * sysdeps/i386/fpu/libm-test-ulps: Update.
28156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28158 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28160         [BZ #6787]
28161         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28162         * math/w_exp10f.c (__exp10f): Likewise.
28163         * math/w_exp10l.c (__exp10l): Likewise.
28164         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28165         errno settings in existing tests.
28167         [BZ #14032]
28168         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28169         precision control set to double precision.
28170         * sysdeps/i386/fpu/w_sqrt.c: New file.
28171         * math/auto-libm-test-in: Add more tests.
28172         * math/auto-libm-test-out: Update.
28174         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28175         (sqrt_test_tonearest): New function.
28176         (sqrt_towardzero_test_data): New variable.
28177         (sqrt_test_towardzero): New function.
28178         (sqrt_downward_test_data): New variable.
28179         (sqrt_test_downward): New function.
28180         (sqrt_upward_test_data): New variable.
28181         (sqrt_test_upward): New function.
28182         (main): Call the new functions.
28184         * math/gen-auto-libm-tests.c: New file.
28185         * math/auto-libm-test-in: Likewise.
28186         * math/auto-libm-test-out: New generated file.
28187         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28188         variables.
28189         (%beautify): Add generated representations of zero.
28190         (top level): Set $auto_input and call parse_auto_input.
28191         (beautify): Remove trailing "f" from hex float constants.
28192         (parse_args): Handle XFAIL_TEST.
28193         (convert_condition): New function.
28194         (or_value): Likewise.
28195         (or_cond_value): Likewise.
28196         (generate_testfile): Handle AUTO_TESTS_* lines.
28197         (parse_auto_input): New function.
28198         * math/libm-test.inc (XFAIL_TEST): New macro.
28199         (ERRNO_UNCHANGED): Update value.
28200         (ERRNO_EDOM): Likewise.
28201         (ERRNO_ERANGE): Likewise.
28202         (IGNORE_RESULT): Likewise.
28203         (TEST_COND_flt_32): New macro.
28204         (TEST_COND_dbl_64): Likewise.
28205         (TEST_COND_ldbl_96_intel): Likewise.
28206         (TEST_COND_ldbl_96_m68k): Likewise.
28207         (TEST_COND_ldbl_128): Likewise.
28208         (TEST_COND_ldbl_128ibm): Likewise.
28209         (TEST_COND_long32): Likewise.
28210         (TEST_COND_long64): Likewise.
28211         (TEST_COND_before_rounding): Likewise.
28212         (TEST_COND_after_rounding): Likewise.
28213         (enable_test): Handle XFAIL_TEST flag.
28214         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28215         with finite results.
28216         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28217         auto-libm-test-out.
28219 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28220             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28222         [BZ #16214]
28223         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28224         __tls_get_addr_internal instead of __tls_get_offset in order to
28225         avoid GOT pointer dependency.  Make rtld export
28226         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28227         __tls_get_addr since we are a __tls_get_offset platform.
28228         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28229         GOT pointer being set up before.
28230         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28232 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28234         * manual/math.texi (Errors in Math Functions): Document accuracy
28235         goals.
28237         [BZ #15004]
28238         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28239         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28240         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28241         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28242         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28243         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28244         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28245         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28246         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28247         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28248         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28249         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28250         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28251         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28252         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28253         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28255         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28256         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28257         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28258         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28259         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28260         Likewise.
28261         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28262         Likewise.
28263         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28264         Likewise.
28265         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28266         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28267         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28268         atomic-feupdateenv and flt-rounds.
28269         * sysdeps/powerpc/nofpu/Versions (libc): Add
28270         __atomic_feholdexcept, __atomic_feclearexcept,
28271         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28272         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28273         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28274         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28275         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28276         here.
28277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28278         Update.
28280         * manual/arith.texi (FP Exceptions): Document that exceptions may
28281         not be raised when matherr is used.
28282         (Math Error Reporting): Document overflow in directed rounding
28283         modes.  Document that errno may not be set when finite values are
28284         returned on overflow.  Document intent to set errno on underflow
28285         only for underflow to zero.
28287         [BZ #16271]
28288         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28289         round-to-nearest then adjust result for other rounding modes.
28290         * include/fenv.h (fegetround): Use libm_hidden_proto.
28291         * math/fegetround.c (fegetround): Use libm_hidden_def.
28292         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28293         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28294         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28295         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28296         Likewise.
28297         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28298         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28299         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28300         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28302 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28304         [BZ #16077]
28305         * nss/Versions (libnss_files): Add
28306         _nss_files_gethostbyname3_r.
28307         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28308         New function.
28309         (HOST_DB_LOOKUP): Remove macro.
28310         (_nss_files_gethostbyname_r): Implement function without the
28311         HOST_DB_LOOKUP macro.
28312         (_nss_files_gethostbyname2_r): Likewise.
28314 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28316         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28318 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28320         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28321         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28322         warning.
28324 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28326         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28327         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28328         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28329         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28330         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28331         __fe_nomask_env_priv and attribute_hidden.
28332         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28333         (libc_feupdateenv_test_ppc): Likewise.
28334         (libc_feresetround_ppc): Likewise.
28335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28336         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28337         compat_symbol macro.
28338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28339         (__fe_nomask_env): Likewise.
28340         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28342 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28344         * string/Makefile: Remove ifunc tests.
28345         * string/test-string.h: Define TEST_IFUNC.
28346         * string/test-bcopy-ifunc.c: Remove.
28347         * string/test-bzero-ifunc.c: Likewise.
28348         * string/test-memccpy-ifunc.c: Likewise.
28349         * string/test-memchr-ifunc.c: Likewise.
28350         * string/test-memcmp-ifunc.c: Likewise.
28351         * string/test-memcpy-ifunc.c: Likewise.
28352         * string/test-memmem-ifunc.c: Likewise.
28353         * string/test-memmove-ifunc.c: Likewise.
28354         * string/test-mempcpy-ifunc.c: Likewise.
28355         * string/test-memrchr-ifunc.c: Likewise.
28356         * string/test-memset-ifunc.c: Likewise.
28357         * string/test-rawmemchr-ifunc.c: Likewise.
28358         * string/test-stpcpy-ifunc.c: Likewise.
28359         * string/test-stpncpy-ifunc.c: Likewise.
28360         * string/test-strcasecmp-ifunc.c: Likewise.
28361         * string/test-strcasestr-ifunc.c: Likewise.
28362         * string/test-strcat-ifunc.c: Likewise.
28363         * string/test-strchr-ifunc.c: Likewise.
28364         * string/test-strchrnul-ifunc.c: Likewise.
28365         * string/test-strcmp-ifunc.c: Likewise.
28366         * string/test-strcpy-ifunc.c: Likewise.
28367         * string/test-strcspn-ifunc.c: Likewise.
28368         * string/test-strlen-ifunc.c: Likewise.
28369         * string/test-strncasecmp-ifunc.c: Likewise.
28370         * string/test-strncat-ifunc.c: Likewise.
28371         * string/test-strncmp-ifunc.c: Likewise.
28372         * string/test-strncpy-ifunc.c: Likewise.
28373         * string/test-strnlen-ifunc.c: Likewise.
28374         * string/test-strpbrk-ifunc.c: Likewise.
28375         * string/test-strrchr-ifunc.c: Likewise.
28376         * string/test-strspn-ifunc.c: Likewise.
28377         * string/test-strstr-ifunc.c: Likewise.
28379 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28381         * benchtests/Makefile: Remove ifunc tests.
28382         * benchtests/bench-string.h: Define TEST_IFUNC.
28383         * benchtests/bench-bcopy-ifunc.c: Remove.
28384         * benchtests/bench-bzero-ifunc.c: Likewise.
28385         * benchtests/bench-memccpy-ifunc.c: Likewise.
28386         * benchtests/bench-memchr-ifunc.c: Likewise.
28387         * benchtests/bench-memcmp-ifunc.c: Likewise.
28388         * benchtests/bench-memcpy-ifunc.c: Likewise.
28389         * benchtests/bench-memmem-ifunc.c: Likewise.
28390         * benchtests/bench-memmove-ifunc.c: Likewise.
28391         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28392         * benchtests/bench-memrchr-ifunc.c: Likewise.
28393         * benchtests/bench-memset-ifunc.c: Likewise.
28394         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28395         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28396         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28397         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28398         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28399         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28400         * benchtests/bench-strcat-ifunc.c: Likewise.
28401         * benchtests/bench-strchr-ifunc.c: Likewise.
28402         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28403         * benchtests/bench-strcmp-ifunc.c: Likewise.
28404         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28405         * benchtests/bench-strcpy-ifunc.c: Likewise.
28406         * benchtests/bench-strcspn-ifunc.c: Likewise.
28407         * benchtests/bench-strlen-ifunc.c: Likewise.
28408         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28409         * benchtests/bench-strncat-ifunc.c: Likewise.
28410         * benchtests/bench-strncmp-ifunc.c: Likewise.
28411         * benchtests/bench-strncpy-ifunc.c: Likewise.
28412         * benchtests/bench-strnlen-ifunc.c: Likewise.
28413         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28414         * benchtests/bench-strrchr-ifunc.c: Likewise.
28415         * benchtests/bench-strsep-ifunc.c: Likewise.
28416         * benchtests/bench-strspn-ifunc.c: Likewise.
28417         * benchtests/bench-strstr-ifunc.c: Likewise.
28419 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28421         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28423 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28425         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28426         * rt/aio.h: Likewise.
28427         * sysdeps/gnu/bits/utmp.h: Likewise.
28428         * sysdeps/gnu/bits/utmpx.h: Likewise.
28429         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28430         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28431         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28432         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28433         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28434         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28435         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28436         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28437         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28438         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28439         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28440         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28441         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28443         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28444         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28445         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28446         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28447         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28448         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28449         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28450         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28451         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28452         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28453         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28454         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28455         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28456         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28457         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28458         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28459         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28460         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28461         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28462         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28463         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28464         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28465         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28466         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28467         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28468         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28469         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28470         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28472 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
28474         [BZ #16245]
28475         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28476         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28478 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
28480         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28481         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28482         Likewise.
28484 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28486         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28487         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28488         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28489         (__fesetround): Remove define.
28490         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28491         rounding and exceptions handling.
28492         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28493         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28494         (__fe_nomask_env): Likewise.
28495         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28496         __fegetround instead of fegetround.
28497         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28498         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28500 2013-11-21  Roland McGrath  <roland@hack.frob.com>
28502         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28503         it's there.
28505         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28507 2013-11-21  Meador Inge  <meadori@codesourcery.com>
28509         [BZ #11157]
28510         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28511         (encrypt_r): Likewise.
28512         * malloc/obstack.h (obstack_free): Likewise.
28513         * posix/unistd.h (encrypt): Likewise.
28515 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
28517         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28518         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28519         DL_CALL_DT_FINI() that call the functions directly.
28520         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28521         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28522         * elf/dl-fini.c: Likewise.
28524 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
28526         * malloc/hooks.c (memalign_check): Add alignment rounding.
28527         * malloc/malloc.c (_mid_memalign): New function.
28528         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28529         Implement by calling _mid_memalign.
28530         * manual/probes.texi (Memory Allocation Probes): Remove
28531         memory_valloc_retry and memory_pvalloc_retry.
28533 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28535         * locale/programs/locarchive.c (open_archive): Add const
28536         qualifier to ARCHIVEFNAME and copy default fname to
28537         DEFAULT_FNAME.
28539         [BZ #15601]
28540         * libio/tst-widetext.input: Rename Oriya to Odia.
28541         * locale/iso-639.def: Likewise.
28543         * manual/probes.texi (Mathematical Function Probes): Add
28544         documentation for sin, cos, asin and acos probes.
28545         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28546         (__sin32): Add slowasin probe.
28547         (__cos32): Add slowacos probe.
28548         (__mpsin): Add slowsin probe.
28549         (__mpcos): Add slowcos probe.
28551 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
28553         [BZ #15483]
28554         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28555         thread-local __sim_exceptions_thread and global
28556         __sim_exceptions_global.
28557         (__sim_disabled_exceptions): Change to thread-local
28558         __sim_disabled_exceptions_thread and global
28559         __sim_disabled_exceptions_global.
28560         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28561         and global __sim_round_mode_global.
28562         (__simulate_exceptions): Use thread-local floating-point state and
28563         set global state from it as needed.
28564         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28565         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28566         __sim_round_mode_thread.
28567         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28568         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28569         and global __sim_exceptions_global.
28570         (__sim_disabled_exceptions): Change to thread-local
28571         __sim_disabled_exceptions_thread and global
28572         __sim_disabled_exceptions_global.
28573         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28574         and global __sim_round_mode_global.
28575         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28576         (SIM_SET_GLOBAL): Likewise.
28577         * sysdeps/powerpc/soft-fp/sfp-machine.h
28578         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28579         __sim_round_mode_thread.
28580         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28581         __sim_disabled_exceptions_thread.
28582         (__sim_exceptions): Change to __sim_exceptions_thread.
28583         (__sim_disabled_exceptions): Change to
28584         __sim_disabled_exceptions_thread.
28585         (__sim_round_mode): Change to __sim_round_mode_thread.
28586         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28587         thread-local floating-point state and set global state from it as
28588         needed.
28589         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28590         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28591         (__sim_disabled_exceptions): Remove extern declaration.
28592         (feenableexcept): Use thread-local floating-point state and set
28593         global state from it as needed.
28594         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28595         extern declaration.
28596         (__sim_disabled_exceptions): Likewise.
28597         (__sim_round_mode): Likewise.
28598         (__fegetenv): Use thread-local floating-point state.
28599         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28600         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28601         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28602         floating-point state and set global state from it as needed.
28603         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28604         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28605         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28606         Likewise.
28607         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28608         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
28609         Likewise.
28610         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
28611         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
28612         Use __sim_round_mode_thread.
28613         * math/test-fenv-tls.c: New file.
28614         * math/Makefile (tests): Add test-fenv-tls.
28615         ($(objpfx)test-fenv-tls): Depend on
28616         $(common-objpfx)nptl/libpthread.so.
28618 2013-11-19  Andreas Schwab  <schwab@suse.de>
28620         * locale/programs/locale.c (show_info): Decode wordarray elements.
28621         * locale/categories.def (LC_MONETARY): Add element for
28622         _NL_MONETARY_CRNCYSTR.
28623         * locale/C-monetary.c (conversion_rate): New variable.
28624         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
28625         element.
28627 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
28629         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
28630         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
28632 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28634         * elf/Makefile (tst-auxv): New test.
28635         * elf/tst-auxv.c: New
28636         * elf/rtld.c (dl_main): Adjust AT_EXECFN
28638 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
28640         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
28641         (hidden_proto): Caller changed.
28642         (hidden_tls_proto): New macro.
28643         (libc_hidden_tls_proto): Likewise.
28644         (rtld_hidden_tls_proto): Likewise.
28645         (libm_hidden_tls_proto): Likewise.
28646         (libresolv_hidden_tls_proto): Likewise.
28647         (librt_hidden_tls_proto): Likewise.
28648         (libdl_hidden_tls_proto): Likewise.
28649         (libnss_files_hidden_tls_proto): Likewise.
28650         (libnsl_hidden_tls_proto): Likewise.
28651         (libnss_nisplus_hidden_tls_proto): Likewise.
28652         (libutil_hidden_tls_proto): Likewise.
28654 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
28656         [BZ #10253]
28657         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
28658         (decompose_rpath): Defer expansion to fillin_rpath.
28659         (_dl_init_paths): Pass linkmap to fillin_rpath.
28661 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28663         * benchtests/Makefile: Add strsep.
28664         * benchtests/bench-strsep.c: New file: strsep benchtest.
28665         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
28667 2013-11-18  Andreas Schwab  <schwab@suse.de>
28669         * locale/programs/locale.c (show_info) [case byte]: Check for
28670         '\377' instead of '\177'.
28671         * locale/C-monetary.c (not_available): Always use "\377".
28672         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28673         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
28674         detect unavailable sign_posn locale elements.
28675         * locale/localeconv.c (__localeconv): For grouping and
28676         mon_grouping handle "\177" and "\377" like no grouping.
28677         (INT_ELEM): New macro.  Use it to set all numeric members.
28678         * locale/programs/ld-monetary.c (monetary_read)
28679         <tok_mon_grouping>: Normalize single -1 to the empty string.
28680         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28681         Likewise.
28683 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28685         [BZ #16055]
28686         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28687         when we match (nil).
28688         * stdio-common/tst-sscanf.c (struct test): Add testcase.
28690 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
28692         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28693         (NO_TEST_INLINE): Update value.
28694         (ERRNO_UNCHANGED): Likewise.
28695         (ERRNO_EDOM): Likewise.
28696         (ERRNO_ERANGE): Likewise.
28697         (IGNORE_RESULT): Likewise.
28698         (check_float_internal): Check signs of NaN results if
28699         TEST_NAN_SIGN used.
28700         (check_complex): Pass TEST_NAN_SIGN flag through to second
28701         check_float_internal call.
28702         (copysign_test_data): Add tests with quiet NaNs as second
28703         argument.  Use TEST_NAN_SIGN.
28704         (fabs_test_data): Add test of negative quiet NaN argument.  Use
28705         TEST_NAN_SIGN.
28706         (signbit_test_data): Add tests of quiet NaN argument.
28707         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28709         * math/gen-libm-test.pl (show_exceptions): Take extra argument
28710         $ignore_result.
28711         (parse_args): Handle function results specified as IGNORE.
28712         * math/libm-test.inc (IGNORE_RESULT): New macro.
28713         (check_float_internal): Do not check numerical result if flag
28714         IGNORE_RESULT set.
28715         (check_complex): Pass through IGNORE_RESULT to second
28716         check_float_internal call.
28717         (check_int): Do not check numerical result if flag IGNORE_RESULT
28718         set.
28719         (check_long): Likewise.
28720         (check_bool): Likewise.
28721         (check_longlong): Likewise.
28722         (lrint_test_data): Add tests of infinite and NaN arguments.
28723         (lrint_tonearest_test_data): Likewise.
28724         (lrint_towardzero_test_data): Likewise.
28725         (lrint_downward_test_data): Likewise.
28726         (lrint_upward_test_data): Likewise.
28727         (llrint_test_data): Likewise.
28728         (llrint_tonearest_test_data): Likewise.
28729         (llrint_towardzero_test_data): Likewise.
28730         (llrint_downward_test_data): Likewise.
28731         (llrint_upward_test_data): Likewise.
28732         (lround_test_data): Likewise.
28733         (llround_test_data): Likewise.
28735         * math/libm-test.inc (NO_TEST_INLINE): New macro.
28736         (ERRNO_UNCHANGED): Update value.
28737         (ERRNO_EDOM): Likewise.
28738         (ERRNO_ERANGE): Likewise.
28739         (NO_TEST_INLINE_FLOAT): New macro.
28740         (NO_TEST_INLINE_DOUBLE): Likewise.
28741         (enable_test): New function.
28742         (RUN_TEST_f_f): Check enable_test before running test.
28743         (RUN_TEST_2_f): Likewise.
28744         (RUN_TEST_fff_f): Likewise.
28745         (RUN_TEST_c_f): Likewise.
28746         (RUN_TEST_f_f1): Likewise.
28747         (RUN_TEST_fF_f1): Likewise.
28748         (RUN_TEST_fI_f1): Likewise.
28749         (RUN_TEST_ffI_f1): Likewise.
28750         (RUN_TEST_c_c): Likewise.
28751         (RUN_TEST_cc_c): Likewise.
28752         (RUN_TEST_f_i): Likewise.
28753         (RUN_TEST_f_i_tg): Likewise.
28754         (RUN_TEST_ff_i_tg): Likewise.
28755         (RUN_TEST_f_b): Likewise.
28756         (RUN_TEST_f_b_tg): Likewise.
28757         (RUN_TEST_f_l): Likewise.
28758         (RUN_TEST_f_L): Likewise.
28759         (RUN_TEST_fFF_11): Likewise.
28760         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28761         conditionals.
28762         (cosh_test_data): Likewise.
28763         (exp_test_data): Likewise.
28764         (expm1_test_data): Likewise.
28765         (hypot_test_data): Likewise.
28766         (pow_test_data): Likewise.
28767         (sinh_test_data): Likewise.
28768         (tanh_test_data): Likewise.
28769         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28770         flags argument.
28772         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28773         tests with quiet NaN input and output.
28774         (acosh_test_data): Likewise.
28775         (asin_test_data): Likewise.
28776         (asinh_test_data): Likewise.
28777         (atan_test_data): Likewise.
28778         (atanh_test_data): Likewise.
28779         (atan2_test_data): Likewise.
28780         (cbrt_test_data): Likewise.
28781         (cos_test_data): Likewise.
28782         (cosh_test_data): Likewise.
28783         (erf_test_data): Likewise.
28784         (erfc_test_data): Likewise.
28785         (exp_test_data): Likewise.
28786         (exp10_test_data): Likewise.
28787         (exp2_test_data): Likewise.
28788         (expm1_test_data): Likewise.
28789         (hypot_test_data): Likewise.
28790         (j0_test_data): Likewise.
28791         (j1_test_data): Likewise.
28792         (jn_test_data): Likewise.
28793         (lgamma_test_data): Likewise.
28794         (log_test_data): Likewise.
28795         (log10_test_data): Likewise.
28796         (log1p_test_data): Likewise.
28797         (log2_test_data): Likewise.
28798         (pow_test_data): Likewise.
28799         (scalb_test_data): Likewise.
28800         (sin_test_data): Likewise.
28801         (sincos_test_data): Likewise.
28802         (sinh_test_data): Likewise.
28803         (tan_test_data): Likewise.
28804         (tanh_test_data): Likewise.
28805         (tgamma_test_data): Likewise.
28806         (y0_test_data): Likewise.
28807         (y1_test_data): Likewise.
28808         (yn_test_data): Likewise.
28810         [BZ #16167]
28811         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28812         argument being NaN and avoid computations with second argument in
28813         that case.
28814         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28815         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28816         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28818 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
28820         * locale/iso-639.def: Add Chitwani Tharu (the).
28822 2013-11-14  Andreas Schwab  <schwab@suse.de>
28824         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28825         word instead of empty string.
28827 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28830         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28832         (__fe_nomask_env): Likewise.
28834 2013-11-13  Steve Ellcey  <sellcey@mips.com>
28836         * benchtests/bench-timing.h: Include time.h.
28838 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
28840         [BZ #15997]
28841         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28842         to 3.4.0 for x32.
28843         * sysdeps/unix/sysv/linux/configure: Regenerated.
28845 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
28847         [BZ #16151]
28848         * stdlib/strtod_l.c (round_and_return): Do not consider
28849         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28850         exponent one less than half the least subnormal exponent.
28851         * stdlib/test-strtod-round-data: Add more tests.
28852         * stdlib/tst-strtod-round.c (tests): Regenerated.
28854 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28856         [BZ #14143]
28857         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28858         (__fe_mask_env): Likewise.
28859         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28860         libm_hidden_proto and add function prototype.
28861         (__fe_mask_env): Add function prototype.
28862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28863         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28865         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28867         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28869 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28871         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28872         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28874 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28876         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28877         of htab_find_slot().
28879 2013-11-11  David S. Miller  <davem@davemloft.net>
28881         [BZ #16150]
28882         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28883         symbol in the non-vis3 case in static builds.
28884         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28885         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28886         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28887         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28889 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
28891         [BZ #387]
28892         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28893         it is empty.
28895 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28897         * benchtests/Makefile: Add bench-strtod.
28898         * benchtests/bench-strtod.c: New file: strtod benchtest
28900 2013-11-11  Andreas Schwab  <schwab@suse.de>
28902         [BZ #16153]
28903         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28904         terminating NUL in key length.
28906 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28908         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28909         Add artificial ODP entry for vDSO symbol for PPC64.
28910         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28911         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28913 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28915         [BZ #15374]
28916         * nss/getent.c (services_keys): Recognize services starting with digit.
28918 2013-11-06  David S. Miller  <davem@davemloft.net>
28920         [BZ #15985]
28921         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28922         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28924 2013-11-06  Will Newton  <will.newton@linaro.org>
28926         * manual/memory.texi (Malloc Examples): Remove register
28927         keyword from examples.
28929 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
28931         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28933 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
28935         [BZ #6981]
28936         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28937         depending on [__GCC_IEC_559 > 0].
28938         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28939         depending on [__GCC_IEC_559_COMPLEX > 0].
28941 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
28943         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28944         to iso-639.def.
28946 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
28948         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28950 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
28952         [BZ #16112]
28953         * malloc/malloc (malloc_info): Do not handle first bin as
28954         special case.
28956 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
28958         * locale/iso-639.def: Add Central Nahuatl (nhn).
28960 2013-11-01  Bruno Haible  <bruno@clisp.org>
28962         [BZ #7003]
28963         * manual/math.texi (BSD Random): Specify range upper bound as
28964         in POSIX.
28966 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
28968         * locale/iso-639.def: Add Meadow Mari (mhr).
28970 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
28972         [BZ #14752], [BZ #15763]
28973         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28974         Validate name.
28975         * rt/tst_shm.c: Add test for escaping directory.
28977 2013-10-31  Andreas Schwab  <schwab@suse.de>
28979         [BZ #15917]
28980         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28981         followed by 'x' as part of digit sequence.
28982         * stdio-common/tst-sscanf.c (double_tests2): New tests.
28984 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
28986         [BZ #16037]
28987         * configure.ac: allow GNU Make 4.0 and greater.
28988         * configure: Regenerated.
28990 2013-10-30  Will Newton  <will.newton@linaro.org>
28992         [BZ #16038]
28993         * malloc/hooks.c (memalign_check): Limit alignment to the
28994         maximum representable power of two.
28995         * malloc/malloc.c (__libc_memalign): Likewise.
28996         * malloc/tst-memalign.c (do_test): Add test for very
28997         large alignment values.
28998         * malloc/tst-posix_memalign.c (do_test): Likewise.
29000 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29002         [BZ #11087]
29003         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29004         (munmap_chunk): Likewise.
29005         (mremap_chunk): Likewise.
29007 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29009         [BZ #15799]
29010         * stdlib/div.c (div): Remove obsolete code.
29011         * stdlib/ldiv.c (ldiv): Likewise.
29012         * stdlib/lldiv.c (lldiv): Likewise.
29014 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29016         [BZ #16071]
29017         * nss/nss_files/files-XXX.c (get_contents_ret): New
29018         enumerator.
29019         (get_contents): New function.
29020         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29022 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29024         * configure.in: Moved to ...
29025         * configure.ac: ... here. Change reference to configure.in
29026         to configure.ac.
29027         * sysdeps/arm/preconfigure.ac: ... here.
29028         configure.in to configure.ac.
29029         * sysdeps/gnu/configure.in: Moved to ...
29030         * sysdeps/gnu/configure.ac: ... here.
29031         * sysdeps/i386/configure.in: Moved to ...
29032         * sysdeps/i386/configure.ac: ... here.
29033         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29034         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29035         * sysdeps/mach/configure.in: Moved to ...
29036         * sysdeps/mach/configure.ac: ... here.
29037         * sysdeps/mach/hurd/configure.in: Moved to ...
29038         * sysdeps/mach/hurd/configure.ac: ... here.
29039         * sysdeps/powerpc/configure.in: Moved to ...
29040         * sysdeps/powerpc/configure.ac: ... here.
29041         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29042         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29043         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29044         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29045         * sysdeps/s390/s390-32/configure.in: Moved to ...
29046         * sysdeps/s390/s390-32/configure.ac: ... here.
29047         * sysdeps/s390/s390-64/configure.in: Moved to ...
29048         * sysdeps/s390/s390-64/configure.ac: ... here.
29049         * sysdeps/sh/configure.in: Moved to ...
29050         * sysdeps/sh/configure.ac: ... here.
29051         * sysdeps/sparc/configure.in: Moved to ...
29052         * sysdeps/sparc/configure.ac: ... here.
29053         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29054         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29055         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29056         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29057         * sysdeps/x86_64/configure.in: Moved to ...
29058         * sysdeps/x86_64/configure.ac: ... here.
29059         * sysdeps/x86_64/preconfigure.in: Moved to ...
29060         * sysdeps/x86_64/preconfigure.ac: ... here.
29061         * aclocal.m4: Change reference to configure.in to configure.ac.
29062         * config.h.in: Likewise.
29063         * manual/install.texi: Likewise.
29064         * manual/maint.texi: Likewise.
29065         * Makefile: Likewise.
29066         * malloc/Makefile: Likewise.
29067         * nscd/Makefile: Likewise.
29068         * Makeconfig: Change reference to configure.in and
29069         preconfigure.in to configure.ac and preconfigure.ac
29070         respectively.
29071         * INSTALL: Regenerated.
29072         * configure: Likewise.
29073         * sysdeps/gnu/configure: Likewise.
29074         * sysdeps/i386/configure: Likewise.
29075         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29076         * sysdeps/mach/configure: Likewise.
29077         * sysdeps/mach/hurd/configure: Likewise.
29078         * sysdeps/powerpc/configure: Likewise.
29079         * sysdeps/powerpc/powerpc32/configure: Likewise.
29080         * sysdeps/powerpc/powerpc64/configure: Likewise.
29081         * sysdeps/s390/s390-32/configure: Likewise.
29082         * sysdeps/s390/s390-64/configure: Likewise.
29083         * sysdeps/sh/configure: Likewise.
29084         * sysdeps/sparc/configure: Likewise.
29085         * sysdeps/unix/sysv/linux/configure: Likewise.
29086         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29087         * sysdeps/x86_64/configure: Likewise.
29088         * sysdeps/x86_64/preconfigure: Likewise.
29090 2013-10-29  Andreas Schwab  <schwab@suse.de>
29092         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29094 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29096         * benchtests/pow-inputs: Add new inputs.
29098         * benchtests/exp-inputs: Add new inputs.
29100         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29101         conditional check for return value.
29102         (__cos32): Likewise.
29104 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29106         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29107         to provide a boost for large inputs with word alignment.
29108         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29109         implementation based on optimized PPC64 strcpy.
29110         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29111         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29112         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29113         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29115 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29117         [BZ #2801]
29118         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29120 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29122         [BZ #14876]
29123         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29124         * time/tst-strptime.c (day_tests): Add testcase.
29126 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29128         [BZ #14029]
29129         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29131 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29133         [BZ #16074]
29134         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29135         MAP_FAILED on error.
29137 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29139         [BZ #16072]
29140         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29141         heap for large requests.
29143 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29145         [BZ #9954]
29146         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29147         result if the result has no associated interface.
29148         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29149         interface for all 127.X.Y.Z addresses.
29151 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29153         * locale/iso-639.def: Add Ligurian (lij)
29155 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29157         [BZ #15825]
29158         * sunrpc/rpc_main.c: Document rpcgen -5.
29160 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29162         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29164 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29166         [BZ #10278]
29167         * posix/glob.c: Match only directories when trailing slash is present.
29168         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29169         (main): Add testcase.
29171 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29173         [BZ #15670]
29174         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29176 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29178         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29179         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29180         AUTH_DES and cindex for FIPS 140-2.
29181         (DES Encryption): Add cindex FIPS 46-3.
29183         * locale/locarchive.h (struct locarhandle): Add fname.
29184         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29185         if an optional argument was specified to --list-archive,
29186         otherwise NULL.
29187         * locale/programs/locarchive.c (show_archive_content): Take new
29188         argument fname and pass it via ah.fname to open_archive.
29189         * locale/programs/localedef.h: Update decl.
29190         (open_archive): If AH->fname is non-null, open that file
29191         rather than the default file name, and don't ignore ENOENT.
29192         (create_archive): Set AH.fname to NULL.
29193         (delete_locales_from_archive): Likewise.
29194         (add_locales_to_archive): Likewise.
29195         * locale/programs/locfile.c (write_all_categories): Likewise.
29197 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29198             Aldy Hernandez  <aldyh@redhat.com>
29200         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29201         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29202         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29203         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29204         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29205         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29206         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29207         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29208         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29209         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29210         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29211         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29212         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29213         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29214         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29215         Likewise.
29216         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29217         Likewise.
29218         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29219         Likewise.
29220         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29221         Likewise.
29222         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29223         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29224         Likewise.
29225         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29226         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29227         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29228         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29229         Likewise.
29230         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29231         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29232         * sysdeps/powerpc/preconfigure: Likewise.
29233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29234         Likewise.
29235         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29236         Replace contents of file by #include of <fenv_libc.h>.
29237         * sysdeps/powerpc/soft-fp/sfp-machine.h
29238         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29239         and <sys/prctl.h>.
29240         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29241         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29242         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29243         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29244         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29245         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29246         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29247         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29248         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29249         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29250         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29251         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29253         Allow copysignl PLT reference to be missing.
29255 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29256             Joseph Myers  <joseph@codesourcery.com
29258         [BZ #15948]
29259         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29260         single character.
29261         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29263 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29265         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29266         * elf/tst-tls1.c: Likewise.
29267         * elf/tst-tls10.h: Likewise.
29268         * elf/tst-tls14.c: Likewise.
29269         * elf/tst-tls2.c: Likewise.
29270         * elf/tst-tls3.c: Likewise.
29271         * elf/tst-tls4.c: Likewise.
29272         * elf/tst-tls5.c: Likewise.
29273         * elf/tst-tls6.c: Likewise.
29274         * elf/tst-tls7.c: Likewise.
29275         * elf/tst-tls8.c: Likewise.
29276         * elf/tst-tls9.c: Likewise.
29277         * elf/tst-tlsmod1.c: Likewise.
29278         * elf/tst-tlsmod13.c: Likewise.
29279         * elf/tst-tlsmod13a.c: Likewise.
29280         * elf/tst-tlsmod14a.c: Likewise.
29281         * elf/tst-tlsmod16a.c: Likewise.
29282         * elf/tst-tlsmod16b.c: Likewise.
29283         * elf/tst-tlsmod2.c: Likewise.
29284         * elf/tst-tlsmod3.c: Likewise.
29285         * elf/tst-tlsmod4.c: Likewise.
29286         * elf/tst-tlsmod5.c: Likewise.
29287         * elf/tst-tlsmod6.c: Likewise.
29289 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29291         [BZ #12486]
29292         * malloc/malloc.c: remove checks for statistics.
29294 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29296         [BZ #15277]
29297         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29298         * inet/tst-network.c: Add testcase.
29300 2013-10-17  Andreas Schwab  <schwab@suse.de>
29302         [BZ #15218]
29303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29304         to determine canonical name.
29306 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29308         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29309         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29310         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29311         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29312         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29313         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29314         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29315         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29316         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29317         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29318         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29319         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29320         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29321         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29322         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29323         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29324         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29325         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29326         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29327         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29328         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29329         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29330         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29331         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29332         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29333         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29334         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29335         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29336         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29337         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29338         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29339         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29340         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29341         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29342         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29343         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29344         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29345         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29346         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29347         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29348         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29349         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29350         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29351         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29352         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29353         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29354         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29355         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29356         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29357         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29358         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29359         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29360         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29361         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29362         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29363         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29364         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29365         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29367 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29369         [BZ #16041]
29370         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29371         make result into a quiet NaN.
29373 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29375         * soft-fp/adddf3.c: Fix horizontal whitespace.
29376         * soft-fp/addsf3.c: Likewise.
29377         * soft-fp/addtf3.c: Likewise.
29378         * soft-fp/divdf3.c: Likewise.
29379         * soft-fp/divsf3.c: Likewise.
29380         * soft-fp/divtf3.c: Likewise.
29381         * soft-fp/double.h: Likewise.
29382         * soft-fp/eqdf2.c: Likewise.
29383         * soft-fp/eqsf2.c: Likewise.
29384         * soft-fp/eqtf2.c: Likewise.
29385         * soft-fp/extenddftf2.c: Likewise.
29386         * soft-fp/extended.h: Likewise.
29387         * soft-fp/extendsfdf2.c: Likewise.
29388         * soft-fp/extendsftf2.c: Likewise.
29389         * soft-fp/extendxftf2.c: Likewise.
29390         * soft-fp/fixdfdi.c: Likewise.
29391         * soft-fp/fixdfsi.c: Likewise.
29392         * soft-fp/fixdfti.c: Likewise.
29393         * soft-fp/fixsfdi.c: Likewise.
29394         * soft-fp/fixsfsi.c: Likewise.
29395         * soft-fp/fixsfti.c: Likewise.
29396         * soft-fp/fixtfdi.c: Likewise.
29397         * soft-fp/fixtfsi.c: Likewise.
29398         * soft-fp/fixtfti.c: Likewise.
29399         * soft-fp/fixunsdfdi.c: Likewise.
29400         * soft-fp/fixunsdfsi.c: Likewise.
29401         * soft-fp/fixunsdfti.c: Likewise.
29402         * soft-fp/fixunssfdi.c: Likewise.
29403         * soft-fp/fixunssfsi.c: Likewise.
29404         * soft-fp/fixunssfti.c: Likewise.
29405         * soft-fp/fixunstfdi.c: Likewise.
29406         * soft-fp/fixunstfsi.c: Likewise.
29407         * soft-fp/fixunstfti.c: Likewise.
29408         * soft-fp/floatdidf.c: Likewise.
29409         * soft-fp/floatdisf.c: Likewise.
29410         * soft-fp/floatditf.c: Likewise.
29411         * soft-fp/floatsidf.c: Likewise.
29412         * soft-fp/floatsisf.c: Likewise.
29413         * soft-fp/floatsitf.c: Likewise.
29414         * soft-fp/floattidf.c: Likewise.
29415         * soft-fp/floattisf.c: Likewise.
29416         * soft-fp/floattitf.c: Likewise.
29417         * soft-fp/floatundidf.c: Likewise.
29418         * soft-fp/floatundisf.c: Likewise.
29419         * soft-fp/floatunditf.c: Likewise.
29420         * soft-fp/floatunsidf.c: Likewise.
29421         * soft-fp/floatunsisf.c: Likewise.
29422         * soft-fp/floatunsitf.c: Likewise.
29423         * soft-fp/floatuntidf.c: Likewise.
29424         * soft-fp/floatuntisf.c: Likewise.
29425         * soft-fp/floatuntitf.c: Likewise.
29426         * soft-fp/fmadf4.c: Likewise.
29427         * soft-fp/fmasf4.c: Likewise.
29428         * soft-fp/fmatf4.c: Likewise.
29429         * soft-fp/gedf2.c: Likewise.
29430         * soft-fp/gesf2.c: Likewise.
29431         * soft-fp/getf2.c: Likewise.
29432         * soft-fp/ledf2.c: Likewise.
29433         * soft-fp/lesf2.c: Likewise.
29434         * soft-fp/letf2.c: Likewise.
29435         * soft-fp/muldf3.c: Likewise.
29436         * soft-fp/mulsf3.c: Likewise.
29437         * soft-fp/multf3.c: Likewise.
29438         * soft-fp/negdf2.c: Likewise.
29439         * soft-fp/negsf2.c: Likewise.
29440         * soft-fp/negtf2.c: Likewise.
29441         * soft-fp/op-1.h: Likewise.
29442         * soft-fp/op-2.h: Likewise.
29443         * soft-fp/op-4.h: Likewise.
29444         * soft-fp/op-8.h: Likewise.
29445         * soft-fp/op-common.h: Likewise.
29446         * soft-fp/quad.h: Likewise.
29447         * soft-fp/single.h: Likewise.
29448         * soft-fp/soft-fp.h: Likewise.
29449         * soft-fp/sqrtdf2.c: Likewise.
29450         * soft-fp/sqrtsf2.c: Likewise.
29451         * soft-fp/sqrttf2.c: Likewise.
29452         * soft-fp/subdf3.c: Likewise.
29453         * soft-fp/subsf3.c: Likewise.
29454         * soft-fp/subtf3.c: Likewise.
29455         * soft-fp/truncdfsf2.c: Likewise.
29456         * soft-fp/trunctfdf2.c: Likewise.
29457         * soft-fp/trunctfsf2.c: Likewise.
29458         * soft-fp/trunctfxf2.c: Likewise.
29459         * soft-fp/unorddf2.c: Likewise.
29460         * soft-fp/unordsf2.c: Likewise.
29461         * soft-fp/unordtf2.c: Likewise.
29463 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
29465         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29466         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29468 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
29470         * elf/dl-libc.c: Clear initfini list after freeing.
29472 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
29474         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29475         * soft-fp/addsf3.c: Likewise.
29476         * soft-fp/addtf3.c: Likewise.
29477         * soft-fp/divdf3.c: Likewise.
29478         * soft-fp/divsf3.c: Likewise.
29479         * soft-fp/divtf3.c: Likewise.
29480         * soft-fp/double.h: Likewise.
29481         * soft-fp/eqdf2.c: Likewise.
29482         * soft-fp/eqsf2.c: Likewise.
29483         * soft-fp/eqtf2.c: Likewise.
29484         * soft-fp/extenddftf2.c: Likewise.
29485         * soft-fp/extended.h: Likewise.
29486         * soft-fp/extendsfdf2.c: Likewise.
29487         * soft-fp/extendsftf2.c: Likewise.
29488         * soft-fp/extendxftf2.c: Likewise.
29489         * soft-fp/fixdfdi.c: Likewise.
29490         * soft-fp/fixdfsi.c: Likewise.
29491         * soft-fp/fixdfti.c: Likewise.
29492         * soft-fp/fixsfdi.c: Likewise.
29493         * soft-fp/fixsfsi.c: Likewise.
29494         * soft-fp/fixsfti.c: Likewise.
29495         * soft-fp/fixtfdi.c: Likewise.
29496         * soft-fp/fixtfsi.c: Likewise.
29497         * soft-fp/fixtfti.c: Likewise.
29498         * soft-fp/fixunsdfdi.c: Likewise.
29499         * soft-fp/fixunsdfsi.c: Likewise.
29500         * soft-fp/fixunsdfti.c: Likewise.
29501         * soft-fp/fixunssfdi.c: Likewise.
29502         * soft-fp/fixunssfsi.c: Likewise.
29503         * soft-fp/fixunssfti.c: Likewise.
29504         * soft-fp/fixunstfdi.c: Likewise.
29505         * soft-fp/fixunstfsi.c: Likewise.
29506         * soft-fp/fixunstfti.c: Likewise.
29507         * soft-fp/floatdidf.c: Likewise.
29508         * soft-fp/floatdisf.c: Likewise.
29509         * soft-fp/floatditf.c: Likewise.
29510         * soft-fp/floatsidf.c: Likewise.
29511         * soft-fp/floatsisf.c: Likewise.
29512         * soft-fp/floatsitf.c: Likewise.
29513         * soft-fp/floattidf.c: Likewise.
29514         * soft-fp/floattisf.c: Likewise.
29515         * soft-fp/floattitf.c: Likewise.
29516         * soft-fp/floatundidf.c: Likewise.
29517         * soft-fp/floatundisf.c: Likewise.
29518         * soft-fp/floatunsidf.c: Likewise.
29519         * soft-fp/floatunsisf.c: Likewise.
29520         * soft-fp/floatuntidf.c: Likewise.
29521         * soft-fp/floatuntisf.c: Likewise.
29522         * soft-fp/floatuntitf.c: Likewise.
29523         * soft-fp/fmadf4.c: Likewise.
29524         * soft-fp/fmasf4.c: Likewise.
29525         * soft-fp/fmatf4.c: Likewise.
29526         * soft-fp/gedf2.c: Likewise.
29527         * soft-fp/gesf2.c: Likewise.
29528         * soft-fp/getf2.c: Likewise.
29529         * soft-fp/ledf2.c: Likewise.
29530         * soft-fp/lesf2.c: Likewise.
29531         * soft-fp/letf2.c: Likewise.
29532         * soft-fp/muldf3.c: Likewise.
29533         * soft-fp/mulsf3.c: Likewise.
29534         * soft-fp/multf3.c: Likewise.
29535         * soft-fp/negdf2.c: Likewise.
29536         * soft-fp/negsf2.c: Likewise.
29537         * soft-fp/negtf2.c: Likewise.
29538         * soft-fp/op-1.h: Likewise.
29539         * soft-fp/op-2.h: Likewise.
29540         * soft-fp/op-4.h: Likewise.
29541         * soft-fp/op-8.h: Likewise.
29542         * soft-fp/op-common.h: Likewise.
29543         * soft-fp/quad.h: Likewise.
29544         * soft-fp/single.h: Likewise.
29545         * soft-fp/soft-fp.h: Likewise.
29546         * soft-fp/sqrtdf2.c: Likewise.
29547         * soft-fp/sqrtsf2.c: Likewise.
29548         * soft-fp/sqrttf2.c: Likewise.
29549         * soft-fp/subdf3.c: Likewise.
29550         * soft-fp/subsf3.c: Likewise.
29551         * soft-fp/subtf3.c: Likewise.
29552         * soft-fp/truncdfsf2.c: Likewise.
29553         * soft-fp/trunctfdf2.c: Likewise.
29554         * soft-fp/trunctfsf2.c: Likewise.
29555         * soft-fp/trunctfxf2.c: Likewise.
29556         * soft-fp/unorddf2.c: Likewise.
29557         * soft-fp/unordsf2.c: Likewise.
29558         * soft-fp/unordtf2.c: Likewise.
29560 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
29562         [BZ #15672]
29563         * misc/error.c (error_tail): Fix possible buffer overflow.
29565 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
29567         [BZ #13028]
29568         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29569         address.
29571 2013-10-14  P. J. McDermott  <pj@pehjota.net>
29573         [BZ #832]
29574         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
29575         testing pipefail option.
29577 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29579         * soft-fp/double.h: Indent preprocessor directives inside #if.
29580         * soft-fp/extended.h: Likewise.
29581         * soft-fp/op-2.h: Likewise.
29582         * soft-fp/op-4.h: Likewise.
29583         * soft-fp/op-common.h: Likewise.
29584         * soft-fp/quad.h: Likewise.
29585         * soft-fp/single.h: Likewise.
29586         * soft-fp/soft-fp.h: Likewise.
29588 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
29590         * iconv/iconv_prog.c: Fix typos.
29591         * stdio-common/psiginfo-data.h: Likewise.
29593 2013-10-12   Reuben Thomas <rrt@sc3d.org>
29595         [BZ #15764]
29596         * locale/setlocale.c: Fix typo.
29598 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29600         [BZ #16036]
29601         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29602         signaling NaN arguments.
29603         * soft-fp/unordsf2.c (__unordsf2): Likewise.
29604         * soft-fp/unordtf2.c (__unordtf2): Likewise.
29606         [BZ #14910]
29607         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
29608         unordered operands.
29609         * soft-fp/gesf2.c (__gesf2): Likewise.
29610         * soft-fp/getf2.c (__getf2): Likewise.
29611         * soft-fp/ledf2.c (__ledf2): Likewise.
29612         * soft-fp/lesf2.c (__lesf2): Likewise.
29613         * soft-fp/letf2.c (__letf2): Likewise.
29615         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29616         * soft-fp/eqsf2.c (__eqsf2): Likewise.
29617         * soft-fp/eqtf2.c (__eqtf2): Likewise.
29618         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
29619         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
29620         * soft-fp/fixdfti.c (__fixdfti): Likewise.
29621         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
29622         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
29623         * soft-fp/fixsfti.c (__fixsfti): Likewise.
29624         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
29625         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
29626         * soft-fp/fixtfti.c (__fixtfti): Likewise.
29627         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
29628         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
29629         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
29630         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
29631         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
29632         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
29633         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
29634         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
29635         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
29636         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
29637         * soft-fp/floatdisf.c (__floatdisf): Likewise.
29638         * soft-fp/floatsisf.c (__floatsisf): Likewise.
29639         * soft-fp/floattidf.c (__floattidf): Likewise.
29640         * soft-fp/floattisf.c (__floattisf): Likewise.
29641         * soft-fp/floattitf.c (__floattitf): Likewise.
29642         * soft-fp/floatundidf.c (__floatundidf): Likewise.
29643         * soft-fp/floatundisf.c (__floatundisf): Likewise.
29644         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
29645         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
29646         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
29647         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
29648         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
29649         * soft-fp/gesf2.c (__gesf2): Likewise.
29650         * soft-fp/getf2.c (__getf2): Likewise.
29651         * soft-fp/ledf2.c (__ledf2): Likewise.
29652         * soft-fp/lesf2.c (__lesf2): Likewise.
29653         * soft-fp/letf2.c (__letf2): Likewise.
29655         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
29656         Undefine and redefine.
29657         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
29658         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
29659         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
29660         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
29661         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29662         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
29663         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29664         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
29665         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29666         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
29667         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29668         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29669         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29670         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29671         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29673         [BZ #16032]
29674         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29675         without decrementing exponent if mantissa >= that for the
29676         denominator, not >.
29677         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29678         denominator, not >.  Decrement exponent in < case instead of
29679         incrementing in >= case.
29680         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29681         without decrementing exponent if mantissa >= that for the
29682         denominator, not >.
29684         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29685         computing saturated result for unsigned overflow.
29687 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29688             Jeff Law  <law@redhat.com>
29690         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29691         (atan2Mp): Add systemtap probe marker.
29692         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29693         (__ieee754_log): Add systemtap probe marker.
29694         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29695         (atanMp): Add systemtap probe marker.
29696         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29697         (tanMp): Add systemtap probe marker.
29698         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29699         (__slowexp): Add systemtap probe marker.
29700         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29701         (__slowpow): Add systemtap probe marker.
29702         * manual/probes.texi: Document probes.
29704 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
29706         [BZ #15362]
29707         * libio/fileops.c (_IO_new_file_write): Return count of bytes
29708         written.
29709         (_IO_new_file_xsputn): Don't return EOF if nothing has been
29710         written.
29711         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29712         written to buffer but not flushed.
29713         * libio/iofwrite_u.c:  Likewise.
29714         * libio/iopadn.c:  Return bytes returned even if EOF was
29715         encountered.
29716         * libio/iowpadn.c:  Likewise.
29717         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29718         if _IO_padn does not write the whole buffer.
29719         [!COMPILE_WPRINTF] (PAD): Likewise.
29721 2013-10-10  David S. Miller  <davem@davemloft.net>
29723         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29724         directory block.
29726 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29728         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
29729         instead of FSF address.
29730         * soft-fp/fixdfti.c: Likewise.
29731         * soft-fp/fixsfti.c: Likewise.
29732         * soft-fp/fixtfti.c: Likewise.
29733         * soft-fp/fixunsdfti.c: Likewise.
29734         * soft-fp/fixunssfti.c: Likewise.
29735         * soft-fp/fixunstfti.c: Likewise.
29736         * soft-fp/floattidf.c: Likewise.
29737         * soft-fp/floattisf.c: Likewise.
29738         * soft-fp/floattitf.c: Likewise.
29739         * soft-fp/floatuntidf.c: Likewise.
29740         * soft-fp/floatuntisf.c: Likewise.
29741         * soft-fp/floatuntitf.c: Likewise.
29742         * soft-fp/trunctfxf2.c: Likewise.
29744         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
29745         * soft-fp/fixdfti.c: Likewise.
29746         * soft-fp/fixsfti.c: Likewise.
29747         * soft-fp/fixtfti.c: Likewise.
29748         * soft-fp/fixunsdfti.c: Likewise.
29749         * soft-fp/fixunssfti.c: Likewise.
29750         * soft-fp/fixunstfti.c: Likewise.
29751         * soft-fp/floattidf.c: Likewise.
29752         * soft-fp/floattisf.c: Likewise.
29753         * soft-fp/floattitf.c: Likewise.
29754         * soft-fp/floatuntidf.c: Likewise.
29755         * soft-fp/floatuntisf.c: Likewise.
29756         * soft-fp/floatuntitf.c: Likewise.
29757         * soft-fp/trunctfxf2.c: Likewise.
29759 2013-10-10  David S. Miller  <davem@davemloft.net>
29761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29763 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
29765         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29766         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29767         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29768         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29769         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29770         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29771         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29773         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29774         for NaNs before doing comparisons on argument.
29775         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29776         Likewise.
29778 2013-10-10  Will Newton  <will.newton@linaro.org>
29780         * malloc/hooks.c (memalign_check): Ensure the value of bytes
29781         passed to _int_memalign does not overflow.
29783 2013-10-10  Torvald Riegel  <triegel@redhat.com>
29785         * scripts/bench.pl: Add include-sources directive.
29786         * benchtests/README: Update documentation.
29788 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29790         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29791         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29792         instead of FP_INIT_ROUNDMODE.
29793         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29794         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29796         [BZ #16034]
29797         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
29798         copy class of input value.
29799         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
29800         not handle exceptions.
29801         * soft-fp/negsf2.c (__negsf2): Likewise.
29802         * soft-fp/negtf2.c (__negtf2): Likewise.
29803         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29805 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
29807         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29808         semicolon.  From Linux kernel.
29810 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
29812         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29814 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
29816         [BZ #156]
29817         * manual/socket.texi: Added statement about buffer
29818         for gethostbyname2_r.
29820 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
29822         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29823         Use .p2align directive instead, throughout.
29824         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29825         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29826         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29827         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29828         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29829         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29830         * sysdeps/x86_64/strchr.S: Likewise.
29831         * sysdeps/x86_64/strrchr.S: Likewise.
29833 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29835         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29837         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29839         * sysdeps/generic/math_private.h (__mpsin1): Remove
29840         declaration.
29841         (__mpcos1): Likewise.
29842         (__mpsin): New argument __range_reduce.
29843         (__mpcos): Likewise.
29844         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29845         (slow): Use __mpsin and __mpcos.
29846         (slow1): Likewise.
29847         (slow2): Likewise.
29848         (sloww): Likewise.
29849         (sloww1): Likewise.
29850         (sloww2): Likewise.
29851         (bsloww): Likewise.
29852         (bsloww1): Likewise.
29853         (bsloww2): Likewise.
29854         (cslow2): Likewise.
29855         (csloww): Likewise.
29856         (csloww1): Likewise.
29857         (csloww2): Likewise.
29858         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29859         range_reduce.  Merge in __mpsin1.
29860         (__mpcos): Likewise.
29861         (__mpsin1): Remove.
29862         (__mpcos1): Likewise.
29864 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
29866         * locale/loadlocale.c (_nl_intern_locale_data): Use
29867         LOCFILE_ALIGNED_P.
29868         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29869         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29870         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29871         obstack data is appropriately aligned.
29872         (obstack_int32_grow_fast): Likewise.
29873         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29874         * locale/programs/locfile.c (add_locale_uint32): Likewise.
29875         (add_locale_uint32_array): Likewise.
29877 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29879         * benchtests/Makefile: Remove ARGLIST and RET variables.
29880         ($(objpfx)bench-%.c): Pass only function name to the script.
29881         * benchtests/README: Update documentation.
29882         * benchtests/acos-inputs: Add new directives.
29883         * benchtests/acosh-inputs: Likewise.
29884         * benchtests/asin-inputs: Likewise.
29885         * benchtests/asinh-inputs: Likewise.
29886         * benchtests/atan-inputs: Likewise.
29887         * benchtests/atanh-inputs: Likewise.
29888         * benchtests/cos-inputs: Likewise.
29889         * benchtests/cosh-inputs: Likewise.
29890         * benchtests/exp-inputs: Likewise.
29891         * benchtests/log-inputs: Likewise.
29892         * benchtests/pow-inputs: Likewise.
29893         * benchtests/rint-inputs: Likewise.
29894         * benchtests/sin-inputs: Likewise.
29895         * benchtests/sinh-inputs: Likewise.
29896         * benchtests/tan-inputs: Likewise.
29897         * benchtests/tanh-inputs: Likewise.
29898         * scripts/bench.pl: Add support for new directives.
29900 2013-10-07  Alan Modra  <amodra@gmail.com>
29902         * README: Fix careless merge.
29904 2013-10-05  Alan Modra  <amodra@gmail.com>
29906         * NEWS: Mention powerpc64le support and bugs fixed.
29907         * README: Both big-endian and little-endian powerpc64 supported.
29909 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29911         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29912         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29913         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29914         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29916 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
29918         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29919         match prototype.
29921 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
29923         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29924         Move -mhard-float appending from
29925         ports/sysdeps/powerpc/powerpc32/Makefile.
29926         [$(with-fp) = yes] (ASFLAGS): Likewise.
29927         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29928         * sysdeps/powerpc/nofpu: Move directory from
29929         ports/sysdeps/powerpc/nofpu.
29930         * sysdeps/powerpc/soft-fp: Move directory from
29931         ports/sysdeps/powerpc/soft-fp.
29932         * sysdeps/powerpc/powerpc32/405: Move directory from
29933         ports/sysdeps/powerpc/powerpc32/405.
29934         * sysdeps/powerpc/powerpc32/440: Move directory from
29935         ports/sysdeps/powerpc/powerpc32/440.
29936         * sysdeps/powerpc/powerpc32/464: Move directory from
29937         ports/sysdeps/powerpc/powerpc32/464.
29938         * sysdeps/powerpc/powerpc32/476: Move directory from
29939         ports/sysdeps/powerpc/powerpc32/476.
29940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29941         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29943         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29945         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29947         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29949         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29950         * README: Update for powerpc-*-linux-gnu software floating point
29951         support in libc.
29953         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29954         case to powerpc/powerpc32*.
29955         * sysdeps/unix/sysv/linux/configure: Regenerated.
29957         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29958         (_FPU_MASK_OM): Define as 0x04.
29959         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29960         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29961         0x00c10080.
29962         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29963         0x0000003c.
29964         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29967         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29968         getcontext_e500.
29969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29970         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29971         setcontext_e500.
29972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29973         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29974         and setcontext_e500.
29976 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
29978         * locale/iso-3166.def: Update iso-1366.def and related occurrences
29980 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29982         * manual/threads.texi (Default Thread Attributes): Fix typo.
29984 2013-10-04  Will Newton  <will.newton@linaro.org>
29986         * malloc/Makefile: Add tst-memalign.
29987         * malloc/tst-memalign.c: New file.
29989         * malloc/tst-posix_memalign.c: Add comments.
29990         (do_test): Add comments and call free on all potentially
29991         allocated pointers. Add space after cast.
29993         * malloc/tst-pvalloc.c: Add comments.
29994         (do_test): Add comments and call free on all potentially
29995         allocated pointers. Remove duplicate check for NULL pointer.
29996         Add space after cast.
29998         * malloc/tst-valloc.c: Add comments.
29999         (do_test): Add comments and call free on all potentially
30000         allocated pointers. Remove duplicate check for NULL pointer.
30001         Add space after cast.
30003 2013-10-04  Alan Modra  <amodra@gmail.com>
30005         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30006         Use stdint types in rather than __attribute__((mode())).
30007         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30009 2013-10-04  Alan Modra  <amodra@gmail.com>
30011         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30012         Correct handling of unaligned relocs for little-endian.
30013         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30015 2013-10-04  Alan Modra  <amodra@gmail.com>
30017         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30018         * configure: Regenerate.
30019         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30020         * shlib-versions: Likewise.
30022 2013-10-04  Alan Modra  <amodra@gmail.com>
30024         * string/tester.c (test_memrchr): Increment reported test cycle.
30026 2013-10-04  Alan Modra  <amodra@gmail.com>
30028         * string/test-memcpy.c (do_one_test): When reporting errors, print
30029         string address and don't overrun end of string.
30031 2013-10-04  Alan Modra  <amodra@gmail.com>
30033         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30034         insrdi.  Make better use of reg selection to speed exit slightly.
30035         Schedule entry path a little better.  Remove useless "are we done"
30036         checks on entry to main loop.  Handle wrapping around zero address.
30037         Correct main loop count.  Handle single left-over word from main
30038         loop inline rather than by using loop_small.  Remove extra word
30039         case in loop_small caused by wrong loop count.  Add little-endian
30040         support.
30041         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30042         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30043         cache hint.
30044         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30045         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30046         support.  Avoid rlwimi.
30047         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30049 2013-10-04  Alan Modra  <amodra@gmail.com>
30051         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30052         insrdi.  Formatting.
30053         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30054         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30055         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30056         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30057         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30058         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30060 2013-10-04  Alan Modra  <amodra@gmail.com>
30062         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30063         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30064         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30065         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30066         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30067         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30068         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30069         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30070         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30071         use of regs.  Use power7 mtocrf.  Tidy function tails.
30073 2013-10-04  Alan Modra  <amodra@gmail.com>
30075         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30076         Formatting.  Consistently use rXXX register defines or rN defines.
30077         Use early exit labels that avoid restoring unused non-volatile regs.
30078         Make cr field use more consistent with rWORDn compares.  Rename
30079         regs used as shift registers for unaligned loop, using rN defines
30080         for short lifetime/multiple use regs.
30081         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30082         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30083         addi 1,1,64 to pop stack frame.  Simplify return value code.
30084         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30086 2013-10-04  Alan Modra  <amodra@gmail.com>
30088         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30089         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30090         rather than rlwimi.
30091         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30092         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30093         little-endian support.  Correct typos.
30094         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30095         rather than rlwimi.
30096         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30097         in loop and entry code to keep "and." results.
30098         (strchr): Add little-endian support.  Comment.  Move cntlzd
30099         earlier in tail.
30100         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30102 2013-10-04  Alan Modra  <amodra@gmail.com>
30104         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30105         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30106         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30107         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30109 2013-10-04  Alan Modra  <amodra@gmail.com>
30111         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30112         (rTMP): Define as r11.
30113         (strcmp): Add little-endian support.  Optimise tail.
30114         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30115         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30116         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30117         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30118         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30119         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30120         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30122 2013-10-04  Alan Modra  <amodra@gmail.com>
30124         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30125         little-endian support.  Remove unnecessary "are we done" tests.
30126         Handle "s" wrapping around zero and extremely large "size".
30127         Correct main loop count.  Handle single left-over word from main
30128         loop inline rather than by using small_loop.  Correct comments.
30129         Delete "zero" tail, use "end_max" instead.
30130         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30132 2013-10-04  Alan Modra  <amodra@gmail.com>
30134         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30135         support.  Don't branch over align.
30136         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30137         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30138         support.  Rearrange tmp reg use to suit.  Comment.
30139         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30141 2013-10-04  Alan Modra  <amodra@gmail.com>
30143         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30145 2013-10-04  Alan Modra  <amodra@gmail.com>
30147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30148         conditional form of branch and link when obtaining pc.
30149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30151 2013-10-04  Alan Modra  <amodra@gmail.com>
30153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30154         HIWORD/LOWORD.
30155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30158 2013-10-04  Alan Modra  <amodra@gmail.com>
30160         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30161         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30162         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30163         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30164         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30165         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30166         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30167         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30168         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30169         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30171 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30172             Alistair Popple <alistair@ozlabs.au.ibm.com>
30173             Alan Modra <amodra@gmail.com>
30175         [BZ #15723]
30176         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30177         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30178         _dl_hwcap access for little-endian.
30179         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30180         destroy vmx regs when saving unaligned.
30181         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30182         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30183         destroy vmx regs when saving unaligned.
30185 2013-10-04  Alan Modra  <amodra@gmail.com>
30187         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30188         Don't use a union to pack hi/low value.
30190 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30192         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30193         for little-endian.
30194         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30195         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30196         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30197         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30198         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30200 2013-10-04  Alan Modra  <amodra@gmail.com>
30202         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30203         constants to usual value for .cst8 section, and remove redundant
30204         high address load.
30205         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30206         constant for 0x1p52.  Load little-endian words of double from
30207         correct stack offsets.
30209 2013-10-04  Alan Modra  <amodra@gmail.com>
30211         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30212         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30213         words of double from correct stack offsets.
30214         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30215         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30216         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30217         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30218         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30219         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30220         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30221         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30222         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30223         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30224         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30225         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30226         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30227         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30228         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30229         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30230         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30232 2013-10-04  Alan Modra  <amodra@gmail.com>
30234         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30235         64-bit int/double union.
30236         (_FPU_SETCW): Likewise.
30237         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30238         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30240 2013-10-04  Alan Modra  <amodra@gmail.com>
30242         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30243         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30245 2013-10-04  Alan Modra  <amodra@gmail.com>
30247         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30248         use vector int constants.
30249         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30251 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30253         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30254         array with long long.
30255         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30256         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30257         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30258         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30259         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30260         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30261         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30262         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30263         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30264         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30265         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30266         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30267         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30269 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30271         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30272         (__signbit): Likewise.  Correct for little-endian.
30273         (__signbitl): Call __signbit.
30274         (lrint): Correct for little-endian.
30275         (lrintf): Call lrint.
30277 2013-10-04  Alan Modra  <amodra@gmail.com>
30279         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30280         union 32-bit int array member with 64-bit int array.
30281         (t515, tm256): Double rather than long double.
30282         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30284 2013-10-04  Alan Modra  <amodra@gmail.com>
30286         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30287         Delete.
30288         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30289         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30290         version of math_ldbl.h.
30292 2013-10-04  Alan Modra  <amodra@gmail.com>
30294         [BZ #15734], [BZ #15735]
30295         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30296         all uses of ieee875 long double macros and unions.  Simplify test
30297         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30298         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30299         normalize after ldbl_extract_mantissa, and don't add hidden bit
30300         already handled.  Don't treat low word of ieee854 mantissa like
30301         low word of IBM long double and mask off bit when testing for
30302         zero.
30303         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30304         all uses of ieee875 long double macros and unions.  Simplify tests
30305         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30306         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30307         two1022, instead use their values.  Recognise that tests for large
30308         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30309         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30310         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30311         test for 0.0L and nan.  Correct negation.
30312         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30313         ieee875 long double macros and unions.  Correct output for large
30314         magnitude x.  Correct absolute value calculation.
30315         (__erfcl): Likewise.
30316         * math/libm-test.inc: Add tests for errors discovered in IBM long
30317         double versions of fmodl, remainderl, erfl and erfcl.
30319 2013-10-04  Alan Modra  <amodra@gmail.com>
30321         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30322         all uses of ieee854 long double macros and unions.  Simplify tests
30323         for long doubles that are fully specified by the high double.
30324         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30325         Likewise.
30326         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30327         Remove dead code too.
30328         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30329         (__ieee754_ynl): Likewise.
30330         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30331         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30332         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30333         Remove dead code too.
30334         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30335         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30336         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30337         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30338         Simplify.
30339         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30340         Simplify.
30341         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30342         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30343         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30344         Comment on variable precision.
30345         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30346         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30347         Likewise.
30348         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30349         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30350         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30351         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30352         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30354 2013-10-04  Alan Modra  <amodra@gmail.com>
30356         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30357         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30358         all uses of ieee854 long double macros and unions.
30359         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30360         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30361         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30362         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30363         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30364         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30365         Likewise.
30366         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30367         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30368         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30369         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30370         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30371         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30372         Simplify sign and nan test too.
30373         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30374         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30375         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30376         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30377         Likewise.
30378         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30379         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30380         Likewise.
30381         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30382         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30383         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30384         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30385         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30386         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30388 2013-10-04  Alan Modra  <amodra@gmail.com>
30390         * stdio-common/printf_size.c (__printf_size): Don't use
30391         union ieee854_long_double in fpnum union.
30392         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30393         signbit macro to retrieve sign from long double.
30394         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30395         retrieve sign from long double.
30396         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30397         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30398         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30399         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30400         * math/test-misc.c (main): Don't use union ieee854_long_double.
30402 2013-10-04  Alan Modra  <amodra@gmail.com>
30404         [BZ #15680]
30405         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30406         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30407         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30408         calculation.  Remove unnecessary test for denormal exponent.
30409         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30410         Correct handling of denormals.  Avoid undefined shift behaviour.
30411         Correct normalisation of low mantissa when low double is denormal.
30412         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30413         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30414         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30415         Correct normalisation of low mantissa.  Test for overflow of high
30416         mantissa and normalise.
30417         (ldbl_nearbyint): Use more readable constant for two52.
30418         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30419         (__mpn_construct_long_double): Fix test for overflow of high
30420         mantissa and correct normalisation.  Avoid undefined shift.
30422 2013-10-04  Alan Modra  <amodra@gmail.com>
30424         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30425         (union ibm_extended_long_double): Define as an array of ieee754_double.
30426         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30427         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30428         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30429         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30430         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30431         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30432         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30433         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30434         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30435         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30436         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30438 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30440         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30441         page size instead of calling getpagesize.
30443         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30444         (LOCFILE_ALIGN_MASK): Likewise.
30445         (LOCFILE_ALIGN_UP): Likewise.
30446         (LOCFILE_ALIGNED_P): Likewise.
30447         * locale/programs/ld-collate.c (collate_output): Use the new
30448         macros instead of __alignof__ (int32_t).
30449         * locale/weight.h (findidx): Likewise.
30451 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
30453         [BZ #431]
30454         * manual/string.texi: Fix strncat and wcsncat.
30456 2013-10-03  Brooks Moses  <bmoses@google.com>
30458         [BZ #15915]
30459         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30460         * Makerules: ...here, and adjust associated comments.
30462 2013-10-02  Will Newton  <will.newton@linaro.org>
30464         * malloc/Makefile: Add tst-pvalloc.
30465         * malloc/tst-pvalloc.c: New file.
30467 2013-10-02  Will Newton  <will.newton@linaro.org>
30469         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30470         improve test coverage.
30472 2013-10-02  Will Newton  <will.newton@linaro.org>
30474         * malloc/Makefile: Add tst-posix_memalign.
30475         * malloc/tst-posix_memalign.c: New file.
30477 2013-10-01  Eric Blake  <eblake@redhat.com>
30479         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30480         Use __THROWNL rather than __THROW on static functions.
30482 2013-09-30  Petr Machata  <pmachata@redhat.com>
30484         * elf/elf.h (R_AARCH64_ABS16): New macro.
30485         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30486         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30487         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30488         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30489         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30490         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30491         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30492         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30493         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30494         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30495         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30496         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30497         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30498         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30499         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30500         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30501         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30502         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30503         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30504         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30505         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30506         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30507         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30508         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30509         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30510         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30511         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30512         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30513         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30514         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30515         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30516         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30517         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30518         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30519         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30520         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30521         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30522         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30523         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30524         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30525         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30526         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30527         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30528         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30529         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30530         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30531         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30532         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30533         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30534         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30535         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30536         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30537         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30538         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30539         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30540         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30541         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30542         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30543         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30544         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30545         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30546         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30547         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30548         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30549         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30550         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30551         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30552         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30553         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30554         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30555         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30556         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30557         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30558         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30559         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30560         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30561         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30562         (R_AARCH64_TLSDESC_LDR): Likewise.
30563         (R_AARCH64_TLSDESC_ADD): Likewise.
30564         (R_AARCH64_TLSDESC_CALL): Likewise.
30566 2013-09-30  Andreas Schwab  <schwab@suse.de>
30568         [BZ #15048]
30569         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30570         the nss database lookup.
30571         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30572         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30574 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
30576         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30578 2013-09-28  P. J. McDermott  <pj@pehjota.net>
30580         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30581         ${Bash-specific parameter/pattern/string} parameter expansion.
30582         * sysdeps/unix/make-syscalls.sh: Likewise.
30584 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30586         * sysdeps/sh/stackguard-macros.h: New file.
30588 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
30590         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30591         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30592         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30593         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30594         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30595         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30597 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30599         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30600         Fix thread ID register.
30602 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
30604         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30605         [POSIX || UNIX98]: Require rather than permitting all symbols from
30606         <time.h>.
30607         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
30608         element of struct sched_param.
30609         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
30610         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
30611         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
30612         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
30613         constant.
30615 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
30617         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
30618         argument calculation.
30620 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30622         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
30623         Expect macro.
30624         [POSIX] (pthread_attr_t): Do not require type.
30625         [POSIX] (pthread_cond_t): Likewise.
30626         [POSIX] (pthread_condattr_t): Likewise.
30627         [POSIX] (pthread_key_t): Likewise.
30628         [POSIX] (pthread_mutex_t): Likewise.
30629         [POSIX] (pthread_mutexattr_t): Likewise.
30630         [POSIX] (pthread_once_t): Likewise.
30631         [POSIX] (pthread_t): Likewise.
30632         [POSIX-based standards] (pthread_atfork): Expect function.
30634 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30635             Richard Sandiford  <richard@codesourcery.com>
30637         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
30638         (swap_endianness_p): New extern variable.
30639         (set_big_endian): New inline function.
30640         (maybe_swap_uint32): Likewise.
30641         (maybe_swap_uint32_array): Likewise.
30642         (maybe_swap_uint32_obstack): Likewise.
30643         * locale/programs/locfile.c: Include <stdbool.h>.
30644         (swap_endianness_p): New variable.
30645         (add_locale_uint32): Call maybe_swap_uint32.
30646         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
30647         (write_locale_data): Call maybe_swap_uint32_array.
30648         * locale/programs/ld-collate.c (obstack_int32_grow): Call
30649         maybe_swap_uint32.
30650         (obstack_int32_grow_fast): Likewise.
30651         (output_weightwc): Call maybe_swap_uint32_obstack.
30652         (collate_output): Likewise.
30653         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
30654         (OPT_LITTLE_ENDIAN): Likewise.
30655         (options): Add --little-endian and --big-endian options.
30656         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
30657         * locale/programs/locarchive.c: Include "locfile.h".
30658         (GET): New macro.
30659         (SET): Likewise.
30660         (INC): Likewise.
30661         (create_archive): Use the new macros to access fields of
30662         structures directly mapped from or written to locale archives.
30663         (oldlocrecentcmp): Likewise.
30664         (enlarge_archive): Likewise.
30665         (insert_name): Likewise.
30666         (add_alias): Likewise.
30667         (add_locale): Likewise.
30668         (delete_locales_from_archive): Likewise.
30669         (show_archive_content): Likewise.
30670         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
30671         locale data.
30673 2013-09-24  Roland McGrath  <roland@hack.frob.com>
30675         * manual/freemanuals.texi: Updated from (newly) canonical copy at
30676         http://www.gnu.org/doc/freemanuals.texi.
30677         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30679 2013-09-24  Will Newton  <will.newton@linaro.org>
30681         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30682         macro.
30684 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
30686         * locale/hashval.h (compute_hashval): Interpret bytes of key as
30687         unsigned char.
30689 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
30691         * manual/threads.texi (POSIX Threads): Fix a typo.
30693 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30695         [BZ #14547]
30696         * string/tst-strcoll-overflow.c: New test case.
30697         * string/Makefile (xtests): Add tst-strcoll-overflow.
30698         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30699         cache if string sizes may cause integer overflow.
30701         [BZ #14547]
30702         * string/strcoll_l.c (coll_seq): New members rule, idx,
30703         save_idx and back_us.
30704         (get_next_seq_nocache): New function.
30705         (do_compare_nocache): New function.
30706         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30707         when malloc fails.
30709 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
30711         [BZ #15754]
30712         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30713         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30714         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30716         [BZ #15754]
30717         * elf/Makefile (tests): Add tst-ptrguard1.
30718         (tests-static): Add tst-ptrguard1-static.
30719         (tst-ptrguard1-ARGS): Define.
30720         (tst-ptrguard1-static-ARGS): Define.
30721         * elf/tst-ptrguard1.c: New file.
30722         * elf/tst-ptrguard1-static.c: New file.
30723         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30724         * sysdeps/i386/stackguard-macros.h: Likewise.
30725         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30726         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30727         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30728         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30729         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30730         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30732 2013-09-23  Hector Marco  <hecmargi@upv.es>
30733             Ismael Ripoll  <iripoll@disca.upv.es>
30734             Carlos O'Donell  <carlos@redhat.com>
30736         [BZ #15754]
30737         * sysdeps/generic/stackguard-macros.h: Define
30738         __pointer_chk_guard_local and POINTER_CHK_GUARD.
30739         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30740         Define __pointer_chk_guard_local.
30741         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30742         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30744 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
30746         [BZ #15859]
30747         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30749 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
30751         * include/string.h (__ffs): Declare as hidden.
30752         * string/ffs.c (__ffs): Define as hidden.
30753         * sysdeps/i386/ffs.c (__ffs): Likewise.
30754         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30755         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30756         * sysdeps/s390/ffs.c (__ffs): Likewise.
30757         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30759 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
30761         * NEWS: Mention malloc probes.
30763         * malloc/arena.c (new_heap): New memory_heap_new probe.
30764         (grow_heap): New memory_heap_more probe.
30765         (shrink_heap): New memory_heap_less probe.
30766         (heap_trim): New memory_heap_free probe.
30767         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30768         (systrim): New memory_sbrk_less probe.
30769         * manual/probes.texi: Document them.
30771         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30772         * manual/probes.texi: Document it.
30774         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30775         (__libc_realloc): Add memory_realloc_retry probe.
30776         (__libc_memalign): Add memory_memalign_retry probe.
30777         (__libc_valloc): Add memory_valloc_retry probe.
30778         (__libc_pvalloc): Add memory_pvalloc_retry probe.
30779         (__libc_calloc): Add memory_calloc_retry probe.
30780         * manual/probes.texi: Document them.
30782         * malloc/arena.c (get_free_list): Add probe
30783         memory_arena_reuse_free_list.
30784         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30785         and memory_arena_reuse.
30786         (arena_get2) [!PER_THREAD]: Likewise.
30787         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30788         memory_arena_reuse_realloc.
30789         * manual/probes.texi: Document them.
30791         * malloc/malloc.c (__libc_free): Add
30792         memory_mallopt_free_dyn_thresholds probe.
30793         (__libc_mallopt): Add multiple memory_mallopt probes.
30794         * manual/probes.texi: Document them.
30796         * malloc/malloc.c: Include stap-probe.h.
30797         (__libc_mallopt): Add memory_mallopt probe.
30798         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30799         * manual/probes.texi: New.
30800         * manual/Makefile (chapters): Add probes.
30801         * manual/threads.texi: Set next node.
30803 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
30805         [BZ #15963, #13985]
30806         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30807         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30808         Add `Chinese' to `nan' entry name.
30810 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30812         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30813         (POLYNOMIAL): Likewise.
30814         (TAYLOR_SINCOS): Likewise.
30815         (TAYLOR_SLOW): Likewise.
30816         (__sin): Use TAYLOR_SINCOS.
30817         (__cos): Likewise.
30818         (slow): Use TAYLOR_SLOW.
30819         (sloww): Likewise.
30820         (bsloww): Likewise.
30821         (csloww): Likewise.
30823 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30825         * stdlib/strtod_l.c: Fix buffer overrun.
30827 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30829         * benchtests/Makefile (bench): Add sincos.
30830         * benchtests/bench-sincos.c: New file.
30832         * math/libm-test.inc (cos_test_data): New test inputs.
30833         (sin_test_data): Likewise.
30835         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30836         macro.
30837         (__sin): Use it.
30838         (__cos): Likewise.
30839         (slow1): Likewise.
30840         (slow2): Likewise.
30841         (sloww1): Likewise.
30842         (sloww2): Likewise.
30843         (bsloww1): Likewise.
30844         (bsloww2): Likewise.
30845         (cslow2): Likewise.
30846         (csloww1): Likewise.
30847         (csloww2): Likewise.
30849         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30850         function.
30851         (__sin): Use it.
30852         (__cos): Likewise.
30854         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30855         gotos.
30856         (__cos): Likewise.
30858 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
30860         * config.h.in (HAVE_MIPS_NAN2008): New macro.
30861         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30862         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30863         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30864         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30865         * elf/cache.c (print_entry): Handle the new cache flags.
30867 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30868             Aldy Hernandez  <aldyh@redhat.com>
30870         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30871         Change condition to [_SOFT_FLOAT].
30872         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30873         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30874         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30875         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30876         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30877         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30878         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30879         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30880         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30881         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30882         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30883         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30884         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30885         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30886         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30887         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30888         declaration.
30890 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30892         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30893         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30894         (__longjmp): Use LOAD_GP to load saved GPRs.
30895         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30896         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30897         (__sigsetjmp): Use SAVE_GP to save GPRs.
30899         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30900         Do not append -msoft-float.
30901         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30903 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30905         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30907 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
30909         [BZ #15966]
30910         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30911         (_FPU_GETCW): Use initial "__" on variable and field names but not
30912         on macro parameter name.
30913         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
30914         parentheses around reference to macro parameter.
30916 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
30918         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30919         prototype.
30920         (ctype_startup): Use uint32_t in cast and sizeof for
30921         ctype->charnames.
30923 2013-09-11  Jia Liu  <proljc@gmail.com>
30925         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30926         __daddr_t_defined.
30927         [__FreeBSD__]: Likewise.
30929 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
30931         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30932         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30933         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30934         (strchr): Remove __strchr_sse42 ifunc selection.
30935         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30936         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30938 2013-09-11  Will Newton  <will.newton@linaro.org>
30940         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30941         parameter to RES. Remove hardcoded 1000 value.
30942         * benchtests/bench-skeleton.c (main): Pass RES parameter
30943         to TIMING_INIT and multiply result by 1000.
30945 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30947         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30949 2013-09-11  Andreas Schwab  <schwab@suse.de>
30951         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30952         if not defined.
30953         (O_TMPFILE) [__USE_GNU]: Define.
30954         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30955         Define.
30957 2013-09-11  Will Newton  <will.newton@linaro.org>
30959         [BZ #15857]
30960         * malloc/malloc.c (__libc_memalign): Check the value of bytes
30961         does not overflow.
30963 2013-09-11  Will Newton  <will.newton@linaro.org>
30965         [BZ #15856]
30966         * malloc/malloc.c (__libc_valloc): Check the value of bytes
30967         does not overflow.
30969 2013-09-11  Will Newton  <will.newton@linaro.org>
30971         [BZ #15855]
30972         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30973         does not overflow.
30975 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
30977         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30978         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30979         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30980         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30981         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30983 2013-09-10  Allan McRae  <allan@archlinux.org>
30985         [BZ #15748]
30986         * manual/arith.texi (Parsing of Floats): Clarify
30987         cross-reference.
30989         [BZ #15849]
30990         * manual/install.texi (Running make install): Mention
30991         --enable-pt-chown.
30992         * INSTALL: Regenerated.
30994 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
30996         * csu/init-first.c (_init): Remove the !SHARED condition around
30997         FPU control word initialization.
30998         * elf/dl-support.c (_dl_fpu_control): New variable.
30999         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31000         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31001         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31002         * math/test-fpucw-static.c: New file.
31003         * math/test-fpucw-ieee.c: New file.
31004         * math/test-fpucw-ieee-static.c: New file.
31005         * math/Makefile (tests): Add `test-fpucw-ieee' and
31006         `$(tests-static)'.
31007         (tests-static): New variable.
31008         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31009         dependency to...
31010         [($(build-shared),yes)]
31011         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31012         ... this.
31013         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31014         New dependency.
31016 2013-09-09  Allan McRae  <allan@archlinux.org>
31018         [BZ #15939]
31019         * manual/string.texi (Collation Functions): Fix typo in
31020         strcoll example.
31021         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31023         [BZ #15893]
31024         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31026         [BZ #15892]
31027         * libio/memstream.c (open_memstream): Fix memory leak.
31028         * libio/wmemstream.c (open_wmemstream): Likewise.
31030         [BZ #15895]
31031         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31033 2013-09-09  Will Newton  <will.newton@linaro.org>
31035         * malloc/Makefile: Add tst-realloc to tests.
31036         * malloc/tst-realloc.c: New file.
31038 2013-09-09  Allan McRae  <allan@archlinux.org>
31040         [BZ #15844]
31041         * COPYING: Update from GNU website to fix FSF address.
31042         * COPYING.LIB: Likewise.
31044 2013-09-06  David S. Miller  <davem@davemloft.net>
31046         * po/zh_TW.po: Update Chinese (traditional) translation from
31047         translation project.
31049 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31050             Joseph Myers  <joseph@codesourcery.com>
31052         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31053         "localeinfo.h".
31054         (obstack_chunk_alloc): New macro.
31055         (obstack_chunk_free): Likewise.
31056         (record_offset): New function.
31057         (init_locale_data): Likewise.
31058         (align_locale_data): Likewise.
31059         (add_locale_empty): Likewise.
31060         (add_locale_raw_data): Likewise.
31061         (add_locale_raw_obstack): Likewise.
31062         (add_locale_string): Likewise.
31063         (add_locale_wstring): Likewise.
31064         (add_locale_uint32): Likewise.
31065         (add_locale_uint32_array): Likewise.
31066         (add_locale_char): Likewise.
31067         (start_locale_structure): Likewise.
31068         (end_locale_structure): Likewise.
31069         (start_locale_prelude): Likewise.
31070         (end_locale_prelude): Likewise.
31071         (write_locale_data): Take locale_file structure rather than an
31072         iovec.
31073         * locale/programs/locfile.h: Include "obstack.h".
31074         (struct locale_file): Change to store locale file contents instead
31075         of header.
31076         (init_locale_data): New prototype.
31077         (align_locale_data): Likewise.
31078         (add_locale_empty): Likewise.
31079         (add_locale_raw_data): Likewise.
31080         (add_locale_raw_obstack): Likewise.
31081         (add_locale_string): Likewise.
31082         (add_locale_wstring): Likewise.
31083         (add_locale_uint32): Likewise.
31084         (add_locale_uint32_array): Likewise.
31085         (add_locale_char): Likewise.
31086         (start_locale_structure): Likewise.
31087         (end_locale_structure): Likewise.
31088         (start_locale_prelude): Likewise.
31089         (end_locale_prelude): Likewise.
31090         (write_locale_data): Update prototype.
31091         * locale/programs/3level.h (struct TABLE): Remove result field.
31092         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31093         Use new locale_file interface.
31094         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31095         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31096         * locale/programs/ld-address.c (address_output): Use new
31097         locale_file interface.
31098         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31099         NO_ADD_LOCALE.
31100         (collate_finish): Don't call collseq_table_finalize.
31101         (collate_output): Use new locale_file interface.
31102         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31103         in file.
31104         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31105         (TABLE): Move defines earlier in file.
31106         (ELEMENT): Likewise.
31107         (DEFAULT): Likewise.
31108         (wctrans_table_add): Move macro and inline function earlier in
31109         file.
31110         (struct wctype_table): Move type earlier in file.
31111         (add_locale_wctype_table): New static prototype.
31112         (struct locale_ctype_t): Use logical types instead of struct iovec
31113         pointers for members.
31114         (ctype_output): Use new locale_file interface.
31115         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31116         new locale_file interface.
31117         (allocate_arrays): Update for use of new locale_file interface.
31118         * locale/programs/ld-identification.c (identification_output): Use
31119         new locale_file interface.
31120         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31121         * locale/programs/ld-messages.c (messages_output): Likewise.
31122         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31123         * locale/programs/ld-name.c (name_output): Likewise.
31124         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31125         * locale/programs/ld-paper.c (paper_output): Likewise.
31126         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31127         * locale/programs/ld-time.c (time_output): Likewise.
31129 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31131         * benchtests/Makefile: Add memrchr benchmark.
31132         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31133         benchmark as memrchr.
31134         * benchtests/bench-memrchr-ifunc.c: New file.
31135         * benchtests/bench-memrchr.c: New file.
31137 2013-09-06   Will Newton  <will.newton@linaro.org>
31139         * benchtests/Makefile (string-bench): Add memcpy.
31141 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31142             Cong Wang  <amwang@redhat.com>
31144         [BZ #15850]
31145         * sysdeps/unix/sysv/linux/bits/in.h
31146         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31147         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31148         before __USE_KERNEL_IPV6_DEFS uses.
31149         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31150         IPPROTO_BEETPH.
31151         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31152         sockaddr_in6, or ipv6_mreq.
31154 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31156         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31157         memory access for final bytes in some large inputs.
31158         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31160 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31162         * string/test-memrchr.c: New file.
31163         * string/test-memrchr-ifunc.c: New file.
31164         * string/Makefile: Add new memrchr testcase.
31166 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31168         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31169         fanotify_init returns EPERM.
31171 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31173         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31174         errors.
31175         (top level): Treat second token from macro or constant entries for
31176         allowed headers as allowed.
31177         * include/complex.h: Condition internal declarations on
31178         [!_ISOMAC].
31179         * include/fenv.h: Condition include of <stdbool.h> and internal
31180         declarations on [!_ISOMAC].
31182 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31184         [BZ #15923]
31185         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31187 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31189         * configure.in (--enable-versioning): Remove configure option.
31190         (libc_cv_asm_symver_directive): Remove configure test.
31191         (libc_cv_ld_version_script_option): Likewise.
31192         (VERSIONING): Remove variable and AC_SUBST.
31193         (DO_VERSIONING): Remove AC_DEFINE.
31194         * configure: Regenerated.
31195         * config.h.in (DO_VERSIONING): Remove macro.
31196         * Makerules [$(versioning) = yes]: Change conditionals to
31197         [$(build-shared) = yes].
31198         * config.make.in (versioning): Remove variable.
31199         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31200         [$(build-shared) = yes].
31201         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31202         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31203         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31204         [$(build-shared) = yes].
31205         * extra-lib.mk [$(versioning) = yes]: Likewise.
31206         * hurd/Makefile [$(versioning) = yes]: Likewise.
31207         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31208         [SHARED].
31209         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31210         [SHARED].
31211         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31212         [SHARED && !NO_HIDDEN].
31213         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31214         [SHARED].
31215         [SHARED && DO_VERSIONING]: Likewise..
31216         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31217         [$(build-shared) = yes].
31218         * manual/install.texi (--disable-versioning): Remove
31219         documentation.
31220         * INSTALL: Regenerated.
31221         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31222         to [SHARED].
31223         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31224         [$(build-shared) = yes].
31225         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31226         * sysdeps/i386/i686/multiarch/strstr-c.c
31227         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31228         [SHARED && !NO_HIDDEN].
31229         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31230         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31231         * sysdeps/powerpc/powerpc32/dl-machine.c
31232         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31233         * sysdeps/powerpc/powerpc32/sysdep.h
31234         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31235         to [SHARED && PIC && !NO_HIDDEN].
31236         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31237         conditional to [SHARED].
31239 2013-09-04   Will Newton  <will.newton@linaro.org>
31241         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31242         * benchtests/bench-string.h: Include bench-timing.h instead
31243         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31244         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31245         call to HP_TIMING_DIFF_INIT.
31246         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31247         instead of hp-timing.h macros.
31248         * benchtests/bench-memchr.c: Likewise.
31249         * benchtests/bench-memcmp.c: Likewise.
31250         * benchtests/bench-memcpy.c: Likewise.
31251         * benchtests/bench-memmem.c: Likewise.
31252         * benchtests/bench-memmove.c: Likewise.
31253         * benchtests/bench-memset.c: Likewise.
31254         * benchtests/bench-rawmemchr.c: Likewise.
31255         * benchtests/bench-strcasecmp.c: Likewise.
31256         * benchtests/bench-strcasestr.c: Likewise.
31257         * benchtests/bench-strcat.c: Likewise.
31258         * benchtests/bench-strchr.c: Likewise.
31259         * benchtests/bench-strcmp.c: Likewise.
31260         * benchtests/bench-strcpy.c: Likewise.
31261         * benchtests/bench-strcpy_chk.c: Likewise.
31262         * benchtests/bench-strlen.c: Likewise.
31263         * benchtests/bench-strncasecmp.c: Likewise.
31264         * benchtests/bench-strncat.c: Likewise.
31265         * benchtests/bench-strncmp.c: Likewise.
31266         * benchtests/bench-strncpy.c: Likewise.
31267         * benchtests/bench-strnlen.c: Likewise.
31268         * benchtests/bench-strpbrk.c: Likewise.
31269         * benchtests/bench-strrchr.c: Likewise.
31270         * benchtests/bench-strspn.c: Likewise.
31271         * benchtests/bench-strstr.c: Likewise.
31273 2013-09-04  Will Newton  <will.newton@linaro.org>
31275         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31277 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31279         [BZ #15427]
31280         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31281         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31282         * math/libm-test.inc (lgamma_test_data): Add more tests.
31283         * sysdeps/i386/fpu/libm-test-ulps: Update.
31284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31286 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31288         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31289         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31290         Add ifunc.
31291         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31292         Add strcmp-sse2-unaligned
31293         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31295 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31297         * Versions.def (libc): Add GLIBC_2.19.
31299 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31301         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31302         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31304 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31306         [BZ #14155]
31307         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31308         intermediate calculations in recurrence.
31309         (__ieee754_ynf): Likewise.
31310         * math/libm-test.inc (jn_test_data): Do not allow spurious
31311         underflow exception.  Add more tests.
31312         (yn_test_data): Add more tests.
31313         * sysdeps/i386/fpu/libm-test-ulps: Update.
31314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31316 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31318         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31320 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31322         * csu/init-first.c: Fix then/than typos.
31323         * locale/programs/ld-collate.c: Likewise.
31324         * locale/programs/linereader.h: Likewise.
31325         * manual/charset.texi: Likewise.
31326         * manual/filesys.texi: Likewise.
31327         * manual/stdio.texi: Likewise.
31328         * manual/string.texi: Likewise.
31329         * stdlib/fmtmsg.c: Likewise.
31330         * sysdeps/i386/stpncpy.S: Likewise.
31331         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31332         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31333         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31334         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31336 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31338         * elf/dl-open.c: Fix typos.
31339         * iconvdata/gbbig5.c: Likewise.
31340         * iconvdata/iso-2022-jp.c: Likewise.
31341         * iconv/gconv_int.h: Likewise.
31342         * iconv/loop.c: Likewise.
31343         * nis/rpcsvc/nis.h: Likewise.
31344         * resolv/ns_name.c: Likewise.
31345         * stdio-common/vfscanf.c: Likewise.
31346         * streams/stropts.h: Likewise.
31347         * sunrpc/rpc_thread.c: Likewise.
31348         * sysdeps/i386/strpbrk.S: Likewise.
31349         * sysdeps/ieee754/k_standard.c: Likewise.
31350         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31351         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31352         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31353         * sysdeps/mach/hurd/profil.c: Likewise.
31354         * sysdeps/s390/dl-procinfo.h: Likewise.
31355         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31356         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31357         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31358         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31359         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31361 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31363         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31364         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31366 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31368         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31369         aix specific files.
31370         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31371         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31372         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31373         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31374         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31375         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31376         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31377         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31379 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31380             Roland McGrath  <roland@hack.frob.com>
31382         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31383         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31385 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31387         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31388         __executable_start symbol instead of _start.
31390 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31392         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31393         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31394         Move macros to...
31395         * sysdeps/gnu/ldsodefs.h: ... this new file.
31397         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31398         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31399         instead of ELFOSABI_LINUX.
31401         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31402         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31403         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31404         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31405         Likewise.
31406         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31407         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31408         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31409         Likewise.
31410         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31411         (ibm_extended_long_double): Add ieee_nan member.
31412         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31413         (do_test): New function.
31415         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31416         TEST_TRUNC.
31417         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31418         functions, renamed from truncdfsf_test, trunctfsf_test,
31419         trunctfdf_test.
31420         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31421         functions.
31422         (do_test): Run all these.
31424 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31426         * argp/argp-help.c: Fix typos.
31427         * argp/argp-parse.c: Likewise.
31428         * debug/backtracesyms.c: Likewise.
31429         * elf/elf.h: Likewise.
31430         * malloc/malloc.c: Likewise.
31431         * nis/nis_print.c: Likewise.
31432         * resolv/res_comp.c: Likewise.
31433         * stdlib/stdlib.h: Likewise.
31434         * sunrpc/clnt_tcp.c: Likewise.
31435         * sunrpc/clnt_udp.c: Likewise.
31436         * sunrpc/clnt_unix.c: Likewise.
31437         * sysdeps/unix/bsd/ptsname.c: Likewise.
31438         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31439         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31441         Likewise.
31442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31443         Likewise.
31444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31445         Likewise.
31446         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31448 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31450         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31451         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31453 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
31455         [BZ #15897]
31456         * dlfcn/Makefile (tests): Add bug-dl-leaf.
31457         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31458         ($(objpfx)bug-dl-leaf): New rule.
31459         ($(objpfx)bug-dl-leaf.so): Likewise.
31460         ($(objpfx)bug-dl-leaf.out): Likewise.
31461         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31462         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31463         * dlfcn/bug-dl-leaf.c: New test.
31464         * dlfcn/bug-dl-leaf-lib.c: Likewise.
31465         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31466         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31467         (dlclose): Likewise.
31468         (dlmopen): Likewise.
31470 2013-08-27  Roland McGrath  <roland@hack.frob.com>
31472         * include/netdb.h [!_ISOMAC]:
31473         Don't include <tls.h>.
31474         (h_errno, __libc_h_errno): Move declaration and macros out of
31475         [_LIBC_REENTRANT].
31477         * include/resolv.h [_RESOLV_H_]:
31478         Don't include <tls.h>.
31479         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31480         * resolv/res_libc.c: Don't include <tls.h>.
31481         (_res): Use __attribute__ ((nocommon)) in place of
31482         __attribute__ ((section (".bss"))).
31484         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31485         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31487         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31489         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31490         only under [SIOCGIFCONF && SIOCGIFNETMASK].
31492         * resolv/res_mkquery.c: Include <sys/time.h>.
31494         * inet/ifreq.c: Moved to ...
31495         * sysdeps/unix/ifreq.c: ... here.
31496         * inet/ifreq.c: New file, true stub version.
31498         * socket/sa_len.c: New file.
31499         * socket/Makefile (aux): Add it.
31500         * sysdeps/unix/sysv/linux/Makefile
31501         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31502         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31503         and #include <socket/sa_len.c>.
31504         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31505         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31507         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31508         * bits/socket.h: ... here.
31510         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31511         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31512         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31514 2013-08-27  Andreas Schwab  <schwab@suse.de>
31516         [BZ #15736]
31517         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31518         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31519         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31520         * string/test-strcasecmp.c (test_main): Run tests in several
31521         locales.
31522         * string/test-strncasecmp.c (test_main): Likewise.
31524         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31525         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31526         to __strcasecmp_nonascii and __strncasecmp_nonascii.
31527         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31528         (__strncasecmp_ssse3) [PIC]: Likewise.
31530 2013-08-26  Roland McGrath  <roland@hack.frob.com>
31532         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31534         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31535         instead of explicitly declaring xdecrypt.
31536         * nis/nss_nis/nis-publickey.c: Likewise.
31538 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31540         [BZ #15890]
31541         * nscd/aicache.c: Include res_hconf.h.
31542         (addhstaiX): Initialize res_hconf.
31544 2013-08-26  Andreas Schwab  <schwab@suse.de>
31546         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31547         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31549 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31551         * nscd/aicache.c (addhstaiX): Fix indentation.
31553 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
31555         * configure.ac: Quote $build_pt_chown test.
31556         * configure: Regenerated.
31558 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
31560         [BZ #15532]
31561         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31562         * math/s_cexpf.c (__cexpf): Likewise.
31563         * math/s_cexpl.c (__cexpl): Likewise.
31564         * math/libm-test.inc (cexp_test_data): Correct expected return
31565         value for NaN + i0.  Add another test.
31567 2013-08-22  David S. Miller  <davem@davemloft.net>
31569         * po/ca.po: Update Catalan translation from translation project.
31570         * po/uk.po: Add Ukrainian translations from translation project.
31572 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
31574         [BZ #15797]
31575         * math/s_fdim.c (__fdim): Check for infinite arguments if result
31576         is infinite, not alongside NaN test.
31577         * math/s_fdimf.c (__fdimf): Likewise.
31578         * math/s_fdiml.c (__fdiml): Likewise.
31579         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
31580         errno is unchanged.
31582 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
31584         * argp/argp-help.c: Fix typos.
31585         * crypt/speeds.c: Likewise.
31586         * csu/check_fds.c: Likewise.
31587         * elf/dl-load.c: Likewise.
31588         * elf/dl-open.c: Likewise.
31589         * elf/reldep3.c: Likewise.
31590         * elf/reldep.c: Likewise.
31591         * elf/sprof.c: Likewise.
31592         * iconv/iconv_charmap.c: Likewise.
31593         * iconv/skeleton.c: Likewise.
31594         * iconv/strtab.c: Likewise.
31595         * io/lockf64.c: Likewise.
31596         * libio/libioP.h: Likewise.
31597         * resolv/gai_notify.c: Likewise.
31598         * resolv/ns_name.c: Likewise.
31599         * resolv/ns_samedomain.c: Likewise.
31600         * resolv/res_send.c: Likewise.
31601         * stdlib/random.c: Likewise.
31602         * sunrpc/rpc/xdr.h: Likewise.
31603         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31604         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31605         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31606         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31607         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31608         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31609         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31610         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31611         * sysdeps/mach/hurd/check_fds.c: Likewise.
31612         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31613         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31614         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31615         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31616         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31617         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31618         * sysdeps/pthread/aio_notify.c: Likewise.
31619         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
31620         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
31621         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
31622         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31623         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31625 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31627         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
31628         version if bit_Slow_SSE4_2 is set.
31629         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31630         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31632 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31634         [BZ #15867]
31635         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
31636         trampoline stack frame information.
31637         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
31638         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
31639         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
31640         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
31641         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
31642         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31643         (_libc_vdso_platform_setup): Initialize the signal trampolines.
31644         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
31645         sa_flags value.
31646         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
31647         interrupting a syscall and set with option SA_SIGINFO.
31649 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31651         [BZ #15531]
31652         * math/s_cproj.c (__cproj): Only return an infinity if one part of
31653         argument is infinite.
31654         * math/s_cprojf.c (__cprojf): Likewise.
31655         * math/s_cprojl.c (__cprojl): Likewise.
31656         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
31657         * math/libm-test.inc (cproj_test_data): Add more tests.
31659         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
31661         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31662         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
31663         size.  Use __ffs to determine corresponding shift.
31665 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31666             Roland McGrath  <roland@hack.frob.com>
31668         * Makefile (INSTALL): Remove trailing blank lines from output of
31669         makeinfo.
31671 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31673         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31674         Align 32 bit compat elf_greg to 8 bytes.
31676 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
31678         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31680 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31682         * string/strcoll_l.c (coll_seq): New structure.
31683         (get_next_seq_cached): New function.
31684         (get_next_seq): New function.
31685         (do_compare): New function.
31686         (STRCOLL): Use GNU style definition.  Simplify implementation
31687         by using get_next_seq, get_next_seq_cached and do_compare.
31689 2013-08-16  Florian Weimer  <fweimer@redhat.com>
31691         [BZ #14699]
31692         CVE-2013-4237
31693         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31694         member.
31695         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31696         member.
31697         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31698         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31699         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
31700         conditional.
31701         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31702         GETDENTS_64BIT_ALIGNED.
31703         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31704         * manual/filesys.texi (Reading/Closing Directory): Document
31705         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
31706         strongly.
31707         * manual/conf.texi (Limits for Files): Add portability note to
31708         NAME_MAX, PATH_MAX.
31709         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31711 2013-08-13  Andreas Schwab  <schwab@suse.de>
31713         [BZ #15749]
31714         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31715         of fabs.
31716         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31717         LDBL_MAX_EXP >= 16384]: Add tests for it.
31719 2013-08-12  David S. Miller  <davem@davemloft.net>
31721         * version.h (RELEASE): Set to "development".
31722         (VERSION): Set to "2.18.90".
31723         * NEWS: Add 2.19 section.
31725 2013-08-03  David S. Miller  <davem@davemloft.net>
31727         * po/ko.po: Update Korean translation from translation project.
31729 2013-08-01  David S. Miller  <davem@davemloft.net>
31731         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
31732         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31733         Bilka.
31735 2013-07-30  David S. Miller  <davem@davemloft.net>
31737         * po/fr.po: Update French translation from translation project.
31739 2013-07-28  David S. Miller  <davem@davemloft.net>
31741         * po/cs.po: Update Czech translation from translation project.
31743         * po/sv.po: Update Swedish translation from translation project.
31745 2013-07-27  David S. Miller  <davem@davemloft.net>
31747         * po/eo.po: Update Esperanto translation from translation project.
31749         * po/vi.po: Update Vietnamese translation from translation project.
31751         * po/de.po: Update German translation from translation project.
31753 2013-07-26  David S. Miller  <davem@davemloft.net>
31755         * po/bg.po: Update Bulgarian translation from translation project.
31757         * po/nl.po: Update Dutch translation from translation project.
31758         * po/pl.po: Update Polish translation from translation project.
31759         * po/ru.po: Update Russian translation from translation project.
31761 2013-07-24  David S. Miller  <davem@davemloft.net>
31763         * po/libc.pot: Update.
31765 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31767         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31768         variable page size.
31769         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31770         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31771         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31773 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31775         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31777 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31778             Andreas Schwab  <schwab@suse.de>
31779             Roland McGrath  <roland@hack.frob.com>
31780             Joseph Myers  <joseph@codesourcery.com>
31781             Carlos O'Donell  <carlos@redhat.com>
31783         [BZ #15755]
31784         * config.h.in: Define HAVE_PT_CHOWN.
31785         * config.make.in (build-pt-chown): New variable.
31786         * configure.in (--enable-pt_chown): New configure option.
31787         * configure: Regenerate.
31788         * login/Makefile: Include Makeconfig.  Build pt_chown only if
31789         build-pt-chown is enabled.
31790         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31791         pt_chown to fix pty ownership.
31792         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31793         CLOSE_ALL_FDS.
31794         * manual/install.texi (Configuring and compiling): Mention
31795         --enable-pt_chown. Add @findex for grantpt.
31796         * INSTALL: Regenerate.
31798 2013-07-20  David S. Miller  <davem@davemloft.net>
31800         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31801         difference between 32-bit and 64-bit.
31803 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
31805         [BZ #15711]
31806         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31807         Avoid system header dependency with -ffreestanding.
31808         ($(objpfx)bits/syscall%d): Likewise.
31810 2013-07-13  David S. Miller  <davem@davemloft.net>
31812         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31813         underflows from atanl/atan2l due to bug 15319.
31814         (casinh_test_data): Likewise.
31816 2013-07-07  David S. Miller  <davem@davemloft.net>
31818         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31820 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
31822         * sysdeps/i386/fpu/libm-test-ulps: Update.
31823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31825 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31827         * configure.in (--enable-lock-elision): Fix message text.
31828         * INSTALL: Regenerate.
31829         * configure: Regenerate.
31831 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31833         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31835 2013-07-03  Andreas Jaeger  <aj@suse.de>
31837         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31838         define.
31839         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31840         (ptrace_peeksiginfo_args): Add.
31841         (__ptrace_peeksiginfo_flags): Add.
31842         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31843         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31844         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31846 2013-07-03  Allan McRae  <allan@archlinux.org>
31848         * sysdeps/i386/fpu/libm-test-ulps: Update.
31850 2013-07-02  David S. Miller  <davem@davemloft.net>
31852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31854 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
31856         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31858 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31860         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31863 2013-07-02  Andi Kleen <ak@linux.intel.com>
31865         * config.h.in (ENABLE_LOCK_ELISION): Add.
31866         * configure.in (--enable-lock-elision): Add option.
31867         * manual/install.texi: Document --enable lock elision.
31868         * configure: Regenerate
31869         * INSTALL: Regenerate.
31871 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
31873         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31874         SSE4.2 strcasecmp for libc.a.
31875         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31877 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31879         [BZ #13304]
31880         * soft-fp/op-common.h (_FP_FMA): New macro.
31881         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31882         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
31883         (_FP_MUL_MEAT_1_imm): ... here.
31884         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
31885         (_FP_MUL_MEAT_1_wide): ... here.
31886         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
31887         (_FP_MUL_MEAT_1_hard): ... here.
31888         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31889         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
31890         (_FP_MUL_MEAT_2_wide): ... here.
31891         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
31892         (_FP_MUL_MEAT_2_wide_3mul): ... here.
31893         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
31894         (_FP_MUL_MEAT_2_gmp): ... here.
31895         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31896         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
31897         (_FP_MUL_MEAT_4_wide): ... here.
31898         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
31899         (_FP_MUL_MEAT_4_gmp): ... here.
31900         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31901         (_FP_WFRACBITS_DW_S): Likewise.
31902         (_FP_WFRACXBITS_DW_S): Likewise.
31903         (_FP_HIGHBIT_DW_S): Likewise.
31904         (FP_FMA_S): Likewise.
31905         (_FP_FRAC_HIGH_DW_S): Likewise.
31906         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31907         (_FP_WFRACBITS_DW_D): Likewise.
31908         (_FP_WFRACXBITS_DW_D): Likewise.
31909         (_FP_HIGHBIT_DW_D): Likewise.
31910         (FP_FMA_D): Likewise.
31911         (_FP_FRAC_HIGH_DW_D): Likewise.
31912         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31913         (_FP_WFRACBITS_DW_E): Likewise.
31914         (_FP_WFRACXBITS_DW_E): Likewise.
31915         (_FP_HIGHBIT_DW_E): Likewise.
31916         (FP_FMA_E): Likewise.
31917         (_FP_FRAC_HIGH_DW_E): Likewise.
31918         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31919         (_FP_WFRACBITS_DW_Q): Likewise.
31920         (_FP_WFRACXBITS_DW_Q): Likewise.
31921         (_FP_HIGHBIT_DW_Q): Likewise.
31922         (FP_FMA_Q): Likewise.
31923         (_FP_FRAC_HIGH_DW_Q): Likewise.
31924         * soft-fp/fmasf4.c: New file.
31925         * soft-fp/fmadf4.c: Likewise.
31926         * soft-fp/fmatf4.c: Likewise.
31928 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31930         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31931         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31932         Silvermont.
31933         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31934         macro.
31935         (index_Slow_SSE4_2): Likewise.
31936         (index_Prefer_PMINUB_for_stringop): Likewise.
31937         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31938         bit_Slow_SSE4_2 is set.
31939         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31940         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31942 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31944         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31945         rtld_global._dl_hwcap2.
31946         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31947         POWER8.
31948         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31949         POWER8 feature descriptions defined in _dl_hwcap2.
31950         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31951         string handling for POWER8 feature bits.
31952         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31953         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31954         _dl_powerpc_cap_flags.
31955         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31956         * sysdeps/powerpc/rtld-global-offsets.sym
31957         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31958         _dl_hwcap2 in the rtld_global_ro structure.
31960 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31962         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31963         hardware capabilities in support of AT_HWCAP2.
31964         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31965         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31966         GLRO(dl_hwcap2).
31967         (_dl_show_auxv): Add support for calling _dl_procinfo to display
31968         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
31969         explicitly the unknown a_type display mechanism is used.
31970         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31971         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31972         struct member.
31973         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31974         to macro prototype for AT_HWCAP2 support.
31975         * sysdeps/i386/dl-procinfo.h: Likewise.
31976         * sysdeps/s390/dl-procinfo.h: Likewise.
31977         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31978         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
31979         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
31980         return -1 for unknown a_type display fallback.
31981         * sysdeps/sparc/dl-procinfo.h: Likewise.
31982         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31983         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
31985 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
31987         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
31988         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31990 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
31992         [BZ #12492]
31993         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
31994         mprotect making __stack_prot writable.
31996 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
31997             Joseph Myers  <joseph@codesourcery.com>
31999         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32000         as being properly aligned.
32002 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32004         * dlfcn/modstatic5.c: New file.
32005         * dlfcn/tststatic5.c: New file.
32006         * dlfcn/Makefile (tests): Add tststatic5.
32007         (tests-static): Likewise.
32008         (modules-names): Add modstatic5.
32009         (tststatic5-ENV): New variable.
32010         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32012         [BZ #15022]
32013         * elf/dl-support.c (_dl_main_map): New variable.
32014         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32015         (_dl_nns, _dl_load_adds): Set to 1.
32016         (_dl_initial_searchlist): Refer to _dl_main_map.
32017         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32018         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32019         call to _dl_get_origin.
32020         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32021         around call_map.
32022         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32023         * dlfcn/modstatic3.c: New file.
32024         * dlfcn/tststatic3.c: New file.
32025         * dlfcn/tststatic4.c: New file.
32026         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32027         (tests-static): Likewise.
32028         (modules-names): Add modstatic3.
32029         (tststatic3-ENV, tststatic4-ENV): New variables.
32030         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32031         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32033 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32035         * configure.in (CC): Require GCC version 4.4 or later.
32036         * configure: Regenerated.
32037         * manual/install.texi (Tools for Compilation): Update GCC version
32038         requirement.
32039         * INSTALL: Regenerated.
32041 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32043         [BZ #15674]
32044         * string/test-memcmp.c (check2): New.
32045         (main): Call check2.
32047         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32049 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32051         [BZ #15022]
32052         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32053         over to...
32054         (dl_open_worker) [!SHARED]: ... here.
32056 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32058         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32060 2013-06-25  Richard Henderson  <rth@redhat.com>
32062         * locale/programs/locarchive.c: Include <libc-internal.h>
32064 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32066         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32067         trailing whitespace removed.
32069 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32071         [BZ #10283]
32072         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32073         * locale/programs/locarchive.c: Include libc-mmap.h.
32074         (prepare_address_space): Take two new outputs (the mmap base and len).
32075         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32076         values.
32077         (create_archive): Declare new mmap base and len values for
32078         prepare_address_space, and store the result in ah.
32079         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32080         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32081         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32082         Declare new mmap base and len values for
32083         prepare_address_space, and store the result in new_ah.
32084         (open_archive): Declare new mmap base and len values for
32085         prepare_address_space, and store the result in ah.
32086         (close_archive): If ah->mmap_base is not NULL, use that and
32087         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32088         * sysdeps/generic/libc-mmap.h: New file.
32090 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32092         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32093         (ALIGN_UP): Likewise.
32094         (PTR_ALIGN_DOWN): Likewise.
32095         (PTR_ALIGN_UP): Likewise.
32097 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32099         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32100         entry mapped to PPC_PLATFORM_POWER8.
32101         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32102         POWER8.
32103         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32104         (_dl_string_platform): Add case for exporting platform position for
32105         POWER8.
32106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32107         search path to sysdeps/powerpc/powerpc32/power8 directory.
32108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32109         search path to sysdeps/powerpc/powerpc64/power8 directory.
32110         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32111         power7 directories.
32112         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32113         power7 directories.
32115 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32117         * INSTALL: Regenerate.
32119         * nscd/connections.c (nscd_init): Fix comment.
32121 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32123         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32125         [BZ #15667]
32126         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32127         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32129 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32131         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32132         DL_DST_REQ_STATIC.
32133         (DL_DST_REQ_STATIC): Remove macro.
32135 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32137         [BZ #7006]
32138         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32139         with a shift of 0 bits.
32141 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32143         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32144         $(tststatic-ENV).
32146 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32148         [BZ #15655]
32149         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32151 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32153         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32154         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32155         accepts -fno-tree-loop-distribute-patterns.
32156         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32157         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32158         recursive call.
32159         * string/memset.c (memset): Likewise.
32160         * string/test-memmove.c (simple_memmove): Disable loop transformation
32161         to library calls.
32162         * string/test-memset.c (simple_memset): Likewise.
32163         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32164         * benchtests/bench-memset.c (simple_memset): Likewise.
32165         * configure: Regenerated.
32167 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32169         * math/test-misc.c (main): Ignore fesetround failure when failures
32170         of subsequent rounding tests would be ignored.
32172         [BZ #15654]
32173         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32174         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32175         * math/fegetenv.c (__fegetenv): Return 0.
32176         * math/fegetexcept.c (fegetexcept): Return 0.
32177         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32178         FE_TONEAREST.
32179         * math/feholdexcpt.c (feholdexcept): Return 0.
32180         * math/fesetenv.c (__fesetenv): Return 0.
32181         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32182         argument FE_TONEAREST.
32183         * math/feupdateenv.c (__feupdateenv): Return 0.
32184         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32186 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32188         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32189         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32190         ($(objpfx)rtld-%.os rules): Use them.
32192 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32194         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32195         fields.
32197 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32199         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32200         length of target pattern, then descending length of dependency pattern.
32201         * configure.in (AWK): Require gawk 3.1.2 or newer.
32202         * manual/install.texi (Tools for Compilation): Say that we do.
32203         * configure: Regenerated.
32205         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32206         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32207         * scripts/sysd-rules.awk: ... this new script.
32208         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32209         than a glob-style pattern.
32211 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32213         * math/test-misc.c (main): Do not treat incorrectly rounded
32214         conversions as failure unless ROUNDING_TESTS passes.
32216 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32218         [BZ #15631]
32219         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32220         restore exception state around main square root computation, then
32221         check for inexactness explicitly.
32223         * math/libm-test.inc (fma_test_data): Add another test.
32225 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32227         * manual/threads.texi (Non-POSIX Extensions): New document
32228         node.  Document pthread_getattr_default_np and
32229         pthread_setattr_default_np.
32231         * Versions.def (libpthread): Add GLIBC_2.18.
32232         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32234         Likewise.
32235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32236         Likewise.
32237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32238         Likewise.
32239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32240         Likewise.
32241         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32242         Likewise.
32243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32244         Likewise.
32245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32246         Likewise.
32247         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32248         Likewise.
32249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32250         Likewise.
32252 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32254         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32255         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32257 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32258             H.J. Lu  <hjl.tools@gmail.com>
32260         [BZ #15627]
32261         * sysdeps/x86_64/rtld-memset.c: Remove file.
32262         * sysdeps/x86_64/rtld-memset.S: New file.
32264 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32266         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32267         (test_in_one_mode): Take arguments for whether the rounding mode
32268         is supported for each floating-point type.
32269         (do_test): Pass new arguments to test_in_one_mode using
32270         ROUNDING_TESTS.
32272 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32274         * posix/tst-waitid.c (do_test): Distinguish different instances of
32275         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32276         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32277         before entering the kernel for waitpid.
32279 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32281         * NEWS: Fix note on clock function precision.  Text by Roland
32282         McGrath.
32284 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32286         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32287         it into place only when and if the sanity check passes.
32289 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32291         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32292         output for whether conversion result is exact.  Take argument
32293         indicating whether type is IBM long double.
32294         (round_for_all): Change need_exact field to ibm_ld.
32295         * stdlib/tst-strtod-round.c (struct exactness): New type.
32296         (struct test): Change bool ld_ok field to struct exactness exact.
32297         (TEST): Update all definitions for change to field.
32298         (tests): Regenerate array contents.
32299         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32300         field value.  Check for IBM long double here.
32301         (do_test): Update calls to test_in_one_mode.
32303 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32305         [BZ #12515]
32306         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32307         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32309 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32311         [BZ #15605]
32312         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32313         generated by the compiler on loop optimizations.
32314         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32315         general definitions.
32317 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32319         * math/bug-nextafter.c: Include <math-tests.h>.
32320         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32321         the relevant type.
32322         * math/bug-nexttoward.c: Include <math-tests.h>.
32323         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32324         the relevant type.
32325         * math/test-misc.c: Include <math-tests.h>.
32326         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32327         the relevant type.
32329 2013-06-12  Andreas Jaeger  <aj@suse.de>
32331         * po/ia.po: Update Interlingua translation from translation
32332         project.
32334 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32336         * include/fenv.h: Include stdbool.h.
32337         (struct rm_ctx): New structure.
32338         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32339         Define macro.
32340         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32341         (SET_RESTORE_ROUNDF): Likewise.
32342         (SET_RESTORE_ROUNDL): Likewise.
32343         (SET_RESTORE_ROUND_NOEX): Likewise.
32344         (SET_RESTORE_ROUND_NOEXF): Likewise.
32345         (SET_RESTORE_ROUND_NOEXL): Likewise.
32346         (SET_RESTORE_ROUND_53BIT): Likewise.
32347         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32348         (libc_feresetround_noexf_ctx): Likewise.
32349         (libc_feresetround_noexl_ctx): Likewise.
32350         (libc_feholdsetround_53bit_ctx): Likewise.
32351         (libc_feresetround_53bit_ctx): Likewise.
32352         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32353         (libc_feholdexcept_setround_sse_ctx): New function.
32354         (libc_fesetenv_sse_ctx): Likewise.
32355         (libc_feupdateenv_sse_ctx): Likewise.
32356         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32357         (libc_feholdexcept_setround_387_ctx): Likewise.
32358         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32359         (libc_feholdsetround_387_prec_ctx): Likewise.
32360         (libc_feholdsetround_387_ctx): Likewise.
32361         (libc_feholdsetround_387_53bit_ctx): Likewise.
32362         (libc_feholdsetround_sse_ctx): Likewise.
32363         (libc_feresetround_sse_ctx): Likewise.
32364         (libc_feresetround_387_ctx): Likewise.
32365         (libc_feupdateenv_387_ctx): Likewise.
32366         (libc_feholdexcept_setroundf_ctx): Define macro.
32367         (libc_fesetenvf_ctx): Likewise.
32368         (libc_feupdateenvf_ctx): Likewise.
32369         (libc_feholdsetroundf_ctx): Likewise.
32370         (libc_feresetroundf_ctx): Likewise.
32371         (libc_feholdexcept_setround_ctx): Likewise.
32372         (libc_fesetenv_ctx): Likewise.
32373         (libc_feupdateenv_ctx): Likewise.
32374         (libc_feholdsetround_ctx): Likewise.
32375         (libc_feresetround_ctx): Likewise.
32376         (libc_feholdexcept_setroundl_ctx): Likewise.
32377         (libc_feupdateenvl_ctx): Likewise.
32378         (libc_feholdsetroundl_ctx): Likewise.
32379         (libc_feresetroundl_ctx): Likewise.
32380         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32381         (libc_feresetround_53bit_ctx): Likewise.
32383 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32385         * locale/iso-639.def: Convert to UTF-8.
32387 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32389         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32390         (EXCEPTION_TESTS_double): Likewise.
32391         (EXCEPTION_TESTS_long_double): Likewise.
32392         (EXCEPTION_TESTS): Likewise.
32393         * math/libm-test.inc (test_exceptions): Only test exceptions if
32394         EXCEPTION_TESTS (FLOAT).
32396 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32398         * benchtests/Makefile (string-bench): Add strcpy_chk and
32399         stpcpy_chk.
32400         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32401         * benchtests/bench-stpcpy_chk.c: New file.
32402         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32403         * benchtests/bench-strcpy_chk.c: New file.
32404         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32405         code.
32406         (do_test): Likewise.
32408 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32410         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32411         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32412         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32413         with tabs where appropriate.
32414         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32415         dl-procinfo.h.
32416         [PPC_PLATFORM_PPC440]: Likewise.
32417         [PPC_PLATFORM_PPC464]: Likewise.
32418         [PPC_PLATFORM_PPC476]: Likewise.
32419         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32420         ppc464, and ppc476 platform strings merging from ports/
32421         dl-procinfo.h.
32423 2013-06-11  Andreas Schwab  <schwab@suse.de>
32425         [BZ #14991]
32426         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32427         (from_ucs4_idx): Regenerate.
32428         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32429         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32430         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32431         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32432         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32433         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32434         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32435         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32436         from FROM_LOOP and TO_LOOP specific macros.
32437         (BODY): Handle combining characters.
32438         * iconvdata/BIG5HKSCS.irreversible: Update.
32439         * iconvdata/BIG5HKSCS.precomposed: New file.
32440         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32441         characters.
32442         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32444 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32446         * include/sys/time.h: Fix indentation and add copyright header.
32448         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32449         (do_test): Likewise.
32450         * string/test-memchr.c (do_one_test): Likewise.
32451         (do_test): Likewise.
32452         * string/test-memcmp.c (do_one_test): Likewise.
32453         (do_test): Likewise.
32454         * string/test-memcpy.c (do_one_test): Likewise.
32455         (do_test): Likewise.
32456         * string/test-memmem.c (do_one_test): Likewise.
32457         (do_test): Likewise.
32458         (do_random_tests): Likewise.
32459         * string/test-memmove.c (do_one_test): Likewise.
32460         (do_test): Likewise.
32461         * string/test-memset.c (do_one_test): Likewise.
32462         (do_test): Likewise.
32463         * string/test-rawmemchr.c (do_one_test): Likewise.
32464         (do_test): Likewise.
32465         * string/test-strcasecmp.c (do_one_test): Likewise.
32466         (do_test): Likewise.
32467         * string/test-strcasestr.c (do_one_test): Likewise.
32468         (do_test): Likewise.
32469         * string/test-strcat.c (do_one_test): Likewise.
32470         (do_test): Likewise.
32471         * string/test-strchr.c (do_one_test): Likewise.
32472         (do_test): Likewise.
32473         * string/test-strcmp.c (do_one_test): Likewise.
32474         (do_test): Likewise.
32475         * string/test-strcpy.c (do_one_test): Likewise.
32476         (do_test): Likewise.
32477         * string/test-string.h: Likewise.
32478         (test_init): Likewise.
32479         * string/test-strlen.c (do_one_test): Likewise.
32480         (do_test): Likewise.
32481         * string/test-strncasecmp.c (do_one_test): Likewise.
32482         (do_test): Likewise.
32483         * string/test-strncat.c (do_one_test): Likewise.
32484         (do_test): Likewise.
32485         * string/test-strncmp.c (do_one_test): Likewise.
32486         (do_test_limit): Likewise.
32487         (do_test): Likewise.
32488         * string/test-strncpy.c (do_one_test): Likewise.
32489         (do_test): Likewise.
32490         * string/test-strnlen.c (do_one_test): Likewise.
32491         (do_test): Likewise.
32492         * string/test-strpbrk.c (do_one_test): Likewise.
32493         (do_test): Likewise.
32494         * string/test-strrchr.c (do_one_test): Likewise.
32495         (do_test): Likewise.
32496         * string/test-strspn.c (do_one_test): Likewise.
32497         (do_test): Likewise.
32498         * string/test-strstr.c (do_one_test): Likewise.
32499         (do_test): Likewise.
32501         * benchtests/Makefile (string-bench): Add string benchmarks.
32502         * benchtests/bench-bcopy-ifunc.c: New file.
32503         * benchtests/bench-bcopy.c: New file.
32504         * benchtests/bench-bzero-ifunc.c: New file.
32505         * benchtests/bench-bzero.c: New file.
32506         * benchtests/bench-memccpy-ifunc.c: New file.
32507         * benchtests/bench-memccpy.c: New file.
32508         * benchtests/bench-memchr-ifunc.c: New file.
32509         * benchtests/bench-memchr.c: New file.
32510         * benchtests/bench-memcmp-ifunc.c: New file.
32511         * benchtests/bench-memcmp.c: New file.
32512         * benchtests/bench-memmem-ifunc.c: New file.
32513         * benchtests/bench-memmem.c: New file.
32514         * benchtests/bench-memmove-ifunc.c: New file.
32515         * benchtests/bench-memmove.c: New file.
32516         * benchtests/bench-mempcpy-ifunc.c: New file.
32517         * benchtests/bench-mempcpy.c: New file.
32518         * benchtests/bench-memset-ifunc.c: New file.
32519         * benchtests/bench-memset.c: New file.
32520         * benchtests/bench-rawmemchr-ifunc.c: New file.
32521         * benchtests/bench-rawmemchr.c: New file.
32522         * benchtests/bench-stpcpy-ifunc.c: New file.
32523         * benchtests/bench-stpcpy.c: New file.
32524         * benchtests/bench-stpncpy-ifunc.c: New file.
32525         * benchtests/bench-stpncpy.c: New file.
32526         * benchtests/bench-strcasecmp-ifunc.c: New file.
32527         * benchtests/bench-strcasecmp.c: New file.
32528         * benchtests/bench-strcasestr-ifunc.c: New file.
32529         * benchtests/bench-strcasestr.c: New file.
32530         * benchtests/bench-strcat-ifunc.c: New file.
32531         * benchtests/bench-strcat.c: New file.
32532         * benchtests/bench-strchr-ifunc.c: New file.
32533         * benchtests/bench-strchr.c: New file.
32534         * benchtests/bench-strchrnul-ifunc.c: New file.
32535         * benchtests/bench-strchrnul.c: New file.
32536         * benchtests/bench-strcmp-ifunc.c: New file.
32537         * benchtests/bench-strcmp.c: New file.
32538         * benchtests/bench-strcpy-ifunc.c: New file.
32539         * benchtests/bench-strcpy.c: New file.
32540         * benchtests/bench-strcspn-ifunc.c: New file.
32541         * benchtests/bench-strcspn.c: New file.
32542         * benchtests/bench-strlen-ifunc.c: New file.
32543         * benchtests/bench-strlen.c: New file.
32544         * benchtests/bench-strncasecmp-ifunc.c: New file.
32545         * benchtests/bench-strncasecmp.c: New file.
32546         * benchtests/bench-strncat-ifunc.c: New file.
32547         * benchtests/bench-strncat.c: New file.
32548         * benchtests/bench-strncmp-ifunc.c: New file.
32549         * benchtests/bench-strncmp.c: New file.
32550         * benchtests/bench-strncpy-ifunc.c: New file.
32551         * benchtests/bench-strncpy.c: New file.
32552         * benchtests/bench-strnlen-ifunc.c: New file.
32553         * benchtests/bench-strnlen.c: New file.
32554         * benchtests/bench-strpbrk-ifunc.c: New file.
32555         * benchtests/bench-strpbrk.c: New file.
32556         * benchtests/bench-strrchr-ifunc.c: New file.
32557         * benchtests/bench-strrchr.c: New file.
32558         * benchtests/bench-strspn-ifunc.c: New file.
32559         * benchtests/bench-strspn.c: New file.
32560         * benchtests/bench-strstr-ifunc.c: New file.
32561         * benchtests/bench-strstr.c: New file.
32563         * benchtests/Makefile: Disable parallel execution of targets.
32564         (string-bench): Add memcpy.
32565         (benchset): New variable to store a list of benchmark sets.
32566         (bench-func): Renamed from bench.
32567         (bench-set): New target.
32568         (bench): Depend on bench-func and bench-set.
32569         * benchtests/README: Add section on benchmark sets.
32570         * benchtests/bench-memcpy-ifunc.c: New file.
32571         * benchtests/bench-memcpy.c: New file.
32572         * benchtests/bench-string.h: New file.
32574 2013-06-11  Andreas Schwab  <schwab@suse.de>
32576         [BZ #15577]
32577         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32578         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32579         values in the triple.
32580         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32581         terminator in the group key.
32583 2013-06-11  Andreas Jaeger  <aj@suse.de>
32585         * po/zh_TW.po: Update Chinese (traditional) translation from
32586         translation project.
32588 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32590         * include/time.h (__clock_gettime): Add libc_hidden_proto.
32591         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32592         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
32593         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32594         (clock_getcpuclockid): Likewise.
32595         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32596         Add weak_alias and libc_hidden_def.
32597         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32598         * rt/clock_gettime.c (clock_gettime): Rename to
32599         __clock_gettime.  Add weak_alias and libc_hidden_def.
32600         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32601         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32602         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
32603         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32604         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32605         Likewise.
32606         * rt/clock_settime.c (clock_settime): Rename to
32607         __clock_settime.  Add weak_alias and libc_hidden_def.
32608         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
32610 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
32612         * mach/err_boot.sub: Remove trailing whitespace.
32613         * mach/err_ipc.sub: Likewise.
32614         * mach/err_mach.sub: Likewise.
32616         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
32617         (ROUNDING_TESTS_double): Likewise.
32618         (ROUNDING_TESTS_long_double): Likewise.
32619         (ROUNDING_TESTS): Likewise.
32620         * math/libm-test.inc: Include <math-tests.h>.
32621         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
32622         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32623         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32624         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32626 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32628         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
32629         of assigning.
32631 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
32633         * sysdeps/gnu/errlist.awk: Do not generate space at end of
32634         otherwise empty TRANS lines.
32635         * sysdeps/gnu/errlist.c: Regenerated.
32637         * catgets/gencat.c (error_print): Use (void) in function
32638         definition.
32639         * crypt/crypt_util.c (__init_des): Likewise.
32640         * crypt/speeds.c (Stop): Likewise.
32641         (main): Likewise.
32642         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
32643         * inet/ruserpass.c (token): Likewise.
32644         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
32645         * intl/localealias.c (extend_alias_table): Likewise.
32646         * intl/plural-exp.c (init_germanic_plural): Likewise.
32647         * libio/fcloseall.c (__fcloseall): Likewise.
32648         * libio/genops.c (_IO_flush_all): Likewise.
32649         (_IO_flush_all_linebuffered): Likewise.
32650         (_IO_cleanup): Likewise.
32651         (_IO_iter_begin): Likewise.
32652         (_IO_iter_end): Likewise.
32653         (_IO_list_lock): Likewise.
32654         (_IO_list_unlock): Likewise.
32655         (_IO_list_resetlock): Likewise.
32656         * libio/getchar.c (getchar): Likewise.
32657         * libio/getchar_u.c (getchar_unlocked): Likewise.
32658         * libio/getwchar.c (getwchar): Likewise.
32659         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
32660         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
32661         * login/getpt.c (__getpt): Likewise.
32662         * login/tst-utmp.c (main): Likewise.
32663         * malloc/hooks.c (__malloc_check_init): Likewise.
32664         * malloc/malloc.c (__malloc_stats): Likewise.
32665         * malloc/mtrace.c (tr_break): Likewise.
32666         (mtrace): Likewise.
32667         (muntrace): Likewise.
32668         * misc/fstab.c (endfsent): Likewise.
32669         * misc/getclktck.c (__getclktck): Likewise.
32670         * misc/getdtsz.c (__getdtablesize): Likewise.
32671         * misc/gethostid.c (gethostid): Likewise.
32672         * misc/getpagesize.c (__getpagesize): Likewise.
32673         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32674         (__get_nprocs): Likewise.
32675         (__get_phys_pages): Likewise.
32676         (__get_avphys_pages): Likewise.
32677         * misc/getttyent.c (getttyent): Likewise.
32678         (setttyent): Likewise.
32679         (endttyent): Likewise.
32680         * misc/getusershell.c (getusershell): Likewise.
32681         (endusershell): Likewise.
32682         (setusershell): Likewise.
32683         (initshells): Likewise.
32684         * misc/hsearch.c (__hdestroy): Likewise.
32685         * misc/sync.c (sync): Likewise.
32686         * misc/syslog.c (closelog_internal): Likewise.
32687         (closelog): Likewise.
32688         * misc/ttyslot.c (ttyslot): Likewise.
32689         * misc/vhangup.c (vhangup): Likewise.
32690         * posix/fork.c (__fork): Likewise.
32691         * posix/getegid.c (__getegid): Likewise.
32692         * posix/geteuid.c (__geteuid): Likewise.
32693         * posix/getgid.c (__getgid): Likewise.
32694         * posix/getpid.c (__getpid): Likewise.
32695         * posix/getppid.c (__getppid): Likewise.
32696         * posix/getuid.c (__getuid): Likewise.
32697         * posix/pause.c (pause): Likewise.
32698         * posix/setpgrp.c (setpgrp): Likewise.
32699         * posix/setsid.c (__setsid): Likewise.
32700         * posix/test-vfork.c (noop): Likewise.
32701         * resolv/gethnamaddr.c (_endhtent): Likewise.
32702         (_gethtent): Likewise.
32703         (ht_endhostent): Likewise.
32704         (gethostent): Likewise.
32705         (dns_service): Likewise.
32706         * stdlib/drand48.c (drand48): Likewise.
32707         * stdlib/lrand48.c (lrand48): Likewise.
32708         * stdlib/mrand48.c (mrand48): Likewise.
32709         * stdlib/rand.c (rand): Likewise.
32710         * stdlib/random.c (__random): Likewise.
32711         * stdlib/setenv.c (clearenv): Likewise.
32712         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32713         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32714         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32715         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32716         (__get_nprocs): Likewise.
32717         (__get_phys_pages): Likewise.
32718         (__get_avphys_pages): Likewise.
32719         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32720         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32721         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32722         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32723         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32724         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32725         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32726         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32727         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32728         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32729         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32730         * sysdeps/mach/hurd/sync.c (sync): Likewise.
32731         * sysdeps/posix/clock.c (clock): Likewise.
32732         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32733         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32734         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32735         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32736         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32737         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32738         (__get_nprocs_conf): Likewise.
32739         (__get_phys_pages): Likewise.
32740         (__get_avphys_pages): Likewise.
32741         * time/clock.c (clock): Likewise.
32742         * time/tzset.c (__tzname_max): Likewise.
32744 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
32746         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32747         (__bswap_32): Do not use "register".
32748         * crypt/crypt.c (_ufc_doit_r): Likewise.
32749         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32750         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32751         * gmon/gmon.c (__monstartup): Likewise.
32752         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32753         * hurd/hurdmalloc.c (more_memory): Likewise.
32754         (malloc): Likewise.
32755         (free): Likewise.
32756         (realloc): Likewise.
32757         (malloc_fork_prepare): Likewise.
32758         (malloc_fork_parent): Likewise.
32759         (malloc_fork_child): Likewise.
32760         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32761         (_svcauth_des): Likewise.
32762         * inet/inet_lnaof.c (inet_lnaof): Likewise.
32763         * inet/inet_net.c (inet_network): Likewise.
32764         * inet/inet_netof.c (inet_netof): Likewise.
32765         * inet/rcmd.c (__validuser2_sa): Likewise.
32766         * io/fts.c (fts_open): Likewise.
32767         (fts_load): Likewise.
32768         (fts_close): Likewise.
32769         (fts_read): Likewise.
32770         (fts_children): Likewise.
32771         (fts_build): Likewise.
32772         (fts_stat): Likewise.
32773         (fts_sort): Likewise.
32774         (fts_alloc): Likewise.
32775         (fts_lfree): Likewise.
32776         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32777         (_IO_file_xsgetn): Likewise.
32778         (_IO_file_xsgetn_mmap): Likewise.
32779         * libio/iofopncook.c (_IO_cookie_read): Likewise.
32780         (_IO_cookie_write): Likewise.
32781         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32782         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32783         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32784         * malloc/obstack.c (_obstack_begin): Likewise.
32785         (_obstack_begin_1): Likewise.
32786         (_obstack_newchunk): Likewise.
32787         (_obstack_allocated_p): Likewise.
32788         (obstack_free): Likewise.
32789         (_obstack_memory_used): Likewise.
32790         * misc/getttyent.c (getttynam): Likewise.
32791         (getttyent): Likewise.
32792         (skip): Likewise.
32793         (value): Likewise.
32794         * misc/getusershell.c (initshells): Likewise.
32795         * misc/syslog.c (__vsyslog_chk): Likewise.
32796         * misc/ttyslot.c (ttyslot): Likewise.
32797         * nis/nis_hash.c (__nis_hash): Likewise.
32798         * posix/fnmatch_loop.c (FCT): Likewise.
32799         * posix/getconf.c (print_all): Likewise.
32800         (main): Likewise.
32801         * posix/getopt.c (exchange): Likewise.
32802         * posix/glob.c (globfree): Likewise.
32803         (prefix_array): Likewise.
32804         (__glob_pattern_type): Likewise.
32805         * resolv/arpa/nameser.h (NS_GET16): Likewise.
32806         (NS_GET32): Likewise.
32807         (NS_PUT16): Likewise.
32808         (NS_PUT32): Likewise.
32809         * resolv/gethnamaddr.c (getanswer): Likewise.
32810         (gethostbyname2): Likewise.
32811         (gethostbyaddr): Likewise.
32812         (_gethtent): Likewise.
32813         (_gethtbyname2): Likewise.
32814         (_gethtbyaddr): Likewise.
32815         * resolv/ns_print.c (dst_s_get_int16): Likewise.
32816         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32817         * resolv/res_init.c (__res_vinit): Likewise.
32818         (net_mask): Likewise.
32819         * resolv/res_mkquery.c (outchar): Likewise.
32820         (PRINT): Likewise.
32821         * stdio-common/printf_fp.c (outchar): Likewise.
32822         (PRINT): Likewise.
32823         * stdio-common/printf_fphex.c (outchar): Likewise.
32824         (PRINT): Likewise.
32825         * stdio-common/printf_size.c (outchar): Likewise.
32826         (PRINT): Likewise.
32827         * stdio-common/test_rdwr.c (main): Likewise.
32828         * stdio-common/tfformat.c (matches): Likewise.
32829         * stdio-common/vfprintf.c (outchar): Likewise.
32830         (printf_unknown): Likewise.
32831         (buffered_vfprintf): Likewise.
32832         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32833         * stdio-common/xbug.c (AppendToBuffer): Likewise.
32834         (ReadFile): Likewise.
32835         * stdlib/qsort.c (SWAP): Likewise.
32836         (_quicksort): Likewise.
32837         * stdlib/setenv.c (__add_to_environ): Likewise.
32838         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32839         * stdlib/strtol_l.c (__strtol_l): Likewise.
32840         * stdlib/tst-strtod.c (main): Likewise.
32841         * stdlib/tst-strtol.c (main): Likewise.
32842         * stdlib/tst-strtoll.c (main): Likewise.
32843         * string/bits/string2.h (__strcmp_cc): Likewise.
32844         (__strcmp_cg): Likewise.
32845         (__strcspn_c1): Likewise.
32846         (__strcspn_c2): Likewise.
32847         (__strcspn_c3): Likewise.
32848         (__strspn_c1): Likewise.
32849         (__strspn_c2): Likewise.
32850         (__strspn_c3): Likewise.
32851         (__strsep_1c): Likewise.
32852         (__strsep_2c): Likewise.
32853         (__strsep_3c): Likewise.
32854         * string/memccpy.c (__memccpy): Likewise.
32855         * string/stpcpy.c (__stpcpy): Likewise.
32856         * string/strcmp.c (strcmp): Likewise.
32857         * string/strrchr.c (strrchr): Likewise.
32858         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32859         Likewise.
32860         * sysdeps/mach/hurd/getcwd.c
32861         (_hurd_canonicalize_directory_name_internal): Likewise.
32862         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32863         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32864         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32865         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32866         Likewise, in both definitions.
32867         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32868         definitions.
32869         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32870         64] (__bswap_64): Likewise.
32871         * time/test_time.c (main): Likewise.
32872         * time/tzfile.c (__tzfile_read): Likewise.
32873         (__tzfile_compute): Likewise.
32874         * time/tzset.c (__tzset_parse_tz): Likewise.
32875         (tzset_internal): Likewise.
32876         (compute_change): Likewise.
32877         * wcsmbs/wcscat.c (__wcscat): Likewise.
32878         * wcsmbs/wcschr.c (wcschr): Likewise.
32879         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32880         * wcsmbs/wcscspn.c (wcscspn): Likewise.
32881         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32882         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32883         * wcsmbs/wcsspn.c (wcsspn): Likewise.
32884         * wcsmbs/wcsstr.c (wcsstr): Likewise.
32885         * wcsmbs/wmemchr.c (wmemchr): Likewise.
32886         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32887         * wcsmbs/wmemset.c (wmemset): Likewise.
32889 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
32891         * scripts/config.guess: Update to version 2013-05-16.
32892         * scripts/config.sub: Update to version 2013-04-24.
32893         * scripts/install-sh: Update to version 2011-11-20.07.
32894         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32895         * scripts/move-if-change: Update to version 2012-01-06 07:23.
32897 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
32899         * debug/fgetws_u_chk.c: Fix leading whitespaces.
32900         * elf/sln.c: Likewise.
32901         * hurd/hurd/ioctl.h: Likewise.
32902         * hurd/hurdmalloc.c: Likewise.
32903         * hurd/xattr.c: Likewise.
32904         * include/shlib-compat.h: Likewise.
32905         * inet/ruserpass.c: Likewise.
32906         * libio/iofgets_u.c: Likewise.
32907         * libio/iofgetws_u.c: Likewise.
32908         * locale/programs/ld-identification.c: Likewise.
32909         * locale/programs/ld-time.c: Likewise.
32910         * mach/msg-destroy.c: Likewise.
32911         * nss/nss_files/files-netgrp.c: Likewise.
32912         * resolv/res_data.c: Likewise.
32913         * soft-fp/op-1.h: Likewise.
32914         * soft-fp/op-2.h: Likewise.
32915         * soft-fp/op-4.h: Likewise.
32916         * soft-fp/op-common.h: Likewise.
32917         * stdio-common/printf_fphex.c: Likewise.
32918         * stdlib/strtod_l.c: Likewise.
32919         * sunrpc/rpc/clnt.h: Likewise.
32920         * sysdeps/generic/framestate.c: Likewise.
32921         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32922         * sysdeps/i386/bsd-setjmp.S: Likewise.
32923         * sysdeps/i386/__longjmp.S: Likewise.
32924         * sysdeps/i386/setjmp.S: Likewise.
32925         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32926         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32927         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32928         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32929         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32930         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32931         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32932         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32933         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32934         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32935         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32936         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32937         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32938         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32939         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32940         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32941         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32942         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32943         * sysdeps/ieee754/support.c: Likewise.
32944         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32945         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32946         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32947         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32948         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32949         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32950         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32951         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32952         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32953         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32954         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32955         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32956         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32957         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32958         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32959         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32960         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32963 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
32965         * posix/transbug.c: Remove executable mode.
32967 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
32969         * crypt/speeds.c: Remove trailing whitespace.
32970         * dlfcn/default.c: Likewise.
32971         * elf/ifuncdep2.c: Likewise.
32972         * elf/ifuncmain1.c: Likewise.
32973         * elf/ifuncmain1vis.c: Likewise.
32974         * elf/testobj.h: Likewise.
32975         * elf/tst-stackguard1.c: Likewise.
32976         * gmon/sys/gmon.h: Likewise.
32977         * hurd/hurdmsg.c: Likewise.
32978         * hurd/new-fd.c: Likewise.
32979         * hurd/ports-get.c: Likewise.
32980         * iconvdata/ibm1008_420.c: Likewise.
32981         * inet/tst-getni1.c: Likewise.
32982         * inet/tst-getni2.c: Likewise.
32983         * libio/ioungetc.c: Likewise.
32984         * libio/wfiledoalloc.c: Likewise.
32985         * manual/libm-err-tab.pl: Likewise.
32986         * math/w_dremf.c: Likewise.
32987         * misc/ftruncate.c: Likewise.
32988         * posix/bug-glob2.c: Likewise.
32989         * posix/tst-pcre.c: Likewise.
32990         * posix/wait4.c: Likewise.
32991         * resolv/README: Likewise.
32992         * resolv/res_debug.h: Likewise.
32993         * resolv/tst-inet_ntop.c: Likewise.
32994         * setjmp/bug269-setjmp.c: Likewise.
32995         * soft-fp/extended.h: Likewise.
32996         * soft-fp/op-1.h: Likewise.
32997         * soft-fp/op-2.h: Likewise.
32998         * soft-fp/op-4.h: Likewise.
32999         * soft-fp/op-8.h: Likewise.
33000         * soft-fp/testit.c: Likewise.
33001         * stdio-common/bug16.c: Likewise.
33002         * stdlib/random.c: Likewise.
33003         * sunrpc/rpcsvc/rquota.x: Likewise.
33004         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33005         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33006         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33007         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33008         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33009         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33010         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33011         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33012         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33013         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33014         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33015         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33016         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33017         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33018         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33019         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33020         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33021         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33022         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33023         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33024         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33025         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33026         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33027         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33028         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33029         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33030         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33031         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33032         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33033         * sysdeps/ieee754/s_lib_version.c: Likewise.
33034         * sysdeps/mach/hurd/check_fds.c: Likewise.
33035         * sysdeps/mach/hurd/getsockname.c: Likewise.
33036         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33037         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33038         * sysdeps/powerpc/bits/link.h: Likewise.
33039         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33040         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33041         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33042         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33043         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33044         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33045         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33046         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33047         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33048         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33049         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33050         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33051         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33052         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33053         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33054         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33055         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33056         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33057         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33058         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33059         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33060         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33061         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33062         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33063         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33064         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33065         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33066         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33067         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33068         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33069         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33070         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33071         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33072         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33073         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33074         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33075         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33076         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33077         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33078         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33079         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33080         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33081         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33082         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33083         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33084         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33085         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33086         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33087         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33088         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33089         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33090         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33091         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33092         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33093         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33094         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33095         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33096         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33097         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33098         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33099         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33100         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33101         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33102         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33103         * sysdeps/powerpc/sysdep.h: Likewise.
33104         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33105         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33106         * sysdeps/sh/dl-trampoline.S: Likewise.
33107         * sysdeps/sh/memset.S: Likewise.
33108         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33109         * sysdeps/sh/strlen.S: Likewise.
33110         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33111         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33112         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33113         * sysdeps/sparc/sparc32/rem.S: Likewise.
33114         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33115         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33116         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33117         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33118         * sysdeps/sparc/sparc32/urem.S: Likewise.
33119         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33120         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33121         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33122         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33123         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33124         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33125         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33126         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33127         * sysdeps/unix/bsd/times.c: Likewise.
33128         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33129         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33133         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33134         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33135         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33136         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33137         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33138         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33139         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33140         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33141         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33142         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33143         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33144         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33145         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33146         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33147         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33148         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33149         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33150         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33151         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33152         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33153         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33154         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33155         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33156         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33157         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33158         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33159         * sysdeps/x86_64/strcspn.S: Likewise.
33161 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33163         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33164         generated file.  Regenerate properly from gen-translit.pl.
33165         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33166         locale/C-translit.h.
33168 2013-06-05  Andreas Schwab  <schwab@suse.de>
33170         [BZ #15100]
33171         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33172         week as 6 instead of -1.
33173         * time/tst-strptime.c (day_tests): Add test case.
33175 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33177         * sysdeps/generic/math_private.h
33178         (libc_feholdexcept_setround_53bit): Replace with
33179         libc_feholdsetround_53bit.
33180         (libc_feupdateenv_53bit): Replace with
33181         libc_feresetround_53bit.
33182         (SET_RESTORE_ROUND_53BIT): Adjust.
33184 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33186         * string/test-strchrnul.c: Add copyright header.
33188         * posix/tst-getaddrinfo4.c: Increase test timeout.
33190 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33192         [BZ #15536]
33193         * math/libm-test.inc (MAX_EXP): Remove
33194         (MIN_EXP): Define.
33195         (ulp): Use MIN_EXP - MANT_DIG.
33196         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33198 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33200         * po/be.po: Revert last change.
33201         * po/zh_CN.po: Likewise.
33202         * po/header.pot: Likewise.
33204 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33206         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33207         link-libc-deps to empty as target-specific variable.
33208         * Makerules (link-libc-args): New variable.
33209         (libc-for-link): Likewise.
33210         (link-libc-deps): Likewise.
33211         (lib%.so): Depend on $(link-libc-deps).  Link with
33212         $(link-libc-args).
33213         (build-module): Link with $(link-libc-args).
33214         (build-module-asneeded): Likewise.
33215         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33216         list of objects.
33217         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33218         target-specific variable.
33219         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33220         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33221         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33222         libc.
33223         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33224         libc and ld.so.
33225         ($(objpfx)libpcprofile.so): Likewise.
33226         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33227         libc_nonshared.a.
33228         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33229         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33230         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33231         $(link-libc-deps).
33232         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33233         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33234         * login/Makefile ($(objpfx)libutil.so): Likewise.
33235         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33236         * math/Makefile ($(objpfx)libm.so): Likewise.
33237         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33238         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33239         variable instead of depending directly on libc.
33240         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33241         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33242         $(link-libc-deps).
33243         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33244         libc.
33245         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33246         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33247         ($(objpfx)libanl.so): Likewise.
33248         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33249         ld.so.
33250         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33251         $(link-libc-deps).
33252         * sysdeps/i386/fpu/Makefile: Remove file.
33253         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33254         ($(objpfx)libm.so): Remove dependency on ld.so.
33256 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33258         [BZ # 15553]
33259         * nis/yp_xdr.c (XDRMAXNAME): Define.
33260         (XDRMAXRECORD): Define.
33261         (xdr_domainname): Use XDRMAXNAME.
33262         (xdr_mapname): Likewise.
33263         (xdr_peername): Likewise.
33264         (xdr_keydat): Use XDRMAXRECORD.
33265         (xdr_valdat): Likewise.
33267 2013-05-30  Jeff Law  <law@redhat.com>
33269         [BZ #14256]
33270         * manual/errno.texi (ESTALE): Update to account for more than
33271         just NFS file systems.
33272         * sysdeps/gnu/errlist.c: Regenerated.
33274 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33276         [BZ #15465]
33277         * elf/Makefile (tests): Add tst-null-argv.
33278         (modules-names):  Add tst-null-argv-lib.
33279         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33280         (tst-null-argv-ENV): Set environment for tst-null-argv.
33281         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33282         (RTLD_PROGNAME): New macro.
33283         * elf/tst-null-argv.c: New test case.
33284         * elf/tst-null-argv-lib.c: Library for test case.
33285         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33286         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33287         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33288         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33289         * elf/dl-init.c (call_init): Likewise.
33290         (_dl_init): Likewise.
33291         * elf/dl-load.c (print_search_path): Likewise.
33292         (_dl_map_object): Likewise.
33293         * elf/dl-lookup.c (do_lookup_x): Likewise.
33294         (add_dependency): Likewise.
33295         (_dl_lookup_symbol_x): Likewise.
33296         (_dl_debug_bindings): Likewise.
33297         * elf/dl-open.c (_dl_show_scope): Likewise.
33298         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33299         * elf/dl-version.c (match_symbol): Likewise.
33300         (_dl_check_map_versions): Likewise.
33301         * elf/rtld.c (dl_main): Likewise.
33302         (print_unresolved): Use RTLD_PROGNAME.
33303         (print_missing_version): Likewise.
33304         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33305         (elf_machine_rela): Likewise.
33306         * sysdeps/powerpc/powerpc32/dl-machine.c
33307         (__process_machine_rela): Likewise.
33308         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33309         Likewise.
33310         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33311         Likewise.
33312         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33313         Likewise.
33314         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33315         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33316         Likewise.
33317         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33318         Likewise.
33319         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33321 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33323         * po/be.po: Add descriptive title.
33324         * po/zh_CN.po: Likewise.
33325         * po/header.pot: Likewise.
33327 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33329         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33330         error message.
33331         (enlarge_archive): Likewise.
33333 2013-05-28  Ben North  <ben@redfrontdoor.org>
33335         * manual/arith.texi (frexp): It is the magnitude of the return
33336         value which lies in [0.5, 1), not the return value itself.
33338 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33342 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33344         * stdio-common/bug26.c (main): Correct fscanf template.
33346         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33347         declare _dl_skip_args.
33349         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33350         Don't declare.
33352         * manual/platform.texi: Add missing @end deftypefun.
33354 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33356         [BZ #15529]
33357         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33358         bit of mantissa of 2^16382.
33359         * math/libm-test.inc (hypot_test_data): Add more tests.
33361         * math/libm-test.inc: Add drem and pow10 to list of tested
33362         functions.
33363         (pow10_test): New function.
33364         (drem_test): Likewise.
33365         (drem_test_tonearest): Likewise.
33366         (drem_test_towardzero): Likewise.
33367         (drem_test_downward): Likewise.
33368         (drem_test_upward): Likewise.
33369         (main): Call the new functions.
33371         * math/libm-test.inc (finite_test_data): Remove.
33372         (finite_test): Run tests from isfinite_test_data.
33373         (gamma_test_data): Remove.
33374         (gamma_test): Run tests from lgamma_test_data.
33375         * sysdeps/i386/fpu/libm-test-ulps: Update.
33376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33378 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33380         * manual/platform.texi: Add PowerPC PPR function set documentation.
33381         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33382         implementation.
33384 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33386         * math/libm-test.inc (MAX_EXP): Define.
33387         (ULPDIFF): Define.
33388         (ulp): New function.
33389         (check_float_internal): Use ULPDIFF.
33390         (cpow_test): Disable failing test.
33391         (check_ulp): Test ulp() implemetnation.
33392         (main): Call check_ulp before starting tests.
33394 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33396         * math/gen-libm-test.pl (generate_testfile): Do not handle
33397         START_DATA and END_DATA.
33398         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33399         END_DATA.
33400         (acos_tonearest_test_data): Likewise.
33401         (acos_towardzero_test_data): Likewise.
33402         (acos_downward_test_data): Likewise.
33403         (acos_upward_test_data): Likewise.
33404         (acosh_test_data): Likewise.
33405         (asin_test_data): Likewise.
33406         (asin_tonearest_test_data): Likewise.
33407         (asin_towardzero_test_data): Likewise.
33408         (asin_downward_test_data): Likewise.
33409         (asin_upward_test_data): Likewise.
33410         (asinh_test_data): Likewise.
33411         (atan_test_data): Likewise.
33412         (atanh_test_data): Likewise.
33413         (atan2_test_data): Likewise.
33414         (cabs_test_data): Likewise.
33415         (cacos_test_data): Likewise.
33416         (cacosh_test_data): Likewise.
33417         (carg_test_data): Likewise.
33418         (casin_test_data): Likewise.
33419         (casinh_test_data): Likewise.
33420         (catan_test_data): Likewise.
33421         (catanh_test_data): Likewise.
33422         (cbrt_test_data): Likewise.
33423         (ccos_test_data): Likewise.
33424         (ccosh_test_data): Likewise.
33425         (ceil_test_data): Likewise.
33426         (cexp_test_data): Likewise.
33427         (cimag_test_data): Likewise.
33428         (clog_test_data): Likewise.
33429         (clog10_test_data): Likewise.
33430         (conj_test_data): Likewise.
33431         (copysign_test_data): Likewise.
33432         (cos_test_data): Likewise.
33433         (cos_tonearest_test_data): Likewise.
33434         (cos_towardzero_test_data): Likewise.
33435         (cos_downward_test_data): Likewise.
33436         (cos_upward_test_data): Likewise.
33437         (cosh_test_data): Likewise.
33438         (cosh_tonearest_test_data): Likewise.
33439         (cosh_towardzero_test_data): Likewise.
33440         (cosh_downward_test_data): Likewise.
33441         (cosh_upward_test_data): Likewise.
33442         (cpow_test_data): Likewise.
33443         (cproj_test_data): Likewise.
33444         (creal_test_data): Likewise.
33445         (csin_test_data): Likewise.
33446         (csinh_test_data): Likewise.
33447         (csqrt_test_data): Likewise.
33448         (ctan_test_data): Likewise.
33449         (ctan_tonearest_test_data): Likewise.
33450         (ctan_towardzero_test_data): Likewise.
33451         (ctan_downward_test_data): Likewise.
33452         (ctan_upward_test_data): Likewise.
33453         (ctanh_test_data): Likewise.
33454         (ctanh_tonearest_test_data): Likewise.
33455         (ctanh_towardzero_test_data): Likewise.
33456         (ctanh_downward_test_data): Likewise.
33457         (ctanh_upward_test_data): Likewise.
33458         (erf_test_data): Likewise.
33459         (erfc_test_data): Likewise.
33460         (exp_test_data): Likewise.
33461         (exp_tonearest_test_data): Likewise.
33462         (exp_towardzero_test_data): Likewise.
33463         (exp_downward_test_data): Likewise.
33464         (exp_upward_test_data): Likewise.
33465         (exp10_test_data): Likewise.
33466         (exp2_test_data): Likewise.
33467         (expm1_test_data): Likewise.
33468         (fabs_test_data): Likewise.
33469         (fdim_test_data): Likewise.
33470         (finite_test_data): Likewise.
33471         (floor_test_data): Likewise.
33472         (fma_test_data): Likewise.
33473         (fma_towardzero_test_data): Likewise.
33474         (fma_downward_test_data): Likewise.
33475         (fma_upward_test_data): Likewise.
33476         (fmax_test_data): Likewise.
33477         (fmin_test_data): Likewise.
33478         (fmod_test_data): Likewise.
33479         (fpclassify_test_data): Likewise.
33480         (frexp_test_data): Likewise.
33481         (gamma_test_data): Likewise.
33482         (hypot_test_data): Likewise.
33483         (ilogb_test_data): Likewise.
33484         (isfinite_test_data): Likewise.
33485         (isgreater_test_data): Likewise.
33486         (isgreaterequal_test_data): Likewise.
33487         (isinf_test_data): Likewise.
33488         (isless_test_data): Likewise.
33489         (islessequal_test_data): Likewise.
33490         (islessgreater_test_data): Likewise.
33491         (isnan_test_data): Likewise.
33492         (isnormal_test_data): Likewise.
33493         (issignaling_test_data): Likewise.
33494         (isunordered_test_data): Likewise.
33495         (j0_test_data): Likewise.
33496         (j1_test_data): Likewise.
33497         (jn_test_data): Likewise.
33498         (ldexp_test_data): Likewise.
33499         (lgamma_test_data): Likewise.
33500         (lrint_test_data): Likewise.
33501         (lrint_tonearest_test_data): Likewise.
33502         (lrint_towardzero_test_data): Likewise.
33503         (lrint_downward_test_data): Likewise.
33504         (lrint_upward_test_data): Likewise.
33505         (llrint_test_data): Likewise.
33506         (llrint_tonearest_test_data): Likewise.
33507         (llrint_towardzero_test_data): Likewise.
33508         (llrint_downward_test_data): Likewise.
33509         (llrint_upward_test_data): Likewise.
33510         (log_test_data): Likewise.
33511         (log10_test_data): Likewise.
33512         (log1p_test_data): Likewise.
33513         (log2_test_data): Likewise.
33514         (logb_test_data): Likewise.
33515         (logb_downward_test_data): Likewise.
33516         (lround_test_data): Likewise.
33517         (llround_test_data): Likewise.
33518         (modf_test_data): Likewise.
33519         (nearbyint_test_data): Likewise.
33520         (nextafter_test_data): Likewise.
33521         (nexttoward_test_data): Likewise.
33522         (pow_test_data): Likewise.
33523         (pow_tonearest_test_data): Likewise.
33524         (pow_towardzero_test_data): Likewise.
33525         (pow_downward_test_data): Likewise.
33526         (pow_upward_test_data): Likewise.
33527         (remainder_test_data): Likewise.
33528         (remainder_tonearest_test_data): Likewise.
33529         (remainder_towardzero_test_data): Likewise.
33530         (remainder_downward_test_data): Likewise.
33531         (remainder_upward_test_data): Likewise.
33532         (remquo_test_data): Likewise.
33533         (rint_test_data): Likewise.
33534         (rint_tonearest_test_data): Likewise.
33535         (rint_towardzero_test_data): Likewise.
33536         (rint_downward_test_data): Likewise.
33537         (rint_upward_test_data): Likewise.
33538         (round_test_data): Likewise.
33539         (scalb_test_data): Likewise.
33540         (scalbn_test_data): Likewise.
33541         (scalbln_test_data): Likewise.
33542         (signbit_test_data): Likewise.
33543         (sin_test_data): Likewise.
33544         (sin_tonearest_test_data): Likewise.
33545         (sin_towardzero_test_data): Likewise.
33546         (sin_downward_test_data): Likewise.
33547         (sin_upward_test_data): Likewise.
33548         (sincos_test_data): Likewise.
33549         (sinh_test_data): Likewise.
33550         (sinh_tonearest_test_data): Likewise.
33551         (sinh_towardzero_test_data): Likewise.
33552         (sinh_downward_test_data): Likewise.
33553         (sinh_upward_test_data): Likewise.
33554         (sqrt_test_data): Likewise.
33555         (tan_test_data): Likewise.
33556         (tan_tonearest_test_data): Likewise.
33557         (tan_towardzero_test_data): Likewise.
33558         (tan_downward_test_data): Likewise.
33559         (tan_upward_test_data): Likewise.
33560         (tanh_test_data): Likewise.
33561         (tgamma_test_data): Likewise.
33562         (trunc_test_data): Likewise.
33563         (y0_test_data): Likewise.
33564         (y1_test_data): Likewise.
33565         (yn_test_data): Likewise.
33566         (significand_test_data): Likewise.
33568         * math/gen-libm-test.pl (@functions): Remove variable.
33569         (generate_testfile): Don't handle START and END lines.
33570         * math/libm-test.inc (START): New macro.
33571         (END): Likewise.
33572         (END_COMPLEX): Likewise.
33573         (acos_test): Use END macro without arguments.
33574         (acos_test_tonearest): Likewise.
33575         (acos_test_towardzero): Likewise.
33576         (acos_test_downward): Likewise.
33577         (acos_test_upward): Likewise.
33578         (acosh_test): Likewise.
33579         (asin_test): Likewise.
33580         (asin_test_tonearest): Likewise.
33581         (asin_test_towardzero): Likewise.
33582         (asin_test_downward): Likewise.
33583         (asin_test_upward): Likewise.
33584         (asinh_test): Likewise.
33585         (atan_test): Likewise.
33586         (atanh_test): Likewise.
33587         (atan2_test): Likewise.
33588         (cabs_test): Likewise.
33589         (cacos_test): Use END_COMPLEX macro without arguments.
33590         (cacosh_test): Likewise.
33591         (carg_test): Use END macro without arguments.
33592         (casin_test): Use END_COMPLEX macro without arguments.
33593         (casinh_test): Likewise.
33594         (catan_test): Likewise.
33595         (catanh_test): Likewise.
33596         (cbrt_test): Use END macro without arguments.
33597         (ccos_test): Use END_COMPLEX macro without arguments.
33598         (ccosh_test): Likewise.
33599         (ceil_test): Use END macro without arguments.
33600         (cexp_test): Use END_COMPLEX macro without arguments.
33601         (cimag_test): Use END macro without arguments.
33602         (clog_test): Use END_COMPLEX macro without arguments.
33603         (clog10_test): Likewise.
33604         (conj_test): Likewise.
33605         (copysign_test): Use END macro without arguments.
33606         (cos_test): Likewise.
33607         (cos_test_tonearest): Likewise.
33608         (cos_test_towardzero): Likewise.
33609         (cos_test_downward): Likewise.
33610         (cos_test_upward): Likewise.
33611         (cosh_test): Likewise.
33612         (cosh_test_tonearest): Likewise.
33613         (cosh_test_towardzero): Likewise.
33614         (cosh_test_downward): Likewise.
33615         (cosh_test_upward): Likewise.
33616         (cpow_test): Use END_COMPLEX macro without arguments.
33617         (cproj_test): Likewise.
33618         (creal_test): Use END macro without arguments.
33619         (csin_test): Use END_COMPLEX macro without arguments.
33620         (csinh_test): Likewise.
33621         (csqrt_test): Likewise.
33622         (ctan_test): Likewise.
33623         (ctan_test_tonearest): Likewise.
33624         (ctan_test_towardzero): Likewise.
33625         (ctan_test_downward): Likewise.
33626         (ctan_test_upward): Likewise.
33627         (ctanh_test): Likewise.
33628         (ctanh_test_tonearest): Likewise.
33629         (ctanh_test_towardzero): Likewise.
33630         (ctanh_test_downward): Likewise.
33631         (ctanh_test_upward): Likewise.
33632         (erf_test): Use END macro without arguments.
33633         (erfc_test): Likewise.
33634         (exp_test): Likewise.
33635         (exp_test_tonearest): Likewise.
33636         (exp_test_towardzero): Likewise.
33637         (exp_test_downward): Likewise.
33638         (exp_test_upward): Likewise.
33639         (exp10_test): Likewise.
33640         (exp2_test): Likewise.
33641         (expm1_test): Likewise.
33642         (fabs_test): Likewise.
33643         (fdim_test): Likewise.
33644         (finite_test): Likewise.
33645         (floor_test): Likewise.
33646         (fma_test): Likewise.
33647         (fma_test_towardzero): Likewise.
33648         (fma_test_downward): Likewise.
33649         (fma_test_upward): Likewise.
33650         (fmax_test): Likewise.
33651         (fmin_test): Likewise.
33652         (fmod_test): Likewise.
33653         (fpclassify_test): Likewise.
33654         (frexp_test): Likewise.
33655         (gamma_test): Likewise.
33656         (hypot_test): Likewise.
33657         (ilogb_test): Likewise.
33658         (isfinite_test): Likewise.
33659         (isgreater_test): Likewise.
33660         (isgreaterequal_test): Likewise.
33661         (isinf_test): Likewise.
33662         (isless_test): Likewise.
33663         (islessequal_test): Likewise.
33664         (islessgreater_test): Likewise.
33665         (isnan_test): Likewise.
33666         (isnormal_test): Likewise.
33667         (issignaling_test): Likewise.
33668         (isunordered_test): Likewise.
33669         (j0_test): Likewise.
33670         (j1_test): Likewise.
33671         (jn_test): Likewise.
33672         (ldexp_test): Likewise.
33673         (lgamma_test): Likewise.
33674         (lrint_test): Likewise.
33675         (lrint_test_tonearest): Likewise.
33676         (lrint_test_towardzero): Likewise.
33677         (lrint_test_downward): Likewise.
33678         (lrint_test_upward): Likewise.
33679         (llrint_test): Likewise.
33680         (llrint_test_tonearest): Likewise.
33681         (llrint_test_towardzero): Likewise.
33682         (llrint_test_downward): Likewise.
33683         (llrint_test_upward): Likewise.
33684         (log_test): Likewise.
33685         (log10_test): Likewise.
33686         (log1p_test): Likewise.
33687         (log2_test): Likewise.
33688         (logb_test): Likewise.
33689         (logb_test_downward): Likewise.
33690         (lround_test): Likewise.
33691         (llround_test): Likewise.
33692         (modf_test): Likewise.
33693         (nearbyint_test): Likewise.
33694         (nextafter_test): Likewise.
33695         (nexttoward_test): Likewise.
33696         (pow_test): Likewise.
33697         (pow_test_tonearest): Likewise.
33698         (pow_test_towardzero): Likewise.
33699         (pow_test_downward): Likewise.
33700         (pow_test_upward): Likewise.
33701         (remainder_test): Likewise.
33702         (remainder_test_tonearest): Likewise.
33703         (remainder_test_towardzero): Likewise.
33704         (remainder_test_downward): Likewise.
33705         (remainder_test_upward): Likewise.
33706         (remquo_test): Likewise.
33707         (rint_test): Likewise.
33708         (rint_test_tonearest): Likewise.
33709         (rint_test_towardzero): Likewise.
33710         (rint_test_downward): Likewise.
33711         (rint_test_upward): Likewise.
33712         (round_test): Likewise.
33713         (scalb_test): Likewise.
33714         (scalbn_test): Likewise.
33715         (scalbln_test): Likewise.
33716         (signbit_test): Likewise.
33717         (sin_test): Likewise.
33718         (sin_test_tonearest): Likewise.
33719         (sin_test_towardzero): Likewise.
33720         (sin_test_downward): Likewise.
33721         (sin_test_upward): Likewise.
33722         (sincos_test): Likewise.
33723         (sinh_test): Likewise.
33724         (sinh_test_tonearest): Likewise.
33725         (sinh_test_towardzero): Likewise.
33726         (sinh_test_downward): Likewise.
33727         (sinh_test_upward): Likewise.
33728         (sqrt_test): Likewise.
33729         (tan_test): Likewise.
33730         (tan_test_tonearest): Likewise.
33731         (tan_test_towardzero): Likewise.
33732         (tan_test_downward): Likewise.
33733         (tan_test_upward): Likewise.
33734         (tanh_test): Likewise.
33735         (tgamma_test): Likewise.
33736         (trunc_test): Likewise.
33737         (y0_test): Likewise.
33738         (y1_test): Likewise.
33739         (yn_test): Likewise.
33740         (significand_test): Likewise.
33742 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
33744         [BZ #15381]
33745         * libio/genops.c (_IO_no_init): Initialize wide struct info.
33747 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33749         [BZ #14894]
33750         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33751         __ppc_mdoio and __ppc_mdoom.
33752         * manual/platform.texi: Document new functions __ppc_yield,
33753         __ppc_mdoio and __ppc_mdoom.
33755 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
33757         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33758         (main): Mention "tls" pseudo-hwcap is legacy.
33759         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33761 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33763         * math/gen-libm-test.pl (parse_args): Output only string of
33764         arguments as text for test name, not full call or descriptions of
33765         tests for extra outputs.
33766         (generate_testfile): Do not pass function name to parse_args.
33767         Generate this_func variable from START.
33768         * math/libm-test.inc (struct test_f_f_data): Rename test_name
33769         field to arg_str.
33770         (struct test_ff_f_data): Likewise.
33771         (test_ff_f_data_nexttoward): Likewise.
33772         (struct test_fi_f_data): Likewise.
33773         (struct test_fl_f_data): Likewise.
33774         (struct test_if_f_data): Likewise.
33775         (struct test_fff_f_data): Likewise.
33776         (struct test_c_f_data): Likewise.
33777         (struct test_f_f1_data): Likewise.  Remove field extra_name.
33778         (struct test_fF_f1_data): Likewise.
33779         (struct test_ffI_f1_data): Likewise.
33780         (struct test_c_c_data): Rename test_name field to arg_str.
33781         (struct test_cc_c_data): Likewise.
33782         (struct test_f_i_data): Likewise.
33783         (struct test_ff_i_data): Likewise.
33784         (struct test_f_l_data): Likewise.
33785         (struct test_f_L_data): Likewise.
33786         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
33787         and extra2_name.
33788         (COMMON_TEST_SETUP): New macro.
33789         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33790         (COMMON_TEST_CLEANUP): Likewise.
33791         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33792         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
33793         macros.
33794         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33795         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
33796         macros.
33797         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33798         (RUN_TEST_fff_f): Take argument string.  Call new setup and
33799         cleanup macros.
33800         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33801         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
33802         macros.
33803         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33804         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
33805         macros.
33806         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33807         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
33808         cleanup macros.
33809         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33810         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
33811         cleanup macros.
33812         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33813         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
33814         cleanup macros.
33815         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33816         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
33817         macros.
33818         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33819         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
33820         macros.
33821         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33822         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
33823         macros.
33824         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33825         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
33826         cleanup macros.
33827         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33828         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
33829         cleanup macros.
33830         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33831         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
33832         macros.
33833         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33834         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
33835         cleanup macros.
33836         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33837         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
33838         macros.
33839         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33840         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
33841         macros.
33842         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33843         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
33844         cleanup macros.
33845         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33847 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
33849         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33850         to _sifields.sigfault.
33851         (si_addr_lsb): Define new macro.
33852         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33853         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33854         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33856 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
33858         [BZ #15441]
33859         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33860         returns -1.
33861         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33862         null return -1.
33863         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33864         loading the domain.
33866 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33868         * math/gen-libm-test.pl (parse_args): Do not include expected
33869         result in test name.
33870         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33871         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33872         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33873         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33874         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33877 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33879         * benchtests/Makefile: Sort function entries.
33881         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33882         tanh, asinh, acosh, atanh.
33883         * benchtests/acos-inputs: New file.
33884         * benchtests/acosh-inputs: New file.
33885         * benchtests/asin-inputs: New file.
33886         * benchtests/asinh-inputs: New file.
33887         * benchtests/atanh-inputs: New file.
33888         * benchtests/cosh-inputs: New file.
33889         * benchtests/log-inputs: New file.
33890         * benchtests/sinh-inputs: New file.
33891         * benchtests/tanh-inputs: New file.
33893 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
33895         [BZ #15339]
33896         * posix/tst-getaddrinfo4.c: New test.
33897         * posix/Makefile (tests): Add it.
33899 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33901         [BZ #15339]
33902         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33903         when no services were used.
33904         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33905         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33907 2013-05-21  Andreas Schwab  <schwab@suse.de>
33909         [BZ #15014]
33910         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33911         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33912         successful.
33913         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33914         redundant variable declarations and reallocation of buffer when
33915         parsing as IPv6 address.  Always set NSS status when called from
33916         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
33917         buffer too small.  Correct computation of needed size.
33918         * nss/Makefile (tests): Add test-digits-dots.
33919         * nss/test-digits-dots.c: New test.
33921 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33923         * benchtests/Makefile: Remove instructions for adding
33924         benchmark tests.
33925         * benchtests/README: New file to explain how to execute and
33926         enhance the benchmark tests.
33928 2013-05-21  Andreas Schwab  <schwab@suse.de>
33930         [BZ #15493]
33931         * setjmp/Makefile (tests): Add tst-sigsetjmp.
33932         * setjmp/tst-sigsetjmp.c: New test.
33934 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33936         * sysdeps/x86_64/memset.S (memset): New implementation.
33937         (__bzero): Likewise.
33938         (__memset_tail): New function.
33940 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33942         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33943         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33944         __memcpy_sse2_unaligned ifunc selection.
33945         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33946         Add memcpy-sse2-unaligned.S.
33947         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33948         Add: __memcpy_sse2_unaligned.
33950 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
33952         [BZ #15490]
33953         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33954         math_force_eval before restoring floating-point envrionment.
33955         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33956         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33957         Likewise.
33958         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33959         <math_private.h>.
33960         (__nearbyintl): Use math_force_eval before restoring
33961         floating-point environment.
33962         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33964         * math/gen-libm-test.pl (special_functions): Remove.
33965         (parse_args): Don't handle TEST_extra.  Handle functions with no
33966         return value.
33967         * math/libm-test.inc (struct test_sincos_data): Replace with
33968         struct test_fFF_11_data.
33969         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33970         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33971         (sincos_test_data): Change element type to struct
33972         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
33973         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33974         RUN_TEST_LOOP_sincos.
33975         * math/README.libm-test: Don't mention special handling of
33976         individual functions.
33977         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33978         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33979         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33980         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33981         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33984         * math/gen-libm-test.pl (get_variable): Remove function.
33985         (parse_args): Don't show pointer parameters to call in test
33986         names.  Use "extra output N" in test names for extra outputs
33987         rather than naming variables.
33989 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
33991         [BZ #15488]
33992         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
33993         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
33994         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
33995         double tests.
33996         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
33997         disable.
33998         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
33999         check_long_double.
34001         * math/gen-libm-test.pl (@tests): Remove variable.
34002         ($count): Likewise.
34003         (new_test): Remove function.
34004         (show_exceptions): New function.
34005         (special_functions): Use show_exceptions instead of new_test.
34006         (parse_args): Likewise.
34007         (generate_testfile): Pass only function name in generated call to
34008         print_max_error or print_complex_max_error.
34009         (get_ulps): Do not handle complex tests specially.
34010         (output_test): Rename to ...
34011         (get_all_ulps_for_test): ... this.  Return a string rather than
34012         printing to a file.  Require ulps to be present.
34013         (output_ulps): Generate arrays rather than #defines.
34014         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34015         (struct ulp_data): New type.
34016         (BUILD_COMPLEX_ULP): Remove macro.
34017         (compare_ulp_data): New function.
34018         (find_ulps): Likewise.
34019         (find_test_ulps): Likewise.
34020         (find_function_ulps): Likewise.
34021         (find_complex_function_ulps): Likewise.
34022         (print_max_error): Determine allowed ulps using
34023         find_function_ulps.
34024         (print_complex_max_error): Determine allowed ulps using
34025         find_complex_function_ulps.
34026         (check_float_internal): Determine max ulps using find_test_ulps.
34027         (check_float): Do not take max_ulp parameter.  Update call to
34028         check_float_internal.
34029         (check_complex): Likewise.
34030         (check_int): Do not take max_ulp parameter.
34031         (check_long): Likewise.
34032         (check_bool): Likewise.
34033         (check_longlong): Likewise.
34034         (struct test_f_f_data): Remove max_ulp field.
34035         (struct test_ff_f_data): Likewise.
34036         (struct test_ff_f_data_nexttoward): Likewise.
34037         (struct test_fi_f_data): Likewise.
34038         (struct test_fl_f_data): Likewise.
34039         (struct test_if_f_data): Likewise.
34040         (struct test_fff_f_data): Likewise.
34041         (struct test_c_f_data): Likewise.
34042         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34043         (struct test_fF_f1_data): Likewise.
34044         (struct test_ffI_f1_data): Likewise.
34045         (struct test_c_c_data): Remove max_ulp field.
34046         (struct test_cc_c_data): Likewise.
34047         (struct test_f_i_data): Likewise.
34048         (struct test_ff_i_data): Likewise.
34049         (struct test_f_l_data): Likewise.
34050         (struct test_f_L_data): Likewise.
34051         (struct test_sincos_data): Likewise.
34052         (RUN_TEST_f_f): Do not handle ulps.
34053         (RUN_TEST_LOOP_f_f): Likewise.
34054         (RUN_TEST_2_f): Likewise.
34055         (RUN_TEST_LOOP_2_f): Likewise.
34056         (RUN_TEST_fff_f): Likewise.
34057         (RUN_TEST_LOOP_fff_f): Likewise.
34058         (RUN_TEST_c_f): Likewise.
34059         (RUN_TEST_LOOP_c_f): Likewise.
34060         (RUN_TEST_f_f1): Likewise.
34061         (RUN_TEST_LOOP_f_f1): Likewise.
34062         (RUN_TEST_fF_f1): Likewise.
34063         (RUN_TEST_LOOP_fF_f1): Likewise.
34064         (RUN_TEST_fI_f1): Likewise.
34065         (RUN_TEST_LOOP_fI_f1): Likewise.
34066         (RUN_TEST_ffI_f1): Likewise.
34067         (RUN_TEST_LOOP_ffI_f1): Likewise.
34068         (RUN_TEST_c_c): Likewise.
34069         (RUN_TEST_LOOP_c_c): Likewise.
34070         (RUN_TEST_cc_c): Likewise.
34071         (RUN_TEST_LOOP_cc_c): Likewise.
34072         (RUN_TEST_f_i): Likewise.
34073         (RUN_TEST_LOOP_f_i): Likewise.
34074         (RUN_TEST_f_i_tg): Likewise.
34075         (RUN_TEST_LOOP_f_i_tg): Likewise.
34076         (RUN_TEST_ff_i_tg): Likewise.
34077         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34078         (RUN_TEST_f_b): Likewise.
34079         (RUN_TEST_LOOP_f_b): Likewise.
34080         (RUN_TEST_f_b_tg): Likewise.
34081         (RUN_TEST_LOOP_f_b_tg): Likewise.
34082         (RUN_TEST_f_l): Likewise.
34083         (RUN_TEST_LOOP_f_l): Likewise.
34084         (RUN_TEST_f_L): Likewise.
34085         (RUN_TEST_LOOP_f_L): Likewise.
34086         (RUN_TEST_sincos): Likewise.
34087         (RUN_TEST_LOOP_sincos): Likewise.
34089 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34091         [BZ #15480]
34092         [BZ #15485]
34093         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34094         main case of finite arguments, set rounding mode to FE_TONEAREST
34095         and discard exceptions.
34096         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34097         exceptions.
34098         (remainder_tonearest_test_data): New variable.
34099         (remainder_test_tonearest): New function.
34100         (remainder_towardzero_test_data): New variable.
34101         (remainder_test_towardzero): New function.
34102         (remainder_downward_test_data): New variable.
34103         (remainder_test_downward): New function.
34104         (remainder_upward_test_data): New variable.
34105         (remainder_test_upward): New function.
34106         (main): Call the new test functions.
34108         * math/libm-test.inc (struct test_f_f1_data): Remove field
34109         extra_init.
34110         (struct test_fF_f1_data): Likewise.
34111         (struct test_ffI_f1_data): Likewise.
34112         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34113         based on value of EXTRA_EXPECTED.
34114         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34115         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34116         EXTRA_VAR based on value of EXTRA_EXPECTED.
34117         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34118         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34119         EXTRA_VAR based on value of EXTRA_EXPECTED.
34120         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34121         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34122         EXTRA_VAR based on value of EXTRA_EXPECTED.
34123         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34124         * math/gen-libm-test.pl (parse_args): Don't output initializers
34125         for extra output values.
34127         * math/libm-test.inc (check_int): Expect result to be exactly
34128         equal to expected value and do not handle ulps.
34129         (check_long): Likewise.
34130         (check_longlong): Likewise.
34132         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34133         exceptions.
34134         (cimag_test_data): Likewise.
34135         (conj_test_data): Likewise.
34136         (copysign_test_data): Likewise.
34137         (cproj_test_data): Likewise.
34138         (creal_test_data): Likewise.
34139         (fabs_test_data): Likewise.
34140         (fdim_test_data): Likewise.
34141         (finite_test_data): Likewise.
34142         (floor_test_data): Likewise.
34143         (fmax_test_data): Likewise.
34144         (fmin_test_data): Likewise.
34145         (fmod_test_data): Likewise.
34146         (fpclassify_test_data): Likewise.
34147         (frexp_test_data): Likewise.
34148         (ilogb_test_data): Likewise.
34149         (isfinite_test_data): Likewise.
34150         (isgreater_test_data): Likewise.
34151         (isgreaterequal_test_data): Likewise.
34152         (isinf_test_data): Likewise.
34153         (isless_test_data): Likewise.
34154         (islessequal_test_data): Likewise.
34155         (islessgreater_test_data): Likewise.
34156         (isnan_test_data): Likewise.
34157         (isnormal_test_data): Likewise.
34158         (issignaling_test_data): Likewise.
34159         (isunordered_test_data): Likewise.
34160         (ldexp_test_data): Likewise.
34161         (lrint_test_data): Likewise.
34162         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34163         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34164         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34165         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34166         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34167         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34168         test input.
34169         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34170         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34171         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34172         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34173         that test input.
34174         (lrint_downward_test_data): Test for "inexact" exceptions.
34175         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34176         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34177         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34178         test input.
34179         (lrint_upward_test_data): Test for "inexact" exceptions.
34180         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34181         test input.
34182         (llrint_test_data): Test for "inexact" exceptions.
34183         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34184         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34185         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34186         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34187         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34188         (llrint_downward_test_data): Test for "inexact" exceptions.
34189         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34190         (llrint_upward_test_data): Test for "inexact" exceptions.
34191         (logb_test_data): Likewise.
34192         (logb_downward_test_data): Likewise.
34193         (nextafter_test_data): Likewise.
34194         (nexttoward_test_data): Likewise.
34195         (remainder_test_data): Likewise.
34196         (remquo_test_data): Likewise.
34197         (scalbn_test_data): Likewise.
34198         (scalbln_test_data): Likewise.
34199         (signbit_test_data): Likewise.
34200         (sqrt_test_data): Likewise.
34201         (significand_test_data): Likewise.
34203 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34205         [BZ #15424]
34206         * benchtests/bench-modf.c (struct args): Mark arg0 as
34207         volatile.
34208         * scripts/bench.pl: Mark members of struct args as volatile.
34210 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34212         [BZ # 15497]
34213         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34214         negative infinity on POWER6 or lower.
34215         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34217 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34219         [BZ #15442]
34220         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34221         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34222         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34223         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34224         (_FP_SETQNAN): New macro.
34225         (_FP_SETQNAN_SEMIRAW): Likewise.
34226         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34227         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34228         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34229         (FP_EXTEND): Use _FP_FRAC_SNANP.
34230         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34231         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34232         into account.
34233         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34234         New macro.
34235         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34236         Likewise.
34238 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34240         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34241         with DIVIDE_BY_ZERO_EXCEPTION.
34242         (gamma_test_data): Likewise.
34243         (lgamma_test_data): Likewise.
34244         (log_test_data): Likewise.
34245         (log10_test_data): Likewise.
34246         (log2_test_data): Likewise.
34247         (tgamma_test_data): Likewise.
34249         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34250         (acos_test_tonearest): Likewise.
34251         (acos_test_towardzero): Likewise.
34252         (acos_test_downward): Likewise.
34253         (acos_test_upward): Likewise.
34254         (acosh_test): Likewise.
34255         (asin_test): Likewise.
34256         (asin_test_tonearest): Likewise.
34257         (asin_test_towardzero): Likewise.
34258         (asin_test_downward): Likewise.
34259         (asin_test_upward): Likewise.
34260         (asinh_test): Likewise.
34261         (atan_test): Likewise.
34262         (atanh_test): Likewise.
34263         (atan2_test): Likewise.
34264         (cabs_test): Likewise.
34265         (cacos_test): Likewise.
34266         (cacosh_test): Likewise.
34267         (casin_test): Likewise.
34268         (casinh_test): Likewise.
34269         (catan_test): Likewise.
34270         (catanh_test): Likewise.
34271         (cbrt_test): Likewise.
34272         (ccos_test): Likewise.
34273         (ccosh_test): Likewise.
34274         (cexp_test): Likewise.
34275         (clog_test): Likewise.
34276         (clog10_test): Likewise.
34277         (cos_test): Likewise.
34278         (cos_test_tonearest): Likewise.
34279         (cos_test_towardzero): Likewise.
34280         (cos_test_downward): Likewise.
34281         (cos_test_upward): Likewise.
34282         (cosh_test): Likewise.
34283         (cosh_test_tonearest): Likewise.
34284         (cosh_test_towardzero): Likewise.
34285         (cosh_test_downward): Likewise.
34286         (cosh_test_upward): Likewise.
34287         (cpow_test): Likewise.
34288         (csin_test): Likewise.
34289         (csinh_test): Likewise.
34290         (csqrt_test): Likewise.
34291         (ctan_test): Likewise.
34292         (ctan_test_tonearest): Likewise.
34293         (ctan_test_towardzero): Likewise.
34294         (ctan_test_downward): Likewise.
34295         (ctan_test_upward): Likewise.
34296         (ctanh_test): Likewise.
34297         (ctanh_test_tonearest): Likewise.
34298         (ctanh_test_towardzero): Likewise.
34299         (ctanh_test_downward): Likewise.
34300         (ctanh_test_upward): Likewise.
34301         (erf_test): Likewise.
34302         (erfc_test): Likewise.
34303         (exp_test): Likewise.
34304         (exp_test_tonearest): Likewise.
34305         (exp_test_towardzero): Likewise.
34306         (exp_test_downward): Likewise.
34307         (exp_test_upward): Likewise.
34308         (exp10_test): Likewise.
34309         (exp2_test): Likewise.
34310         (expm1_test): Likewise.
34311         (fmod_test): Likewise.
34312         (gamma_test): Likewise.
34313         (hypot_test): Likewise.
34314         (j0_test): Likewise.
34315         (j1_test): Likewise.
34316         (jn_test): Likewise.
34317         (lgamma_test): Likewise.
34318         (log_test): Likewise.
34319         (log10_test): Likewise.
34320         (log1p_test): Likewise.
34321         (log2_test): Likewise.
34322         (logb_test_downward): Likewise.
34323         (pow_test): Likewise.
34324         (pow_test_tonearest): Likewise.
34325         (pow_test_towardzero): Likewise.
34326         (pow_test_downward): Likewise.
34327         (pow_test_upward): Likewise.
34328         (remainder_test): Likewise.
34329         (remquo_test): Likewise.
34330         (sin_test): Likewise.
34331         (sin_test_tonearest): Likewise.
34332         (sin_test_towardzero): Likewise.
34333         (sin_test_downward): Likewise.
34334         (sin_test_upward): Likewise.
34335         (sincos_test): Likewise.
34336         (sinh_test): Likewise.
34337         (sinh_test_tonearest): Likewise.
34338         (sinh_test_towardzero): Likewise.
34339         (sinh_test_downward): Likewise.
34340         (sinh_test_upward): Likewise.
34341         (sqrt_test): Likewise.
34342         (tan_test): Likewise.
34343         (tan_test_tonearest): Likewise.
34344         (tan_test_towardzero): Likewise.
34345         (tan_test_downward): Likewise.
34346         (tan_test_upward): Likewise.
34347         (tanh_test): Likewise.
34348         (tgamma_test): Likewise.
34349         (y0_test): Likewise.
34350         (y1_test): Likewise.
34351         (yn_test): Likewise.
34353         * math/gen-libm-test.pl (adjust_arg): Remove function.
34354         (special_function): Remove argument $in_func.  Only handle
34355         generating output for tables of tests, not inside functions.
34356         (parse_args): Likewise.
34357         (generate_testfile): Remove variable $in_func.  Update call to
34358         parse_args.
34359         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34360         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34361         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34362         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34363         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34364         (MAX_VALUE_INIT): Rename macro to max_value.
34365         (MIN_VALUE_INIT): Rename macro to min_value.
34366         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34367         (plus_zero): Remove variable.
34368         (minus_zero): Likewise.
34369         (plus_infty): Likewise.
34370         (minus_infty): Likewise.
34371         (qnan_value): Likewise.
34372         (max_value): Likewise.
34373         (min_value): Likewise.
34374         (min_subnorm_value): Likewise.
34376 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34378         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34379         uint64_t or uint32_t usage.
34380         * crypt/sha256-block.c: Likewise.
34381         * crypt/sha256-crypt.c: Likewise.
34382         * crypt/sha256.c: Likewise.
34383         * crypt/sha512-block.c: Likewise.
34384         * crypt/sha512-crypt.c: Likewise.
34385         * crypt/sha512.c: Likewise.
34386         * debug/backtrace-tst.c: Likewise.
34387         * debug/pcprofiledump.c: Likewise.
34388         * elf/cache.c: Likewise.
34389         * elf/dl-cache.c: Likewise.
34390         * elf/dl-misc.c: Likewise.
34391         * elf/dl-profile.c: Likewise.
34392         * elf/dl-support.c: Likewise.
34393         * elf/ldconfig.c: Likewise.
34394         * elf/sprof.c: Likewise.
34395         * iconv/dummy-repertoire.c: Likewise.
34396         * iconv/iconv_charmap.c: Likewise.
34397         * iconv/skeleton.c: Likewise.
34398         * iconvdata/8bit-generic.c: Likewise.
34399         * iconvdata/cp737.h: Likewise.
34400         * iconvdata/cp775.h: Likewise.
34401         * iconvdata/ibm1008.h: Likewise.
34402         * iconvdata/ibm1025.h: Likewise.
34403         * iconvdata/ibm1046.h: Likewise.
34404         * iconvdata/ibm1097.h: Likewise.
34405         * iconvdata/ibm1112.h: Likewise.
34406         * iconvdata/ibm1122.h: Likewise.
34407         * iconvdata/ibm1123.h: Likewise.
34408         * iconvdata/ibm1124.h: Likewise.
34409         * iconvdata/ibm1129.h: Likewise.
34410         * iconvdata/ibm1130.h: Likewise.
34411         * iconvdata/ibm1132.h: Likewise.
34412         * iconvdata/ibm1133.h: Likewise.
34413         * iconvdata/ibm1137.h: Likewise.
34414         * iconvdata/ibm1140.h: Likewise.
34415         * iconvdata/ibm1141.h: Likewise.
34416         * iconvdata/ibm1142.h: Likewise.
34417         * iconvdata/ibm1143.h: Likewise.
34418         * iconvdata/ibm1144.h: Likewise.
34419         * iconvdata/ibm1145.h: Likewise.
34420         * iconvdata/ibm1146.h: Likewise.
34421         * iconvdata/ibm1147.h: Likewise.
34422         * iconvdata/ibm1148.h: Likewise.
34423         * iconvdata/ibm1149.h: Likewise.
34424         * iconvdata/ibm1153.h: Likewise.
34425         * iconvdata/ibm1154.h: Likewise.
34426         * iconvdata/ibm1155.h: Likewise.
34427         * iconvdata/ibm1156.h: Likewise.
34428         * iconvdata/ibm1157.h: Likewise.
34429         * iconvdata/ibm1158.h: Likewise.
34430         * iconvdata/ibm1160.h: Likewise.
34431         * iconvdata/ibm1161.h: Likewise.
34432         * iconvdata/ibm1162.h: Likewise.
34433         * iconvdata/ibm1163.h: Likewise.
34434         * iconvdata/ibm1164.h: Likewise.
34435         * iconvdata/ibm1166.h: Likewise.
34436         * iconvdata/ibm1167.h: Likewise.
34437         * iconvdata/ibm12712.h: Likewise.
34438         * iconvdata/ibm1390.h: Likewise.
34439         * iconvdata/ibm1399.h: Likewise.
34440         * iconvdata/ibm16804.h: Likewise.
34441         * iconvdata/ibm4517.h: Likewise.
34442         * iconvdata/ibm4899.h: Likewise.
34443         * iconvdata/ibm4909.h: Likewise.
34444         * iconvdata/ibm4971.h: Likewise.
34445         * iconvdata/ibm5347.h: Likewise.
34446         * iconvdata/ibm803.h: Likewise.
34447         * iconvdata/ibm856.h: Likewise.
34448         * iconvdata/ibm901.h: Likewise.
34449         * iconvdata/ibm902.h: Likewise.
34450         * iconvdata/ibm9030.h: Likewise.
34451         * iconvdata/ibm9066.h: Likewise.
34452         * iconvdata/ibm921.h: Likewise.
34453         * iconvdata/ibm922.h: Likewise.
34454         * iconvdata/ibm9448.h: Likewise.
34455         * iconvdata/isiri-3342.h: Likewise.
34456         * iconvdata/jis0201.h: Likewise.
34457         * include/link.h: Likewise.
34458         * include/netdb.h: Likewise.
34459         * inet/check_native.c: Likewise.
34460         * inet/check_pf.c: Likewise.
34461         * inet/getipv4sourcefilter.c: Likewise.
34462         * inet/getnameinfo.c: Likewise.
34463         * inet/getsourcefilter.c: Likewise.
34464         * inet/htonl.c: Likewise.
34465         * inet/setipv4sourcefilter.c: Likewise.
34466         * inet/setsourcefilter.c: Likewise.
34467         * inet/test-inet6_opt.c: Likewise.
34468         * inet/tst-network.c: Likewise.
34469         * locale/C-collate.c: Likewise.
34470         * locale/C-ctype.c: Likewise.
34471         * locale/C-time.c: Likewise.
34472         * locale/C-translit.h: Likewise.
34473         * locale/loadarchive.c: Likewise.
34474         * locale/programs/3level.h: Likewise.
34475         * locale/programs/charmap.c: Likewise.
34476         * locale/programs/charmap.h: Likewise.
34477         * locale/programs/ld-address.c: Likewise.
34478         * locale/programs/ld-collate.c: Likewise.
34479         * locale/programs/ld-ctype.c: Likewise.
34480         * locale/programs/ld-identification.c: Likewise.
34481         * locale/programs/ld-measurement.c: Likewise.
34482         * locale/programs/ld-messages.c: Likewise.
34483         * locale/programs/ld-monetary.c: Likewise.
34484         * locale/programs/ld-name.c: Likewise.
34485         * locale/programs/ld-numeric.c: Likewise.
34486         * locale/programs/ld-paper.c: Likewise.
34487         * locale/programs/ld-telephone.c: Likewise.
34488         * locale/programs/ld-time.c: Likewise.
34489         * locale/programs/linereader.c: Likewise.
34490         * locale/programs/locale.c: Likewise.
34491         * locale/programs/locarchive.c: Likewise.
34492         * locale/programs/locfile.h: Likewise.
34493         * locale/programs/repertoire.c: Likewise.
34494         * locale/programs/simple-hash.c: Likewise.
34495         * locale/programs/simple-hash.h: Likewise.
34496         * malloc/memusage.c: Likewise.
34497         * malloc/memusagestat.c: Likewise.
34498         * nis/nis_defaults.c: Likewise.
34499         * nis/nis_hash.c: Likewise.
34500         * nis/nis_print.c: Likewise.
34501         * nis/nis_xdr.c: Likewise.
34502         * nscd/connections.c: Likewise.
34503         * nscd/hstcache.c: Likewise.
34504         * nscd/nscd_gethst_r.c: Likewise.
34505         * nscd/nscd_getserv_r.c: Likewise.
34506         * nscd/nscd_helper.c: Likewise.
34507         * nscd/servicescache.c: Likewise.
34508         * nss/makedb.c: Likewise.
34509         * nss/nss_db/db-XXX.c: Likewise.
34510         * nss/nss_db/db-initgroups.c: Likewise.
34511         * nss/nss_db/db-netgrp.c: Likewise.
34512         * nss/nss_files/files-network.c: Likewise.
34513         * nss/nss_files/files-parse.c: Likewise.
34514         * posix/bug-regex5.c: Likewise.
34515         * posix/fnmatch_loop.c: Likewise.
34516         * posix/regcomp.c: Likewise.
34517         * posix/regexec.c: Likewise.
34518         * posix/tst-rfc3484-2.c: Likewise.
34519         * posix/tst-rfc3484-3.c: Likewise.
34520         * posix/tst-rfc3484.c: Likewise.
34521         * resolv/nss_dns/dns-canon.c: Likewise.
34522         * resolv/nss_dns/dns-network.c: Likewise.
34523         * resolv/res_init.c: Likewise.
34524         * resolv/res_mkquery.c: Likewise.
34525         * resolv/tst-aton.c: Likewise.
34526         * stdlib/cxa_atexit.c: Likewise.
34527         * stdlib/cxa_finalize.c: Likewise.
34528         * stdlib/gen-fpioconst.c: Likewise.
34529         * stdlib/strtol_l.c: Likewise.
34530         * string/tst-endian.c: Likewise.
34531         * sunrpc/auth_des.c: Likewise.
34532         * sunrpc/clnt_udp.c: Likewise.
34533         * sunrpc/rtime.c: Likewise.
34534         * sunrpc/svcauth_des.c: Likewise.
34535         * sunrpc/xdr.c: Likewise.
34536         * sunrpc/xdr_intXX_t.c: Likewise.
34537         * sunrpc/xdr_rec.c: Likewise.
34538         * sysdeps/generic/ldconfig.h: Likewise.
34539         * sysdeps/generic/ldsodefs.h: Likewise.
34540         * sysdeps/generic/memusage.h: Likewise.
34541         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34542         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34543         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34544         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34545         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34546         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34547         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34548         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34549         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34550         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34551         * sysdeps/posix/getaddrinfo.c: Likewise.
34552         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34553         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34554         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34555         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34556         * sysdeps/powerpc/test-gettimebase.c: Likewise.
34557         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34558         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34559         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34560         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34561         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34562         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34563         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34564         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34565         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34566         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34567         * sysdeps/x86_64/dl-tls.h: Likewise.
34568         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34569         * time/alt_digit.c: Likewise.
34570         * time/era.c: Likewise.
34571         * wcsmbs/tst-c16c32-1.c: Likewise.
34573 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34575         * math/libm-test.inc (struct test_sincos_data): New type.
34576         (RUN_TEST_LOOP_sincos): New macro.
34577         (sincos_test_data): New variable.
34578         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34580 2013-05-16  Richard Henderson  <rth@redhat.com>
34582         * math/atest-exp2.c (LIMB64): New macro.
34583         (CONSTSZ): New macro.
34584         (mp_exp1, mp_exp_m1, mp_log2): New variables.
34585         (hexdig): Move ...
34586         (print_mpn_fp): ... to function scope.
34587         (read_mpn_hex): Remove.
34588         (get_log2): Remove.
34589         (exp2_mpn): Use mp_log2.
34590         (main): Use mp_exp1.
34592 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34594         * math/libm-test.inc: Remove comment about not testing "inexact"
34595         exceptions.
34596         (INEXACT_EXCEPTION): New macro.
34597         (NO_INEXACT_EXCEPTION): Likewise.
34598         (INVALID_EXCEPTION_OK): Update value.
34599         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34600         (OVERFLOW_EXCEPTION_OK): Likewise.
34601         (UNDERFLOW_EXCEPTION_OK): Likewise.
34602         (IGNORE_ZERO_INF_SIGN): Likewise.
34603         (ERRNO_UNCHANGED): Likewise.
34604         (ERRNO_EDOM): Likewise.
34605         (ERRNO_ERANGE): Likewise.
34606         (test_exceptions): Handle testing "inexact" exceptions.
34607         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
34608         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
34609         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
34610         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
34611         INEXACT_EXCEPTION.
34612         (rint_towardzero_test_data): Likewise.
34613         (rint_downward_test_data): Likewise.
34614         (rint_upward_test_data): Likewise.
34616         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
34617         with OVERFLOW_EXCEPTION.
34618         (exp10_test_data): Likewise.
34619         (exp2_test_data): Likewise.
34620         (expm1_test_data): Likewise.
34621         (lgamma_test_data): Likewise.
34622         (pow_test_data): Likewise.
34623         (tgamma_test_data): Likewise.
34624         (yn_test_data): Remove duplicate test of overflow.
34626         * math/libm-test.inc (struct test_cc_c_data): New type.
34627         (RUN_TEST_LOOP_cc_c): New macro.
34628         (cpow_test_data): New variable.
34629         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
34631         * math/libm-test.inc (struct test_f_L_data): New type.
34632         (RUN_TEST_LOOP_f_L): New macro.
34633         (llrint_test_data): New variable.
34634         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
34635         (llrint_tonearest_test_data): New variable.
34636         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
34637         (llrint_towardzero_test_data): New variable.
34638         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
34639         (llrint_downward_test_data): New variable.
34640         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
34641         (llrint_upward_test_data): New variable.
34642         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
34643         (llround_test_data): New variable.
34644         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
34646 2013-05-13  Peter Collingbourne  <pcc@google.com>
34648         * math/atest-exp2.c (get_log2): Remove const attribute.
34650 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34652         * math/libm-test.inc (struct test_f_l_data): New type.
34653         (RUN_TEST_LOOP_f_l): New macro.
34654         (lrint_test_data): New variable.
34655         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
34656         (lrint_tonearest_test_data): New variable.
34657         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
34658         (lrint_towardzero_test_data): New variable.
34659         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
34660         (lrint_downward_test_data): New variable.
34661         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
34662         (lrint_upward_test_data): New variable.
34663         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
34664         (lround_test_data): New variable.
34665         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
34667 2013-05-15  Peter Collingbourne  <pcc@google.com>
34669         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34670         (EXTRACT_WORDS64) Use where appropriate.
34671         (INSERT_WORDS64) Likewise.
34673         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34674         constraints with x constraints.
34675         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34677         * malloc/obstack.c (_obstack_compat): Add initializer.
34679 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34681         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34682         si_trapno and add si_addr_lsb to _sifields.sigfault.
34683         (si_trapno): Remove macro.
34684         (si_addr_lsb): Define new macro.
34685         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34687 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34689         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34690         instead of TEST_f_l.
34691         (llrint_test_tonearest): Likewise.
34692         (llrint_test_towardzero): Likewise.
34693         (llrint_test_downward): Likewise.
34694         (llrint_test_upward): Likewise.
34695         (llround_test): Likewise.
34697         * math/libm-test.inc (struct test_f_i_data): Add comment.
34698         (RUN_TEST_LOOP_f_b): New macro.
34699         (RUN_TEST_LOOP_f_b_tg): Likewise.
34700         (finite_test_data): New variable.
34701         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34702         (isfinite_test_data): New variable.
34703         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34704         (isinf_test_data): New variable.
34705         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34706         (isnan_test_data): New variable.
34707         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34708         (isnormal_test_data): New variable.
34709         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34710         (issignaling_test_data): New variable.
34711         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34712         (signbit_test_data): New variable.
34713         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34715         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34716         with INVALID_EXCEPTION.
34717         (acosh_test_data): Likewise.
34718         (asin_test_data): Likewise.
34719         (atanh_test_data): Likewise.
34720         (fmod_test_data): Likewise.
34721         (log_test_data): Likewise.
34722         (log10_test_data): Likewise.
34723         (log2_test_data): Likewise.
34724         (pow_test_data): Likewise.
34725         (sqrt_test_data): Likewise.
34726         (y0_test_data): Likewise.
34727         (y1_test_data): Likewise.
34728         (yn_test_data): Likewise.
34730         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34731         function contents.
34733         * math/libm-test.inc (struct test_ff_i_data): New type.
34734         (RUN_TEST_LOOP_ff_i_tg): New macro.
34735         (isgreater_test_data): New variable.
34736         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34737         (isgreaterequal_test_data): New variable.
34738         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34739         (isless_test_data): New variable.
34740         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34741         (islessequal_test_data): New variable.
34742         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34743         (islessgreater_test_data): New variable.
34744         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34745         (isunordered_test_data): New variable.
34746         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34748 2013-05-14  David S. Miller  <davem@davemloft.net>
34750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34752 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
34754         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34756         * math/libm-test.inc (struct test_fF_f1_data): Change type of
34757         extra_test to int.
34758         (struct test_f_i_data): Change type of max_ulp to int.
34760         * math/libm-test.inc (test_ffI_f1_data): New type.
34761         (RUN_TEST_LOOP_ffI_f1): New macro.
34762         (remquo_test_data): New variable.
34763         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34765         * setjmp/tst-setjmp-fp.c: New file.
34766         * setjmp/Makefile (tests): Add tst-setjmp-fp.
34767         (link-libm): New variable.
34768         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34770         * math/libm-test.inc (struct test_f_i_data): New type.
34771         (RUN_TEST_LOOP_f_i): New macro.
34772         (RUN_TEST_LOOP_f_i_tg): Likewise.
34773         (fpclassify_test_data): New variable.
34774         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34775         (ilogb_test_data): New variable.
34776         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34778         * math/libm-test.inc (scalbln_test): Correct function name in END
34779         call.
34781         * math/libm-test.inc (struct test_f_f1_data): Add comment.
34782         (RUN_TEST_LOOP_fI_f1): New macro.
34783         (frexp_test_data): New variable.
34784         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34786         * math/libm-test.inc (struct test_fF_f1_data): New type.
34787         (RUN_TEST_LOOP_fF_f1): New macro.
34788         (modf_test_data): New variable.
34789         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34791         * math/libm-test.inc (struct test_f_f1_data): New type.
34792         (RUN_TEST_LOOP_f_f1): New macro.
34793         (gamma_test_data): New variable.
34794         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34795         (lgamma_test_data): New variable.
34796         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34798 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
34800         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34801         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34802         (main): Comment "tls" pseudo-hwcap.
34804 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
34806         * math/libm-test.inc (struct test_fl_f_data): New type.
34807         (RUN_TEST_LOOP_fl_f): New variable.
34808         (scalbln_test_data): New variable.
34809         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34811         * math/libm-test.inc (struct test_fi_f_data): New type.
34812         (RUN_TEST_LOOP_fi_f): New macro.
34813         (ldexp_test_data): New variable.
34814         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34815         (scalbn_test_data): New variable.
34816         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34818         * math/libm-test.inc (struct test_c_f_data): New type.
34819         (RUN_TEST_LOOP_c_f): New macro.
34820         (cabs_test_data): New variable.
34821         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34822         (carg_test_data): New variable.
34823         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34824         (cimag_test_data): New variable.
34825         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34826         (creal_test_data): New variable.
34827         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34829         * math/libm-test.inc (struct test_if_f_data): New type.
34830         (RUN_TEST_LOOP_if_f): New macro.
34831         (jn_test_data): New variable.
34832         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34833         (yn_test_data): New variable.
34834         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34836         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34838 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34840         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34841         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34843 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34845         * benchtests/Makefile (CPPFLAGS-nonlib): Add
34846         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34847         (bench-deps): Add bench-timing.h.
34848         * benchtests-bench-skeleton.c: Include bench-timing.h.
34849         (main): Use TIMING_* macros instead of clock_gettime.
34850         * benchtests/bench-timing.h: New file.
34852         [BZ #14582]
34853         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34854         Renamed from _LIB_VERSION.
34855         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34857 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
34859         * math/libm-test.inc (struct test_fff_f_data): New type.
34860         (RUN_TEST_LOOP_fff_f): New macro.
34861         (fma_test_data): New variable.
34862         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34863         (fma_towardzero_test_data): New variable.
34864         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34865         (fma_downward_test_data): New variable.
34866         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34867         (fma_upward_test_data): New variable.
34868         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34870         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34871         (struct test_c_c_data): New type.
34872         (RUN_TEST_LOOP_c_c): New macro.
34873         (cacos_test_data): New variable.
34874         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34875         (cacosh_test_data): New variable.
34876         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34877         (casin_test_data): New variable.
34878         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34879         (casinh_test_data): New variable.
34880         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34881         (catan_test_data): New variable.
34882         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34883         (catanh_test_data): New variable.
34884         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34885         (ccos_test_data): New variable.
34886         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34887         (ccosh_test_data): New variable.
34888         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34889         (cexp_test_data): New variable.
34890         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34891         (clog_test_data): New variable.
34892         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34893         (clog10_test_data): New variable.
34894         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34895         (conj_test_data): New variable.
34896         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34897         (cproj_test_data): New variable.
34898         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34899         (csin_test_data): New variable.
34900         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34901         (csinh_test_data): New variable.
34902         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34903         (csqrt_test_data): New variable.
34904         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34905         (ctan_test_data): New variable.
34906         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34907         (ctan_tonearest_test_data): New variable.
34908         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34909         (ctan_towardzero_test_data): New variable.
34910         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34911         (ctan_downward_test_data): New variable.
34912         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34913         (ctan_upward_test_data): New variable.
34914         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34915         (ctanh_test_data): New variable.
34916         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34917         (ctanh_tonearest_test_data): New variable.
34918         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34919         (ctanh_towardzero_test_data): New variable.
34920         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34921         (ctanh_downward_test_data): New variable.
34922         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34923         (ctanh_upward_test_data): New variable.
34924         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34925         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34926         of BUILD_COMPLEX.
34928         * math/libm-test.inc (struct test_ff_f_data): New type.
34929         (struct test_ff_f_data_nexttoward): Likewise.
34930         (RUN_TEST_LOOP_2_f): New macro.
34931         (RUN_TEST_LOOP_ff_f): Likewise.
34932         (atan2_test_data): New variable.
34933         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34934         (copysign_test_data): New variable.
34935         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34936         (fdim_test_data): New variable.
34937         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34938         (fmax_test_data): New variable.
34939         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34940         (fmin_test_data): New variable.
34941         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34942         (fmod_test_data): New variable.
34943         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34944         (hypot_test_data): New variable.
34945         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34946         (nextafter_test_data): New variable.
34947         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34948         (nexttoward_test_data): New variable.
34949         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34950         (pow_test_data): New variable.
34951         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34952         (pow_tonearest_test_data): New variable.
34953         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34954         (pow_towardzero_test_data): New variable.
34955         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34956         (pow_downward_test_data): New variable.
34957         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34958         (pow_upward_test_data): New variable.
34959         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34960         (remainder_test_data): New variable.
34961         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34962         (scalb_test_data): New variable.
34963         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34964         * sysdeps/i386/fpu/libm-test-ulps: Update.
34966 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
34968         * math/libm-test.inc (fma_test): Use max_value instead of local
34969         variable fltmax.
34970         (nextafter_test): Likewise.
34972         * math/libm-test.inc (acos_towardzero_test_data): New variable.
34973         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34974         (acos_downward_test_data): New variable.
34975         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34976         (acos_upward_test_data): New variable.
34977         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34978         (acosh_test_data): New variable.
34979         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34980         (asin_test_data): New variable.
34981         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34982         (asin_tonearest_test_data): New variable.
34983         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34984         (asin_towardzero_test_data): New variable.
34985         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34986         (asin_downward_test_data): New variable.
34987         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34988         (asin_upward_test_data): New variable.
34989         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34990         (asinh_test_data): New variable.
34991         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
34992         (atan_test_data): New variable.
34993         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
34994         (atanh_test_data): New variable.
34995         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
34996         (cbrt_test_data): New variable.
34997         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
34998         (ceil_test_data): New variable.
34999         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35000         (cos_test_data): New variable.
35001         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35002         (cos_tonearest_test_data): New variable.
35003         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35004         (cos_towardzero_test_data): New variable.
35005         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35006         (cos_downward_test_data): New variable.
35007         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35008         (cos_upward_test_data): New variable.
35009         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35010         (cosh_test_data): New variable.
35011         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35012         (cosh_tonearest_test_data): New variable.
35013         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35014         (cosh_towardzero_test_data): New variable.
35015         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35016         (cosh_downward_test_data): New variable.
35017         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35018         (cosh_upward_test_data): New variable.
35019         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35020         (erf_test_data): New variable.
35021         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35022         (erfc_test_data): New variable.
35023         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35024         (exp_test_data): New variable.
35025         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35026         (exp_tonearest_test_data): New variable.
35027         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35028         (exp_towardzero_test_data): New variable.
35029         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35030         (exp_downward_test_data): New variable.
35031         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35032         (exp_upward_test_data): New variable.
35033         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35034         (exp10_test_data): New variable.
35035         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35036         (exp2_test_data): New variable.
35037         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35038         (expm1_test_data): New variable.
35039         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35040         (fabs_test_data): New variable.
35041         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35042         (floor_test_data): New variable.
35043         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35044         (j0_test_data): New variable.
35045         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35046         (j1_test_data): New variable.
35047         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35048         (log_test_data): New variable.
35049         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35050         (log10_test_data): New variable.
35051         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35052         (log1p_test_data): New variable.
35053         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35054         (log2_test_data): New variable.
35055         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35056         (logb_test_data): New variable.
35057         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35058         (logb_downward_test_data): New variable.
35059         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35060         (nearbyint_test_data): New variable.
35061         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35062         (rint_test_data): New variable.
35063         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35064         (rint_tonearest_test_data): New variable.
35065         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35066         (rint_towardzero_test_data): New variable.
35067         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35068         (rint_downward_test_data): New variable.
35069         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35070         (rint_upward_test_data): New variable.
35071         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35072         (round_test_data): New variable.
35073         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35074         (sin_test_data): New variable.
35075         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35076         (sin_tonearest_test_data): New variable.
35077         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35078         (sin_towardzero_test_data): New variable.
35079         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35080         (sin_downward_test_data): New variable.
35081         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35082         (sin_upward_test_data): New variable.
35083         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35084         (sinh_test_data): New variable.
35085         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35086         (sinh_tonearest_test_data): New variable.
35087         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35088         (sinh_towardzero_test_data): New variable.
35089         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35090         (sinh_downward_test_data): New variable.
35091         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35092         (sinh_upward_test_data): New variable.
35093         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35094         (sqrt_test_data): New variable.
35095         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35096         (tan_test_data): New variable.
35097         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35098         (tan_tonearest_test_data): New variable.
35099         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35100         (tan_towardzero_test_data): New variable.
35101         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35102         (tan_downward_test_data): New variable.
35103         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35104         (tan_upward_test_data): New variable.
35105         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35106         (tanh_test_data): New variable.
35107         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35108         (tgamma_test_data): New variable.
35109         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35110         (trunc_test_data): New variable.
35111         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35112         (y0_test_data): New variable.
35113         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35114         (y1_test_data): New variable.
35115         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35116         (significand_test_data): New variable.
35117         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35119 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35121         [BZ #12387]
35122         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35124 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35126         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35128 2013-05-10  Andreas Jaeger  <aj@suse.de>
35130         [BZ #15448]
35131         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35132         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35134 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35136         * math/gen-libm-test.pl (adjust_arg): New function.
35137         (special_functions): Handle generating output in both functions
35138         and arrays.
35139         (parse_args): Likewise.
35140         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35141         $in_func argument to parse_args.
35142         * math/libm-test.inc (struct test_f_f_data): New type.
35143         (IF_ROUND_INIT_): New macro.
35144         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35145         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35146         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35147         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35148         (ROUND_RESTORE_): Likewise.
35149         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35150         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35151         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35152         (ROUND_RESTORE_FE_UPWARD): Likewise.
35153         (RUN_TEST_LOOP_f_f): New macro.
35154         (acos_test_data): New variable.
35155         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35156         (acos_tonearest_test_data): New variable.
35157         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35159 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35161         * benchtests/bench-skeleton.c (startup): Fix coding style.
35163 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35165         [BZ #6809]
35166         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35167         negative infinity argument.
35168         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35169         negative infinity argument.
35170         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35171         negative infinity argument.
35172         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35173         domain errors.
35175 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35177         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35178         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35179         * iconv/iconv_prog.c (main): Likewise.
35180         * locale/programs/charmap-dir.c (charmap_readdir)
35181         (fopen_uncompressed): Likewise.
35182         * locale/programs/locfile.c (siblings_uncached)
35183         (write_locale_data): Use lstat64 instead of lstat.
35184         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35185         stat.
35187 2013-05-10  Andreas Jaeger  <aj@suse.de>
35189         [BZ #15395]
35190         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35191         localization.
35192         Include <locale.h>.
35194 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35196         * elf/dl-close.c (_dl_close_worker): Add comments.
35198 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35200         [BZ #15359]
35201         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35202         high part of pi/2.
35203         (__ieee754_rem_pio2l): Update comments.
35205         [BZ #15429]
35206         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35207         high part of pi/2.
35208         (__ieee754_rem_pio2l): Update comments.
35210         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35211         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35213         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35214         M_PI_4l.
35216         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35217         (M_PI_34_LOG10El): Likewise.
35218         (M_PI2_LOG10El): Likewise.
35219         (M_PI4_LOG10El): Likewise.
35220         (M_PI_LOG10El): Likewise.
35222 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35226 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35228         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35229         (MINUS_ZERO_INIT): Likewise.
35230         (PLUS_INFTY_INIT): Likewise.
35231         (MINUS_INFTY_INIT): Likewise.
35232         (QNAN_VALUE_INIT): Likewise.
35233         (MAX_VALUE_INIT): Likewise.
35234         (MIN_VALUE_INIT): Likewise.
35235         (MIN_SUBNORM_VALUE_INIT): Likewise.
35236         (plus_zero): Initialize with PLUS_ZERO_INIT.
35237         (minus_zero): Initialize with MINUS_ZERO_INIT.
35238         (plus_infty): Initialize with PLUS_INFTY_INIT.
35239         (minus_infty): Initialize with MINUS_INFTY_INIT.
35240         (qnan_value): Initialize with QNAN_VALUE_INIT.
35241         (max_value): Initialize with MAX_VALUE_INIT.
35242         (min_value): Initialize with MIN_VALUE_INIT.
35243         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35245         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35246         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35247         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35248         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35250         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35251         (RUN_TEST_2_f): Likewise.
35252         (RUN_TEST_ff_f): Likewise.
35253         (RUN_TEST_fi_f): Likewise.
35254         (RUN_TEST_fl_f): Likewise.
35255         (RUN_TEST_fff_f): Likewise.
35256         (RUN_TEST_c_f): Likewise.
35257         (RUN_TEST_f_f1): Likewise.
35258         (RUN_TEST_fF_f1): Likewise.
35259         (RUN_TEST_fI_f1): Likewise.
35260         (RUN_TEST_ffI_f1): Likewise.
35261         (RUN_TEST_c_c): Likewise.
35262         (RUN_TEST_cc_c): Likewise.
35263         (RUN_TEST_f_i): Likewise.
35264         (RUN_TEST_f_i_tg): Likewise.
35265         (RUN_TEST_ff_i_tg): Likewise.
35266         (RUN_TEST_f_b): Likewise.
35267         (RUN_TEST_f_b_tg): Likewise.
35268         (RUN_TEST_f_l): Likewise.
35269         (RUN_TEST_f_L): Likewise.
35270         (RUN_TEST_sincos): Likewise.
35271         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35272         whether to show exceptions.  Do not include ");\n" in return
35273         value.
35274         (special_functions): Output call to RUN_TEST_sincos instead of
35275         check_float calls.  Update calls to new_test.
35276         (parse_args): Output call to single RUN_TEST_* macro instead of
35277         check_* calls and other assignments.  Update calls to new_test.
35279         [BZ #2546]
35280         [BZ #2560]
35281         [BZ #5159]
35282         [BZ #15426]
35283         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35284         input to result for tgamma overflow.
35285         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35286         (gamma_coeff): New variable.
35287         (NCOEFF): New macro.
35288         (gamma_positive): New function.
35289         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35290         underflow here.  Use gamma_positive instead of exp (lgamma) for
35291         other arguments.
35292         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35293         (gamma_coeff): New variable.
35294         (NCOEFF): New macro.
35295         (gammaf_positive): New function.
35296         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35297         underflow here.  Use gamma_positive instead of exp (lgamma) for
35298         other arguments.
35299         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35300         (gamma_coeff): New variable.
35301         (NCOEFF): New macro.
35302         (gammal_positive): New function.
35303         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35304         underflow here.  Use gamma_positive instead of exp (lgamma) for
35305         other arguments.
35306         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35307         (gamma_coeff): New variable.
35308         (NCOEFF): New macro.
35309         (gammal_positive): New function.
35310         (__ieee754_gammal_r): Handle positive infinity, overflow and
35311         underflow here.  Handle NaN the same as positive infinity.  Remove
35312         check x < 0xffffffff for negative integers.  Use gamma_positive
35313         instead of exp (lgamma) for other arguments.
35314         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35315         (gamma_coeff): New variable.
35316         (NCOEFF): New macro.
35317         (gammal_positive): New function.
35318         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35319         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35320         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35321         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35322         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35323         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35324         * sysdeps/generic/math_private.h (__gamma_productf): New
35325         prototype.
35326         (__gamma_product): Likewise.
35327         (__gamma_productl): Likewise.
35328         * math/Makefile (libm-calls): Add gamma_product.
35329         * math/libm-test.inc (tgamma_test): Add more tests.
35330         * sysdeps/i386/fpu/libm-test-ulps: Update.
35331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35333 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35335         * benchtests/bench-skeleton.c (main): Preheat CPU.
35337 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35339         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35341 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35343         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35344         and _dl_skip_args_internal.
35346 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35348         * manual/message.texi (Message Translation): Talk about users.
35349         Message to key mapping impacts design.
35351 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35353         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35355         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35357         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35358         * sysdeps/wordsize-64/glob64.c: ... here.
35360         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35361         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35362         New macros.
35364         * debug/getlogin_r_chk.c: Moved to ...
35365         * login/getlogin_r_chk.c: ... here.
35366         * debug/Makefile (routines): Move getlogin_r_chk to ...
35367         * login/Makefile (routines): ... here.
35368         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35369         * login/Versions (libc: GLIBC_2.4): ... here.
35371         * io/poll.c (__poll): Renamed from poll.
35372         Add libc_hidden_def.
35373         (poll): Define as weak alias.
35375         * debug/ptsname_r_chk.c: Moved to ...
35376         * login/ptsname_r_chk.c: ... here.
35377         * debug/Makefile (routines): Move ptsname_r_chk to ...
35378         * login/Makefile (routines): ... here.
35379         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35380         * login/Versions (libc: GLIBC_2.4): ... here.
35382         * posix/getlogin.c: Moved to ...
35383         * login/getlogin.c: ... here.
35384         * posix/getlogin_r.c: Moved to ...
35385         * login/getlogin_r.c: ... here.
35386         * posix/getlogin_r.c: Moved to ...
35387         * login/getlogin_r.c: ... here.
35388         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35389         * login/Makefile (routines): ... here.
35390         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35391         * login/Versions (libc: GLIBC_2.0): ... here.
35393         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35394         (setrlimit): Define as weak alias.
35396         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35397         Call __ names for open, ftruncate, and close.
35398         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35399         (truncate): Define as weak alias.
35401 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35403         * math/gen-libm-test.pl (parse_args): Initialize x before each
35404         test of frexp, modf and remquo.
35406         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35407         test signgam value.
35409 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35411         [BZ #15418]
35412         [BZ #15419]
35413         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35414         internal tests.
35415         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35417 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35419         * elf/dl-writev.h: New file.
35420         * elf/dl-misc.c: Include it.
35421         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35422         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35424 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35426         * math/libm-test.inc (noXFails): Remove variable.
35427         (noXPasses): Likewise.
35428         (BUILD_COMPLEX_INT): Remove macro.
35429         (print_screen): Remove xfail argument.
35430         (print_screen_max_error): Likewise.
35431         (update_stats): Likewise.
35432         (print_max_error): Likewise.  Update calls to other affected
35433         functions.
35434         (print_complex_max_error): Likewise.
35435         (test_single_exception): Update calls to print_screen.
35436         (test_single_errno): Likewise.
35437         (check_float_internal): Remove xfail argument.  Update calls to
35438         other affected functions.
35439         (check_float): Likewise.
35440         (check_complex): Likewise.
35441         (check_int): Likewise.
35442         (check_long): Likewise.
35443         (check_bool): Likewise.
35444         (check_longlong): Likewise.
35445         (main): Don't print noXFails and noXPasses.
35446         * math/gen-libm-test.pl (top level): Don't mention expected
35447         failure handling in comment.
35448         (new_test): Don't handle expected failures.
35449         (parse_args): Don't mention expected failure handling in comment.
35450         (generate_testfile): Don't handle expected failures.
35451         (parse_ulps): Likewise.
35452         (print_ulps_file): Likewise.
35453         (get_failure): Remove function.
35454         (output_test): Don't handle expected failures.
35455         * make/README.libm-test: Don't mention expected failure handling.
35457         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35458         (minus_zero): Likewise.
35459         (plus_infty): Likewise.
35460         (minus_infty): Likewise.
35461         (qnan_value): Likewise.
35462         (max_value): Likewise.
35463         (min_value): Likewise.
35464         (min_subnorm_value): Likewise.
35465         (initialize): Do not initialize those variables dynamically.
35467 2013-05-03  Roland McGrath  <roland@hack.frob.com>
35469         * io/open.c (__open_2): Moved to ...
35470         * io/open_2.c: ... this new file.
35471         * io/open64.c (__open64_2): Moved to ...
35472         * io/open64_2.c: ... this new file.
35473         * io/openat.c (__openat_2): Moved to ...
35474         * io/openat_2.c: ... this new file.
35475         * io/openat64.c (__openat64_2): Moved to ...
35476         * io/openat64_2.c: ... this new file.
35477         * io/Makefile (routines): Add them.
35478         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35479         * sysdeps/unix/sysv/linux/open_2.c: File removed.
35480         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35481         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35482         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35483         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35484         (__openat64): Add hidden_ver.
35485         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35486         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35488         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35489         Separately conditionalize setting of GLRO(dl_sysinfo) so
35490         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35491         as well, but the actual setting is only under [NEED_DL_SYSINFO].
35493 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35495         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35496         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35497         definition.
35498         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35499         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35500         (_libc_vdso_platform_setup): Add __vdso_time initialization.
35501         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35502         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35504 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
35506         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35507         test signgam value.
35509         * math/libm-test.inc (hypot_test): Do not use
35510         IGNORE_ZERO_INF_SIGN.
35512 2013-05-03  Andreas Jaeger  <aj@suse.de>
35514         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35515         Linux 3.9.
35516         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35517         (PF_MAX): Adjust for VSOCK change.
35519 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35523 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
35525         [BZ #15264]
35526         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35527         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35528         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35530 2013-05-02  David S. Miller  <davem@davemloft.net>
35532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35534 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
35536         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35538 2013-05-01  Roland McGrath  <roland@hack.frob.com>
35540         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35542 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
35544         [BZ #14952]
35545         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35546         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35547         Use __attribute__ ((__gnu_inline__)).
35548         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35549         Don't use __attribute__ ((__gnu_inline__)).
35551 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
35553         [BZ #15423]
35554         * math/s_catan.c (__catan): Handle small real or imaginary part of
35555         input specially to avoid spurious underflow.
35556         * math/s_catanf.c (__catanf): Likewise.
35557         * math/s_catanh.c (__catanh): Likewise.
35558         * math/s_catanhf.c (__catanhf): Likewise.
35559         * math/s_catanhl.c (__catanhl): Likewise.
35560         * math/s_catanl.c (__catanl): Likewise.
35561         * math/libm-test.inc (catan_test): Add more tests.
35562         (catanh_test): Likewise.
35563         * sysdeps/i386/fpu/libm-test-ulps: Update.
35564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35566 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35570 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
35572         [BZ #15416]
35573         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35574         accurately for denominator in atan2.
35575         * math/s_catanf.c (__catanf): Likewise.
35576         * math/s_catanh.c (__catanh): Likewise.
35577         * math/s_catanhf.c (__catanhf): Likewise.
35578         * math/s_catanhl.c (__catanhl): Likewise.
35579         * math/s_catanl.c (__catanl): Likewise.
35580         * math/libm-test.inc (catan_test): Add more tests.
35581         (catanh_test): Likewise.
35582         * sysdeps/i386/fpu/libm-test-ulps: Update.
35583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35585 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35587         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35589         * benchtests/Makefile (bench): Remove slow benchmarks.
35590         * benchtests/atan-inputs: Add slow benchmark inputs.
35591         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35592         (BENCH_FUNC): Accept variant offset.
35593         (VARIANT): Define.
35594         * benchtests/bench-skeleton.c (main): Run benchmark for each
35595         variant.
35596         * benchtests/cos-inputs: Add slow benchmark inputs.
35597         * benchtests/exp-inputs: Likewise.
35598         * benchtests/pow-inputs: Likewise.
35599         * benchtests/sin-inputs: Likewise.
35600         * benchtests/slowatan-inputs: Remove.
35601         * benchtests/slowatan.c: Remove.
35602         * benchtests/slowcos-inputs: Remove.
35603         * benchtests/slowcos.c: Remove.
35604         * benchtests/slowexp-inputs: Remove.
35605         * benchtests/slowexp.c: Remove.
35606         * benchtests/slowpow-inputs: Remove.
35607         * benchtests/slowpow.c: Remove.
35608         * benchtests/slowsin-inputs: Remove.
35609         * benchtests/slowsin.c: Remove.
35610         * benchtests/slowtan-inputs: Remove.
35611         * benchtests/slowtan.c: Remove.
35612         * benchtests/tan-inputs: Add slow benchmark inputs.
35613         * scripts/bench.pl: Parse comments and directives.
35615         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
35616         in CPPFLAGS.
35617         ($(objpfx)bench-%.c): Remove *-ITER.
35618         * benchtests/bench-modf.c: Remove definition of ITER.
35619         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
35620         (main): Loop for DURATION seconds instead of fixed number of
35621         iterations.
35622         * scripts/bench.pl: Don't expect iterations in parameters.
35624 2013-04-29  Roland McGrath  <roland@hack.frob.com>
35626         * io/fchdir.c (__fchdir): Renamed from fchdir.
35627         (fchdir): Define as weak alias.
35629 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35631         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
35632         (ERRNO_EDOM): Likewise.
35633         (ERRNO_ERANGE): Likewise.
35634         (noErrnoTests): New variable.
35635         (init_max_error): Set errno to 0.
35636         (test_single_errno): New function.
35637         (test_errno): Likewise.
35638         (check_float_internal): Call test_errno.  Set errno to 0.
35639         (check_complex): Refer to errno tests in comment.
35640         (check_int): Call test_errno.  Set errno to 0.
35641         (check_long): Likewise.
35642         (check_bool): Likewise.
35643         (check_longlong): Likewise.
35644         (cos_test): Use ERRNO_* flags for errno tests instead of
35645         check_int.
35646         (expm1_test): Likewise.
35647         (fmod_test): Likewise.
35648         (ilogb_test): Likewise.
35649         (lgamma_test): Likewise.
35650         (pow_test): Likewise.
35651         (remainder_test): Likewise.
35652         (sin_test): Likewise.
35653         (tan_test): Likewise.
35654         (yn_test): Likewise.
35655         (initialize): Set errno to 0.
35656         (main): Print number of errno tests.
35657         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
35659 2013-04-29  Andreas Jaeger  <aj@suse.de>
35661         [BZ #15084]
35662         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
35663         and RES_USEVC.
35665         [BZ #15085]
35666         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
35667         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35668         unimplemented.
35670         [BZ #15380]
35671         * stdlib/random.c (__initstate): Return NULL if
35672         __initstate fails.
35674         [BZ #15086]
35675         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35676         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35677         RES_SNGLKUPREOP.
35679 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35683 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35685         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35686         of individual tests.
35687         (casin_test): Likewise.
35688         (casinh_test): Likewise.
35690 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
35692         [BZ #15409]
35693         * math/s_catan.c (__catan): Handle arguments with large real or
35694         imaginary part separately without squaring.
35695         * math/s_catanf.c (__catanf): Likewise.
35696         * math/s_catanh.c (__catanh): Likewise.
35697         * math/s_catanhf.c (__catanhf): Likewise.
35698         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35699         and redefine.
35700         (__catanhl): Handle arguments with large real or imaginary part
35701         separately without squaring.
35702         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35703         and redefine.
35704         (__catanl): Handle arguments with large real or imaginary part
35705         separately without squaring.
35706         * math/libm-test.inc (catan_test): Add more tests.
35707         (catanh_test): Likewise.
35708         * sysdeps/i386/fpu/libm-test-ulps: Update.
35709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35711 2013-04-27  Andreas Jaeger  <aj@suse.de>
35713         [BZ #15007]
35714         * stdlib/stdlib.h: Update guards for qecvt.
35715         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35716         <stdlib.h>.
35718 2013-04-27  Allan McRae  <allan@archlinux.org>
35720         * sysdeps/i386/fpu/libm-test-ulps: Update.
35722 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
35724         [BZ #15406]
35725         * math/s_catan.c: Include <float.h>.
35726         (__catan): Ensure underflow exception occurs for underflowed
35727         result.
35728         * math/s_catanf.c: Include <float.h>.
35729         (__catanf): Ensure underflow exception occurs for underflowed
35730         result.
35731         * math/s_catanh.c: Include <float.h>.
35732         (__catanh): Ensure underflow exception occurs for underflowed
35733         result.
35734         * math/s_catanhf.c: Include <float.h>.
35735         (__catanhf): Ensure underflow exception occurs for underflowed
35736         result.
35737         * math/s_catanhl.c: Include <float.h>.
35738         (__catanhl): Ensure underflow exception occurs for underflowed
35739         result.
35740         * math/s_catanl.c: Include <float.h>.
35741         (__catanl): Ensure underflow exception occurs for underflowed
35742         result.
35743         * math/libm-test.inc (catan_test): Add more tests.
35744         (catanh_test): Likewise.
35746         [BZ #15405]
35747         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35748         underflowed result.
35749         * math/s_ccoshf.c (__ccoshf): Likewise.
35750         * math/s_ccoshl.c (__ccoshl): Likewise.
35751         * math/s_csin.c (__csin): Likewise.
35752         * math/s_csinf.c (__csinf): Likewise.
35753         * math/s_csinh.c (__csinh): Likewise.
35754         * math/s_csinhf.c (__csinhf): Likewise.
35755         * math/s_csinhl.c (__csinhl): Likewise.
35756         * math/s_csinl.c (__csinl): Likewise.
35757         * math/libm-test.inc (ccos_test): Add more tests.
35758         (ccosh_test): Likewise.
35759         (csin_test): Likewise.
35760         (csinh_test): Likewise.
35762 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35764         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35765         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35766         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35767         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35768         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35769         powerpc/power5+/fpu folders.
35770         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35773 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35777 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
35779         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35780         additions to variable.
35781         [$(config-machine) = x86_64] (modules-names): Likewise.
35782         ($(objpfx)tst-audit3): Remove dependency.
35783         ($(objpfx)tst-audit3.out): Likewise.
35784         ($(objpfx)tst-audit4): Likewise.
35785         ($(objpfx)tst-audit4.out): Likewise.
35786         ($(objpfx)tst-audit5): Likewise.
35787         ($(objpfx)tst-audit5.out): Likewise.
35788         ($(objpfx)tst-audit6): Likewise.
35789         ($(objpfx)tst-audit6.out): Likewise.
35790         ($(objpfx)tst-audit7): Likewise.
35791         ($(objpfx)tst-audit7.out): Likewise.
35792         (tst-audit3-ENV): Remove variable.
35793         (tst-audit4-ENV): Likewise.
35794         (tst-audit5-ENV): Likewise.
35795         (tst-audit6-ENV): Likewise.
35796         (tst-audit7-ENV): Likewise.
35797         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35798         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35799         addition to variable.
35800         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35801         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35802         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35803         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35804         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35805         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35806         tst-audit3, tst-audit4 and tst-audit5.
35807         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35808         tst-audit6 and tst-audit7.
35809         [$(subdir) = elf] (modules-names): Add audit modules for those
35810         tests.
35811         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35812         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35813         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35814         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35815         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35816         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35817         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35818         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35819         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35820         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35821         [$(subdir) = elf] (tst-audit3-ENV): New variable.
35822         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35823         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35824         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35825         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35826         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35827         Likewise.
35828         [$(subdir) = elf && $(config-cflags-avx) = yes]
35829         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35830         [$(subdir) = elf && $(config-cflags-avx) = yes]
35831         (CFLAGS-tst-auditmod4a.c): Likewise.
35832         [$(subdir) = elf && $(config-cflags-avx) = yes]
35833         (CFLAGS-tst-auditmod4b.c): Likewise.
35834         [$(subdir) = elf && $(config-cflags-avx) = yes]
35835         (CFLAGS-tst-auditmod6b.c): Likewise.
35836         [$(subdir) = elf && $(config-cflags-avx) = yes]
35837         (CFLAGS-tst-auditmod6c.c): Likewise.
35838         [$(subdir) = elf && $(config-cflags-avx) = yes]
35839         (CFLAGS-tst-auditmod7b.c): Likewise.
35840         * elf/tst-audit3.c: Move to ...
35841         * sysdeps/x86_64/tst-audit3.c: ... here.
35842         * elf/tst-audit4.c: Move to ...
35843         * sysdeps/x86_64/tst-audit4.c: ... here.
35844         * elf/tst-audit5.c: Move to ...
35845         * sysdeps/x86_64/tst-audit5.c: ... here.
35846         * elf/tst-audit6.c: Move to ...
35847         * sysdeps/x86_64/tst-audit6.c: ... here.
35848         * elf/tst-audit7.c: Move to ...
35849         * sysdeps/x86_64/tst-audit7.c: ... here.
35850         * elf/tst-auditmod3a.c: Move to ...
35851         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35852         * elf/tst-auditmod3b.c: Move to ...
35853         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35854         * elf/tst-auditmod4a.c: Move to ...
35855         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35856         * elf/tst-auditmod4b.c: Move to ...
35857         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35858         * elf/tst-auditmod5a.c: Move to ...
35859         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35860         * elf/tst-auditmod5b.c: Move to ...
35861         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35862         * elf/tst-auditmod6a.c: Move to ...
35863         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35864         * elf/tst-auditmod6b.c: Move to ...
35865         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35866         * elf/tst-auditmod6c.c: Move to ...
35867         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35868         * elf/tst-auditmod7a.c: Move to ...
35869         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35870         * elf/tst-auditmod7b.c: Move to ...
35871         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35873 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
35875         [BZ #15366]
35876         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35877         define unconditionally.
35878         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35879         define unconditionally.
35880         (INT8_C, INT16_C, etc.): Likewise.
35882 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
35884         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35885         __ehdr_start with hidden visibility.
35887         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35889 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
35891         * math/libm-test.inc (cos_test): Use accurate hex constants.
35892         (sincost_test): Likewise.
35894 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
35896         * math/libm-test.inc (catan_test): Add more tests.
35897         (catanh_test): Likewise.
35899         * math/s_catanf.c (__catanf): Use suffixed floating-point
35900         constants.
35901         * math/s_catanhf.c (__catanhf): Likewise.
35902         * math/s_catanhl.c (__catanhl): Likewise.
35903         * math/s_catanl.c (__catanl): Likewise.
35905         [BZ #15394]
35906         * math/s_catan.c (__catan): Calculate imaginary part of result
35907         with log1p not log unless computing log of number close to 0.
35908         * math/s_catanf.c (__catanf): Likewise.
35909         * math/s_catanl.c (__catanl): Likewise.
35910         * math/s_catanh.c (__catanh): Calculate real part of result with
35911         log1p not log unless computing log of number close to 0.
35912         * math/s_catanhf.c (__catanhf): Likewise.
35913         * math/s_catanhl.c (__catanhl): Likewise.
35914         * math/libm-test.inc (catan_test): Add more tests.
35915         (catanh_test): Likewise.
35916         * sysdeps/i386/fpu/libm-test-ulps: Update.
35917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35919 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35921         * benchtests/Makefile: Mention files in which fast and slow
35922         paths of math functions are implemented.
35924 2013-04-23  Roland McGrath  <roland@hack.frob.com>
35926         * sysdeps/posix/timespec_get.c: New file.
35928 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35930         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35931         POWER.
35932         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35933         for POWER.
35934         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35935         powerpc/power5/fpu folders.
35936         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35937         * benchtests/Makefile: Add modf testcase.
35938         * benchtests/bench-modf.c: New file: Benchmark test for mo
35940 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35942         [BZ #14888]
35943         * time/Makefile (tests): Add tst-strptime-whitespace.
35944         * time/strptime_l.c (get_number): Use ISSPACE.
35945         (__strptime_internal): Likewise.
35946         * time/tst-strptime-whitespace.c: New test case.
35948 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
35950         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35951         member.
35952         (_nss_files_init): Set it here.
35954 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
35956         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35957         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35958         unsigned.
35960 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
35962         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35964 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35966         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35967         size just once.
35969 2013-04-21  David S. Miller  <davem@davemloft.net>
35971         * po/ru.po: Update Russion translation from translation project.
35973 2013-04-17  Adam Conrad  <adconrad@0c3.net>
35975         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35976         and setfsgid.
35978 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
35980         * configure.in: Remove i386 configure warning. Remove i386 case.
35981         * configure: Regenerate.
35982         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35983         Add example to error message.
35984         * sysdeps/i386/configure: Regenerate.
35986 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35988         * benchtests/Makefile (bench): Add cos, tan, slowcos and
35989         slowtan.
35990         * benchtests/cos-inputs: New file.
35991         * benchtests/slowcos-inputs: New file.
35992         * benchtests/slowcos.c: New file.
35993         * benchtests/slowtan-inputs: New file.
35994         * benchtests/slowtan.c: New file.
35995         * benchtests/tan-inputs: New file.
35997 2013-04-16  Roland McGrath  <roland@hack.frob.com>
35999         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36000         considered kosher.
36002 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36004         * benchtests/Makefile: Include cppflags-iterator.mk to add
36005         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36007         * Makefile.in (bench-clean): New target.
36008         * benchtests/Makefile (bench-clean): Likewise.
36010 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36012         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36014 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36016         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36018 2013-04-15  Andreas Schwab  <schwab@suse.de>
36020         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36021         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36022         * nscd/pwdcache.c (cache_addpw): Likewise.
36023         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36024         more than recsize.
36026 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36028         * benchtests/Makefile (bench): Write all output to
36029         bench-out.tmp together.
36031 2013-04-15  Andreas Schwab  <schwab@suse.de>
36033         * nscd/nscd.c (main): Don't fork again after closing files.
36035 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36037         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36039         * benchtests/Rules (bench-deps): Collect dependencies into a
36040         single variable.  Add Makefile to dependencies.
36041         ($(objpfx)bench-%.c): Depend on bench-deps.
36043 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36044             Xavier Roche  <roche+kml2@exalead.com>
36046         [BZ #15361]
36047         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36048         just that it's a file descriptor.
36049         * manual/llio.texi (Synchronizing AIO Operations): Update description
36050         for EBADF error from aio_fsync.
36052 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36054         * Rules (bench): Move target definition...
36055         * benchtests/Makefile: ... here.
36057 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36059         * math/libm-test.inc (cos_test): Fix PI/2 test.
36060         (sincos_test): Likewise.
36061         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36062         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36064 2013-04-11  Andreas Schwab  <schwab@suse.de>
36066         [BZ #13988]
36067         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36068         accept exponent character only when digits were seen.
36069         * stdio-common/Makefile (tests): Add bug26.
36070         * stdio-common/bug26.c: New file.
36072         [BZ #14293]
36073         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36074         non-freeable.
36076 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36078         * Makeconfig (rtld-prefix): Define built linker prefix.
36079         * Rules (run-bench): Use it.
36080         * math/Makefile (run-regen-ulps): Likewise.
36082         * Rules (bench): Remove eval.
36084 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36085             Roland McGrath  <roland@hack.frob.com>
36086             Ondrej Bilka  <neleai@seznam.cz>
36088         [BZ #15346]
36089         * time/getdate.c: Include ctype.h and alloca.h.
36090         (__getdate_r): Trim leading and trailing spaces of input.
36091         * time/tst-getdate.c (tests): Add tests with leading and
36092         trailing spaces.
36094 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36096         [BZ #14280]
36097         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36098         when computing value.
36100 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36102         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36103         Use testrun.sh to run libm tests.
36105         [BZ #15309]
36106         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36108 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36110         [BZ #15264]
36111         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36113 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36115         * Makefile.in (regen-ulps): New target.
36116         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36117         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36118         [ifneq (no,$(PERL)] (regen-ulps): New target.
36119         [ifeq (no,$(PERL)] (regen-ulps): New target.
36120         * math/libm-test.inc (ulps_file_name): Define.
36121         (output_dir): New variable.
36122         (options): Add "output-dir" option.
36123         (parse_opt): Handle 'o' case.
36124         (main): If output_dir is non-NULL use it as a prefix
36125         otherwise use "".
36126         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36128 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36130         [BZ #10060, #10062]
36131         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36132         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36133         fail configure if __sync_val_compare_and_swap is not inlined.
36134         * sysdeps/i386/configure: Regenerate.
36135         * configure.in: Build for i686 when configured for i386.
36136         * configure: Regenerate.
36137         * README: Remove i386 reference.
36139 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36141         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36142         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36144 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36146         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36147         (lmsnanval): New variables.
36148         (F): Add conversion tests.
36149         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36150         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36152         * stdio-common/tstdiomisc.c (F): Properly collect individual
36153         tests' results.
36155         [BZ #14686, #15336]
36156         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36157         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36158         Instead, use input NaN values or generate a qNaN by arithmetic
36159         operation.  Also fix bugs to comply with the standard.
36160         * math/libm-test.inc (remainder_test): Add more tests.
36162         [BZ #15335, #15342]
36163         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36164         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36165         input NaN values or generate a qNaN by arithmetic operation.
36167         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36168         unreachable code.
36170         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36171         definitions.
36173 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36175         [BZ #14478]
36176         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36177         underflowed result.
36178         * math/s_cexpf.c (__cexpf): Likewise.
36179         * math/s_cexpl.c (__cexpl): Likewise.
36180         * math/libm-test.inc (cexp_test): Add more tests.
36182 2013-04-03  Andreas Schwab  <schwab@suse.de>
36184         [BZ #15330]
36185         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36186         order arrays from heap if bigger than alloca cutoff.
36188 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36190         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36191         (SNAN_TESTS_double): Refer to GCC PR56831.
36192         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36193         GCC PR56828.
36195 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36197         * Rules (bench): Move bench.out after the run is complete.
36199         * Rules (bench): Echo currently running benchmark.
36201         * benchtests/Makefile (bench): Add atan and slowatan.
36202         * benchtests/atan-inputs: New file.
36203         * benchtests/slowatan-inputs: New file.
36204         * benchtests/slowatan.c: New file.
36206         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36207         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36208         its value.
36210         [BZ #15305]
36211         * sysdeps/unix/sysv/linux/kernel-features.h
36212         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36213         __ASSUME_XFS_RESTRICTED_CHOWN.
36214         * sysdeps/unix/sysv/linux/pathconf.c
36215         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36216         Save and restore errno.
36218 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36220         [BZ #15327]
36221         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36222         arguments using __kernel_casinh.
36223         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36224         arguments using __kernel_casinhf.
36225         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36226         arguments using __kernel_casinhl.
36227         * math/libm-test.inc (cacosh_test): Add more tests.
36228         * sysdeps/i386/fpu/libm-test-ulps: Update.
36229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36231 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36233         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36234         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36236         * bench/Makefile (bench): Add sin and slowsin.
36237         * benchtests/sin-inputs: New file.
36238         * benchtests/slowsin-inputs: New file.
36239         * benchtests/slowsin.c: New file.
36241         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36242         (bench): Add slowexp and slowpow.
36243         (exp-ITER): Increase iterations.
36244         (pow-ITER): Likewise.
36245         * benchtests/exp-inputs: Change input.
36246         * benchtests/pow-inputs: Likewise.
36247         * benchtests/slowexp-inputs: New file.
36248         * benchtests/slowexp.c: New file.
36249         * benchtests/slowpow-inputs: New file.
36250         * benchtests/slowpow.c: New file.
36252 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36254         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36255         instructions.
36256         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36257         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36258         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36259         * benchtests/Makefile: Add rint benchtest.
36260         * benchtests/rint-inputs: Input for rint benchtest.
36262 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36264         * Versions.def (libm): Add GLIBC_2.18.
36265         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36266         hidden libm prototypes.
36267         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36268         * math/Makefile (libm-calls): Add s_issignaling.
36269         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36270         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36271         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36272         declaration.
36273         * math/math.h [__USE_GNU] (issignaling): New macro.
36274         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36275         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36276         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36277         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36278         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36279         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36280         * manual/arith.texi (issignaling): New section.
36281         * manual/libm-err-tab.pl (@all_functions): Update comment.
36282         * math/gen-libm-test.pl (parse_args): Apply special handling for
36283         issignaling.
36284         * math/libm-test.inc (print_float, issignaling_test): New
36285         functions.
36286         (check_float_internal): Add issignaling checks.
36287         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36288         default definition.
36289         * sysdeps/powerpc/math-tests.h: New file.
36290         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36291         tests.
36292         * math/test-snan.c (TEST_FUNC): Likewise.
36294 2013-03-30  David S. Miller  <davem@davemloft.net>
36296         * po/de.po: Update from translation team.
36298 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36300         [BZ #10357]
36301         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36302         imaginary part less than 1.0 and real part less than 0.5
36303         specially.
36304         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36305         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36306         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36307         (cacos_test): Add more tests.
36308         (casin_test): Likewise.
36309         (casinh_test): Likewise.
36310         * sysdeps/i386/fpu/libm-test-ulps: Update.
36311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36313 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36315         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36316         ONE with its value.
36318         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36319         (__pow_mp): Replace ONE and MONE with their values.
36320         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36321         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36322         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36323         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36324         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36325         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36327         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36329         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36330         (__pow_mp): Replace ZERO and MZERO with their values.
36331         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36332         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36333         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36334         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36335         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36336         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36337         (__sqr): Likewise.
36339         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36341         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36343 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36345         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36346         Declare with __attribute__ ((weak)).
36347         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36348         Call __call_tls_dtors only if it's not NULL.
36350 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36352         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36353         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36354         magic __ehdr_start linker symbol if it's defined.
36355         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36356         them up here if it was already done.
36358         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36359         (_dl_aux_init): Use const in cast when setting it.
36360         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36361         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36362         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36364         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36365         Declare them here.
36366         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36367         * csu/libc-tls.c: Nor here.
36368         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36370         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36371         (__libc_message): Never call vsyslog.
36373 2013-03-28  Alan Modra  <amodra@gmail.com>
36375         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36376         Define as empty.
36377         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36378         Likewise.
36380 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36382         [BZ #15214]
36383         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36384         underflow.
36385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36387 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36389         [BZ #15304]
36390         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36391         Don't add gid passed as argument.
36393         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36395 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36397         [BZ #15307]
36398         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36399         imaginary part between 1.0 and 1.5 and real part less than 0.5
36400         specially.
36401         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36402         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36403         * math/libm-test.inc (cacos_test): Add more tests.
36404         (casin_test): Likewise.
36405         (casinh_test): Likewise.
36406         * sysdeps/i386/fpu/libm-test-ulps: Update.
36407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36409 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36411         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36412         constants.
36413         (norm): Likewise.
36414         (denorm): Likewise.
36415         (__dbl_mp): Likewise.
36416         (add_magnitudes): Likewise.
36417         (sub_magnitudes): Likewise.
36418         (__add): Likewise.
36419         (__sub): Likewise.
36420         (__mul): Likewise.
36421         (__sqr): Likewise.
36422         (__inv): Likewise.
36423         (__dvd): Likewise.
36425         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36426         commented code.
36427         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36428         (__dubcos): Likewise.
36429         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36430         (__ieee754_acos): Likewise.
36431         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36432         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36433         (__exp1): Likewise.
36434         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36435         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36436         (log1): Likewise.
36437         (my_log2): Likewise.
36438         (checkint): Likewise.
36439         * sysdeps/ieee754/dbl-64/e_remainder.c
36440         (__ieee754_remainder): Likewise.
36441         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36442         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36443         (bsloww): Likewise.
36444         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36446         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36447         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36448         MANTISSA_STORE_T to store computations on mantissa.  Use
36449         macros for rounding and division.
36450         (denorm): Likewise.
36451         (__dbl_mp): Likewise.
36452         (add_magnitudes): Likewise.
36453         (sub_magnitudes): Likewise.
36454         (__mul): Likewise.
36455         (__sqr): Likewise.
36456         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36457         powers of two in terms of TWOPOW macro.
36458         (mp_no): Make type of mantissa as MANTISSA_T.
36459         [!RADIXI]: Define RADIXI.
36460         [!TWO52]: Define TWO52.
36461         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36463 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36465         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36466         llroundl symbol when building for PPC32.
36468 2013-03-24  Mark H Weaver  <mhw@netris.org>
36470         * manual/arith.texi (Normalization Functions): Fix prototypes for
36471         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36473 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36475         [BZ #13889]
36476         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36477         high value to check if expl overflow.
36478         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36479         to check for underflow and overflow.
36480         * math/libm-test.inc: Add exp test.
36482 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
36484         [BZ #11120]
36485         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36486         with NOT_IN_libc.
36488 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36490         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36491         symbol.
36493 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36495         * math/gen-libm-test.pl (parse_args, special_functions): Properly
36496         wrap blocks consisting of several statements.
36498         * sysdeps/generic/math-tests.h: New file.
36499         * sysdeps/i386/fpu/math-tests.h: Likewise.
36500         * math/test-snan.c: Include it.
36501         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36503 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36505         [BZ #15285]
36506         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36507         (__ieee754_j0l): Do not improve calculations using cos of twice
36508         input for inputs above LDBL_MAX / 2.0L.
36509         (__ieee754_y0l): Likewise.
36510         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36511         (__ieee754_j1l): Do not improve calculations using cos of twice
36512         input for inputs above LDBL_MAX / 2.0L.
36513         (__ieee754_y1l): Likewise.
36514         * math/libm-test.inc (j0_test): Add another test.
36515         (j1_test): Likewise.
36516         (y0_test): Likewise.
36517         (y1_test): Likewise.
36518         * sysdeps/i386/fpu/libm-test-ulps: Update.
36520 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36522         * Rules ($(objpfx)bench-%.c): Include code from a C source
36523         file.
36525 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36527         [BZ #15287]
36528         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36529         imaginary part 1.0 and real part less than 0.5 specially.
36530         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36531         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36532         * math/libm-test.inc (cacos_test): Add more tests.
36533         (casin_test): Likewise.
36534         (casinh_test): Likewise.
36535         * sysdeps/i386/fpu/libm-test-ulps: Update.
36536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36538 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36540         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36541         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36543 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
36545         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36546         * config.make.in (config-cflags-sse4): Remove variable.
36547         (config-cflags-avx): Likewise.
36548         (config-cflags-sse2avx): Likewise.
36549         (config-cflags-novzeroupper): Likewise.
36550         (config-asflags-i686): Likewise.
36551         (have-mfma4): Likewise.
36552         (have-as-vis3): Likewise.
36553         (MIG): Likewise.
36554         * configure.in (MIG): Do not AC_SUBST.
36555         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36556         (libc_cv_cc_sse4): Do not AC_SUBST.
36557         (libc_cv_cc_avx): Likewise.
36558         (libc_cv_cc_sse2avx): Likewise.
36559         (libc_cv_cc_novzeroupper): Likewise.
36560         (libc_cv_cc_fma4): Likewise.
36561         (libc_cv_as_i686): Likewise.
36562         (libc_cv_sparc_as_vis3): Likewise.
36563         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36564         LIBC_CONFIG_VAR.
36565         (config-asflags-i686): Likewise.
36566         (config-cflags-avx): Likewise.
36567         (config-cflags-sse2avx): Likewise.
36568         (have-mfma4): Likewise.
36569         (config-cflags-novzeroupper): Likewise.
36570         * sysdeps/mach/configure.in (MIG): Likewise.
36571         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36572         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36573         LIBC_CONFIG_VAR.
36574         (config-cflags-avx): Likewise.
36575         (config-cflags-sse2avx): Likewise.
36576         (have-mfma4): Likewise.
36577         (config-cflags-novzeroupper): Likewise.
36578         * configure: Regenerated.
36579         * sysdeps/i386/configure: Likewise.
36580         * sysdeps/mach/configure: Likewise.
36581         * sysdeps/sparc/configure: Likewise.
36582         * sysdeps/x86_64/configure: Likewise.
36584 2013-03-20  Roland McGrath  <roland@hack.frob.com>
36586         [BZ #14812]
36587         * locale/programs/localedef.c (options): Put N_ translation marker
36588         on argument names, not just descriptions.
36590 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36592         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36594 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
36596         [BZ #14176]
36597         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36599 2013-03-19  Roland McGrath  <roland@hack.frob.com>
36601         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36602         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36603         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36604         [!BEFORE_ABORT] (before_abort): New function.
36605         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36606         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
36607         (writev_for_fatal): New function.
36608         (WRITEV_FOR_FATAL): New macro; call that.
36609         (backtrace_and_maps): New function.
36610         (BEFORE_ABORT): New macro; call that.
36611         (struct str_list): Type removed.
36612         (__libc_message, __libc_fatal): Functions removed.
36613         Include <sysdeps/posix/libc_fatal.c> instead.
36615 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
36617         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
36618         constants.
36619         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
36620         double constants.
36622 2013-03-19  Andreas Schwab  <schwab@suse.de>
36624         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
36625         * sysdeps/gnu/configure: Regenerate.
36627         * configure.in: Substitute libc_cv_rtlddir.
36628         * configure: Regenerate.
36629         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
36630         * Makeconfig (rtlddir, inst_rtlddir): New variables.
36631         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
36632         * elf/Makefile (install-others, CFLAGS-interp.c)
36633         (ldso_install, common-ldd-rewrite): Likewise.
36634         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
36635         $(inst_slibdir)/$(rtld-installed-name).
36636         * scripts/rellns-sh: Add -p option.
36637         * Makerules (make-shlib-link): Use rellns-sh to get relative name
36638         for source.
36640 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36642         * manual/nptl.texi: Renamed to ...
36643         * manual/threads.texi: ... this.
36644         * manual/Makefile (chapters): Update.
36646 2013-03-18  Roland McGrath  <roland@hack.frob.com>
36648         [BZ #14812]
36649         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
36650         on argument names, not just descriptions.
36651         * malloc/memusagestat.c (options): Likewise.
36652         * nss/getent.c (options): Likewise.
36654 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
36656         [BZ #14812]
36657         * iconv/iconv_prog.c (options): Put N_ translation marker
36658         on argument names, not just descriptions.
36659         * iconv/iconvconfig.c (options): Likewise.
36661 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
36663         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
36664         implementation which is faster on all x86_64 architectures.
36665         Tested on AMD, Intel Nehalem, SNB, IVB.
36666         * sysdeps/x86_64/strnlen.S: Likewise.
36668         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36669         Remove all multiarch strlen and strnlen versions.
36670         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36671         Remove strlen and strnlen related parts.
36673         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36674         Inline strlen part.
36675         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36677         * sysdeps/x86_64/multiarch/strlen.S: Remove.
36678         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36679         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36680         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36681         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36682         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36684 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
36686         * manual/memory.texi (Malloc Tunable Parameters):
36687         Sort parameters alphabetically. Add comments for missing entries.
36689 2013-03-17  David S. Miller  <davem@davemloft.net>
36691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36693 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
36695         [BZ #15283]
36696         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36697         for arguments at most half maximum finite value.
36698         * math/libm-test.inc (j0_test): Add more tests.
36699         (j1_test): Likewise.
36700         (y0_test): Likewise.
36701         (y1_test): Likewise.
36702         * sysdeps/i386/fpu/libm-test-ulps: Update.
36703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36705         [BZ #14155]
36706         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36707         1 / x and functions P and Q for arguments above 0x1p256L.
36708         (__ieee754_y0l): Likewise.
36709         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36710         (__ieee754_y1l): Likewise.
36711         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36712         (j1_test): Likewise.
36713         (y0_test): Likewise.
36714         (y1_test): Likewise.
36716 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
36718         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36719         variable.
36721 2013-03-15  Roland McGrath  <roland@hack.frob.com>
36723         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36724         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36725         zero since it's initialized to EXEC_PAGESIZE.
36727         * sysdeps/unix/sysv/linux/ldsodefs.h
36728         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36729         * sysdeps/generic/ldsodefs.h: ... here.
36731 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
36733         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36735         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36736         math/test-snan.c.
36737         * math/test-snan.c: Renamed from
36738         sysdeps/powerpc/fpu/test-powerpc-snan.c.
36739         * math/Makefile (tests): Add test-snan.
36740         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36741         test-powerpc-snan.
36743         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36744         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
36745         functions.
36746         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
36747         __builtin_nan family of functions.
36748         * math/libm-test.inc (initialize): Initialize qnan_value with
36749         __builtin_nan family of functions.
36750         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36751         Remove variables.
36752         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36753         Remove functions.
36754         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
36755         storage class.  Initialize qNaN_var and sNaN_var with
36756         __builtin_nan and __builtin_nans families of functions,
36757         respectively.
36759         * math/libm-test.inc (acosh_test): Also test with qNaN input.
36760         (sqrt_test): Remove duplicate test with qNaN input.
36761         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36762         (round_test, signbit_test, significand_test): Note missing +/-Inf
36763         as well as qNaN tests.
36765         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36766         qNaN_var.  Fix a few strings, too.
36767         * math/libm-test.inc (nan_value): Rename to qnan_value.
36768         * math/gen-libm-test.pl (%beautify): Adjust to that.
36769         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36770         * math/test-misc.c (main): Likewise.
36771         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36772         to __qnan_bytes, and __qnan_union, respectively.
36773         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36774         Likewise.
36775         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36776         and lqnanval, respectively.
36777         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36778         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36779         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36780         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36782         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36783         * math/test-misc.c (main) [__x86_64__]: Enable test for long
36784         doubles.
36786         * math/test-misc.c (main): Fix copy'n'pastos.
36787         * misc/tst-efgcvt.c (special): Likewise.
36789         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36790         Remove declarations.
36792 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36794         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36795         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36796         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36797         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36799 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36801         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36802         macro to return vdso values correctly in IFUNC implementations.
36803         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36804         Optimization by using IFUNC.
36806 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36807             Richard Henderson  <rth@redhat.com>
36808             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36810         * Makefile.in (bench): New target.
36811         * NEWS: Mention the benchmark framework.
36812         * Rules (bench): Likewise.
36813         (binaries-bench): Generate binaries for functions to
36814         benchmark.
36815         * benchtests/Makefile: New makefile for benchmark tests.
36816         * benchtests/bench-skeleton.c: New skeleton file for benchmark
36817         programs.
36818         * benchtests/exp-inputs: New input file for EXP function.
36819         * benchtests/pow-inputs: New input file for POW function.
36820         * scripts/bench.pl: New script to generate source files for
36821         benchmark programs.
36823 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36825         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36826         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36827         computations on mantissa.  Use macros for rounding and
36828         division.
36829         (denorm): Likewise.
36830         (__dbl_mp): Likewise.
36831         (add_magnitudes): Likewise.
36832         (sub_magnitudes): Likewise.
36833         (__mul): Likewise.
36834         (__sqr): Likewise.
36835         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36836         powers of two in terms of TWOPOW macro.
36837         (mp_no): Make type of mantissa as MANTISSA_T.
36838         [!RADIXI]: Define RADIXI.
36839         [!TWO52]: Define TWO52.
36840         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36842         * manual/nptl.texi (cindex): Modify threads to pthreads.
36844 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
36846         * sysdeps/x86_64/preconfigure: Regenerated.
36848 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
36850         [BZ #14155]
36851         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36852         0x1p28 and above.
36853         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36854         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36855         0x1p28 and above.
36856         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36857         * math/libm-test.inc (j0_test): Do not allow one spurious
36858         underflow exception.
36859         (y1_test): Likewise.
36861 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36863         * manual/Makefile (chapters): Add nptl.
36864         * manual/debug.texi (Debugging Support): Add link to Threads
36865         chapter.
36866         * manual/nptl.texi: New file.
36868         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36870 2013-03-14  Petr Baudis  <pasky@ucw.cz>
36872         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36873         for non-NULL pointer before the memory validity test. Pointed
36874         out by Holger Brunck <holger.brunck@keymile.com>.
36876 2013-03-13  Andreas Schwab  <schwab@suse.de>
36878         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36879         instead of .os.
36881 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
36883         * timezone/zic.c: Update from tzcode 2013b.
36885 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
36887         * manual/install.texi (Configuring and compiling):
36888         Mention i686 and i586.
36889         * INSTALL: Regenerate.
36891 2013-03-12  Roland McGrath  <roland@hack.frob.com>
36893         * sysdeps/init_array/elf-init.c: New file.
36894         * csu/elf-init.c
36895         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36896         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36898         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36899         __gmon_start__ as global, but as static with a .preinit_array pointer.
36900         * sysdeps/init_array/gmon-start.c: New file.  Use that.
36901         * sysdeps/init_array/crti.S: New file, empty except for comments.
36902         * sysdeps/init_array/crtn.S: Likewise.
36904 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
36906         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36907         definining bcopy.
36908         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36909         Remove Prefer_SSE_for_memop.
36910         * sysdeps/x86_64/multiarch/init-arch.h: Remove
36911         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36912         HAS_PREFER_SSE_FOR_MEMOP.
36913         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36914         memset-x86-64.
36915         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36916         Remove bzero, memset ifunc support.
36917         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36918         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36919         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36920         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36922 2013-03-11  Andreas Schwab  <schwab@suse.de>
36924         [BZ #15234]
36925         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36926         by SHLIB_COMPAT.
36927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36928         (GLIBC_2.16): Remove pthread_atfork.
36930 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36932         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36933         (ptestcases.h): Likewise.
36935 2013-03-08  Roland McGrath  <roland@hack.frob.com>
36937         * Makeconfig ($(common-objpfx)config.status): Depend on
36938         sysdeps/*/preconfigure{,.in} too.
36940 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
36942         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36943         (__free_hook): Use void * instead of __malloc_ptr_t.
36944         (__malloc_hook): Likewise.
36945         (__realloc_hook): Likewise.
36946         (__memalign_hook): Likewise.
36947         (__after_morecore_hook): Likewise.
36948         * malloc/arena.c (save_malloc_hook): Likewise.
36949         (save_free_hook): Likewise.
36950         * malloc/hooks.c (malloc_hook_ini): Likewise.
36951         (realloc_hook_ini): Likewise.
36952         (memalign_hook_ini): Likewise.
36953         * malloc/malloc.c (malloc_hook_ini): Likewise.
36954         (realloc_hook_ini): Likewise.
36955         (memalign_hook_ini): Likewise.
36956         (__free_hook): Likewise.
36957         (__malloc_hook): Likewise.
36958         (__realloc_hook): Likewise.
36959         (__memalign_hook): Likewise.
36960         (__libc_malloc): Likewise.
36961         (__libc_free): Likewise.
36962         (__libc_realloc): Likewise.
36963         (__libc_memalign): Likewise.
36964         (__libc_valloc): Likewise.
36965         (__libc_pvalloc): Likewise.
36966         (__libc_calloc): Likewise.
36967         (__posix_memalign): Likewise.
36968         * malloc/morecore.c (__sbrk): Likewise.
36969         (__default_morecore): Likewise.
36971         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36973         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36974         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36975         __malloc_ptrdiff_t.
36977         * malloc/malloc.h (__malloc_size_t): Remove macro.
36978         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36979         __malloc_size_t.
36980         (old_memalign_hook): Likewise.
36981         (old_realloc_hook): Likewise.
36982         (struct hdr): Likewise.
36983         (flood): Likewise.
36984         (mallochook): Likewise.
36985         (memalignhook): Likewise.
36986         (reallochook): Likewise.
36987         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
36988         (tr_old_realloc_hook): Likewise.
36989         (tr_old_memalign_hook): Likewise.
36990         (tr_mallochook): Likewise.
36991         (tr_reallochook): Likewise.
36992         (tr_memalignhook): Likewise.
36994 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36996         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
36997         default_ldbl_pack and using as default implementation.
36998         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
36999         implementation.
37000         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37001         redundant definition.
37002         (ldbl_insert_mantissa): Likewise.
37003         (ldbl_canonicalize): Likewise.
37004         (ldbl_nearbyint): Likewise.
37005         (ldbl_pack): Rename to ldbl_pack_ppc.
37006         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37007         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37008         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37010 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37012         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37013         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37014         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37015         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37016         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37017         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37018         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37019         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37021 2013-03-07  Andreas Jaeger  <aj@suse.de>
37023         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37024         bits/mman-linux.h.
37026 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37028         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37029         Include mpa.h and declare __MPEXP.
37030         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37031         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37032         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37033         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37034         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37035         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37036         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37038         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37039         (__slowpow): Use long double EXPL and LOGL functions to
37040         compute POW.
37041         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37042         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37043         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37044         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37045         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37046         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37048         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37049         intermediate variable to calculate exponent.
37050         (__sqr): Likewise.
37051         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37052         Likewise.
37053         (__sqr): Likewise.
37055         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37056         [!NO__SQR]: Define __sqr.
37057         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37058         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37059         sysdeps/ieee754/dbl-64/mpa.c.
37060         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37062         [BZ #12723]
37063         * posix/Makefile (tests): Add tst-pathconf.
37064         * posix/tst-pathconf.c: New test case.
37065         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37066         _PC_PIPE_BUF.
37067         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37069 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37071         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37073 2013-03-06  Andreas Jaeger  <aj@suse.de>
37075         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37076         definition via __MAP_ANONYMOUS.
37078         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37079         it's not part of Linux headers.
37081         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37082         (MAP_HUGE_MASK): Define.
37084         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37085         Define.
37086         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37087         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37088         Define.
37089         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37090         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37091         Define.
37092         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37093         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37094         Define.
37095         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37097         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37098         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37099         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37100         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37101         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37102         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37104         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37105         Handle f2fs.
37107         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37108         Handle f2fs and efivarfs.
37110         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37111         f2fs.
37113         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37114         (EFIVARFS_MAGIC): Add.
37115         (F2FS_LINK_MAX): Add.
37117 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37119         * stdio-common/vfprintf.c: Replace __builtin_expect with
37120         __glibc_unlikely.
37122 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37124         [BZ #13550]
37125         * sysdeps/generic/bp-sym.h: Remove file.
37126         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37127         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37128         <bp-sym.h> and <bp-asm.h>.
37129         (__longjmp): Don't use BP_SYM.
37130         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37131         and <bp-asm.h>.
37132         (memcpy): Don't use BP_SYM.
37133         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37134         <bp-sym.h> and <bp-asm.h>.
37135         (memcpy): Don't use BP_SYM.
37136         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37137         <bp-asm.h>.
37138         (memcpy): Don't use BP_SYM.
37139         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37140         <bp-asm.h>.
37141         (memset): Don't use BP_SYM.
37142         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37143         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37144         (__bzero): Don't use BP_SYM.
37145         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37146         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37147         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37148         <bp-sym.h> and <bp-asm.h>.
37149         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37150         pointers.
37151         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37152         <bp-sym.h> and <bp-asm.h>.
37153         (memcpy): Don't use BP_SYM.
37154         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37155         <bp-sym.h> and <bp-asm.h>.
37156         (memset): Don't use BP_SYM.
37157         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37158         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37159         (__bzero): Don't use BP_SYM.
37160         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37161         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37162         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37163         <bp-sym.h> and <bp-asm.h>.
37164         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37165         pointers.
37166         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37167         <bp-sym.h> and <bp-asm.h>.
37168         (memcpy): Don't use BP_SYM.
37169         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37170         <bp-sym.h> and <bp-asm.h>.
37171         (memset): Don't use BP_SYM.
37172         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37173         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37174         (__bzero): Don't use BP_SYM.
37175         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37176         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37177         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37178         <bp-sym.h> and <bp-asm.h>.
37179         (__memchr): Don't use BP_SYM.
37180         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37181         <bp-sym.h> and <bp-asm.h>.
37182         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37183         pointers.
37184         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37185         <bp-sym.h> and <bp-asm.h>.
37186         (memcpy): Don't use BP_SYM.
37187         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37188         <bp-sym.h> and <bp-asm.h>.
37189         (__mempcpy): Don't use BP_SYM.
37190         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37191         <bp-sym.h> and <bp-asm.h>.
37192         (__memrchr): Don't use BP_SYM.
37193         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37194         <bp-sym.h> and <bp-asm.h>.
37195         (memset): Don't use BP_SYM.
37196         (__bzero): Likewise.
37197         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37198         <bp-sym.h> and <bp-asm.h>.
37199         (__rawmemchr): Don't use BP_SYM.
37200         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37201         <bp-sym.h> and <bp-asm.h>.
37202         (__STRCMP): Don't use BP_SYM.
37203         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37204         <bp-sym.h> and <bp-asm.h>.
37205         (strchr): Don't use BP_SYM.
37206         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37207         <bp-sym.h> and <bp-asm.h>.
37208         (__strchrnul): Don't use BP_SYM.
37209         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37210         <bp-sym.h> and <bp-asm.h>.
37211         (strlen): Don't use BP_SYM.
37212         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37213         <bp-sym.h> and <bp-asm.h>.
37214         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37215         pointers.
37216         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37217         <bp-sym.h> and <bp-asm.h>.
37218         (__strnlen): Don't use BP_SYM.
37219         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37220         <bp-sym.h> and <bp-asm.h>.
37221         (__GI__setjmp): Don't use BP_SYM.
37222         (_setjmp): Likewise.
37223         (__sigsetjmp): Likewise.
37224         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37225         (L(start_addresses)): Don't use BP_SYM.
37226         (_start): Likewise.
37227         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37228         <bp-asm.h>.
37229         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37230         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37231         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37232         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37233         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37234         <bp-asm.h>.
37235         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37236         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37237         about bounded pointers.
37238         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37239         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37240         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37241         <bp-asm.h>.
37242         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37243         about bounded pointers.  Remove GKM FIXME comments.
37244         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37245         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37246         <bp-asm.h>.
37247         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37248         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37249         Remove GKM FIXME comments.
37250         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37251         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37252         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37253         <bp-asm.h>.
37254         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37255         about bounded pointers.  Remove GKM FIXME comment.
37256         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37257         and <bp-asm.h>.
37258         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37259         pointers.
37260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37261         <bp-sym.h> and <bp-asm.h>.
37262         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37264         <bp-sym.h> and <bp-asm.h>.
37265         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37266         comment.
37268 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37270         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37271         call free(NULL).
37273 2013-03-05  David S. Miller  <davem@davemloft.net>
37275         * po/es.po: Update from translation team.
37277 2013-03-05  Andreas Jaeger  <aj@suse.de>
37279         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37280         <bits/mman-linux.h>.
37281         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37282         is fine.
37283         * sysdeps/unix/sysv/linux/sh/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/x86/bits/mman.h: Move include of
37288         <bits/mman-linux.h> to end of file.
37289         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37290         is fine.
37291         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37292         <bits/mman-linux.h> to end of file.
37294         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37295         (MCL_CURRENT, MCL_FUTURE): Define here.
37297 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37299         [BZ #15232]
37300         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37301         attribute_hidden.
37302         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37304 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37306         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37307         fourth parameter needed for rt_sigprocmask syscall.
37308         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37309         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37310         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37311         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37312         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37313         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37315 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37317         [BZ #13550]
37318         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37319         comment about bounded pointers.
37320         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37321         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37323 2013-03-04  Andreas Jaeger  <aj@suse.de>
37325         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37326         common definitions.
37328         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37329         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37330         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37331         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37332         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37333         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37335 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37337         [BZ #15055]
37338         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37339         __ieee754_sqrl instead of __sqrl.
37341 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37343         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37344         * sysdeps/powerpc/fpu_control.h: ... here.
37345         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37346         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37347         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37348         * sysdeps/powerpc/bits/mathinline.h: ... here.
37350 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37352         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37353         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37354         to just [NEED_DL_SYSINFO_DSO].
37355         * elf/dl-support.c: Likewise.
37356         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37357         * elf/rtld.c (dl_main): Likewise.
37358         * elf/setup-vdso.h (setup_vdso): Likewise.
37359         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37360         * sysdeps/unix/sysv/linux/dl-sysdep.c
37361         (_dl_discover_osversion): Likewise.
37363 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37365         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37366         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37368 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37370         * NEWS: Mention libm performance improvements and non-x86 PI
37371         futex support.
37373         * csu/libc-start.c (__pthread_initialize_minimal): Change
37374         function arguments.
37375         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37377 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37379         [BZ #13550]
37380         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37381         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37382         <bp-sym.h> and <bp-asm.h>.
37383         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37384         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37385         and <bp-asm.h>.
37386         (memcpy): Don't use BP_SYM.
37387         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37388         <bp-asm.h>.
37389         (__mpn_add_n): Don't use BP_SYM.
37390         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37391         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37392         and <bp-asm.h>.
37393         (__mpn_addmul_1): Don't use BP_SYM.
37394         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37395         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37396         <bp-sym.h>.
37397         (_setjmp): Don't use BP_SYM.
37398         (__novmx_setjmp): Likewise.
37399         (__GI__setjmp): Likewise.
37400         (__vmx_setjmp): Likewise.
37401         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37402         <bp-sym.h>.
37403         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37404         (__bzero): Don't use BP_SYM.
37405         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37406         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37407         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37408         <bp-sym.h> and <bp-asm.h>.
37409         (memcpy): Don't use BP_SYM.
37410         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37411         <bp-sym.h> and <bp-asm.h>.
37412         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37413         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37414         <bp-sym.h> and <bp-asm.h>.
37415         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37416         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37417         <bp-asm.h>.
37418         (__mpn_lshift): Don't use BP_SYM.
37419         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37420         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37421         <bp-asm.h>.
37422         (memset): Don't use BP_SYM.
37423         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37424         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37425         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37426         <bp-asm.h>.
37427         (__mpn_mul_1): Don't use BP_SYM.
37428         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37429         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37430         <bp-sym.h> and <bp-asm.h>.
37431         (memcmp): Don't use BP_SYM.
37432         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37433         <bp-sym.h> and <bp-asm.h>.
37434         (memcpy): Don't use BP_SYM.
37435         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37436         <bp-sym.h> and <bp-asm.h>.
37437         (memset): Don't use BP_SYM.
37438         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37439         <bp-sym.h> and <bp-asm.h>.
37440         (strncmp): Don't use BP_SYM.
37441         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37442         <bp-sym.h> and <bp-asm.h>.
37443         (memcpy): Don't use BP_SYM.
37444         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37445         <bp-sym.h> and <bp-asm.h>.
37446         (memset): Don't use BP_SYM.
37447         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37448         <bp-sym.h> and <bp-asm.h>.
37449         (__memchr): Don't use BP_SYM.
37450         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37451         <bp-sym.h> and <bp-asm.h>.
37452         (memcmp): Don't use BP_SYM.
37453         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37454         <bp-sym.h> and <bp-asm.h>.
37455         (memcpy): Don't use BP_SYM.
37456         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37457         <bp-sym.h> and <bp-asm.h>.
37458         (__mempcpy): Don't use BP_SYM.
37459         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37460         <bp-sym.h> and <bp-asm.h>.
37461         (__memrchr): Don't use BP_SYM.
37462         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37463         <bp-sym.h> and <bp-asm.h>.
37464         (memset): Don't use BP_SYM.
37465         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37466         <bp-sym.h> and <bp-asm.h>.
37467         (__rawmemchr): Don't use BP_SYM.
37468         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37469         <bp-sym.h> and <bp-asm.h>.
37470         (__STRCMP): Don't use BP_SYM.
37471         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37472         <bp-sym.h> and <bp-asm.h>.
37473         (strchr): Don't use BP_SYM.
37474         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37475         <bp-sym.h> and <bp-asm.h>.
37476         (__strchrnul): Don't use BP_SYM.
37477         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37478         <bp-sym.h> and <bp-asm.h>.
37479         (strlen): Don't use BP_SYM.
37480         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37481         <bp-sym.h> and <bp-asm.h>.
37482         (strncmp): Don't use BP_SYM.
37483         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37484         <bp-sym.h> and <bp-asm.h>.
37485         (__strnlen): Don't use BP_SYM.
37486         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37487         <bp-asm.h>.
37488         (__mpn_rshift): Don't use BP_SYM.
37489         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37490         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37491         <bp-sym.h> and <bp-asm.h>.
37492         (__sigsetjmp): Don't use BP_SYM.
37493         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37494         (L(start_addresses)): Don't use BP_SYM.
37495         (_start): Likewise.
37496         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37497         <bp-asm.h>.
37498         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37499         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37500         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37501         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37502         <bp-asm.h>.
37503         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37504         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37505         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37506         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37507         <bp-asm.h>.
37508         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37509         comments.
37510         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37511         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37512         <bp-asm.h>.
37513         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
37514         FIXME comments.
37515         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37516         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37517         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37518         <bp-asm.h>.
37519         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37520         comment.
37521         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37522         and <bp-asm.h>.
37523         (strncmp): Don't use BP_SYM,
37524         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37525         <bp-asm.h>.
37526         (__mpn_sub_n): Don't use BP_SYM.
37527         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37528         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37529         and <bp-asm.h>.
37530         (__mpn_submul_1): Don't use BP_SYM.
37531         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37533         <bp-sym.h> and <bp-asm.h>.
37534         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37536         <bp-sym.h> and <bp-asm.h>.
37537         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37538         comment.
37540 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37542         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37543         Use ZK to minimize writes to Z.
37544         (sub_magnitudes): Simplify code a bit.
37545         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37546         Use ZK to minimize writes to Z.
37547         (sub_magnitudes): Simplify code a bit.
37549 2013-02-27  Roland McGrath  <roland@hack.frob.com>
37551         * csu/gmon-start.c: Add special exception to license text.
37553 2013-02-27  Richard Henderson  <rth@redhat.com>
37555         * scripts/config.guess: Update from config.git.
37556         * scripts/config.sub: Likewise.
37558 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37560         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37562         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37564         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37566         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37568         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37570 2013-02-26  Roland McGrath  <roland@hack.frob.com>
37572         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37573         [$(build-shared = yes].
37575 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37577         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37578         (__mul): Reduce iterations for calculating mantissa.
37580         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37581         MPTWO.
37582         (__mpranred): Likewise.
37584         [BZ #15160]
37585         * malloc/memusagestat.c (main): Draw graphs for heap and stack
37586         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37588 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
37590         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37591         Define __attribute__.
37593 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37595         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37596         unused.
37597         * posix/regex_internal.h (__attribute): Remove.
37598         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37599         (re_string_context_at): Likewise.
37600         (bitset_not): Use __attribute__ and mark function as possibly
37601         unused.
37602         (bitset_merge): Likewise.
37603         (bitset_mask): Likewise.
37604         (re_string_char_size_at): Likewise.
37605         (re_string_wchar_at): Likewise.
37606         (re_string_elem_size_at): Likewise.
37608 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37610         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37611         code.
37612         (cc32): Likewise.
37614         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
37615         (__acr): Likewise.
37616         (__cpy): Likewise.
37617         (norm): Likewise.
37618         (denorm): Likewise.
37619         (__dbl_mp): Likewise.
37620         (add_magnitudes): Likewise.
37621         (sub_magnitudes): Likewise.
37622         (__mul): Likewise.
37623         (__inv): Likewise.
37625         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
37626         style.
37628         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
37629         style.
37631         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
37632         code.
37634         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
37635         up changes with default code.
37636         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
37637         Likewise.
37639 2013-02-24  Allan McRae  <allan@archlinux.org>
37641         * manual/socket.texi (The Internet Namespace): Order menu items
37642         to match that in the file.
37644         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
37645         node listing of the info page menu.
37647 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
37649         [BZ #13550]
37650         * sysdeps/i386/bp-asm.h: Remove file.
37651         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37652         (PARMS): Do not use macros from bp-asm.h.
37653         (S1): Likewise.
37654         (S2): Likewise.
37655         (SIZE): Likewise.
37656         (__mpn_add_n): Do not use BP_SYM
37657         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
37658         "bp-asm.h".
37659         (PARMS): Do not use macros from bp-asm.h.
37660         (S1): Likewise.
37661         (SIZE): Likewise.
37662         (__mpn_addmul_1): Do not use BP_SYM
37663         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
37664         "bp-asm.h".
37665         (PARMS): Do not use macros from bp-asm.h.
37666         (SIGMSK): Likewise.
37667         (_setjmp): Likewise.  Do not use BP_SYM.
37668         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37669         "bp-asm.h".
37670         (PARMS): Do not use macros from bp-asm.h.
37671         (SIGMSK): Likewise.
37672         (setjmp): Likewise.  Do not use BP_SYM.
37673         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37674         "bp-asm.h".
37675         (PARMS): Do not use macros from bp-asm.h.
37676         (__frexp): Do not use BP_SYM.
37677         (frexp): Likewise.
37678         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37679         "bp-asm.h".
37680         (PARMS): Do not use macros from bp-asm.h.
37681         (__frexpf): Do not use BP_SYM.
37682         (frexpf): Likewise.
37683         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37684         "bp-asm.h".
37685         (PARMS): Do not use macros from bp-asm.h.
37686         (__frexpl): Do not use BP_SYM.
37687         (frexpl): Likewise.
37688         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37689         "bp-asm.h".
37690         (PARMS): Do not use macros from bp-asm.h.
37691         (__remquo): Do not use BP_SYM.
37692         (remquo): Likewise.
37693         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37694         "bp-asm.h".
37695         (PARMS): Do not use macros from bp-asm.h.
37696         (__remquof): Do not use BP_SYM.
37697         (remquof): Likewise.
37698         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37699         "bp-asm.h".
37700         (PARMS): Do not use macros from bp-asm.h.
37701         (__remquol): Do not use BP_SYM.
37702         (remquol): Likewise.
37703         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37704         "bp-asm.h".
37705         (PARMS): Do not use macros from bp-asm.h.
37706         (DEST): Likewise.
37707         (SRC): Likewise.
37708         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
37709         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37710         "bp-asm.h".
37711         (PARMS): Do not use macros from bp-asm.h.
37712         (strlen): Do not use BP_SYM.
37713         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37714         "bp-asm.h".
37715         (PARMS): Do not use macros from bp-asm.h.
37716         (S1): Likewise.
37717         (S2): Likewise.
37718         (SIZE): Likewise.
37719         (__mpn_add_n): Do not use BP_SYM.
37720         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37721         "bp-asm.h".
37722         (PARMS): Do not use macros from bp-asm.h.
37723         (S1): Likewise.
37724         (SIZE): Likewise.
37725         (__mpn_addmul_1): Do not use BP_SYM.
37726         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37727         weak_alias.
37728         (bzero): Likewise.
37729         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37730         "bp-asm.h".
37731         (PARMS): Do not use macros from bp-asm.h.
37732         (S): Likewise.
37733         (SIZE): Likewise.
37734         (__mpn_lshift): Do not use BP_SYM.
37735         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37736         "bp-asm.h".
37737         (PARMS): Do not use macros from bp-asm.h.
37738         (DEST): Likewise.
37739         (SRC): Likewise.
37740         (LEN): Likewise.
37741         (memcpy): Likewise.  Do not use BP_SYM.
37742         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37743         libc_hidden_def and weak_alias.
37744         (mempcpy): Do not use BP_SYM in weak_alias.
37745         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37746         "bp-asm.h".
37747         (PARMS): Do not use macros from bp-asm.h.
37748         (DEST): Likewise.
37749         (LEN): Likewise.
37750         [!BZERO_P] (CHR): Likewise.
37751         (memset): Likewise.  Do not use BP_SYM.
37752         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37753         "bp-asm.h".
37754         (PARMS): Do not use macros from bp-asm.h.
37755         (S1): Likewise.
37756         (SIZE): Likewise.
37757         (__mpn_mul_1): Do not use BP_SYM.
37758         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37759         "bp-asm.h".
37760         (PARMS): Do not use macros from bp-asm.h.
37761         (S): Likewise.
37762         (SIZE): Likewise.
37763         (__mpn_rshift): Do not use BP_SYM.
37764         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37765         "bp-asm.h".
37766         (PARMS): Do not use macros from bp-asm.h.
37767         (STR): Likewise.
37768         (CHR): Likewise.
37769         (strchr): Likewise.  Do not use BP_SYM.
37770         (index): Do not use BP_SYM in weak_alias.
37771         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37772         "bp-asm.h".
37773         (PARMS): Do not use macros from bp-asm.h.
37774         (DEST): Likewise.
37775         (SRC): Likewise.
37776         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
37777         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37778         "bp-asm.h".
37779         (PARMS): Do not use macros from bp-asm.h.
37780         (strlen): Do not use BP_SYM.
37781         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37782         "bp-asm.h".
37783         (PARMS): Do not use macros from bp-asm.h.
37784         (S1): Likewise.
37785         (S2): Likewise.
37786         (SIZE): Likewise.
37787         (__mpn_sub_n): Do not use BP_SYM.
37788         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37789         "bp-asm.h".
37790         (PARMS): Do not use macros from bp-asm.h.
37791         (S1): Likewise.
37792         (SIZE): Likewise.
37793         (__mpn_submul_1): Do not use BP_SYM.
37794         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37795         "bp-asm.h".
37796         (PARMS): Do not use macros from bp-asm.h.
37797         (S1): Likewise.
37798         (S2): Likewise.
37799         (SIZE): Likewise.
37800         (__mpn_add_n): Do not use BP_SYM.
37801         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37802         weak_alias.
37803         (bzero): Likewise.
37804         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37805         "bp-asm.h".
37806         (PARMS): Do not use macros from bp-asm.h.
37807         (BLK2): Likewise.
37808         (LEN): Likewise.
37809         (memcmp): Do not use BP_SYM.
37810         (bcmp): Do not use BP_SYM in weak_alias.
37811         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37812         "bp-asm.h".
37813         (PARMS): Do not use macros from bp-asm.h.
37814         (DEST): Likewise.
37815         (SRC): Likewise.
37816         (LEN): Likewise.
37817         (memcpy): Likewise.  Do not use BP_SYM.
37818         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37819         "bp-asm.h".
37820         (PARMS): Do not use macros from bp-asm.h.
37821         (DEST): Likewise.
37822         (SRC): Likewise.
37823         (LEN): Likewise.
37824         (memmove): Likewise.  Do not use BP_SYM.
37825         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37826         "bp-asm.h".
37827         (PARMS): Do not use macros from bp-asm.h.
37828         (DEST): Likewise.
37829         (SRC): Likewise.
37830         (LEN): Likewise.
37831         (__mempcpy): Likewise.  Do not use BP_SYM.
37832         (mempcpy): Do not use BP_SYM in weak_alias.
37833         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37834         "bp-asm.h".
37835         (PARMS): Do not use macros from bp-asm.h.
37836         (DEST): Likewise.
37837         (LEN): Likewise.
37838         [!BZERO_P] (CHR): Likewise.
37839         (memset): Likewise.  Do not use BP_SYM.
37840         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37841         "bp-asm.h".
37842         (PARMS): Do not use macros from bp-asm.h.
37843         (STR2): Likewise.
37844         (strcmp): Do not use BP_SYM.
37845         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37846         "bp-asm.h".
37847         (PARMS): Do not use macros from bp-asm.h.
37848         (STR): Likewise.
37849         (DELIM): Likewise.
37850         [USE_AS_STRTOK_R] (SAVE): Likewise.
37851         (FUNCTION): Likewise.  Do not use BP_SYM.
37852         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37853         aliases.
37854         (strtok_r): Likewise.
37855         (__GI___strtok_r): Likewise.
37856         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37857         (PARMS): Do not use macros from bp-asm.h.
37858         (S): Likewise.
37859         (SIZE): Likewise.
37860         (__mpn_lshift): Do not use BP_SYM.
37861         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37862         (PARMS): Do not use macros from bp-asm.h.
37863         (STR): Likewise.
37864         (CHR): Likewise.
37865         (__memchr): Do not use BP_SYM.
37866         (memchr): Do not use BP_SYM in weak_alias.
37867         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37868         (PARMS): Do not use macros from bp-asm.h.
37869         (BLK2): Likewise.
37870         (LEN): Likewise.
37871         (memcmp): Do not use BP_SYM.
37872         (bcmp): Do not use BP_SYM in weak_alias.
37873         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37874         (PARMS): Do not use macros from bp-asm.h.
37875         (S1): Likewise.
37876         (SIZE): Likewise.
37877         (__mpn_mul_1): Do not use BP_SYM.
37878         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37879         "bp-asm.h".
37880         (PARMS): Do not use macros from bp-asm.h.
37881         (STR): Likewise.
37882         (CHR): Likewise.
37883         (__rawmemchr): Do not use BP_SYM.
37884         (rawmemchr): Do not use BP_SYM in weak_alias.
37885         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37886         (PARMS): Do not use macros from bp-asm.h.
37887         (S): Likewise.
37888         (SIZE): Likewise.
37889         (__mpn_rshift): Do not use BP_SYM.
37890         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37891         (PARMS): Do not use macros from bp-asm.h.
37892         (SIGMSK): Likewise.
37893         (__sigsetjmp): Likewise.  Do not use BP_SYM.
37894         * sysdeps/i386/start.S: Do not include "bp-sym.h".
37895         (_start): Do not use BP_SYM.
37896         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37897         (PARMS): Do not use macros from bp-asm.h.
37898         (DEST): Likewise.
37899         (SRC): Likewise.
37900         (__stpcpy): Likewise.  Do not use BP_SYM.
37901         (stpcpy): Do not use BP_SYM in weak_alias.
37902         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37903         "bp-asm.h".
37904         (PARMS): Do not use macros from bp-asm.h.
37905         (DEST): Likewise.
37906         (SRC): Likewise.
37907         (LEN): Likewise.
37908         (__stpncpy): Likewise.  Do not use BP_SYM.
37909         (stpncpy): Do not use BP_SYM in weak_alias.
37910         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37911         (PARMS): Do not use macros from bp-asm.h.
37912         (STR): Likewise.
37913         (CHR): Likewise.
37914         (strchr): Likewise.  Do not use BP_SYM.
37915         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37916         "bp-asm.h".
37917         (PARMS): Do not use macros from bp-asm.h.
37918         (STR): Likewise.
37919         (CHR): Likewise.
37920         (__strchrnul): Likewise.  Do not use BP_SYM.
37921         (strchrnul): Do not use BP_SYM in weak_alias.
37922         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37923         "bp-asm.h".
37924         (PARMS): Do not use macros from bp-asm.h.
37925         (STOP): Likewise.
37926         (strcspn): Do not use BP_SYM.
37927         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37928         "bp-asm.h".
37929         (PARMS): Do not use macros from bp-asm.h.
37930         (STR): Likewise.
37931         (STOP): Likewise.
37932         (strpbrk): Likewise.  Do not use BP_SYM.
37933         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37934         "bp-asm.h".
37935         (PARMS): Do not use macros from bp-asm.h.
37936         (STR): Likewise.
37937         (CHR): Likewise.
37938         (strrchr): Likewise.  Do not use BP_SYM.
37939         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37940         (PARMS): Do not use macros from bp-asm.h.
37941         (SKIP): Likewise.
37942         (strspn): Do not use BP_SYM.
37943         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37944         (PARMS): Do not use macros from bp-asm.h.
37945         (STR): Likewise.
37946         (DELIM): Likewise.
37947         (SAVE): Likewise.
37948         (FUNCTION): Likewise.  Do not use BP_SYM.
37949         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37950         aliases.
37951         (strtok_r): Likewise.
37952         (__GI___strtok_r): Likewise.
37953         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37954         (PARMS): Do not use macros from bp-asm.h.
37955         (S1): Likewise.
37956         (S2): Likewise.
37957         (SIZE): Likewise.
37958         (__mpn_sub_n): Do not use BP_SYM.
37959         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37960         "bp-asm.h".
37961         (PARMS): Do not use macros from bp-asm.h.
37962         (S1): Likewise.
37963         (SIZE): Likewise.
37964         (__mpn_submul_1): Do not use BP_SYM.
37965         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37966         <bp-sym.h>.
37967         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37968         and <bp-asm.h>.
37969         (PARMS): Do not use macros from bp-asm.h.
37970         (FLAGS): Likewise.
37971         (PTID): Likewise.
37972         (TLS): Likewise.
37973         (CTID): Likewise.
37974         (__clone): Do not use BP_SYM.
37975         (clone): Do not use BP_SYM in weak_alias.
37976         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37977         and <bp-asm.h>.
37978         (PARMS): Do not use macros from bp-asm.h.
37979         (LEN): Likewise.
37980         (__mmap64): Do not use BP_SYM.
37981         (mmap64): Do not use BP_SYM in weak_alias.
37982         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37983         <bp-sym.h> and <bp-asm.h>.
37984         (PARMS): Do not use macros from bp-asm.h.
37985         (__posix_fadvise64_l64): Do not use BP_SYM.
37986         * sysdeps/unix/sysv/linux/i386/semtimedop.S
37987         (PARMS): Do not use macros from bp-asm.h.
37988         (NSOPS): Likewise.
37989         (semtimedop): Do not use BP_SYM.
37990         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
37991         and <bp-asm.h>.
37993 2013-02-21  Allan McRae  <allan@archlinux.org>
37995         * manual/message.texi (Charset conversion in gettext):
37996         Move @end statement to beginning of line.
37998 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38000         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38001         static.
38002         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38003         Likewise.
38005         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38006         (denorm): Likewise.
38007         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38008         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38010 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38012         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38013         tail-call to the resolved function if pltexit isn't needed.
38015 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38017         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38018         or Y being zero as being unlikely.
38019         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38020         Likewise.
38022 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38024         * manual/nss.texi (System Databases and Name Service Switch):
38025         Remove frobnicate @pxref.
38027 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38029         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38030         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38032 2013-02-20  Petr Machata  <pmachata@redhat.com>
38034         * elf/elf.h (R_ARM_TARGET1): New macro.
38035         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38036         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38037         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38038         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38039         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38040         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38041         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38042         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38043         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38044         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38045         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38046         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38047         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38048         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38049         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38050         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38051         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38052         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38053         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38054         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38055         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38056         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38057         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38058         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38059         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38060         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38061         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38062         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38063         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38064         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38065         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38066         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38067         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38068         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38069         (R_ARM_THM_GOT_BREL12): Likewise.
38070         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38071         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38072         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38073         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38074         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38075         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38076         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38077         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38078         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38080 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38082         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38083         __attribute_used__ to __attribute__ ((unused)).
38085 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38087         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38088         powerpc mpa.c.
38089         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38090         comment formatting.
38091         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38093 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38095         [BZ #13550]
38096         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38097         Remove macro.
38098         (ENTER): Remove both macro definitions.
38099         (LEAVE): Likewise.
38100         (CHECK_BOUNDS_LOW): Likewise.
38101         (CHECK_BOUNDS_HIGH): Likewise.
38102         (CHECK_BOUNDS_BOTH): Likewise.
38103         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38104         (RETURN_BOUNDED_POINTER): Likewise.
38105         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38106         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38107         (POP_ERRNO_LOCATION_RETURN): Likewise.
38108         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38109         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38110         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38111         macros.
38112         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38113         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38114         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38115         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38116         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38117         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38118         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38119         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38120         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38121         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38122         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38123         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38124         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38125         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38126         removed macros.
38127         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38128         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38129         macros.
38130         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38131         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38132         * sysdeps/i386/i586/memset.S (memset): Likewise.
38133         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38134         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38135         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38136         macros.
38137         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38138         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38139         Change uses of L(2) to L(out).
38140         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38141         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38142         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38143         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38144         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38145         removed macros.
38146         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38147         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38148         macros.
38149         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38150         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38151         (RETURN): Do not use macro LEAVE.
38152         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38153         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38154         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38155         * sysdeps/i386/i686/memset.S (memset): Likewise.
38156         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38157         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38158         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38159         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38160         Likewise.
38161         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38162         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38163         L(1_2) and L(1_3) into L(1).
38164         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38165         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38166         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38167         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38168         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38169         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38170         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38171         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38172         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38173         macros.
38174         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38175         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38176         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38177         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38178         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38179         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38180         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38181         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38182         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38183         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38184         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38185         * sysdeps/i386/strspn.S (strspn): Likewise.
38186         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38187         conditional code.
38188         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38189         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38190         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38191         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38192         L(1_3) into L(1_1).
38193         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38194         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38195         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38196         macros.
38197         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38199 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38201         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38202         macro.
38204 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38206         * math/atest-exp.c (exp_mpn): Remove ROUND.
38207         * math/atest-exp2.c (exp_mpn): Likewise.
38208         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38210         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38211         * stdlib/tst-tls-atexit-lib.c: Likewise.
38212         * stdlib/tst-tls-atexit.c: Likewise.
38214 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38216         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38217         and __attribute_alloc_size__.
38219 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38221         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38222         __attribute_alloc_size__.
38223         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38224         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38226 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38228         * include/programs/xmalloc.h: New file.
38229         * catgets/gencat.c: Include it.
38230         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38231         * elf/pldd.c: Likewise.
38232         * iconv/iconv_charmap.c: Likewise.
38233         * iconv/iconvconfig.c: Likewise.
38234         * iconv/strtab.c: Likewise.
38235         * locale/programs/locale.c: Likewise.
38236         * locale/programs/localedef.h: Likewise.
38237         * locale/programs/simple-hash.c: Likewise.
38238         * nscd/nscd.h: Likewise.
38239         * nss/makedb.c: Likewise.
38240         * sysdeps/generic/ldconfig.h: Likewise.
38242 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38244         * Versions.def: Add GLIBC_2.18.
38245         * include/link.h (struct link_map): New member l_tls_dtor_count.
38246         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38247         (__call_tls_dtors): Likewise.
38248         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38249         __cxa_thread_atexit_impl.
38250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38251         Likewise.
38252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38253         Likewise.
38254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38255         Likewise.
38256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38257         Likewise.
38258         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38260         Likewise.
38261         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38262         Likewise.
38263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38264         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38265         Likewise.
38266         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38267         (tests): Add test case tst-tls-atexit.
38268         (modules-names): Add shared library for tst-tls-atexit.
38269         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38270         (GLIBC_PRIVATE): Add __call_tls_dtors.
38271         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38272         for libstdc++.
38273         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38274         * stdlib/tst-tls-atexit.c: New test case.
38275         * stdlib/tst-tls-atexit-lib.c: New test case.
38277         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38279         * elf/Versions (ld): Add _dl_find_dso_for_object.
38280         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38281         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38282         (dl_open_worker): Use _dl_find_dso_for_object.
38283         * elf/dl-sym.c (do_sym): Likewise.
38284         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38286 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38288         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38289         Syntactic changes only.
38290         (_dl_runtime_profile): Do a tail-call to the resolved function.
38292 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38294         [BZ #13550]
38295         * sysdeps/x86_64/bp-asm.h: Remove file.
38296         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38297         <bp-sym.h> and <bp-asm.h>.
38298         (__clone): Do not use BP_SYM.
38299         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38300         <bp-sym.h> and <bp-asm.h>.
38301         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38302         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38303         "bp-asm.h".
38304         (_setjmp): Do not use BP_SYM.
38305         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38306         "bp-asm.h".
38307         (setjmp): Do not use BP_SYM.
38308         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38309         libc_hidden_def.
38310         (mempcpy): Do not use BP_SYM in weak_alias.
38311         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38312         "bp-asm.h".
38313         (strchr): Do not use BP_SYM.
38314         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38315         "bp-asm.h".
38316         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38317         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38318         (_start): Do not use BP_SYM.
38319         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38320         "bp-asm.h".
38321         (strcat): Do not use BP_SYM.
38322         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38323         "bp-asm.h".
38324         (STRCMP): Do not use BP_SYM.
38325         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38326         "bp-asm.h".
38327         (STRCPY): Do not use BP_SYM.
38328         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38329         "bp-asm.h".
38330         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38331         "bp-asm.h".
38332         (FUNCTION): Do not use BP_SYM.
38333         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38334         weak_alias.
38335         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38337 2013-02-17  Andreas Jaeger  <aj@suse.de>
38339         * time/Versions: Sort entries.
38340         * string/Versions: Likewise.
38341         * resolv/Versions: Likewise.
38342         * posix/Versions: Likewise.
38343         * iconv/Versions: Likewise.
38344         * elf/Versions: Likewise.
38345         * wcsmbs/Versions: Likewise.
38347 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38349         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38350         loop termination condition.
38352         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38353         variable to calculate EZ.
38354         (__sqr): Likewise.
38356         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38357         the lower precision input.
38359 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38361         [BZ #13550]
38362         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38363         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38364         (run-via-rtld-prefix): Do not handle %-bp tests.
38365         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38366         (all-object-suffixes): Remove .ob.
38367         (bppfx): Remove variable.
38368         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38369         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38370         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38371         [$(build-bounded) = yes] (libtype.ob): Likewise.
38372         * Makerules (elide-routines.ob): Remove variable.
38373         (do-tests-clean): Do not handle *-bp.out.
38374         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38375         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38376         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38377         (tests): Do not include $(tests-bp.out).
38378         (xtests): Do not include $(xtests-bp.out).
38379         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38380         [$(build-bounded) = yes] ($(addprefix
38381         $(objpfx),$(binaries-bounded))): Remove rule.
38382         ($(objpfx)%-bp.out): Remove rule.
38383         * config.make.in (build-bounded): Remove variable.
38384         * crypt/Makefile [$(build-bounded) = yes]
38385         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38386         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38387         append to variable.
38388         [$(build-bounded) = yes] (install-lib): Likewise.
38389         [$(build-bounded) = yes] (generated): Likewise.
38390         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38391         Remove rule.
38392         * intl/Makefile [$(build-bounded) = yes]
38393         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38394         * math/Makefile [$(build-bounded) = yes]
38395         ($(tests:%=$(objpfx)%-bp): Likewise.
38396         * misc/Makefile [$(build-bounded) = yes]
38397         ($(objpfx)tst-tsearch-bp): Likewise.
38398         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38399         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38400         Remove dependency.
38401         * string/Makefile (o-objects.ob): Remove variable.
38402         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38403         (CFLAGS-.ob): Remove variable.
38404         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38405         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38406         both definitions of variable.
38407         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38408         (ASFLAGS-.ob): Remove variable.
38410 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38412         [BZ #13550]
38413         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38414         Remove __BOUNDED_POINTERS__ from condition.
38415         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38416         * string/bits/string2.h [!__NO_STRING_INLINES &&
38417         !__BOUNDED_POINTERS__]: Likewise.
38418         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38419         Likewise.
38420         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38421         Remove conditional code.
38422         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38423         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38424         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38425         condition.
38427         [BZ #13550]
38428         * csu/libc-start.c: Do not include <bp-sym.h>.
38429         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38430         * elf/dl-open.c: Do not include <bp-sym.h>.
38431         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38432         * math/fegetenv.c: Do not include <bp-sym.h>.
38433         (fegetenv): Do not use BP_SYM in versioned symbols.
38434         * nptl/sysdeps/pthread/bits/libc-lockP.h
38435         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38436         <bp-sym.h>.
38437         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38438         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38439         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38440         (__pthread_mutex_destroy): Likewise.
38441         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38442         (__pthread_mutex_lock): Likewise.
38443         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38444         (__pthread_mutex_trylock): Likewise.
38445         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38446         (__pthread_mutex_unlock): Likewise.
38447         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38448         (__pthread_mutexattr_init): Likewise.
38449         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38450         (__pthread_mutexattr_destroy): Likewise.
38451         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38452         (__pthread_mutexattr_settype): Likewise.
38453         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38454         (__pthread_rwlock_init): Likewise.
38455         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38456         (__pthread_rwlock_destroy): Likewise.
38457         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38458         (__pthread_rwlock_rdlock): Likewise.
38459         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38460         (__pthread_rwlock_tryrdlock): Likewise.
38461         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38462         (__pthread_rwlock_wrlock): Likewise.
38463         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38464         (__pthread_rwlock_trywrlock): Likewise.
38465         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38466         (__pthread_rwlock_unlock): Likewise.
38467         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38468         (__pthread_key_create): Likewise.
38469         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38470         (__pthread_setspecific): Likewise.
38471         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38472         (__pthread_getspecific): Likewise.
38473         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38474         Likewise.
38475         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38476         (_pthread_cleanup_push_defer): Likewise.
38477         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38478         (_pthread_cleanup_pop_restore): Likewise.
38479         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38480         (pthread_setcancelstate): Likewise.
38481         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38482         <bp-sym.h>.
38483         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38484         (memchr): Do not use BP_SYM in weak_alias.
38485         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38486         (fegetenv): Do not use BP_SYM in versioned symbols.
38487         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38488         (fesetenv): Do not use BP_SYM in versioned symbols.
38489         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38490         (feupdateenv): Do not use BP_SYM in versioned symbols.
38491         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38492         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38493         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38494         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38495         (open64): Do not use BP_SYM in weak_alias.
38496         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38497         (fegetenv): Do not use BP_SYM in versioned symbols.
38498         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38499         (fesetenv): Do not use BP_SYM in versioned symbols.
38500         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38501         (feupdateenv): Do not use BP_SYM in versioned symbols.
38502         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38503         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38504         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38505         (feraiseexcept): Do not use BP_SYM in versioned symbols.
38506         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38507         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38508         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38509         <bp-sym.h>.
38510         (__libc_start_main): Do not use BP_SYM.
38512 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38514         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38515         redundant return line.
38516         (norm): Likewise.
38517         (denorm): Likewise.
38518         (dbl_mp): Likewise.
38519         (sub_magnitudes): Likewise.
38520         (__add): Likewise.
38521         (__sub): Likewise.
38522         (__mul): Likewise.
38523         (__inv): Likewise.
38524         (__dvd): Likewise.
38525         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38526         (norm): Likewise.
38527         (denorm): Likewise.
38528         (dbl_mp): Likewise.
38529         (sub_magnitudes): Likewise.
38530         (__add): Likewise.
38531         (__sub): Likewise.
38532         (__mul): Likewise.
38533         (__inv): Likewise.
38534         (__dvd): Likewise.
38536         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38537         instead of __mul.
38538         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38539         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38540         (cc32): Likewise.
38542         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38543         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38544         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38545         of __mul for squares.
38546         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38547         function
38548         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38549         Likewise.
38550         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38551         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38553 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
38555         [BZ #13550]
38556         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38557         code.
38558         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38559         prototype or function definition.  Rename ubp_* variables and
38560         parameters.  Remove argv definitions conditional on
38561         [__BOUNDED_POINTERS__].
38562         * debug/backtrace.c (__backtrace): Do not use __unbounded.
38563         * elf/dl-runtime.c (_dl_fixup): Likewise.
38564         * include/set-hooks.h (RUN_HOOK): Likewise.
38565         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38566         definition.
38567         * string/strcpy.c (strcpy): Do not use __unbounded.
38568         * sysdeps/generic/frame.h (struct layout): Likewise.
38569         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38570         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38571         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38572         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38573         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38574         (__backtrace): Likewise.
38575         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38576         use __ptrvalue.
38577         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38578         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38579         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38580         Likewise.
38581         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38582         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38583         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38584         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38585         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38586         Do not use __unbounded.
38587         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38588         Rename __unboundedrlimits parameter to rlimits in prototype.
38589         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38590         Do not use __unbounded.
38591         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38592         not use __ptrvalue.
38593         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38594         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38595         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38596         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38597         __ptrvalue or __unbounded.
38598         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38599         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38600         use __unbounded.
38601         (__new_msgctl): Do not use __ptrvalue.
38602         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38603         __unbounded.
38604         (__libc_msgrcv): Do not use __ptrvalue.
38605         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38606         startup_info): Do not use __unbounded.
38607         (__libc_start_main): Likewise.  Rename ubp_* variables and
38608         parameters.  Remove argv definitions conditional on
38609         [__BOUNDED_POINTERS__].
38610         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
38611         __ptrvalue.
38612         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
38613         use __unbounded.
38614         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
38615         or __ptrvalue.
38616         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
38617         use __unbounded.
38618         (__new_shmctl): Do not use __ptrvalue.
38619         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
38620         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
38621         Likewise.
38622         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
38623         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
38624         (__libc_sigaction): Likewise.
38625         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
38626         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
38627         Likewise.
38628         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38630 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
38632         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
38634         * string/mempcpy.c: Implement by calling memcpy.
38636 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38638         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
38640         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
38641         evaluation.
38643         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
38644         values in the mantissa.
38646         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
38647         minimize writes to Z.
38648         (sub_magnitudes): Simplify code a bit.
38650 2013-02-12  Roland McGrath  <roland@hack.frob.com>
38652         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
38653         from the message.  The linker prefixes all warnings with that already.
38655 2013-02-12  Andreas Schwab  <schwab@suse.de>
38657         [BZ #15078]
38658         * posix/regexec.c (extend_buffers): Add parameter min_len.
38659         (check_matching): Pass minimum needed length.
38660         (clean_state_log_if_needed): Likewise.
38661         (get_subexp): Likewise.
38662         * posix/Makefile (tests): Add bug-regex34.
38663         (bug-regex34-ENV): Define.
38664         * posix/bug-regex34.c: New file.
38666         [BZ #11561]
38667         * posix/regcomp.c (parse_bracket_exp): When looking up collating
38668         elements compare against the byte sequence of it, not its name.
38669         * posix/Makefile (tests): Add bug-regex35.
38670         (bug-regex35-ENV): Define.
38671         * posix/bug-regex35.c: New file.
38673 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38675         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
38676         comment.
38677         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38678         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38679         (CHECK_EOL): Add undef.
38681 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
38683         * bits/stdlib-bsearch.h: New file.
38684         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
38685         * stdlib/stdlib.h: Likewise.
38687 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38689         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38690         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38691         declaration.
38692         * manual/search.texi (Array Search Function): Add missing const in
38693         lfind prototype.
38694         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38695         declaration to use rlim_t.
38696         (Basic Scheduling Functions): Remove erroneous const from
38697         sched_getparam prototype.  Remove erroneous * from
38698         sched_get_priority_max and sched_get_priority_min prototypes.
38699         (Resource Usage): Fix summary @comment on vtimes to refer to
38700         sys/vtimes.h rather than vtimes.h.
38701         Add missing *s in vtimes prototype.
38702         (Limits on Resources): Fix ulimit prototype to return long int.
38703         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38704         prototypes to use long int rather than double.
38705         (BSD Random): Fix initstate and setstate to use char *, not void *.
38706         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38707         prototype to make second argument 'struct aiocb64 *const[]'.
38708         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38709         (Status of AIO Operations): Remove erroneous const in aio_return and
38710         aio_return64 prototypes.
38711         (Synchronizing I/O): Fix sync prototype to return void.
38712         * manual/startup.texi (Suboptions): Remove an erroneous const in
38713         getsubopt prototype.
38714         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38715         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38716         use size_t rather than int.
38717         (Scanning All Users): Likewise for getpwent_r.
38718         (Setting Groups): Add missing const to setgroups prototype.
38719         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38720         * manual/socket.texi (Host Names): Fix gethostbyaddr and
38721         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38722         'const void *' rather than 'const char *'.
38723         (Host Address Functions): Likewise for inet_ntop.
38724         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38725         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38726         ssize_t for return value.
38727         (Sending Data): Likewise for send, sendto, sendmsg.
38728         (Socket Option Functions): Add a missing const in setsockopt prototype.
38729         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38730         use wchar_t for the argument.
38731         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38732         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38733         take no arguments.
38734         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38735         double/float/long double for second argument.
38736         Fix return types of significand, significandf, significandl.
38737         * manual/filesys.texi (Setting Permissions): Use mode_t for second
38738         argument in fchmod prototype.
38739         (File Owner): Use uid_t and gid_t in fchown prototype.
38740         (File Times): Add const to utimes, futimes, and lutimes prototypes.
38741         (Making Special Files): Use mode_t and dev_t in mknod prototype.
38742         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38743         use 'const struct dirent **' as argument types to CMP function pointer
38744         argument.
38745         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38746         (File Times): Fix summary magic @comment for struct utimbuf and utime
38747         to refer to utime.h, not time.h.
38748         * manual/string.texi (Argz Functions): Add missing const in
38749         argz_extract and argz_next prototypes.
38750         (Finding Tokens in a String): Likewise for basename.
38751         (String/Array Comparison): Fix typo in wcscasecmp prototype.
38752         (Copying and Concatenation): Fix typo in wmemmove prototype.
38753         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38754         (Signal Stack): Remove erroneous const in sigstack prototype.
38755         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38756         prototype.
38757         (Simple Calendar Time): Likewise for stime.
38758         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38759         prototype.
38760         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38761         say sys/sysctl.h instead.
38762         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38763         and vsyslog prototypes.
38765 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38767         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38768         Remove.
38770 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38772         * misc/sys/mman.h: Fix typo in mremap comment.
38774 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38776         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38777         the '\0' terminator.
38779 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38781         [BZ #13550]
38782         * debug/segfault.c: Don't include <bp-checks.h>.
38783         * sysdeps/generic/bp-checks.h: Remove file.
38784         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38785         (__GETDENTS): Don't use CHECK_N.
38786         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38787         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38788         (__getgroups): Don't use CHECK_N.
38789         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38790         (setgroups): Don't use CHECK_N.
38791         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38792         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38793         (__libc_msgrcv): Don't use CHECK_N.
38794         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38795         (__libc_msgsnd): Don't use CHECK_N.
38796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38797         <bp-checks.h>.
38798         (__libc_pread): Don't use CHECK_N.
38799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38800         include <bp-checks.h>.
38801         (__libc_pread64): Don't use CHECK_N.
38802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38803         include <bp-checks.h>.
38804         (__libc_pwrite): Don't use CHECK_N.
38805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38806         include <bp-checks.h>.
38807         (__libc_pwrite64): Don't use CHECK_N.
38808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38809         <bp-checks.h>.
38810         (__libc_pread): Don't use CHECK_N.
38811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38812         include <bp-checks.h>.
38813         (__libc_pread64): Don't use CHECK_N.
38814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38815         include <bp-checks.h>.
38816         (__libc_pwrite): Don't use CHECK_N.
38817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38818         include <bp-checks.h>.
38819         (__libc_pwrite64): Don't use CHECK_N.
38820         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38821         (do_pread): Don't use CHECK_N.
38822         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38823         (do_pread64): Don't use CHECK_N.
38824         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38825         (do_pwrite): Don't use CHECK_N.
38826         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38827         (do_pwrite64): Don't use CHECK_N.
38828         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38829         (__libc_readv): Don't use CHECK_N.
38830         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38831         (semop): Don't use CHECK_N.
38832         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38833         <bp-checks.h>.
38834         (semtimedop): Don't use CHECK_N.
38835         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38836         (__libc_pread): Don't use CHECK_N.
38837         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38838         <bp-checks.h>.
38839         (__libc_pread64): Don't use CHECK_N.
38840         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38841         <bp-checks.h>.
38842         (__libc_pwrite): Don't use CHECK_N.
38843         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38844         <bp-checks.h>.
38845         (__libc_pwrite64): Don't use CHECK_N.
38846         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38847         <bp-checks.h>.
38848         (__libc_msgrcv): Don't use CHECK_N.
38849         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38850         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
38851         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38852         (__libc_writev): Don't use CHECK_N.
38854 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38856         * string/strcpy.c: Removed unused variable.
38858         * Makeconfig (+sysdep-includes): Define with := rather than =.
38859         Use an existing include/ subdir of each sysdeps dir before it.
38861 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38863         * nscd/connection.c (register_traced_file): Comment function.
38864         [HAVE_INOTIFY] (union __inev): Define.
38865         [HAVE_INOTIFY] (inotify_check_files): New function.
38866         [HAVE_INOTIFY] (clear_db_cache): Likewise.
38867         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38868         clear_db_cache.
38869         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38871 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38873         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38874         loaded if not already and that a failure is permanent.
38876 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38878         [BZ #15006]
38879         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38880         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38882 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38884         [BZ #13550]
38885         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38886         (CHECK_1_NULL_OK): Likewise.
38887         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38888         (__fxstat): Do not use CHECK_1.
38889         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38890         <bp-checks.h>.
38891         (___fxstat64): Do not use CHECK_1.
38892         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38893         <bp-checks.h>.
38894         (__fxstatat): Do not use CHECK_1.
38895         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38896         <bp-checks.h>.
38897         (__fxstatat64): Do not use CHECK_1.
38898         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38899         <bp-checks.h>.
38900         (__fxstat): Do not use CHECK_1.
38901         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38902         <bp-checks.h>.
38903         (__fxstatat): Do not use CHECK_1.
38904         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38905         <bp-checks.h>.
38906         (__getresgid): Do not use CHECK_1.
38907         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38908         <bp-checks.h>.
38909         (__getresuid): Do not use CHECK_1.
38910         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38911         <bp-checks.h>.
38912         (__lxstat): Do not use CHECK_1.
38913         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38914         <bp-checks.h>.
38915         (__old_msgctl): Do not use CHECK_1.
38916         (__new_msgctl): Likewise.
38917         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38918         <bp-checks.h>.
38919         (__new_setrlimit): Do not use CHECK_1.
38920         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38921         <bp-checks.h>.
38922         (__old_shmctl): Do not use CHECK_1.
38923         (__new_shmctl): Likewise.
38924         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38925         <bp-checks.h>.
38926         (__xstat): Do not use CHECK_1.
38927         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38928         (__lxstat): Do not use CHECK_1.
38929         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38930         <bp-checks.h>.
38931         (___lxstat64): Do not use CHECK_1.
38932         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38933         (__old_msgctl): Do not use CHECK_1.
38934         (__new_msgctl): Likewise.
38935         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38936         <bp-checks.h>.
38937         (__gettimeofday): Do not use CHECK_1.
38938         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38939         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38940         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38941         <bp-checks.h>.
38942         (__gettimeofday): Do not use CHECK_1.
38943         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38944         (__old_shmctl): Do not use CHECK_1_NULL_OK.
38945         (__new_shmctl): Do not use CHECK_1.
38946         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38947         <bp-checks.h>.
38948         (do_sigtimedwait): Do not use CHECK_1.
38949         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38950         <bp-checks.h>.
38951         (do_sigwaitinfo): Do not use CHECK_1.
38952         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38953         <bp-checks.h>.
38954         (msgctl): Do not use CHECK_1.
38955         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38956         <bp-checks.h>.
38957         (shmctl): Do not use CHECK_1.
38958         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38959         (ustat): Do not use CHECK_1.
38960         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38961         <bp-checks.h>.
38962         (__fxstat): Do not use CHECK_1.
38963         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38964         <bp-checks.h>.
38965         (__fxstatat): Do not use CHECK_1.
38966         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38967         <bp-checks.h>.
38968         (__lxstat): Do not use CHECK_1.
38969         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38970         <bp-checks.h>.
38971         (__xstat): Do not use CHECK_1.
38972         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38973         (__xstat): Do not use CHECK_1.
38974         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38975         (___xstat64): Do not use CHECK_1.
38977         [BZ #13550]
38978         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38979         definitions.
38980         (CHECK_BOUNDS_HIGH): Likewise.
38981         * string/strcpy.c: Do not include <bp-checks.h>.
38982         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
38984 2013-02-07  Roland McGrath  <roland@hack.frob.com>
38986         * nscd/nscd-client.h (__nscd_drop_map_ref):
38987         Add __attribute__ ((unused)).
38988         * nis/nss-nisplus.h (niserr2nss): Likewise.
38990         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
38991         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
38993         * csu/libc-tls.c (init_static_tls, init_slotinfo):
38994         Remove inline keyword.
38995         * include/rounding-mode.h (round_away): Likewise.
38996         * libio/wfileops.c (adjust_wide_data): Likewise.
38997         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
38998         (__m128i_strloadu_tolower): Likewise.
38999         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39000         (__m128i_strloadu_tolower): Likewise.
39001         * time/mktime.c (ydhms_diff): Likewise.
39002         * locale/elem-hash.h (elem_hash): Likewise.
39003         * locale/setlocale.c (setdata): Likewise.
39004         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39005         (re_string_wchar_at): Likewise.
39006         (bitset_not, bitset_merge, bitset_mask): Likewise.
39007         [!(__GNUC__ > 3)] (inline): Remove macro.
39008         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39009         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39010         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39011         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39012         * string/memcmp.c (memcmp_bytes): Likewise.
39013         * locale/programs/locarchive.c (compute_hashval): Likewise.
39014         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39015         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39016         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39017         * nss/getent.c (print_rpc, print_protocols): Likewise.
39018         (print_passwd, print_group, print_aliases): Likewise.
39019         * nis/nss-nisplus.h (niserr2nss): Likewise.
39020         * nscd/connections.c (restart_p): Likewise.
39021         Change return type to bool.
39023 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39025         * Makeconfig (all-Depend-files): Add existing
39026         $(sorted-subdirs:=/Depend) files.
39027         (all-subdirs): Remove nss.
39028         * sysdeps/unix/inet/Subdirs: Add it here instead.
39029         * hesiod/Depend: New file.
39031         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39032         instead of calling alloca.
39034         * io/lseek.c (__lseek): Rename to __libc_lseek.
39035         Define __lseek as an alias.
39037         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39039 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39041         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39042         else clause and remove check for non-standard endianness.
39044 2013-02-04  David S. Miller  <davem@davemloft.net>
39046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39048 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39050         [BZ #13550]
39051         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39052         (__ubp_memchr): Remove prototype.
39053         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39054         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39055         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39056         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39057         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39058         Remove alias.
39059         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39060         (__ubp_memchr): Likewise.
39061         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39062         (__ubp_memchr): Likewise.
39063         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39064         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39065         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39066         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39067         CHECK_STRING.
39068         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39069         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39070         (__getcwd): Do not use CHECK_STRING.
39071         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39072         <bp-checks.h>.
39073         (__real_chown): Do not use CHECK_STRING.
39074         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39075         <bp-checks.h>.
39076         (fchownat): Do not use CHECK_STRING.
39077         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39078         CHECK_STRING.
39079         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39080         <bp-checks.h>.
39081         (__lchown): Do not use CHECK_STRING.
39082         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39083         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39084         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39085         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39087         include <bp-checks.h>.
39088         (truncate64): Do not use CHECK_STRING.
39089         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39090         <bp-checks.h>.
39091         (__real_chown): Do not use CHECK_STRING.
39092         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39093         <bp-checks.h>.
39094         (__lchown): Do not use CHECK_STRING.
39095         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39096         <bp-checks.h>.
39097         (__chown): Do not use CHECK_STRING.
39098         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39099         <bp-checks.h>.
39100         (truncate64): Do not use CHECK_STRING.
39101         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39102         Likewise.
39103         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39104         (__xmknod): Do not use CHECK_STRING.
39105         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39106         <bp-checks.h>.
39107         (__xmknodat): Do not use CHECK_STRING.
39108         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39109         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39111 2013-02-04  Andreas Schwab  <schwab@suse.de>
39113         [BZ #14142]
39114         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39115         * include/netdb.h: Likewise for h_errno.
39116         * elf/tst-stackguard1.c: Include <tls.h>.
39118 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39120         * elf/link.h (struct link_map): Extend the l_addr comment.
39121         * include/link.h (struct link_map): Likewise.
39123 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39125         [BZ #13550]
39126         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39127         (BOUNDED_1): Remove macro.
39128         * debug/backtrace.c: Don't include <bp-checks.h>.
39129         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39130         (__backtrace): Likewise.
39131         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39132         <bp-checks.h>.
39133         (__backtrace): Don't use BOUNDED_1.
39134         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39135         <bp-checks.h>.
39136         (__backtrace): Don't use BOUNDED_1.
39137         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39138         (__backtrace): Don't use BOUNDED_1.
39139         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39140         (shmat): Don't use BOUNDED_N.
39142 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39144         [BZ #13550]
39145         * sysdeps/generic/bp-start.h: Remove file.
39146         * csu/libc-start.c: Don't include <bp-start.h>.
39147         (LIBC_START_MAIN): Set up __environ directly instead of using
39148         INIT_ARGV_and_ENVIRON.
39149         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39150         <bp-start.h>.
39152         [BZ #13550]
39153         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39154         definitions.
39155         (CHECK_FCNTL): Likewise.
39156         (CHECK_N_PAGES): Likewise.
39158         [BZ #13550]
39159         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39160         definitions.
39161         (CHECK_SIGSET_NULL_OK): Likewise.
39162         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39163         <bp-checks.h>.
39164         (sigpending): Don't use CHECK_SIGSET.
39165         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39166         <bp-checks.h>.
39167         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39168         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39169         <bp-checks.h>.
39170         (do_sigsuspend): Don't use CHECK_SIGSET.
39171         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39172         use CHECK_SIGSET.
39173         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39174         (do_sigwait): Don't use CHECK_SIGSET.
39175         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39176         use CHECK_SIGSET.
39177         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39178         include <bp-checks.h>.
39179         (sigpending): Don't use CHECK_SIGSET.
39180         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39181         include <bp-checks.h>.
39182         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39183         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39184         <bp-checks.h>.
39185         (sigpending): Don't use CHECK_SIGSET.
39186         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39187         <bp-checks.h>.
39188         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39190         [BZ #13550]
39191         * sysdeps/generic/bp-semctl.h: Remove file.
39192         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39193         <bp-checks.h> and <bp-semctl.h>.
39194         (__old_semctl): Don't use CHECK_SEMCTL.
39195         (__new_semctl): Likewise.
39196         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39197         and <bp-semctl.h>.
39198         (__old_semctl): Don't use CHECK_SEMCTL.
39199         (__new_semctl): Likewise.
39200         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39201         <bp-checks.h> and <bp-semctl.h>.
39202         (__old_semctl): Don't use CHECK_SEMCTL.
39203         (__new_semctl): Likewise.
39204         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39205         <bp-checks.h> and <bp-semctl.h>.
39206         (semctl): Don't use CHECK_SEMCTL.
39208         [BZ #13550]
39209         * Makerules (elide-bp-thunks): Remove variable.
39210         (elide-routines.oS): Don't use $(elide-bp-thunks).
39211         (elide-routines.os): Likewise.
39212         (elide-routines.o): Likewise.
39213         (elide-routines.op): Likewise.
39214         (elide-routines.og): Likewise.
39215         (objects): Don't use $(bp-thunks).
39216         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39217         include.
39218         (common-generated): Do not add s-proto-bp.d.
39219         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39220         (int): Likewise.
39221         (typ): Likewise.
39222         Do not generate makefile rules for bounded-pointer thunks.
39223         * sysdeps/generic/bp-thunks.h: Remove file.
39224         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39225         * sysdeps/unix/s-proto-bp.S: Likewise.
39227         [BZ #15062]
39228         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39229         parts of result separately when argument is not close to line from
39230         -i to i and one part of argument is small.
39231         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39232         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39233         * math/libm-test.inc (cacos_test): Add more tests.
39234         (casin_test): Likewise.
39235         (casinh_test): Likewise.
39236         * sysdeps/i386/fpu/libm-test-ulps: Update.
39237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39239 2013-01-31  David S. Miller  <davem@davemloft.net>
39241         * po/de.po: Update from translation team.
39243 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39245         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39247 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39249         * configure.in (_AC_PROG_CC_C89): New definition.
39250         * configure: Regenerate.
39252         * configure.in (AC_PROG_CPP): New definition.
39253         * configure: Regenerate.
39255 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39257         * debug/tst-backtrace.h: New file.
39258         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39259         (ret): Remove variable.
39260         (x): Likewise.
39261         (FAIL): Remove macro.
39262         (NO_INLINE): Likewise.
39263         (fn1): Use match function instead of strstr.
39264         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39265         (ret): Remove variable.
39266         (x): Likewise.
39267         (FAIL): Remove macro.
39268         (NO_INLINE): Likewise.
39269         (fn): Use match function instead of strstr.
39270         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39271         (ret): Remove variable.
39272         (x): Likewise.
39273         (FAIL): Remove macro.
39274         (NO_INLINE): Likewise.
39275         (handle_signal): Use match function instead of strstr.
39276         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39277         (ret): Remove variable.
39278         (x): Likewise.
39279         (FAIL): Remove macro.
39280         (NO_INLINE): Likewise.
39281         (handle_signal): Use match function instead of strstr.
39283 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39285         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39287 2013-01-23  David S. Miller  <davem@davemloft.net>
39289         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39290         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39291         argument of CAS if possible.
39292         * sysdeps/sparc/sparc64/bits/atomic.h
39293         (__arch_compare_and_exchange_val_32_acq): Likewise.
39294         (__arch_compare_and_exchange_val_64_acq): Likewise.
39296 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39298         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39299         * sysdeps/posix/ulimit.c: ... this.
39300         Include <limits.h>.
39301         * sysdeps/unix/bsd/ulimit.c: Remove file.
39303 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39305         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39306         (LDFLAGS-tst-array5): Likewise.
39308 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39310         [BZ #15036]
39311         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39312         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39313         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39314         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39316 2013-01-21  David S. Miller  <davem@davemloft.net>
39318         * sysdeps/sparc/backtrace.c: New file.
39319         * sysdeps/sparc/sparc32/backtrace.h: New file.
39320         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39321         * sysdeps/sparc/sparc64/backtrace.h: New file.
39322         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39323         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39324         -funwind-tables.
39326 2013-01-21  Andreas Schwab  <schwab@suse.de>
39328         [BZ #15020]
39329         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39330         closed its stdout.
39332 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39334         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39335         "mpa2.h".
39336         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39338 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39339             Mark Mitchell  <mark@codesourcery.com>
39340             Tom de Vries  <tom@codesourcery.com>
39341             Paul Pluzhnikov  <ppluzhnikov@google.com>
39343         * debug/tst-backtrace2.c: New file.
39344         * debug/tst-backtrace3.c: Likewise.
39345         * debug/tst-backtrace4.c: Likewise.
39346         * debug/tst-backtrace5.c: Likewise.
39347         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39348         (CFLAGS-tst-backtrace3.c): Likewise.
39349         (CFLAGS-tst-backtrace4.c): Likewise.
39350         (CFLAGS-tst-backtrace5.c): Likewise.
39351         (LDFLAGS-tst-backtrace2): Likewise.
39352         (LDFLAGS-tst-backtrace3): Likewise.
39353         (LDFLAGS-tst-backtrace4): Likewise.
39354         (LDFLAGS-tst-backtrace5): Likewise.
39355         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39356         tst-backtrace4 and tst-backtrace5.
39358 2013-01-18  Anton Blanchard  <anton@samba.org>
39359             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39361         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39362         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39363         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39364         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39366         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39367         "+r" and remove output regs list as redundant.  Add explicit inline
39368         asm to specify register of return val to work around compiler codegen
39369         bug.  Remove (int) cast on return value.  Add return type parameter to
39370         use in macro so that this macro does not truncate return value for
39371         64-bit values.
39372         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39373         pass to INTERNAL_VSYSCALL_NCS.
39374         (INLINE_VSYSCALL): Add 'long int' as return type to
39375         INTERNAL_VSYSCALL_NCS macro invocation.
39376         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39377         INTERNAL_VSYSCALL_NCS macro invocation.
39378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39380 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39382         [BZ #14496]
39383         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39384         Fix application of SIMD FP exception mask.
39386         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39387         mp_no from a power of two.
39388         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39389         __mpexp_twomm1.  Use __pow_mp.
39391         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39392         multiplication.
39394 2013-01-17  David S. Miller  <davem@davemloft.net>
39396         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39398 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39400         [BZ #15023]
39401         * include/complex.h: Condition contents on [!_COMPLEX_H].
39402         (__kernel_casinhf): New prototype.
39403         (__kernel_casinh): Likewise.
39404         (__kernel_casinhl): Likewise.
39405         * math/Makefile (libm_calls): Add k_casinh.
39406         * math/k_casinh.c: New file.
39407         * math/k_casinhf.c: Likewise.
39408         * math/k_casinhl.c: Likewise.
39409         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39410         finite nonzero arguments.
39411         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39412         finite nonzero arguments.
39413         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39414         finite nonzero arguments.
39415         * math/s_casinh.c: Do not include <float.h>.
39416         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39417         * math/s_casinhf.c: Do not include <float.h>.
39418         (__casinhf): Move code for finite nonzero arguments to
39419         k_casinhf.c.
39420         * math/s_casinhl.c: Do not include <float.h>.
39421         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39422         redefine.
39423         (__casinhl): Move code for finite nonzero arguments to
39424         k_casinhl.c.
39425         * math/libm-test.inc (cacos_test): Add more tests.
39426         * sysdeps/i386/fpu/libm-test-ulps: Update.
39427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39429 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39431         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39432         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39433         [!HAVE_MREMAP]: Remove [defined linux] case.
39434         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39436 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39438         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39440 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39442         * elf/elf.h (R_386_SIZE32): New relocation.
39443         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39444         R_386_SIZE32.
39445         (elf_machine_rela): Likewise.
39446         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39447         R_X86_64_SIZE64 and R_X86_64_SIZE32.
39449 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39451         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39452         (FP_FAST_FMA): Do not define.
39453         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39454         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39455         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39456         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39457         !_SOFT_FLOAT]: Likewise.
39458         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39459         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39460         value.
39461         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39462         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39463         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39464         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39465         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39466         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39467         file.
39469 2013-01-16  Andreas Schwab  <schwab@suse.de>
39471         [BZ #14327]
39472         * include/stdlib.h (__mktemp): Add declaration.
39473         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39474         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39476 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39478         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39479         definitions.
39480         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39481         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39482         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39483         definitions here.
39484         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39485         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39486         definitions.
39487         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39488         and ONE.
39489         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39490         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39491         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39492         definitions.
39493         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39494         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39495         definitions.
39496         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39498         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39500 2013-01-15  David S. Miller  <davem@davemloft.net>
39502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39503         trunc{,f} to libm-sysdep_routes.
39504         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39506         file.
39507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39509         file.
39510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39511         file.
39512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39514         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39515         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39516         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39517         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39518         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39519         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39522         nearbyint{,f} to libm-sysdep_routes.
39523         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39525         New file.
39526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39527         file.
39528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39529         New file.
39530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39531         file.
39532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39534         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39535         file.
39536         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39537         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39538         file.
39539         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39540         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39541         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39543         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39544         libc_feholdexcept and libc_fesetenv.
39546 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
39548         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39550 2013-01-14  David S. Miller  <davem@davemloft.net>
39552         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39553         (SPARC_ASM_VIS2_IFUNC): Likewise.
39554         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39556         use of 'siam' instruction.
39557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39558         Likewise.
39559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39560         Likewise.
39561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39562         Likewise.
39563         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39564         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39565         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39566         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39568         file.
39569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39570         file.
39571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39572         file.
39573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39574         file.
39575         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39576         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39577         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39578         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39580         new VIS2 routines.
39581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39584         Likewise.
39585         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39586         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39587         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39588         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39590         routines to libm-sysdep_routines.
39591         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39594         fdim/fdimf to libm-sysdep_routines.
39595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39596         file.
39597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39599         file.
39600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39603         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39604         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39605         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39606         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
39608 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39610         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
39611         to optimize copies.
39613         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
39614         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39615         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39617         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
39618         local variable MPTWO.
39619         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39620         Likewise.
39622 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39624         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
39625         GLOB_NOESCAPE.
39627 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39629         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
39631 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39633         * manual/pattern.texi (glob_t): Document gl_flags.
39634         (glob64_t): Likewise.
39636 2013-01-11  David S. Miller  <davem@davemloft.net>
39638         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
39639         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
39640         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
39641         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
39642         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
39643         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
39644         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
39645         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39646         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
39647         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
39648         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
39649         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
39650         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
39652         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39653         sparc V9 rather than using V8 code.
39654         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39655         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39657         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39658         Move to...
39659         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
39660         Here.
39662 2013-01-11  Roland McGrath  <roland@hack.frob.com>
39664         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
39665         not in the main loop.
39666         * configure: Regenerated.
39668 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
39670         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39671         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39672         to just #else.
39673         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
39674         [!__GLIBC_HAVE_LONG_LONG] case.
39675         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39676         condition to just #else.
39677         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39678         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39679         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39680         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39681         unconditional.
39682         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39683         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39684         #elif condition to just #else.
39685         * sysdeps/unix/sysv/linux/sys/sysmacros.h
39686         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39687         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39688         #elif condition to just #else.
39690 2013-01-11  Steve Ellcey  <sellcey@mips.com>
39692         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39693         (EF_MIPS_ARCH_64): Fix value.
39694         (EF_MIPS_ARCH_32R2): New.
39695         (EF_MIPS_ARCH_64R2): New.
39697 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
39699         * Makeconfig (+link-pie-before-libc): New.
39700         (+link-pie-after-libc): Likewise.
39701         (+link-pie-tests): Likewise.
39702         (+link-pie): Rewritten.
39703         (link-before-libc): Remove $(config-LDFLAGS).
39704         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39705         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39706         (config-LDFLAGS): Renamed to ...
39707         (rtld-LDFLAGS): This.
39708         (rtld-tests-LDFLAGS): New macro.
39709         (link-libc-rpath-link): Likewise.
39710         (link-libc-tests-rpath-link): Likewise.
39711         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39712         (link-libc): Prepand $(link-libc-rpath-link).
39713         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39714         (test-program-prefix): New macro.
39715         (test-via-rtld-prefix): Likewise.
39716         (test-program-cmd): Likewise.
39717         (host-test-program-cmd): Likewise.
39718         * Makefile ($(common-objpfx)testrun.sh): Replace
39719         $(run-program-prefix) with $(test-program-prefix).
39720         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39721         $(rtld-LDFLAGS).
39722         ($(common-objpfx)shlib.lds): Likewise.
39723         (build-module-helper): Likewise.
39724         ($(common-objpfx)format.lds): Likewise.
39725         * Rules (binaries-pie-tests): New.
39726         (binaries-pie-notests): Likewise.
39727         (binaries-pie): Rewritten.
39728         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39729         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39730         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39731         (make-test-out): Replace $(host-built-program-cmd) with
39732         $(host-test-program-cmd).
39733         * config.make.in (build-hardcoded-path-in-tests): New variable.
39734         * configure.in (--enable-hardcoded-path-in-tests): New configure
39735         option.
39736         (hardcoded_path_in_tests): New AC_SUBST.
39737         * configure: Regenerated.
39738         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39739         $(built-program-cmd) with $(test-program-cmd).
39740         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39741         (test_program_cmd): This.
39742         * elf/Makefile ($(objpfx)order.out): Run test with
39743         $(test-program-prefix).
39744         ($(objpfx)order2.out): Likewise.
39745         ($(objpfx)tst-initorder.out): Likewise.
39746         ($(objpfx)tst-initorder2.out): Likewise.
39747         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39748         $(test-program-cmd).
39749         ($(objpfx)tst-array1-static.out): Likewise.
39750         ($(objpfx)tst-array2.out): Likewise.
39751         ($(objpfx)tst-array3.out): Likewise.
39752         ($(objpfx)tst-array4.out): Likewise.
39753         ($(objpfx)tst-array5.out): Likewise.
39754         ($(objpfx)tst-array5-static.out): Likewise.
39755         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39756         $(test-program-cmd).
39757         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39758         $(run-program-prefix) with $(test-program-prefix).
39759         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39760         (test_program_prefix): This.
39761         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39762         $(run-program-prefix) with $(test-program-prefix).
39763         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39764         (test_program_prefix): This.
39765         * iconvdata/tst-tables.sh: Likewise.
39766         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39767         $(run-program-prefix) with $(test-program-prefix).
39768         ($(objpfx)tst-translit.out): Likewise.
39769         ($(objpfx)tst-gettext2.out): Likewise.
39770         ($(objpfx)tst-gettext4.out): Likewise.
39771         ($(objpfx)tst-gettext6.out): Likewise.
39772         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39773         (test_program_prefix): This.
39774         * intl/tst-gettext2.sh: Likewise.
39775         * intl/tst-gettext4.sh  Likewise.
39776         * intl/tst-gettext6.sh: Likewise.
39777         * intl/tst-translit.sh: Likewise.
39778         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39779         with $(test-program-cmd).
39780         * libio/Makefile ($(objpfx)test-freopen.out): Replace
39781         $(run-program-prefix) with $(test-program-prefix).
39782         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39783         (test_program_prefix): This.
39784         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39785         $(run-program-prefix) with $(test-program-prefix).
39786         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39787         (test_program_prefix): This.
39788         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39789         * posix/Makefile ($(objpfx)globtest.out): Replace
39790         $(run-via-rtld-prefix) and $(test-wrapper) with
39791         $(test-program-prefix) and $(test-via-rtld-prefix).
39792         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39793         $(test-program-prefix).
39794         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39795         $(host-test-program-cmd).
39796         (tst-spawn-ARGS): Likewise.
39797         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39798         $(test-program-prefix).
39799         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39800         (test_via_rtld_prefix): This.
39801         (test_wrapper): Renamed to ...
39802         (test_program_prefix): This.
39803         (run_program_prefix): Replaced by test_program_prefix.
39804         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39805         (test_program_prefix): This.
39806         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39807         with $(host-test-program-cmd).
39808         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39809         $(run-program-prefix) with $(test-program-prefix).
39810         ($(objpfx)tst-printf.out): Likewise.
39811         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39812         $(test-program-cmd).
39813         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39814         (test_program_prefix): This.
39815         * stdio-common/tst-unbputc.sh: Likewise.
39816         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39817         $(run-program-prefix) with $(test-program-prefix).
39818         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39819         (test_program_prefix): This.
39820         * string/Makefile ($(objpfx)tst-svc.out):  Replace
39821         $(built-program-cmd) with $(test-program-cmd).
39823 2013-01-11  Andreas Jaeger  <aj@suse.de>
39825         [BZ #15003]
39826         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39827         value. Sync with Linux 3.7.
39829 2013-01-10  David S. Miller  <davem@davemloft.net>
39831         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39832         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39833         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39835 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39837         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39838         never set.
39839         * configure: Regenerated.
39841 2013-01-10  David S. Miller  <davem@davemloft.net>
39843         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39844         sparc V9 rather than using V8 code.
39845         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39846         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39848 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39850         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39851         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39852         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39853         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39854         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39855         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39856         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39857         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39858         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39859         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39860         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39861         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39862         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39863         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39864         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39865         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39866         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39867         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39868         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39869         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39870         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39871         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39872         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39873         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39874         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39875         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39876         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39878 2013-01-10  David S. Miller  <davem@davemloft.net>
39880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39882 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39884         * posix/Makefile (tests-static): New variable.
39885         (tests): Add $(tests-static).
39886         (tst-exec-static-ARGS): New variable.
39887         (tst-spawn-static-ARGS): Likewise.
39888         * posix/tst-exec-static.c: New file.
39889         * posix/tst-spawn-static.c: Likewise.
39890         * posix/tst-exec.c: Support run directly.
39891         * posix/tst-spawn.c: Likewise.
39893 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
39895         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39896         long.
39897         * math/bits/mathcalls.h (llrint): Likewise.
39898         (llround): Likewise.
39899         * stdlib/stdlib.h (struct drand48_data): Likewise.
39900         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39901         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39902         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39903         Likewise.
39904         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39905         Likewise.
39906         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39907         (elf_greg_t): Likewise.
39908         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39909         (__jmp_buf): Likewise.
39910         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39911         definitions.
39912         (llrint): Likewise, for all definitions.
39913         (llrintl): Likewise.
39915         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39916         Remove [__GNUC__] condition.
39917         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39918         condition to just [__USE_ISOC99].
39919         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39921 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39923         [BZ #14200]
39924         * sysdeps/unix/sysv/linux/x86/bits/environments.h
39925         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39926         defined.
39927         (_POSIX_V6_ILP32_OFF32): Likewise.
39928         (_XBS5_ILP32_OFF32): Likewise.
39929         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39930         (__ILP32_OFFBIG_LDFLAGS): Likewise.
39932 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39934         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39936         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39937         doubles __mpexp_twomm1.  Adjust usage.
39938         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39939         Remove.
39941 2013-01-10  Andreas Schwab  <schwab@suse.de>
39943         [BZ #14964]
39944         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39945         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39947 2013-01-09  David S. Miller  <davem@davemloft.net>
39949         [BZ #15003]
39950         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39951         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39952         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39953         (TCP_FASTOPEN): Define.
39954         (tcp_repair_opt): New structure.
39955         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39956         enum values.
39957         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39958         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39959         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39960         (tcp_cookie_transactions): New structure.
39962 2013-01-09  Anton Blanchard  <anton@samba.org>
39964         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39965         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39966         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39967         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39969 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
39971         * include/features.h (__USE_ANSI): Remove.
39973 2013-01-09  Roland McGrath  <roland@hack.frob.com>
39975         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39977         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39979 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39981         * sysdeps/s390/fpu/libm-test-ulps: Update.
39983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39985         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
39986         (__acr): Likewise.
39987         (__cpy): Likewise.
39988         (norm): Likewise.
39989         (denorm): Likewise.
39990         (__mp_dbl): Likewise.
39991         (__dbl_mp): Likewise.
39992         (add_magnitudes): Likewise.
39993         (sub_magnitudes): Likewise.
39994         (__add): Likewise.
39995         (__sub): Likewise.
39996         (__mul): Likewise.
39997         (__inv): Likewise.
39998         (__dvd): Likewise.
39999         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40000         (__acr): Likewise.
40001         (__cpy): Likewise.
40002         (norm): Likewise.
40003         (denorm): Likewise.
40004         (__mp_dbl): Likewise.
40005         (__dbl_mp): Likewise.
40006         (add_magnitudes): Likewise.
40007         (sub_magnitudes): Likewise.
40008         (__add): Likewise.
40009         (__sub): Likewise.
40010         (__mul): Likewise.
40011         (__inv): Likewise.
40012         (__dvd): Likewise.
40013         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40014         (__acr): Likewise.
40015         (__cpy): Likewise.
40016         (norm): Likewise.
40017         (denorm): Likewise.
40018         (__mp_dbl): Likewise.
40019         (__dbl_mp): Likewise.
40020         (add_magnitudes): Likewise.
40021         (sub_magnitudes): Likewise.
40022         (__add): Likewise.
40023         (__sub): Likewise.
40024         (__mul): Likewise.
40025         (__inv): Likewise.
40026         (__dvd): Likewise.
40028 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40030         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40031         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40032         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40033         2 && __USE_EXTERN_INLINES]: Likewise.
40035 2013-01-08  Andreas Jaeger  <aj@suse.de>
40037         [BZ# 14985]
40038         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40039         Remove.
40040         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40041         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40043 2013-01-07  Anton Blanchard  <anton@samba.org>
40045         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40046         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40047         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40048         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40049         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40050         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40051         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40052         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40053         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40054         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40055         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40056         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40057         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40058         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40059         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40060         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40061         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40062         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40063         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40064         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40065         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40066         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40067         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40068         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40069         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40070         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40071         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40072         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40073         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40074         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40075         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40076         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40077         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40078         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40079         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40080         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40081         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40082         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40083         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40084         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40085         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40086         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40087         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40089 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40091         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40092         (__MALLOC_PMT): Likewise.
40093         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40094         [__GNUC__], only on [_LIBC].
40095         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40096         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40097         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40098         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40099         forward declaration.
40100         (realloc_hook_ini): Likewise.
40101         (memalign_hook_ini): Likewise.
40102         (__libc_memalign): Do not use __MALLOC_PMT in variable
40103         declaration.
40104         (__libc_valloc): Likewise.
40105         (__libc_pvalloc): Likewise.
40106         (__libc_calloc): Likewise.
40107         (__posix_memalign): Likewise.
40109         [BZ #14996]
40110         * math/s_casinh.c: Include <float.h>.
40111         (__casinh): Do not do computation with squaring and square root
40112         for large arguments.
40113         * math/s_casinhf.c: Include <float.h>.
40114         (__casinhf): Do not do computation with squaring and square root
40115         for large arguments.
40116         * math/s_casinhl.c: Include <float.h>.
40117         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40118         (__casinhl): Do not do computation with squaring and square root
40119         for large arguments.
40120         * math/libm-test.inc (casin_test): Add more tests.
40121         (casinh_test): Likewise.
40122         * sysdeps/i386/fpu/libm-test-ulps: Update.
40123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40125 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40127         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40128         (__x86_64_raw_data_cache_size): Likewise.
40129         (__x86_64_data_cache_size_half): Likewise.
40130         (__x86_64_raw_data_cache_size_half): Likewise.
40131         (__x86_64_shared_cache_size): Likewise.
40132         (__x86_64_raw_shared_cache_size): Likewise.
40133         (__x86_64_shared_cache_size_half): Likewise.
40134         (__x86_64_raw_shared_cache_size_half): Likewise.
40135         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40136         to ...
40137         (__x86_data_cache_size): This.
40138         (__x86_64_raw_data_cache_size): Renamed to ...
40139         (__x86_raw_data_cache_size): This.
40140         (__x86_64_data_cache_size_half): Renamed to ...
40141         (__x86_data_cache_size_half): This.
40142         (__x86_64_raw_data_cache_size_half): Renamed to ...
40143         (__x86_raw_data_cache_size_half): This.
40144         (__x86_64_shared_cache_size): Renamed to ...
40145         (__x86_shared_cache_size): This.
40146         (__x86_64_raw_shared_cache_size): Renamed to ...
40147         (__x86_raw_shared_cache_size): This.
40148         (__x86_64_shared_cache_size_half): Renamed to ...
40149         (__x86_shared_cache_size_half): This.
40150         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40151         (__x86_raw_shared_cache_size_half): This.
40152         * sysdeps/x86_64/memcpy.S: Updated.
40153         * sysdeps/x86_64/memset.S: Likewise.
40154         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40155         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40156         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40158 2013-01-04  David S. Miller  <davem@davemloft.net>
40160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40162 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40164         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40165         1 to avoid redefinition warning.
40166         (__USE_GNU): Don't define.
40167         (init_signaling_nan): Protoize.
40169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40171 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40173         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40174         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40175         (__cpymn): Likewise.
40176         (norm): Remove commented code.
40177         (denorm): Likewise.
40178         (__mp_dbl): Likewise.
40179         (__inv): Likewise.
40180         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40181         (__cpymn): Likewise.
40182         (norm): Remove commented code.
40183         (denorm): Likewise.
40184         (__mp_dbl): Likewise.
40185         (__inv): Likewise.
40187         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40188         mp_no value for 1.0 and 2.0.
40189         (norm): Use RADIXI instead of radixi.d.
40190         (denorm): Likewise.
40191         (__mul): Use 0.0 instead of zero.d.
40192         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40193         mp_no value for 1.0 and 2.0.
40194         (norm): Use RADIXI instead of radixi.d.
40195         (denorm): Likewise.
40196         (__mul): Use 0.0 instead of zero.d.
40198 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40200         [BZ #14994]
40201         * math/s_casinh.c (__casinh): Reduce finite argument to first
40202         quadrant then set signs of results at the end.
40203         * math/s_casinhf.c (__casinhf): Likewise.
40204         * math/s_casinhl.c (__casinhl): Likewise.
40205         * math/libm-test.inc (casin_test): Add more tests.
40206         (casinh_test): Likewise.
40207         * sysdeps/i386/fpu/libm-test-ulps: Update.
40208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40210 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40212         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40214         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40216         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40217         declarations.
40218         (denorm): Likewise.
40219         (__mp_dbl): Likewise.
40220         (__inv): Likewise.
40222         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40223         and adjust the header comment.
40225         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40226         variable name from declaration.
40228 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40230         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40231         Initialize COMMON_CPUID_INDEX_7 element.
40232         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40233         (CPUID_RTM): Likewise.
40234         (HAS_RTM): Likewise.
40235         (COMMON_CPUID_INDEX_7): New enum.
40237 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40239         [BZ #14981]
40240         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40241         size is zero, record memory as freed.
40243 2013-01-03  Andreas Jaeger  <aj@suse.de>
40245         * po/ia.po: Add new Interlingua translation.
40247 2012-01-03  Allan McRae  <allan@archlinux.org>
40249         * locale/programs/localedef.c: Fix description of '--posix' flag.
40251 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40253         * NEWS: Update dates in second copyright notice.
40254         * README: Update copyright dates in example.
40255         * manual/libc.texinfo: Update copyright dates.
40256         * scripts/test-installation.pl: Update copyright date in --version
40257         output.
40259         * hurd/ctty-input.c: Fix copyright notice formatting.
40260         * hurd/ctty-output.c: Likewise.
40261         * hurd/dtable.c: Likewise.
40262         * hurd/hurd-raise.c: Likewise.
40263         * hurd/hurdprio.c: Likewise.
40264         * hurd/msgportdemux.c: Likewise.
40265         * misc/sys/file.h: Likewise.
40266         * misc/sys/ioctl.h: Likewise.
40267         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40268         * sysdeps/mach/hurd/chdir.c: Likewise.
40269         * sysdeps/mach/hurd/fchdir.c: Likewise.
40270         * sysdeps/mach/hurd/rename.c: Likewise.
40271         * sysdeps/mach/hurd/rmdir.c: Likewise.
40272         * sysdeps/mach/hurd/seekdir.c: Likewise.
40273         * sysdeps/mach/hurd/setsid.c: Likewise.
40274         * sysdeps/posix/wait3.c: Likewise.
40276         * All files with FSF copyright notices: Update copyright dates
40277         using scripts/update-copyrights.
40278         * intl/plural.c: Regenerated.
40279         * locale/programs/charmap-kw.h: Likewise.
40280         * locale/programs/locfile-kw.h: Likewise.
40282 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40284         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40285         four values.
40287         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40288         calculation loop and add branch prediction.
40290         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40291         check access beyond bounds of m1np.
40293         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40294         MPTWO.
40295         (__inv): Remove local variable MPTWO to use the global
40296         constant.
40297         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40298         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40299         variable MPTWO.
40300         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40301         MP3HALFS static const.
40303 2013-01-01  David S. Miller  <davem@davemloft.net>
40305         * po/ca.po: Update from translation team.
40307 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40309         * scripts/update-copyrights: New file.
40310         * Makeconfig: Reformat copyright notice.
40311         * ctype/ctype.h: Likewise.
40312         * debug/swprintf_chk.c: Likewise.
40313         * elf/dl-cache.c: Likewise.
40314         * elf/dl-debug.c: Likewise.
40315         * elf/dl-object.c: Likewise.
40316         * grp/initgroups.c: Likewise.
40317         * hurd/Makefile: Likewise.
40318         * hurd/hurd/signal.h: Likewise.
40319         * hurd/hurdfault.c: Likewise.
40320         * hurd/hurdioctl.c: Likewise.
40321         * hurd/hurdlookup.c: Likewise.
40322         * hurd/intr-msg.c: Likewise.
40323         * iconv/gconv_open.c: Likewise.
40324         * libio/swprintf.c: Likewise.
40325         * locale/lc-ctype.c: Likewise.
40326         * locale/nl_langinfo.c: Likewise.
40327         * mach/Machrules: Likewise.
40328         * mach/Makefile: Likewise.
40329         * malloc/obstack.h: Likewise.
40330         * manual/Makefile: Likewise.
40331         * manual/tsort.awk: Likewise.
40332         * misc/bits/stab.def: Likewise.
40333         * nis/nis_print_group_entry.c: Likewise.
40334         * nis/nis_table.c: Likewise.
40335         * nis/nss_compat/compat-pwd.c: Likewise.
40336         * nis/nss_compat/compat-spwd.c: Likewise.
40337         * po/Makefile: Likewise.
40338         * posix/fnmatch.c: Likewise.
40339         * posix/regex.h: Likewise.
40340         * resolv/Makefile: Likewise.
40341         * resolv/nss_dns/dns-network.c: Likewise.
40342         * resolv/res_hconf.c: Likewise.
40343         * scripts/gen-sorted.awk: Likewise.
40344         * soft-fp/soft-fp.h: Likewise.
40345         * stdio-common/printf.h: Likewise.
40346         * stdlib/monetary.h: Likewise.
40347         * stdlib/random.c: Likewise.
40348         * stdlib/random_r.c: Likewise.
40349         * sysdeps/generic/Makefile: Likewise.
40350         * sysdeps/gnu/Makefile: Likewise.
40351         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40352         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40353         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40354         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40355         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40356         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40357         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40358         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40359         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40360         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40361         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40362         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40363         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40364         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40365         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40366         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40367         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40368         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40369         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40370         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40371         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40372         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40373         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40374         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40375         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40376         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40377         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40378         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40379         * sysdeps/mach/hurd/errnos.awk: Likewise.
40380         * sysdeps/mach/hurd/fork.c: Likewise.
40381         * sysdeps/mach/hurd/getcwd.c: Likewise.
40382         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40383         * sysdeps/mach/hurd/mmap.c: Likewise.
40384         * sysdeps/mach/hurd/utimes.c: Likewise.
40385         * sysdeps/mach/hurd/xmknod.c: Likewise.
40386         * sysdeps/posix/profil.c: Likewise.
40387         * sysdeps/posix/readdir_r.c: Likewise.
40388         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40389         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40390         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40391         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40392         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40393         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40394         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40395         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40396         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40397         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40398         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40399         * sysdeps/pthread/lio_listio.c: Likewise.
40400         * sysdeps/sparc/dl-procinfo.h: Likewise.
40401         * sysdeps/unix/i386/sysdep.S: Likewise.
40402         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40403         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40404         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40405         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40407         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40408         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40409         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40410         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40411         * sysdeps/wordsize-32/divdi3.c: Likewise.
40412         * time/sys/time.h: Likewise.
40413         * wcsmbs/Makefile: Likewise.
40415 2013-01-01  David S. Miller  <davem@davemloft.net>
40417         * po/fr.po: Update from translation team.
40419         * catgets/gencat.c: Update copyright year.
40420         * csu/version.c: Likewise.
40421         * debug/catchsegv.sh: Likewise.
40422         * debug/pcprofiledump.c: Likewise.
40423         * debug/xtrace.sh: Likewise.
40424         * elf/ldconfig.c: Likewise.
40425         * elf/ldd.bash.in: Likewise.
40426         * elf/pldd.c: Likewise.
40427         * elf/sotruss.ksh: Likewise.
40428         * elf/sprof.c: Likewise.
40429         * iconv/iconv_prog.c: Likewise.
40430         * iconv/iconvconfig.c: Likewise.
40431         * locale/programs/locale.c: Likewise.
40432         * locale/programs/localedef.c: Likewise.
40433         * login/programs/pt_chown.c: Likewise.
40434         * malloc/memusage.sh: Likewise.
40435         * malloc/memusagestat.c: Likewise.
40436         * malloc/mtrace.pl: Likewise.
40437         * nscd/nscd.c: Likewise.
40438         * nss/getent.c: Likewise.
40439         * nss/makedb.c: Likewise.
40440         * posix/getconf.c: Likewise.
40442 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40444         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40445         numbers.
40447 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
40449         * math/bits/mathcalls.h (modf): Use __nonnull.
40451 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40453         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40454         (split): Use macro CN instead of the bare value.
40455         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40456         could be used.
40457         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40458         instead of the bare value.
40459         (power1): Likewise.
40461 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40463         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40464         __ATAN_TWOM.
40465         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40467         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40468         their values.
40469         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40470         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40471         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40472         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40474 2012-12-28  Andreas Jaeger  <aj@suse.de>
40476         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
40477         values are from Linux 3.7.
40479         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40480         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
40482 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40484         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
40485         TRUE case.
40487         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40488         (norm): Likewise.
40489         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40490         variables with preprocessor constants.
40491         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40492         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40493         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40495 2012-12-27  Bruno Haible  <bruno@clisp.org>
40497         [BZ #14317]
40498         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40499         only if needed.
40501 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40503         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40504         and use variable directly.
40505         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40507         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40508         MPONE.
40509         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40510         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40511         variable MPONE.
40512         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40513         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40514         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40515         include directive.  Remove local variable MPONE.
40516         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40517         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40518         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40520 2012-12-25  David S. Miller  <davem@davemloft.net>
40522         * version.h (RELEASE): Set to "development".
40523         (VERSION): Set to "2.17.90".
40524         * NEWS: Add 2.18 section.
40526 2012-12-21  David S. Miller  <davem@davemloft.net>
40528         * po/hr.po: Update from translation team.
40530 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40532         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40534 2012-12-19  Steve Ellcey  <sellcey@mips.com>
40536         * NEWS:  Mention new memcpy for MIPS.
40538 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40540         * manual/contrib.texi (Contributors): Spelling correction.
40542 2012-12-15  David S. Miller  <davem@davemloft.net>
40544         * po/ru.po: Update from translation team.
40546 2012-12-13  David S. Miller  <davem@davemloft.net>
40548         * NEWS: Mention IFUNC testsuite enhancements.
40550         * po/pl.po: Update from translation team.
40551         * po/bg.po: Likewise.
40553         * manual/contrib.texi (Contributors): Update entries for Hongjiu
40554         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
40556 2012-12-11  David S. Miller  <davem@davemloft.net>
40558         * po/sv.po: Update from translation team.
40560         * po/vi.po: Update from translation team.
40562         * po/cs.po: Update from translation team.
40564         * po/de.po: Update from translation team.
40565         * po/eo.po: Likewise.
40566         * po/nl.po: Likewise.
40568 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40570         [BZ #14246]
40571         * manual/argp.texi (Argp Helper Functions): Move node to follow
40572         Argp Parsing State.
40574         [BZ #14872]
40575         * manual/conf.texi (Limits on File System Capacity): Mention if
40576         terminating null is included in the max size.
40578 2012-12-10  Andreas Jaeger  <aj@suse.de>
40580         * po/cs.po: Update from translation team.
40582 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40584         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40585         void pointer and cast to uintptr_t.
40586         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40587         path.
40588         * sysdeps/s390/s390-64/memcpy.S: Likewise.
40589         * sysdeps/s390/s390-64/memset.S: Likewise.
40591 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
40593         [BZ #14833]
40594         * menual/message.texi (Message Translation): Fix typos.
40595         (Helper programs for gettext): Likewise.
40597 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
40599         [BZ #14898]
40600         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40601         Change to -1.
40603 2012-12-07  David S. Miller  <davem@davemloft.net>
40605         * po/libc.pot: Update.
40607 2012-12-07  Richard Henderson  <rth@redhat.com>
40609         [BZ #10114]
40610         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
40611         normal/normal case to before the switch.
40612         (_FP_DIV): Likewise.
40614 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
40615             Mike Frysinger  <vapier@gentoo.org>
40617         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
40618         check for __NR_fadvise64_64.
40620 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
40622         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
40623         0, not just to plain "0" as a statement.
40624         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
40625         with cw.
40627 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
40629         * NEWS: Use sourceware.org in Bugzilla URL.
40631 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40634         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40636         * stdio-common/tst-put-error.c (do_test): Add newline to the
40637         padded test to ensure flush.
40639 2012-12-05  Jeff Law  <law@redhat.com>
40641         * sunrpc/etc.rpc (fedfs_admin): Add entry.
40643 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
40645         * README: Don't refer to ports add-on as distributed separately.
40646         Mention AArch64 in list of systems supported in the ports add-on.
40648         * LICENSES: Add more non-FSF copyright and license notices.
40650         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
40651         ((unused)).
40653         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
40655         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
40656         10000 as width of padded output.
40658 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40660         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
40662         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
40663         variable LX with __attribute__ ((unused)).
40664         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40665         Likewise.
40666         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40667         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40668         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40669         with __attribute__ ((unused)).
40671 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
40673         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40675 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40677         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40678         (CFLAGS-nldbl-acos.c): New variable.
40679         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40680         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40681         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40682         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40683         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40684         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40685         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40686         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40687         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40688         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40689         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40690         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40691         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40692         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40693         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40694         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40695         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40696         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40697         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40698         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40699         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40700         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40701         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40702         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40703         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40704         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40705         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40706         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40707         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40708         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40709         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40710         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40711         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40712         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40713         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40714         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40715         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40716         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40717         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40718         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40719         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40720         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40721         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40722         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40723         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40724         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40725         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40726         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40727         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40728         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40729         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40730         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40731         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40732         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40733         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40734         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40735         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40736         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40737         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40738         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40739         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40740         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40741         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40742         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40743         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40744         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40745         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40746         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40747         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40748         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40749         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40750         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40751         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40752         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40753         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40754         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40755         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40756         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40757         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40758         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40759         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40760         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40761         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40762         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40763         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40764         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40765         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40766         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40767         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40768         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40769         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40770         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40771         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40772         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40773         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40774         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40775         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40778         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40780         [BZ #14914]
40781         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40782         whole low double instead of just low 47 bits when splitting values
40783         into two parts.
40785 2012-12-03  Allan McRae  <allan@archlinux.org>
40787         * manual/stdio.texi (Predefined Printf Handlers): Remove
40788         @hsep and @vsep usage.
40790 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
40792         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40793         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40795 2012-12-03  Jeff Law  <law@redhat.com>
40797         * time/sys/time.h (settimeofday): Do not mark TV argument
40798         as __nonnull.
40800 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
40802         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40803         when currently writing and seek to current position when not.
40804         * libio/Makefile (tests): Remove bug-fclose1.
40805         * libio/bug-fclose1.c: Delete.
40807 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
40809         * manual/arith.texi (feenableexcept): Fix typo.
40810         (fedisableexcept): Likewise.
40812 2012-11-30  Roland McGrath  <roland@hack.frob.com>
40814         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40815         second, differently-typed declaration, rather than a cast.
40817 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40819         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40820         * include/rpc/svc.h: ... here.
40822 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
40824         [BZ #13013]
40825         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40826         depending n and resplen2 to catch cases where answer
40827         equals answerp2.
40829 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
40831         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40832         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40834 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
40836         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40838 2012-11-29  Roland McGrath  <roland@hack.frob.com>
40840         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40842 2012-11-28  Jeff Law  <law@redhat.com>
40844         [BZ #13761]
40845         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40846         dataset_temporary.  Track alloca usage into alloca_used.
40847         If dataset is large allocate and release it via malloc/free.
40849 2012-06-04  Florian Weimer  <fweimer@redhat.com>
40851         [BZ #14197]
40852         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40854 2012-11-28  David S. Miller  <davem@davemloft.net>
40856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40858 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40860         [BZ #14803]
40861         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40862         of pi/2 rounded to nearest to 64 bits.
40863         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40864         nearest to 64 bits.
40865         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40866         bits.
40868 2012-11-28  Jeff Law <law@redhat.com>
40869             Martin Osvald <mosvald@redhat.com>
40871         [BZ #14889]
40872         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40873         * sunrpc/svc.c: Include time.h.
40874         (__svc_accept_failed): New function.
40875         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40876         any reason other than EINTR, call __svc_accept_failed.
40877         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40878         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40880 2012-11-28  Andreas Schwab  <schwab@suse.de>
40882         * scripts/abilist.awk: Also handle indirect functions in .opd
40883         section.
40885 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40887         [BZ #13881]
40888         * sysdeps/x86/fpu/powl_helper.c: New file.
40889         * sysdeps/x86/fpu/Makefile: Likewise.
40890         * sysdeps/i386/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         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40895         (p3): New object.
40896         (__ieee754_powl): Use __powl_helper for finite arguments except
40897         integer exponents below 8.
40898         * math/libm-test.inc (pow_test): Add more tests and enable some
40899         previously disabled tests.
40900         * sysdeps/i386/fpu/libm-test-ulps: Update.
40901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40903 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40904             Carlos O'Donell  <carlos_odonell@mentor.com>
40906         * nss/makedb.c (is_prime): Assert that input is odd and greater
40907         than 4.  Note that fact in a comment too.
40908         (next_prime): Add 4 to input.
40910 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40912         [BZ #11741]
40913         * libio/Makefile (tests): Add test case tst-fwrite-error.
40914         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40915         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40916         * libio/tst-fwrite-error.c: New test case.
40918 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
40920         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40921         before casting to void *.
40922         * include/libc-internal.h (__pointer_type): New macro.
40923         (__integer_if_pointer_type_sub): Likewise.
40924         (__integer_if_pointer_type): Likewise.
40925         (cast_to_integer): Likewise.
40926         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40927         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40928         before casting to atomic64_t.
40929         (atomic_exchange_acq): Likewise.
40930         (__arch_exchange_and_add_body): Likewise.
40931         (__arch_add_body): Likewise.
40932         (atomic_add_negative): Likewise.
40933         (atomic_add_zero): Likewise.
40935 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
40937         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40938         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40939         (add_fdes): Likewise.
40940         (linear_search_fdes): Likewise.
40941         (binary_search_unencoded_fdes): Likewise.
40943 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
40945         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40947 2012-11-24  Adam Conrad  <adconrad@0c3.net>
40949         * configure.in: Autodetect C++ header directories.
40950         * configure: Regenerated.
40952 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
40954         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40956 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
40958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40960 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
40962         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40963         LDBL_MANT_DIG == 106]: Disable some tests.
40964         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40965         Likewise.
40966         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40967         Likewise.
40969         [BZ #14871]
40970         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40971         input for small inputs.  Return +/- pi/2 for large inputs.
40972         * math/libm-test.inc (atan_test): Add more tests.
40974         * sysdeps/generic/unwind-dw2-fde-glibc.c
40975         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40976         __attribute__ ((unused)).
40978         [BZ #14645]
40979         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40980         x * y if x and y are nonzero and z is zero.
40982         [BZ #14811]
40983         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
40984         nonzero exponents with absolute value below 0x1p-117 to +/-
40985         0x1p-117.
40987         [BZ #14869]
40988         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
40989         up arguments below 2**-450, not just those below 2**-500.
40990         * math/libm-test.inc (hypot_test): Add another test.
40992         [BZ #14868]
40993         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
40994         Return a+b for ratio over 2**120, not 2**60.
40995         * math/libm-test.inc (hypot_test): Add another test.
40997         * math/libm-test.inc (clog_test): Use
40998         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
40999         (clog10_test): Likewise.
41001         [BZ #6778]
41002         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41004 2012-11-22  Andreas Schwab  <schwab@suse.de>
41006         * sysdeps/i386/fpu/libm-test-ulps: Update.
41008 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41010         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41011         printf output with newline.
41013 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41015         [BZ #14865]
41016         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41017         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41018         -z nodlopen, -z initfirst and -z execstack support.
41019         * configure: Regenerated.
41021         * elf/elf.h (DF_1_NODIRECT): New macro.
41022         (DF_1_IGNMULDEF): Likewise.
41023         (DF_1_NOKSYMS): Likewise.
41024         (DF_1_NOHDR): Likewise.
41025         (DF_1_EDITED): Likewise.
41026         (DF_1_NORELOC): Likewise.
41027         (DF_1_SYMINTPOSE): Likewise.
41028         (DF_1_GLOBAUDIT): Likewise.
41029         (DF_1_SINGLETON): Likewise.
41030         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41031         DT_1_SUPPORTED_MASK bits.
41032         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41034 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41036         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41038 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41040         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41041         macro.
41043         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41044         (sendmmsg): Move declarations...
41045         * socket/sys/socket.h: ... here.
41046         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41047         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41048         include it from...
41049         * socket/recvmmsg.c: ... this new file.
41050         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41051         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41052         definition of __sendmmsg hidden.
41053         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41054         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41055         Move ENOSYS stub into and include it from...
41056         * socket/sendmmsg.c: ... this new file.
41057         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41058         (sysdep_routines): Move recvmmsg and sendmmsg...
41059         * socket/Makefile (routines): ... here.
41060         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41061         (GLIBC_PRIVATE): Add __sendmmsg.
41062         * include/sys/socket.h (__sendmmsg): Add declarations.
41063         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41064         sendmmsg.
41066 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41068         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41069         variable I1 with __attribute__ ((unused)).
41070         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41072 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41074         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41075         DUMMY variables with __attribute__ ((unused)).
41077         * bits/byteswap.h: Include <bits/types.h>.
41078         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41080 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41082         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41083         string_t.  Do not manually set errno.
41084         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41085         length with __strnlen.  Make sure to both set errno and return it on
41086         failure.
41088 2012-11-19  David S. Miller  <davem@davemloft.net>
41090         With help from Joseph Myers.
41091         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41092         very large arguments properly.
41093         * math/libm-test.inc (atan_test): New tests.
41094         (atan2_test): New tests.
41095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41096         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41098 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41100         [BZ #14856]
41101         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41102         Define to 3.
41104         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41105         [POSIX] (EADDRNOTAVAIL): Likewise.
41106         [POSIX] (EAFNOSUPPORT): Likewise.
41107         [POSIX] (EALREADY): Likewise.
41108         [POSIX] (ECONNABORTED): Likewise.
41109         [POSIX] (ECONNREFUSED): Likewise.
41110         [POSIX] (ECONNRESET): Likewise.
41111         [POSIX] (EDESTADDRREQ): Likewise.
41112         [POSIX] (EDQUOT): Likewise.
41113         [POSIX] (EHOSTUNREACH): Likewise.
41114         [POSIX] (EIDRM): Likewise.
41115         [POSIX] (EISCONN): Likewise.
41116         [POSIX] (ELOOP): Likewise.
41117         [POSIX] (EMULTIHOP): Likewise.
41118         [POSIX] (ENETDOWN): Likewise.
41119         [POSIX] (ENETUNREACH): Likewise.
41120         [POSIX] (ENOBUFS): Likewise.
41121         [POSIX] (ENODATA): Likewise.
41122         [POSIX] (ENOLINK): Likewise.
41123         [POSIX] (ENOMSG): Likewise.
41124         [POSIX] (ENOPROTOOPT): Likewise.
41125         [POSIX] (ENOSR): Likewise.
41126         [POSIX] (ENOSTR): Likewise.
41127         [POSIX] (ENOTCONN): Likewise.
41128         [POSIX] (ENOTSOCK): Likewise.
41129         [POSIX] (EOPNOTSUPP): Likewise.
41130         [POSIX] (EOVERFLOW): Likewise.
41131         [POSIX] (EPROTO): Likewise.
41132         [POSIX] (EPROTONOSUPPORT): Likewise.
41133         [POSIX] (EPROTOTYPE): Likewise.
41134         [POSIX] (ESTALE): Likewise.
41135         [POSIX] (ETIME): Likewise.
41136         [POSIX] (ETXTBSY): Likewise.
41137         [POSIX] (EWOULDBLOCK): Likewise.
41138         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41139         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41140         [POSIX] (SEEK_CUR): Likewise.
41141         [POSIX] (SEEK_END): Likewise.
41142         [POSIX || UNIX98] (mode_t): Do not require.
41143         [POSIX] (off_t): Likewise.
41144         [POSIX] (pid_t): Likewise.
41145         [POSIX] (sys/stat.h): Do not allow header.
41146         [POSIX] (unistd.h): Likewise.
41147         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41148         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41149         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41150         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41151         require.
41152         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41153         sigevent): Specify elements.
41154         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41155         entry.
41156         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41157         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41159         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41160         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41161         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41162         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41163         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41164         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41165         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41166         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41167         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41168         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41169         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41170         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41171         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41172         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41173         Likewise.
41174         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41175         Likewise.
41176         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41177         Likewise.
41178         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41179         Likewise.
41180         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41181         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41182         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41183         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41184         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41185         Specify lower bound on value.
41186         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41187         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41188         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41189         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41190         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41191         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41192         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41193         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41194         value.
41195         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41196         as optional.
41197         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41198         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41199         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41200         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41201         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41202         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41203         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41204         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41205         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41206         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41207         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41208         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41209         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41210         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41211         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41212         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41213         entry.
41214         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41215         optional.
41216         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41217         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41218         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41219         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41220         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41221         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41222         Likewise.
41223         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41224         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41225         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41226         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41227         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41228         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41229         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41230         as optional.
41231         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41232         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41233         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41234         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41235         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41236         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41237         specify as optional.
41238         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41239         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41240         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41241         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41242         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41243         [XPG3] (NL_LANGMAX): Likewise.
41244         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41245         [POSIX || XPG3] (NL_NMAX): Likewise.
41246         [POSIX || XPG3] (NL_SETMAX): Likewise.
41247         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41248         [XPG3] (NZERO): Likewise.
41249         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41250         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41251         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41252         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41253         (REG_ERANGE): Expect.
41254         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41255         optional-constant.
41256         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41257         Use (void) in prototype.
41258         [POSIX] (*_t): Allow.
41259         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41260         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41261         (WRDE_BADVAL): Expect.
41263         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41264         expect.
41265         [XPG3 || XPG4] (O_RSYNC): Likewise.
41266         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41267         Likewise.
41268         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41269         [XPG3 || XPG4] (sigqueue): Likewise.
41270         [XPG3 || XPG4] (sigtimedwait): Likewise.
41271         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41272         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41273         [XPG3 || XPG4] (vsnprintf): Likewise.
41274         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41275         Likewise.
41276         [XPG3 || XPG4] (blksize_t): Likewise.
41277         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41278         Likewise.
41279         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41280         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41281         [XPG3 || XPG4] (struct itimerspec): Likewise.
41282         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41283         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41284         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41285         [XPG3 || XPG4] (clockid_t): Likewise.
41286         [XPG3 || XPG4] (timer_t): Likewise.
41287         [XPG3 || XPG4] (clock_getres): Likewise.
41288         [XPG3 || XPG4] (clock_gettime): Likewise.
41289         [XPG3 || XPG4] (clock_settime): Likewise.
41290         [XPG3 || XPG4] (nanosleep): Likewise.
41291         [XPG3 || XPG4] (timer_create): Likewise.
41292         [XPG3 || XPG4] (timer_delete): Likewise.
41293         [XPG3 || XPG4] (timer_gettime): Likewise.
41294         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41295         [XPG3 || XPG4] (timer_settime): Likewise.
41296         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41297         [XPG3 || XPG4] (getlogin_r): Likewise.
41298         [XPG3 || XPG4] (pread): Likewise.
41299         [XPG3 || XPG4] (pthread_atfork): Likewise.
41300         [XPG3 || XPG4] (pwrite): Likewise.
41302         [BZ #14835]
41303         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41304         <bits/siginfo.h>.
41306 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41308         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41309         finalizing MALLSTREAM.
41311         * sysdeps/mach/hurd/syncfs.c: New file.
41313 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41315         [BZ #14719]
41316         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41317         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41318         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41319         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41320         (_nss_dns_gethostbyname4_r): Likewise.
41321         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41322         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41324 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41326         [BZ #13763]
41327         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41329 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41331         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41332         * elf/cache.c (print_entry): Print ",AArch64" for
41333         FLAG_AARCH64_LIB64
41335         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41336         * elf/cache.c (print_entry): Print ",hard-float" for
41337         FLAG_ARM_LIBHF.
41339 2012-11-18  David S. Miller  <davem@davemloft.net>
41341         With help from Joseph Myers.
41342         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41343         cutoff to 2**-13.
41344         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41345         cutoff to 2**-25.
41346         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41347         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41348         small.
41349         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41350         * math/libm-test.inc (y0_test): New tests.
41351         (y1_test): New tests.
41352         * sysdeps/i386/fpu/libm-test-ulps: Update.
41353         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41356 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41358         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41359         64-bit targets.
41360         * configure: Regenerated.
41362 2012-11-17  David S. Miller  <davem@davemloft.net>
41364         [BZ #14811]
41365         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41366         nonzero exponents with absolute value below 0x1p-128 to +/-
41367         0x1p-128.
41369 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41371         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41373         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41375         * posix/getconf-speclist.c: New file.
41376         * posix/posix-envs.def: Likewise.
41377         * posix/confstr.c (START_ENV_GROUP): New macro.
41378         (END_ENV_GROUP): Likewise.
41379         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41380         (KNOWN_PRESENT_ENV_STRING): Likewise.
41381         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41382         (UNKNOWN_ENVIRONMENT): Likewise.
41383         (confstr): Include posix-envs.def instead of handling
41384         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41385         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41386         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41387         (END_ENV_GROUP): Likewise.
41388         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41389         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41390         (UNKNOWN_ENVIRONMENT): Likewise.
41391         (__sysconf): Include posix-envs.def instead of handling associated
41392         cases directly here.
41393         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41394         preprocessing getconf-speclist.c rather than running getconf or
41395         generating empty file.
41397 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41399         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41401 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41403         [BZ #14672]
41404         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41406 2012-11-16  David S. Miller  <davem@davemloft.net>
41408         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41409         smaller than LDBL_EPSILON/2.0L, just return xm1.
41411 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41413         * elf/tst-array1.c (init): Set constructor priority to 1000.
41414         (fini): Set destructor priority to 1000.
41415         * elf/tst-array2dep.c: Likewise.
41417 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41419         [BZ #11741]
41420         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41421         (_IO_new_file_xsputn): Also return EOF if none of the input
41422         data was written when overflow failed.
41423         * libio/iopadn.c (_IO_padn): Likewise.
41424         * libio/iowpadn.c (_IO_wpadn): Likewise.
41425         * stdio-common/tst-put-error.c: Add copyright notice.
41426         (do_test): Add case for printing padded string.
41427         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41428         _IO_padn returned error.
41429         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41430         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41431         return EOF.
41433 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41435         * libio/libioP.h: Add comment note that the references to C++
41436         bits are now obsolete.
41438 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41440         * math/libm-test.inc (check_complex): Use asprintf.
41442 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41444         * debug/pcprofiledump.c (print_version): Update copyright year.
41445         * malloc/memusagestat.c (print_version): Likewise.
41447 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
41449         [BZ #14831]
41450         * elf/Makefile (tests): Add tst-audit8.
41451         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41452         ($(objpfx)tst-audit8.out): New target.
41453         (tst-audit8-ENV): New variable.
41454         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41455         audit if l_reloc_result is NULL.
41456         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41457         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41458         * elf/tst-audit8.c: New file.
41460 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41462         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41463         * misc/Makefile (CFLAGS-select.c): Define.
41464         * posix/Makefile (CFLAGS-pause.c): Define.
41466 2012-11-13  David S. Miller  <davem@davemloft.net>
41468         * crypt/Makefile: Move test targets after toplevel Rules
41469         inclusion.  Grab any necessary sysdep routines when linking.
41470         * crypt/md5.c (md5_process_block): Remove define, we will always
41471         name it __md5_process_block.
41472         (md5_finish_ctx): Update md5_process_block call.
41473         (md5_stream): Likewise.
41474         (md5_process_bytes): Likewise.
41475         (md5_process_block): Rename to __md5_process_block and move to ...
41476         * crypt/md5-block.c: ... here.
41477         * crypt/sha256.c (sha256_process_block): Move to ...
41478         * crypt/sha256-block.c: ... here.
41479         * crypt/sha512.c (sha512_process_block): Move to ...
41480         * crypt/sha512-block.c: ... here.
41481         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41482         path.
41483         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41484         * sysdeps/sparc/sparc64/multiarch/Makefile
41485         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41486         crypt subdir.
41487         (localedef-aux): Add md5 crypto assembler when in locale subdir.
41488         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41489         multiarch changes.
41490         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41491         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41492         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41493         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41494         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41495         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41496         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41497         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41498         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41499         file.
41500         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41501         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41502         file.
41503         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41505 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
41507         * timezone/tzselect.ksh: Update from tzcode git revision
41508         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41509         * timezone/zdump.c: Likewise.
41510         * timezone/zic.c: Likewise.
41511         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41512         in TZVERSION setting, not $(PKGVERSION).
41513         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
41514         REPORT_BUGS_TO settings.
41516         [BZ #14838]
41517         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41518         macro.
41520 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41522         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41523         detection to immediately after _FP_ROUND().
41524         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41525         bits are 0.
41527 2012-11-11  David S. Miller  <davem@davemloft.net>
41529         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41530         inttypes.h
41531         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41532         __close rather than their public counterparts.
41534 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
41536         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41537         file.
41538         [UNIX98] (sem_timedwait): Do not expect.
41539         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41540         [XPG4 || UNIX98] (sockatmark): Do not expect.
41541         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41542         (clock_getcpuclockid): Do not expect.
41543         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41544         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41545         Do not expect.
41546         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41547         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41548         [UNIX98] (vwscanf): Likewise.
41549         [UNIX98] (vswscanf): Likewise.
41551 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
41553         * timezone/version.h: Remove file.
41554         * timezone/README: Do not refer to version.h.
41555         * timezone/Makefile ($(objpfx)zic.o): New dependency on
41556         $(objpfx)version.h.
41557         ($(objpfx)zdump.o): Likewise.
41558         ($(objpfx)version.h): New target.
41560         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41561         2012i.
41562         * timezone/README: Don't mention modification to tzselect.ksh.
41563         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41564         work on unmodified tzselect.ksh.  Substitute version numbers in
41565         tzselect.ksh.
41567         * Makefile (format-me): Remove.
41568         (INSTALL): Adjust indentation.  Use commands directly instead of
41569         using $(format-me).
41571         * aclocal.m4 (ACX_PKGVERSION): New macro.
41572         (ACX_BUGURL): Likewise.
41573         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41574         (PKGVERSION): New AC_DEFINE_UNQUOTED.
41575         (REPORT_BUGS_TO): Likewise.
41576         * configure: Regenerated.
41577         * config.h.in (PKGVERSION): New macro.
41578         (REPORT_BUGS_TO): Likewise.
41579         * config.make.in (PKGVERSION): New variable.
41580         (PKGVERSION_TEXI): Likewise.
41581         (REPORT_BUGS_TO): Likewise.
41582         (REPORT_BUGS_TEXI): Likewise.
41583         * Makefile (format-me): Use -I$(common-objpfx)manual.
41584         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41585         ($(common-objpfx)manual/%): New target.
41586         (manual/%): Remove target.
41587         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41588         (print_version): Use PKGVERSION.
41589         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41590         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41591         and REPORT_BUGS_TO.
41592         ($(objpfx)xtrace): Likewise.
41593         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41594         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41595         (print_version): Use PKGVERSION.
41596         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41597         (do_version): Use PKGVERSION.
41598         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41599         REPORT_BUGS_TO.
41600         (common-ldd-rewrite): Likewise.
41601         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41602         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41603         (print_version): Use PKGVERSION.
41604         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41605         * elf/pldd.c (argp_program_bug_address): Remove variable.
41606         (more_help): New function.
41607         (argp): Use more_help.
41608         (print_version): Use PKGVERSION.
41609         * elf/sln.c (main): Use PKGVERSION.
41610         (usage): Use REPORT_BUGS_TO.
41611         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
41612         (top level): Use PKGVERSION.
41613         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
41614         (print_version): Use PKGVERSION.
41615         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
41616         (print_version): Use PKGVERSION.
41617         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
41618         (print_version): Use PKGVERSION.
41619         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
41620         (print_version): Use PKGVERSION.
41621         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
41622         (print_version): Use PKGVERSION.
41623         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
41624         (print_version): Use PKGVERSION.
41625         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
41626         and BUGURL.
41627         ($(objpfx)memusage): Likewise.
41628         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
41629         (do_version): Use PKGVERSION.
41630         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
41631         (print_version): Use PKGVERSION.
41632         * malloc/mtrace.pl ($PACKAGE): Remove variable.
41633         ($PKGVERSION): New variable.
41634         ($REPORT_BUGS_TO): Likewise.
41635         (usage): Use $REPORT_BUGS_TO.
41636         (top level): Use $PKGVERSION.
41637         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
41638         ($(objpfx)pkgvers.texi): New rule.
41639         ($(objpfx)stamp-pkgvers): Likewise.
41640         * manual/install.texi: Include pkgvers.texi.
41641         (--with-pkgversion): Document new configure option.
41642         (--with-bugurl): Likewise.
41643         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
41644         than necessarily for this particular distribution.  Use
41645         REPORT_BUGS_TO for where to report bugs.
41646         * INSTALL: Regenerated.
41647         * manual/libc.texinfo: Include pkgvers.texi.
41648         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
41649         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
41650         (print_version): Use PKGVERSION.
41651         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
41652         (print_version): Use PKGVERSION.
41653         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
41654         (print_version): Use PKGVERSION.
41655         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
41656         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
41657         macro.
41658         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
41659         (print_version): Use PKGVERSION.
41660         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
41661         (print_version): Use PKGVERSION.
41662         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
41663         and PKGVERSION.
41665         * timezone/checktab.awk: Update from tzcode 2012i.
41666         * timezone/ialloc.c: Likewise.
41667         * timezone/private.h: Likewise.
41668         * timezone/scheck.c: Likewise.
41669         * timezone/tzfile.h: Likewise.
41670         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41671         (TZVERSION): Hardcode tzcode version number.
41672         * timezone/zdump.c: Update from tzcode 2012i.
41673         * timezone/zic.c: Likewise.
41674         * timezone/version.h: New file.
41675         * timezone/README: Describe version.h.  Update upstream location.
41677         [BZ #14824]
41678         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41679         (mktemp): Enable declaration.
41680         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41681         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41682         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41683         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41684         Likewise.
41685         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41686         Likewise.
41687         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41688         Likewise.
41689         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41690         Likewise.
41691         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41692         Likewise.
41693         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41694         Likewise.
41696         [BZ #14821]
41697         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41698         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
41699         for copies of such integer values.
41700         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41701         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41703 2012-11-09  Andreas Jaeger  <aj@suse.de>
41705         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41706         definitions and declarations that are provided by
41707         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41709 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41711         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41712         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41713         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41714         definition.
41716 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41718         * elf/elf.h: Update comment before AArch64 relocations.
41720 2012-11-07  David S. Miller  <davem@davemloft.net>
41722         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41723         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41724         (__start_context): Declare.
41725         (__makecontext_ret): Delete.
41726         (__makecontext): Hook up __start_context instead of
41727         __makecontext_ret.
41728         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41729         (sysdep_routines): Add __start_context when in stdlib.
41731 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41733         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41734         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41735         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
41736         hardcoded "nm".
41737         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
41738         (READELF): New variable.  Use it instead of hardcoded "readelf".
41740 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41742         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41743         * sysdeps/x86/Makefile: Here.
41744         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41745         * sysdeps/x86/tst-xmmymm.sh: This.
41747 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41749         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41750         expectations.
41751         [UNIX98] (pthread_barrier_t): Do not expect.
41752         [UNIX98] (pthread_barrierattr_t): Likewise.
41753         [UNIX98] (pthread_spinlock_t): Likewise.
41754         [UNIX98] (pthread_barrier_destroy): Likewise.
41755         [UNIX98] (pthread_barrier_init): Likewise.
41756         [UNIX98] (pthread_barrier_wait): Likewise.
41757         [UNIX98] (pthread_barrierattr_destroy): Likewise.
41758         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41759         [UNIX98] (pthread_barrierattr_init): Likewise.
41760         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41761         [UNIX98] (pthread_getcpuclockid): Likewise.
41762         [UNIX98] (pthread_mutex_timedlock): Likewise.
41763         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41764         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41765         [UNIX98] (pthread_sigmask): Likewise.
41766         [UNIX98] (pthread_spin_destroy): Likewise.
41767         [UNIX98] (pthread_spin_init): Likewise.
41768         [UNIX98] (pthread_spin_lock): Likewise.
41769         [UNIX98] (pthread_spin_trylock): Likewise.
41770         [UNIX98] (pthread_spin_unlock): Likewise.
41771         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41772         Do not expect.
41773         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41774         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41775         [XPG3 || XPG4] (pthread_cond_t): Likewise.
41776         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41777         [XPG3 || XPG4] (pthread_key_t): Likewise.
41778         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41779         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41780         [XPG3 || XPG4] (pthread_once_t): Likewise.
41781         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41782         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41783         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41784         [XPG3 || XPG4] (pthread_t): Likewise.
41786         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41787         not expect.
41788         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41790         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41791         Change function return type to int.
41793         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41794         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41795         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41796         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41797         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41798         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41799         [!POSIX] (posix_madvise): Likewise.
41800         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41801         && !UNIX98].
41802         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41803         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41804         (mode_t): Likewise.
41805         (posix_mem_offset): Likewise.
41806         (posix_typed_mem_get_info): Likewise.
41807         (posix_typed_mem_open): Likewise.
41809         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41810         Change condition to [XOPEN2K8].
41812         * conform/conformtest.pl: Preprocess allow-header data with -x c
41813         instead of from stdin.
41814         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41815         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41816         [C99-based standards] (cerfc): Likewise.
41817         [C99-based standards] (cexp2): Likewise.
41818         [C99-based standards] (cexpm1): Likewise.
41819         [C99-based standards] (clog10): Likewise.
41820         [C99-based standards] (clog1p): Likewise.
41821         [C99-based standards] (clog2): Likewise.
41822         [C99-based standards] (clgamma): Likewise.
41823         [C99-based standards] (ctgamma): Likewise.
41824         [C99-based standards] (cerff): Likewise.
41825         [C99-based standards] (cerfcf): Likewise.
41826         [C99-based standards] (cexp2f): Likewise.
41827         [C99-based standards] (cexpm1f): Likewise.
41828         [C99-based standards] (clog10f): Likewise.
41829         [C99-based standards] (clog1pf): Likewise.
41830         [C99-based standards] (clog2f): Likewise.
41831         [C99-based standards] (clgammaf): Likewise.
41832         [C99-based standards] (ctgammaf): Likewise.
41833         [C99-based standards] (cerfl): Likewise.
41834         [C99-based standards] (cerfcl): Likewise.
41835         [C99-based standards] (cexp2l): Likewise.
41836         [C99-based standards] (cexpm1l): Likewise.
41837         [C99-based standards] (clog10l): Likewise.
41838         [C99-based standards] (clog1pl): Likewise.
41839         [C99-based standards] (clog2l): Likewise.
41840         [C99-based standards] (clgammal): Likewise.
41841         [C99-based standards] (ctgammal): Likewise.
41842         * conform/data/inttypes.h-data [C99-based standards]: Include
41843         stdint.h-data.  Remove all expectations for stdint.h contents.
41844         [C99-based standards] (PRI*): Do not allow.
41845         [C99-based standards] (SCN*): Likewise.
41846         [C99-based standards] (*_t): Likewise.
41847         [C99-based-standards] (PRId8): Expect macro.
41848         [C99-based-standards] (PRIi8): Likewise.
41849         [C99-based-standards] (PRIo8): Likewise.
41850         [C99-based-standards] (PRIu8): Likewise.
41851         [C99-based-standards] (PRIx8): Likewise.
41852         [C99-based-standards] (PRIX8): Likewise.
41853         [C99-based-standards] (SCNd8): Likewise.
41854         [C99-based-standards] (SCNi8): Likewise.
41855         [C99-based-standards] (SCNo8): Likewise.
41856         [C99-based-standards] (SCNu8): Likewise.
41857         [C99-based-standards] (SCNx8): Likewise.
41858         [C99-based-standards] (PRIdLEAST8): Likewise.
41859         [C99-based-standards] (PRIiLEAST8): Likewise.
41860         [C99-based-standards] (PRIoLEAST8): Likewise.
41861         [C99-based-standards] (PRIuLEAST8): Likewise.
41862         [C99-based-standards] (PRIxLEAST8): Likewise.
41863         [C99-based-standards] (PRIXLEAST8): Likewise.
41864         [C99-based-standards] (SCNdLEAST8): Likewise.
41865         [C99-based-standards] (SCNiLEAST8): Likewise.
41866         [C99-based-standards] (SCNoLEAST8): Likewise.
41867         [C99-based-standards] (SCNuLEAST8): Likewise.
41868         [C99-based-standards] (SCNxLEAST8): Likewise.
41869         [C99-based-standards] (PRIdFAST8): Likewise.
41870         [C99-based-standards] (PRIiFAST8): Likewise.
41871         [C99-based-standards] (PRIoFAST8): Likewise.
41872         [C99-based-standards] (PRIuFAST8): Likewise.
41873         [C99-based-standards] (PRIxFAST8): Likewise.
41874         [C99-based-standards] (PRIXFAST8): Likewise.
41875         [C99-based-standards] (SCNdFAST8): Likewise.
41876         [C99-based-standards] (SCNiFAST8): Likewise.
41877         [C99-based-standards] (SCNoFAST8): Likewise.
41878         [C99-based-standards] (SCNuFAST8): Likewise.
41879         [C99-based-standards] (SCNxFAST8): Likewise.
41880         [C99-based-standards] (PRId16): Likewise.
41881         [C99-based-standards] (PRIi16): Likewise.
41882         [C99-based-standards] (PRIo16): Likewise.
41883         [C99-based-standards] (PRIu16): Likewise.
41884         [C99-based-standards] (PRIx16): Likewise.
41885         [C99-based-standards] (PRIX16): Likewise.
41886         [C99-based-standards] (SCNd16): Likewise.
41887         [C99-based-standards] (SCNi16): Likewise.
41888         [C99-based-standards] (SCNo16): Likewise.
41889         [C99-based-standards] (SCNu16): Likewise.
41890         [C99-based-standards] (SCNx16): Likewise.
41891         [C99-based-standards] (PRIdLEAST16): Likewise.
41892         [C99-based-standards] (PRIiLEAST16): Likewise.
41893         [C99-based-standards] (PRIoLEAST16): Likewise.
41894         [C99-based-standards] (PRIuLEAST16): Likewise.
41895         [C99-based-standards] (PRIxLEAST16): Likewise.
41896         [C99-based-standards] (PRIXLEAST16): Likewise.
41897         [C99-based-standards] (SCNdLEAST16): Likewise.
41898         [C99-based-standards] (SCNiLEAST16): Likewise.
41899         [C99-based-standards] (SCNoLEAST16): Likewise.
41900         [C99-based-standards] (SCNuLEAST16): Likewise.
41901         [C99-based-standards] (SCNxLEAST16): Likewise.
41902         [C99-based-standards] (PRIdFAST16): Likewise.
41903         [C99-based-standards] (PRIiFAST16): Likewise.
41904         [C99-based-standards] (PRIoFAST16): Likewise.
41905         [C99-based-standards] (PRIuFAST16): Likewise.
41906         [C99-based-standards] (PRIxFAST16): Likewise.
41907         [C99-based-standards] (PRIXFAST16): Likewise.
41908         [C99-based-standards] (SCNdFAST16): Likewise.
41909         [C99-based-standards] (SCNiFAST16): Likewise.
41910         [C99-based-standards] (SCNoFAST16): Likewise.
41911         [C99-based-standards] (SCNuFAST16): Likewise.
41912         [C99-based-standards] (SCNxFAST16): Likewise.
41913         [C99-based-standards] (PRId32): Likewise.
41914         [C99-based-standards] (PRIi32): Likewise.
41915         [C99-based-standards] (PRIo32): Likewise.
41916         [C99-based-standards] (PRIu32): Likewise.
41917         [C99-based-standards] (PRIx32): Likewise.
41918         [C99-based-standards] (PRIX32): Likewise.
41919         [C99-based-standards] (SCNd32): Likewise.
41920         [C99-based-standards] (SCNi32): Likewise.
41921         [C99-based-standards] (SCNo32): Likewise.
41922         [C99-based-standards] (SCNu32): Likewise.
41923         [C99-based-standards] (SCNx32): Likewise.
41924         [C99-based-standards] (PRIdLEAST32): Likewise.
41925         [C99-based-standards] (PRIiLEAST32): Likewise.
41926         [C99-based-standards] (PRIoLEAST32): Likewise.
41927         [C99-based-standards] (PRIuLEAST32): Likewise.
41928         [C99-based-standards] (PRIxLEAST32): Likewise.
41929         [C99-based-standards] (PRIXLEAST32): Likewise.
41930         [C99-based-standards] (SCNdLEAST32): Likewise.
41931         [C99-based-standards] (SCNiLEAST32): Likewise.
41932         [C99-based-standards] (SCNoLEAST32): Likewise.
41933         [C99-based-standards] (SCNuLEAST32): Likewise.
41934         [C99-based-standards] (SCNxLEAST32): Likewise.
41935         [C99-based-standards] (PRIdFAST32): Likewise.
41936         [C99-based-standards] (PRIiFAST32): Likewise.
41937         [C99-based-standards] (PRIoFAST32): Likewise.
41938         [C99-based-standards] (PRIuFAST32): Likewise.
41939         [C99-based-standards] (PRIxFAST32): Likewise.
41940         [C99-based-standards] (PRIXFAST32): Likewise.
41941         [C99-based-standards] (SCNdFAST32): Likewise.
41942         [C99-based-standards] (SCNiFAST32): Likewise.
41943         [C99-based-standards] (SCNoFAST32): Likewise.
41944         [C99-based-standards] (SCNuFAST32): Likewise.
41945         [C99-based-standards] (SCNxFAST32): Likewise.
41946         [C99-based-standards] (PRId64): Likewise.
41947         [C99-based-standards] (PRIi64): Likewise.
41948         [C99-based-standards] (PRIo64): Likewise.
41949         [C99-based-standards] (PRIu64): Likewise.
41950         [C99-based-standards] (PRIx64): Likewise.
41951         [C99-based-standards] (PRIX64): Likewise.
41952         [C99-based-standards] (SCNd64): Likewise.
41953         [C99-based-standards] (SCNi64): Likewise.
41954         [C99-based-standards] (SCNo64): Likewise.
41955         [C99-based-standards] (SCNu64): Likewise.
41956         [C99-based-standards] (SCNx64): Likewise.
41957         [C99-based-standards] (PRIdLEAST64): Likewise.
41958         [C99-based-standards] (PRIiLEAST64): Likewise.
41959         [C99-based-standards] (PRIoLEAST64): Likewise.
41960         [C99-based-standards] (PRIuLEAST64): Likewise.
41961         [C99-based-standards] (PRIxLEAST64): Likewise.
41962         [C99-based-standards] (PRIXLEAST64): Likewise.
41963         [C99-based-standards] (SCNdLEAST64): Likewise.
41964         [C99-based-standards] (SCNiLEAST64): Likewise.
41965         [C99-based-standards] (SCNoLEAST64): Likewise.
41966         [C99-based-standards] (SCNuLEAST64): Likewise.
41967         [C99-based-standards] (SCNxLEAST64): Likewise.
41968         [C99-based-standards] (PRIdFAST64): Likewise.
41969         [C99-based-standards] (PRIiFAST64): Likewise.
41970         [C99-based-standards] (PRIoFAST64): Likewise.
41971         [C99-based-standards] (PRIuFAST64): Likewise.
41972         [C99-based-standards] (PRIxFAST64): Likewise.
41973         [C99-based-standards] (PRIXFAST64): Likewise.
41974         [C99-based-standards] (SCNdFAST64): Likewise.
41975         [C99-based-standards] (SCNiFAST64): Likewise.
41976         [C99-based-standards] (SCNoFAST64): Likewise.
41977         [C99-based-standards] (SCNuFAST64): Likewise.
41978         [C99-based-standards] (SCNxFAST64): Likewise.
41979         [C99-based-standards] (PRIdMAX): Likewise.
41980         [C99-based-standards] (PRIiMAX): Likewise.
41981         [C99-based-standards] (PRIoMAX): Likewise.
41982         [C99-based-standards] (PRIuMAX): Likewise.
41983         [C99-based-standards] (PRIxMAX): Likewise.
41984         [C99-based-standards] (PRIXMAX): Likewise.
41985         [C99-based-standards] (SCNdMAX): Likewise.
41986         [C99-based-standards] (SCNiMAX): Likewise.
41987         [C99-based-standards] (SCNoMAX): Likewise.
41988         [C99-based-standards] (SCNuMAX): Likewise.
41989         [C99-based-standards] (SCNxMAX): Likewise.
41990         [C99-based-standards] (PRIdPTR): Likewise.
41991         [C99-based-standards] (PRIiPTR): Likewise.
41992         [C99-based-standards] (PRIoPTR): Likewise.
41993         [C99-based-standards] (PRIuPTR): Likewise.
41994         [C99-based-standards] (PRIxPTR): Likewise.
41995         [C99-based-standards] (PRIXPTR): Likewise.
41996         [C99-based-standards] (SCNdPTR): Likewise.
41997         [C99-based-standards] (SCNiPTR): Likewise.
41998         [C99-based-standards] (SCNoPTR): Likewise.
41999         [C99-based-standards] (SCNuPTR): Likewise.
42000         [C99-based-standards] (SCNxPTR): Likewise.
42001         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42002         allow.
42003         * conform/data/stdint.h-data: Update comments to clarify
42004         requirements.
42005         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42006         type.
42007         [C99-based standards] (INT8_MAX): Likewise.
42008         [C99-based standards] (INT16_MIN): Likewise.
42009         [C99-based standards] (INT16_MAX): Likewise.
42010         [C99-based standards] (INT32_MIN): Likewise.
42011         [C99-based standards] (INT32_MAX): Likewise.
42012         [C99-based standards] (INT64_MIN): Likewise.
42013         [C99-based standards] (INT64_MAX): Likewise.
42014         [C99-based standards] (UINT8_MAX): Likewise.
42015         [C99-based standards] (UINT16_MAX): Likewise.
42016         [C99-based standards] (UINT32_MAX): Likewise.
42017         [C99-based standards] (UINT64_MAX): Likewise.
42018         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42019         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42020         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42021         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42022         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42023         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42024         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42025         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42026         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42027         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42028         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42029         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42030         [C99-based standards] (INT_FAST8_MIN): Likewise.
42031         [C99-based standards] (INT_FAST8_MAX): Likewise.
42032         [C99-based standards] (INT_FAST16_MIN): Likewise.
42033         [C99-based standards] (INT_FAST16_MAX): Likewise.
42034         [C99-based standards] (INT_FAST32_MIN): Likewise.
42035         [C99-based standards] (INT_FAST32_MAX): Likewise.
42036         [C99-based standards] (INT_FAST64_MIN): Likewise.
42037         [C99-based standards] (INT_FAST64_MAX): Likewise.
42038         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42039         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42040         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42041         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42042         [C99-based standards] (INTPTR_MIN): Likewise.
42043         [C99-based standards] (INTPTR_MAX): Likewise.
42044         [C99-based standards] (UINTPTR_MAX): Likewise.
42045         [C99-based standards] (INTMAX_MIN): Likewise.
42046         [C99-based standards] (INTMAX_MAX): Likewise.
42047         [C99-based standards] (UINTMAX_MAX): Likewise.
42048         [C99-based standards] (PTRDIFF_MIN): Likewise.
42049         [C99-based standards] (PTRDIFF_MAX): Likewise.
42050         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42051         [C99-based standards] (SIZE_MAX): Likewise.
42052         [C99-based standards] (WCHAR_MAX): Likewise.
42053         [C99-based standards] (WINT_MAX): Likewise.
42054         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42055         constraint on value.
42056         [C99-based standards] (WCHAR_MIN): Likewise.
42057         [C99-based standards] (WINT_MIN): Likewise.
42058         [C99-based standards] (*_t): Allow.
42059         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42060         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42061         Include math.h-data and complex.h-data.  Remove all expectations
42062         of math.h and complex.h contents.
42063         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42064         at end of line.
42065         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42066         (struct tm): Expect tag.
42067         [C99-based-standards] (wcstof): Expect function.
42068         [C99-based-standards] (wcstold): Likewise.
42069         [C99-based-standards] (wcstoll): Likewise.
42070         [C99-based-standards] (wcstoull): Likewise.
42071         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42072         macro-int-constant.  Specify type.
42073         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42074         constraint on value.
42075         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42076         Specify type.
42077         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42078         Specify value.
42079         [ISO C standards]: Do not allow headers.
42080         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42081         wcs[abcdefghijklmnopqrstuvwxyz]*.
42082         [ISO C standards] (*_t): Do not allow.
42083         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42084         Expect function.
42085         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42086         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42087         Specify type.
42088         [ISO C standards]: Do not allow headers.
42089         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42090         is[abcdefghijklmnopqrstuvwxyz]*.
42091         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42092         to[abcdefghijklmnopqrstuvwxyz]*.
42093         [ISO C standards] (*_t): Do not allow.
42094         * conform/data/stdalign.h-data: New file.
42095         * conform/data/stdbool.h-data: Likewise.
42096         * conform/data/stdnoreturn.h-data: Likewise.
42098 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42100         [BZ #14815]
42101         * manual/filesys.texi (Directory Entries): Typo fix.
42102         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42104 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42106         * elf/elf.h (EM_AARCH64): New macro.
42107         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42108         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42109         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42110         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42111         (R_AARCH64_TLSDESC): Likewise.
42112         (NT_ARM_TLS): Likewise.
42113         (NT_ARM_HW_BREAK): Likewise.
42114         (NT_ARM_HW_WATCH): Likewise.
42116 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42118         [BZ #14811]
42119         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42120         (__ieee754_powl): Saturate nonzero exponents with absolute value
42121         below 0x1p-79 to +/- 0x1p-79.
42122         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42123         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42124         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42125         nonzero exponents with absolute value below 0x1p-32 to +/-
42126         0x1p-32.
42127         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42128         (__ieee754_powl): Saturate nonzero exponents with absolute value
42129         below 0x1p-79 to +/- 0x1p-79.
42130         * math/libm-test.inc (pow_test): Add more tests.
42132 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42134         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42135         _dl_s390_cap_flags with kernel. Increase string length.
42136         (_dl_s390_platforms): Add z196 and zEC12.
42138 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42140         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42141         Change XOPEN21K to XOPEN2K.
42143 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42145         * string/memmove.c: Use memcpy when possible.
42147 2012-11-06  Andreas Jaeger  <aj@suse.de>
42149         * po/eo.po: Update from translation team.
42151 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42153         [BZ #14793]
42154         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42155         exponent and small x and y exponents, scale x or y up.  Increase
42156         by 2 the exponent used in scaling up.
42157         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42158         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42159         * math/libm-test.inc (fma_test): Add more tests.
42160         (fma_test_towardzero): Likewise.
42161         (fma_test_downward): Likewise.
42162         (fma_test_upward): Likewise.
42164 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42166         [BZ #14805]
42167         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42168         fenv_t *.
42170         [BZ #14801]
42171         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42172         namespace for names of struct fields.
42173         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42174         fenv_t fields.
42175         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42176         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42178 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42180         [BZ #3665]
42181         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42183 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42185         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42186         PTR_DEMANGLE.
42188         [BZ #5246]
42189         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42190         PTR_DEMANGLE.
42192 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42194         [BZ #14797]
42195         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42196         definitely overflow as x * y not x * y + z.
42197         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42198         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42199         * math/libm-test.inc (fma_test): Add more tests.
42200         (fma_test_towardzero): Likewise.
42201         (fma_test_downward): Likewise.
42202         (fma_test_upward): Likewise.
42204 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42206         [BZ #157]
42208         * include/stub-tag.h: Remove file.
42209         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42210         '#include' of it.
42211         * manual/maint.texi (Porting): Don't reference it.
42212         * Makerules ($(objpfx)stubs): Likewise.
42213         * dirent/closedir.c: Don't include <stub-tag.h>.
42214         * dirent/dirfd.c: Likewise.
42215         * dirent/fdopendir.c: Likewise.
42216         * dirent/getdents.c: Likewise.
42217         * dirent/getdents64.c: Likewise.
42218         * dirent/opendir.c: Likewise.
42219         * dirent/readdir.c: Likewise.
42220         * dirent/readdir64.c: Likewise.
42221         * dirent/readdir64_r.c: Likewise.
42222         * dirent/readdir_r.c: Likewise.
42223         * dirent/rewinddir.c: Likewise.
42224         * dirent/seekdir.c: Likewise.
42225         * dirent/telldir.c: Likewise.
42226         * gmon/profil.c: Likewise.
42227         * grp/setgroups.c: Likewise.
42228         * inet/if_index.c: Likewise.
42229         * io/access.c: Likewise.
42230         * io/chdir.c: Likewise.
42231         * io/chmod.c: Likewise.
42232         * io/chown.c: Likewise.
42233         * io/close.c: Likewise.
42234         * io/dup.c: Likewise.
42235         * io/dup2.c: Likewise.
42236         * io/dup3.c: Likewise.
42237         * io/euidaccess.c: Likewise.
42238         * io/faccessat.c: Likewise.
42239         * io/fchdir.c: Likewise.
42240         * io/fchmod.c: Likewise.
42241         * io/fchmodat.c: Likewise.
42242         * io/fchown.c: Likewise.
42243         * io/fchownat.c: Likewise.
42244         * io/fcntl.c: Likewise.
42245         * io/flock.c: Likewise.
42246         * io/fstatfs.c: Likewise.
42247         * io/fstatfs64.c: Likewise.
42248         * io/fstatvfs.c: Likewise.
42249         * io/fstatvfs64.c: Likewise.
42250         * io/futimens.c: Likewise.
42251         * io/fxstat.c: Likewise.
42252         * io/fxstat64.c: Likewise.
42253         * io/fxstatat.c: Likewise.
42254         * io/fxstatat64.c: Likewise.
42255         * io/getcwd.c: Likewise.
42256         * io/isatty.c: Likewise.
42257         * io/lchmod.c: Likewise.
42258         * io/lchown.c: Likewise.
42259         * io/link.c: Likewise.
42260         * io/linkat.c: Likewise.
42261         * io/lseek.c: Likewise.
42262         * io/lseek64.c: Likewise.
42263         * io/lxstat64.c: Likewise.
42264         * io/mkdir.c: Likewise.
42265         * io/mkdirat.c: Likewise.
42266         * io/mkfifo.c: Likewise.
42267         * io/mkfifoat.c: Likewise.
42268         * io/open.c: Likewise.
42269         * io/open64.c: Likewise.
42270         * io/openat.c: Likewise.
42271         * io/openat64.c: Likewise.
42272         * io/pipe.c: Likewise.
42273         * io/pipe2.c: Likewise.
42274         * io/poll.c: Likewise.
42275         * io/posix_fadvise.c: Likewise.
42276         * io/posix_fadvise64.c: Likewise.
42277         * io/posix_fallocate.c: Likewise.
42278         * io/posix_fallocate64.c: Likewise.
42279         * io/read.c: Likewise.
42280         * io/readlink.c: Likewise.
42281         * io/readlinkat.c: Likewise.
42282         * io/rmdir.c: Likewise.
42283         * io/sendfile.c: Likewise.
42284         * io/sendfile64.c: Likewise.
42285         * io/statfs.c: Likewise.
42286         * io/statfs64.c: Likewise.
42287         * io/statvfs.c: Likewise.
42288         * io/statvfs64.c: Likewise.
42289         * io/symlink.c: Likewise.
42290         * io/symlinkat.c: Likewise.
42291         * io/ttyname.c: Likewise.
42292         * io/ttyname_r.c: Likewise.
42293         * io/umask.c: Likewise.
42294         * io/unlink.c: Likewise.
42295         * io/unlinkat.c: Likewise.
42296         * io/utime.c: Likewise.
42297         * io/utimensat.c: Likewise.
42298         * io/write.c: Likewise.
42299         * io/xmknod.c: Likewise.
42300         * io/xmknodat.c: Likewise.
42301         * io/xstat.c: Likewise.
42302         * io/xstat64.c: Likewise.
42303         * login/getpt.c: Likewise.
42304         * login/grantpt.c: Likewise.
42305         * login/unlockpt.c: Likewise.
42306         * math/e_acoshl.c: Likewise.
42307         * math/e_acosl.c: Likewise.
42308         * math/e_asinl.c: Likewise.
42309         * math/e_atan2l.c: Likewise.
42310         * math/e_atanhl.c: Likewise.
42311         * math/e_coshl.c: Likewise.
42312         * math/e_expl.c: Likewise.
42313         * math/e_fmodl.c: Likewise.
42314         * math/e_gammal_r.c: Likewise.
42315         * math/e_hypotl.c: Likewise.
42316         * math/e_j0l.c: Likewise.
42317         * math/e_j1l.c: Likewise.
42318         * math/e_jnl.c: Likewise.
42319         * math/e_lgammal_r.c: Likewise.
42320         * math/e_log10l.c: Likewise.
42321         * math/e_log2l.c: Likewise.
42322         * math/e_logl.c: Likewise.
42323         * math/e_powl.c: Likewise.
42324         * math/e_rem_pio2l.c: Likewise.
42325         * math/e_sinhl.c: Likewise.
42326         * math/e_sqrtl.c: Likewise.
42327         * math/fclrexcpt.c: Likewise.
42328         * math/fedisblxcpt.c: Likewise.
42329         * math/feenablxcpt.c: Likewise.
42330         * math/fegetenv.c: Likewise.
42331         * math/fegetexcept.c: Likewise.
42332         * math/fegetround.c: Likewise.
42333         * math/feholdexcpt.c: Likewise.
42334         * math/fesetenv.c: Likewise.
42335         * math/fesetround.c: Likewise.
42336         * math/feupdateenv.c: Likewise.
42337         * math/fgetexcptflg.c: Likewise.
42338         * math/fraiseexcpt.c: Likewise.
42339         * math/fsetexcptflg.c: Likewise.
42340         * math/ftestexcept.c: Likewise.
42341         * math/k_cosl.c: Likewise.
42342         * math/k_rem_pio2l.c: Likewise.
42343         * math/k_sinl.c: Likewise.
42344         * math/k_tanl.c: Likewise.
42345         * math/s_asinhl.c: Likewise.
42346         * math/s_atanl.c: Likewise.
42347         * math/s_cbrtl.c: Likewise.
42348         * math/s_erfl.c: Likewise.
42349         * math/s_expm1l.c: Likewise.
42350         * math/s_log1pl.c: Likewise.
42351         * math/s_tanhl.c: Likewise.
42352         * misc/acct.c: Likewise.
42353         * misc/brk.c: Likewise.
42354         * misc/chflags.c: Likewise.
42355         * misc/chroot.c: Likewise.
42356         * misc/fchflags.c: Likewise.
42357         * misc/fgetxattr.c: Likewise.
42358         * misc/flistxattr.c: Likewise.
42359         * misc/fremovexattr.c: Likewise.
42360         * misc/fsetxattr.c: Likewise.
42361         * misc/fsync.c: Likewise.
42362         * misc/ftruncate.c: Likewise.
42363         * misc/futimes.c: Likewise.
42364         * misc/futimesat.c: Likewise.
42365         * misc/getdomain.c: Likewise.
42366         * misc/getdtsz.c: Likewise.
42367         * misc/gethostid.c: Likewise.
42368         * misc/gethostname.c: Likewise.
42369         * misc/getloadavg.c: Likewise.
42370         * misc/getpagesize.c: Likewise.
42371         * misc/getsysstats.c: Likewise.
42372         * misc/getxattr.c: Likewise.
42373         * misc/gtty.c: Likewise.
42374         * misc/ioctl.c: Likewise.
42375         * misc/lgetxattr.c: Likewise.
42376         * misc/listxattr.c: Likewise.
42377         * misc/llistxattr.c: Likewise.
42378         * misc/lremovexattr.c: Likewise.
42379         * misc/lsetxattr.c: Likewise.
42380         * misc/lutimes.c: Likewise.
42381         * misc/madvise.c: Likewise.
42382         * misc/mincore.c: Likewise.
42383         * misc/mlock.c: Likewise.
42384         * misc/mlockall.c: Likewise.
42385         * misc/mmap.c: Likewise.
42386         * misc/mprotect.c: Likewise.
42387         * misc/msync.c: Likewise.
42388         * misc/munlock.c: Likewise.
42389         * misc/munlockall.c: Likewise.
42390         * misc/munmap.c: Likewise.
42391         * misc/preadv.c: Likewise.
42392         * misc/preadv64.c: Likewise.
42393         * misc/ptrace.c: Likewise.
42394         * misc/pwritev.c: Likewise.
42395         * misc/pwritev64.c: Likewise.
42396         * misc/readv.c: Likewise.
42397         * misc/reboot.c: Likewise.
42398         * misc/remap_file_pages.c: Likewise.
42399         * misc/removexattr.c: Likewise.
42400         * misc/revoke.c: Likewise.
42401         * misc/select.c: Likewise.
42402         * misc/setdomain.c: Likewise.
42403         * misc/setegid.c: Likewise.
42404         * misc/seteuid.c: Likewise.
42405         * misc/sethostid.c: Likewise.
42406         * misc/sethostname.c: Likewise.
42407         * misc/setregid.c: Likewise.
42408         * misc/setreuid.c: Likewise.
42409         * misc/setxattr.c: Likewise.
42410         * misc/sstk.c: Likewise.
42411         * misc/stty.c: Likewise.
42412         * misc/swapoff.c: Likewise.
42413         * misc/swapon.c: Likewise.
42414         * misc/sync.c: Likewise.
42415         * misc/syncfs.c: Likewise.
42416         * misc/syscall.c: Likewise.
42417         * misc/truncate.c: Likewise.
42418         * misc/ualarm.c: Likewise.
42419         * misc/usleep.c: Likewise.
42420         * misc/ustat.c: Likewise.
42421         * misc/utimes.c: Likewise.
42422         * misc/vhangup.c: Likewise.
42423         * misc/writev.c: Likewise.
42424         * posix/_exit.c: Likewise.
42425         * posix/alarm.c: Likewise.
42426         * posix/execve.c: Likewise.
42427         * posix/fexecve.c: Likewise.
42428         * posix/fork.c: Likewise.
42429         * posix/fpathconf.c: Likewise.
42430         * posix/getaddrinfo.c: Likewise.
42431         * posix/getegid.c: Likewise.
42432         * posix/geteuid.c: Likewise.
42433         * posix/getgid.c: Likewise.
42434         * posix/getgroups.c: Likewise.
42435         * posix/getlogin.c: Likewise.
42436         * posix/getlogin_r.c: Likewise.
42437         * posix/getpgid.c: Likewise.
42438         * posix/getpid.c: Likewise.
42439         * posix/getppid.c: Likewise.
42440         * posix/getresgid.c: Likewise.
42441         * posix/getresuid.c: Likewise.
42442         * posix/getsid.c: Likewise.
42443         * posix/getuid.c: Likewise.
42444         * posix/glob64.c: Likewise.
42445         * posix/nanosleep.c: Likewise.
42446         * posix/pathconf.c: Likewise.
42447         * posix/pause.c: Likewise.
42448         * posix/posix_madvise.c: Likewise.
42449         * posix/pread.c: Likewise.
42450         * posix/pread64.c: Likewise.
42451         * posix/pwrite.c: Likewise.
42452         * posix/pwrite64.c: Likewise.
42453         * posix/sched_getaffinity.c: Likewise.
42454         * posix/sched_getp.c: Likewise.
42455         * posix/sched_gets.c: Likewise.
42456         * posix/sched_primax.c: Likewise.
42457         * posix/sched_primin.c: Likewise.
42458         * posix/sched_rr_gi.c: Likewise.
42459         * posix/sched_setaffinity.c: Likewise.
42460         * posix/sched_setp.c: Likewise.
42461         * posix/sched_sets.c: Likewise.
42462         * posix/sched_yield.c: Likewise.
42463         * posix/setgid.c: Likewise.
42464         * posix/setlogin.c: Likewise.
42465         * posix/setpgid.c: Likewise.
42466         * posix/setresgid.c: Likewise.
42467         * posix/setresuid.c: Likewise.
42468         * posix/setsid.c: Likewise.
42469         * posix/setuid.c: Likewise.
42470         * posix/sleep.c: Likewise.
42471         * posix/spawni.c: Likewise.
42472         * posix/sysconf.c: Likewise.
42473         * posix/times.c: Likewise.
42474         * posix/wait.c: Likewise.
42475         * posix/wait3.c: Likewise.
42476         * posix/wait4.c: Likewise.
42477         * posix/waitpid.c: Likewise.
42478         * resolv/gai_sigqueue.c: Likewise.
42479         * resource/getpriority.c: Likewise.
42480         * resource/getrlimit.c: Likewise.
42481         * resource/getrusage.c: Likewise.
42482         * resource/nice.c: Likewise.
42483         * resource/setpriority.c: Likewise.
42484         * resource/setrlimit.c: Likewise.
42485         * resource/ulimit.c: Likewise.
42486         * rt/aio_cancel.c: Likewise.
42487         * rt/aio_fsync.c: Likewise.
42488         * rt/aio_read.c: Likewise.
42489         * rt/aio_sigqueue.c: Likewise.
42490         * rt/aio_suspend.c: Likewise.
42491         * rt/aio_write.c: Likewise.
42492         * rt/clock_getres.c: Likewise.
42493         * rt/clock_gettime.c: Likewise.
42494         * rt/clock_nanosleep.c: Likewise.
42495         * rt/clock_settime.c: Likewise.
42496         * rt/lio_listio.c: Likewise.
42497         * rt/mq_close.c: Likewise.
42498         * rt/mq_getattr.c: Likewise.
42499         * rt/mq_notify.c: Likewise.
42500         * rt/mq_open.c: Likewise.
42501         * rt/mq_receive.c: Likewise.
42502         * rt/mq_send.c: Likewise.
42503         * rt/mq_setattr.c: Likewise.
42504         * rt/mq_timedreceive.c: Likewise.
42505         * rt/mq_timedsend.c: Likewise.
42506         * rt/mq_unlink.c: Likewise.
42507         * rt/shm_open.c: Likewise.
42508         * rt/shm_unlink.c: Likewise.
42509         * rt/timer_create.c: Likewise.
42510         * rt/timer_delete.c: Likewise.
42511         * rt/timer_getoverr.c: Likewise.
42512         * rt/timer_gettime.c: Likewise.
42513         * rt/timer_settime.c: Likewise.
42514         * setjmp/__longjmp.c: Likewise.
42515         * setjmp/setjmp.c: Likewise.
42516         * signal/kill.c: Likewise.
42517         * signal/killpg.c: Likewise.
42518         * signal/raise.c: Likewise.
42519         * signal/sigaction.c: Likewise.
42520         * signal/sigaltstack.c: Likewise.
42521         * signal/sigblock.c: Likewise.
42522         * signal/sigignore.c: Likewise.
42523         * signal/sigintr.c: Likewise.
42524         * signal/signal.c: Likewise.
42525         * signal/sigpause.c: Likewise.
42526         * signal/sigpending.c: Likewise.
42527         * signal/sigqueue.c: Likewise.
42528         * signal/sigreturn.c: Likewise.
42529         * signal/sigset.c: Likewise.
42530         * signal/sigsetmask.c: Likewise.
42531         * signal/sigstack.c: Likewise.
42532         * signal/sigsuspend.c: Likewise.
42533         * signal/sigtimedwait.c: Likewise.
42534         * signal/sigvec.c: Likewise.
42535         * signal/sigwait.c: Likewise.
42536         * signal/sigwaitinfo.c: Likewise.
42537         * signal/sysv_signal.c: Likewise.
42538         * socket/accept.c: Likewise.
42539         * socket/accept4.c: Likewise.
42540         * socket/bind.c: Likewise.
42541         * socket/connect.c: Likewise.
42542         * socket/getpeername.c: Likewise.
42543         * socket/getsockname.c: Likewise.
42544         * socket/getsockopt.c: Likewise.
42545         * socket/isfdtype.c: Likewise.
42546         * socket/listen.c: Likewise.
42547         * socket/recv.c: Likewise.
42548         * socket/recvfrom.c: Likewise.
42549         * socket/recvmsg.c: Likewise.
42550         * socket/send.c: Likewise.
42551         * socket/sendmsg.c: Likewise.
42552         * socket/sendto.c: Likewise.
42553         * socket/setsockopt.c: Likewise.
42554         * socket/shutdown.c: Likewise.
42555         * socket/sockatmark.c: Likewise.
42556         * socket/socket.c: Likewise.
42557         * socket/socketpair.c: Likewise.
42558         * stdio-common/ctermid.c: Likewise.
42559         * stdio-common/cuserid.c: Likewise.
42560         * stdio-common/remove.c: Likewise.
42561         * stdio-common/rename.c: Likewise.
42562         * stdio-common/renameat.c: Likewise.
42563         * stdio-common/tempname.c: Likewise.
42564         * stdlib/getcontext.c: Likewise.
42565         * stdlib/makecontext.c: Likewise.
42566         * stdlib/setcontext.c: Likewise.
42567         * stdlib/swapcontext.c: Likewise.
42568         * stdlib/system.c: Likewise.
42569         * streams/fattach.c: Likewise.
42570         * streams/fdetach.c: Likewise.
42571         * streams/getmsg.c: Likewise.
42572         * streams/getpmsg.c: Likewise.
42573         * streams/putmsg.c: Likewise.
42574         * streams/putpmsg.c: Likewise.
42575         * sysdeps/unix/bsd/getpt.c: Likewise.
42576         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42577         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42578         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42580         Likewise.
42581         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42582         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42583         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42584         * sysvipc/msgctl.c: Likewise.
42585         * sysvipc/msgget.c: Likewise.
42586         * sysvipc/msgrcv.c: Likewise.
42587         * sysvipc/msgsnd.c: Likewise.
42588         * sysvipc/semctl.c: Likewise.
42589         * sysvipc/semget.c: Likewise.
42590         * sysvipc/semop.c: Likewise.
42591         * sysvipc/semtimedop.c: Likewise.
42592         * sysvipc/shmat.c: Likewise.
42593         * sysvipc/shmctl.c: Likewise.
42594         * sysvipc/shmdt.c: Likewise.
42595         * sysvipc/shmget.c: Likewise.
42596         * termios/tcdrain.c: Likewise.
42597         * termios/tcflow.c: Likewise.
42598         * termios/tcflush.c: Likewise.
42599         * termios/tcgetattr.c: Likewise.
42600         * termios/tcgetpgrp.c: Likewise.
42601         * termios/tcsendbrk.c: Likewise.
42602         * termios/tcsetattr.c: Likewise.
42603         * termios/tcsetpgrp.c: Likewise.
42604         * time/adjtime.c: Likewise.
42605         * time/clock.c: Likewise.
42606         * time/getitimer.c: Likewise.
42607         * time/gettimeofday.c: Likewise.
42608         * time/setitimer.c: Likewise.
42609         * time/settimeofday.c: Likewise.
42610         * time/stime.c: Likewise.
42611         * time/time.c: Likewise.
42613 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
42615         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
42616         /usr/old/bin.
42618         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
42619         instead of spaces.
42620         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
42622 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
42624         [BZ #14796]
42625         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
42626         FE_TONEAREST before applying Dekker multiplication and Knuth
42627         addition.  Clear inexact exceptions and check for exact zero
42628         results afterwards.
42629         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42630         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42631         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42632         * math/libm-test.inc (fma_test): Add more tests.
42633         (fma_test_towardzero): Likewise.
42634         (fma_test_downward): Likewise.
42635         (fma_test_upward): Likewise.
42636         * sysdeps/generic/math_private.h (default_libc_fesetround): New
42637         function.
42638         (libc_fesetround): New macro.
42639         (libc_fesetroundf): Likewise.
42640         (libc_fesetroundl): Likewise.
42641         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
42642         function.
42643         (libc_fesetround_387): Likewise.
42644         (libc_fesetroundf): New macro.
42645         (libc_fesetround): Likewise.
42646         (libc_fesetroundl): Likewise.
42647         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
42648         function.
42649         (libc_fesetroundf): New macro.
42650         (libc_fesetround): Likewise.
42651         (libc_fesetroundl): Likewise.
42652         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
42653         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42654         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
42655         libm_hidden_ver.
42656         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
42657         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
42658         libm_hidden_def.
42659         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
42660         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
42661         libm_hidden_ver.
42662         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
42663         libm_hidden_def.
42665         [BZ #3439]
42666         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
42667         integer constant usable in #if and use that to give value to enum
42668         constant.
42669         (FE_DIVBYZERO): Likewise.
42670         (FE_UNDERFLOW): Likewise.
42671         (FE_OVERFLOW): Likewise.
42672         (FE_INVALID): Likewise.
42673         (FE_INVALID_SNAN): Likewise.
42674         (FE_INVALID_ISI): Likewise.
42675         (FE_INVALID_IDI): Likewise.
42676         (FE_INVALID_ZDZ): Likewise.
42677         (FE_INVALID_IMZ): Likewise.
42678         (FE_INVALID_COMPARE): Likewise.
42679         (FE_INVALID_SOFTWARE): Likewise.
42680         (FE_INVALID_SQRT): Likewise.
42681         (FE_INVALID_INTEGER_CONVERSION): Likewise.
42682         (FE_TONEAREST): Likewise.
42683         (FE_TOWARDZERO): Likewise.
42684         (FE_UPWARD): Likewise.
42685         (FE_DOWNWARD): Likewise.
42686         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42687         (FE_DIVBYZERO): Likewise.
42688         (FE_OVERFLOW): Likewise.
42689         (FE_UNDERFLOW): Likewise.
42690         (FE_INEXACT): Likewise.
42691         (FE_TONEAREST): Likewise.
42692         (FE_DOWNWARD): Likewise.
42693         (FE_UPWARD): Likewise.
42694         (FE_TOWARDZERO): Likewise.
42695         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42696         (FE_UNDERFLOW): Likewise.
42697         (FE_OVERFLOW): Likewise.
42698         (FE_DIVBYZERO): Likewise.
42699         (FE_INVALID): Likewise.
42700         (FE_TONEAREST): Likewise.
42701         (FE_TOWARDZERO): Likewise.
42702         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42703         (FE_OVERFLOW): Likewise.
42704         (FE_UNDERFLOW): Likewise.
42705         (FE_DIVBYZERO): Likewise.
42706         (FE_INEXACT): Likewise.
42707         (FE_TONEAREST): Likewise.
42708         (FE_TOWARDZERO): Likewise.
42709         (FE_UPWARD): Likewise.
42710         (FE_DOWNWARD): Likewise.
42711         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42712         (FE_DIVBYZERO): Likewise.
42713         (FE_OVERFLOW): Likewise.
42714         (FE_UNDERFLOW): Likewise.
42715         (FE_INEXACT): Likewise.
42716         (FE_TONEAREST): Likewise.
42717         (FE_DOWNWARD): Likewise.
42718         (FE_UPWARD): Likewise.
42719         (FE_TOWARDZERO): Likewise.
42721 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
42723         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42725 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
42727         * scripts/cross-test-ssh.sh (command): Use newlines to separate
42728         commands.  Quote $PWD.
42729         (blacklist_exports): Don't use remove_newlines.  Replace "declare
42730         -x" by "export".
42731         (remove_newlines): Remove.
42733 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
42735         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42736         * stdlib/stdlib.h (atof): Moved to ...
42737         * include/bits/stdlib-float.h: Here.  New file.
42738         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42739         * stdlib/bits/stdlib-float.h: New file.
42740         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42741         -mno-sse -mno-mmx.
42742         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42743         <xmmintrin.h>.
42745 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42747         * conform/conformtest.pl (@headers): Add fenv.h.
42748         * conform/data/fenv.h-data: New file.
42749         * include/fenv.h [_ISOMAC]: Disable all contents of file except
42750         include of <math/fenv.h>.
42752         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42753         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42754         && !UNIX98].  Enables tests for XOPEN2K8.
42755         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42756         POSIX2008]: Likewise.
42758         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42759         (struct rusage): Do not expect type or its members.
42761         [BZ #3439]
42762         * math/math.h (FP_NAN): Define macro to integer constant usable in
42763         #if and use that to give value to enum constant.
42764         (FP_INFINITE): Likewise.
42765         (FP_ZERO): Likewise.
42766         (FP_SUBNORMAL): Likewise.
42767         (FP_NORMAL): Likewise.
42769 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
42771         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42772         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42773         arguments.
42775 2012-11-02  Roland McGrath  <roland@hack.frob.com>
42777         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42778         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42779         autoconf-time if not.
42780         * configure.in: Remove AC_PREREQ.
42782 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42784         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42785         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42786         of the internal implementation.
42788 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42790         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42791         except include of <misc/sys/syslog.h>.
42793 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42796         function returns with a NULL context exit with zero.
42798 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42800         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42802 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
42804         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42805         (run_program_cmd): This.
42806         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42807         (tst_langinfo): New variable.  Use it.
42809 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
42811         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42812         floating point opcodes.
42814 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42816         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42817         variable.
42819         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42821         * sysdeps/mach/hurd/powerpc: Remove directory.
42822         * sysdeps/mach/powerpc: Likewise.
42824 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42826         * scripts/check-local-headers.sh: Ignore c++ headers.
42828 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42830         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42831         __libc_cleanup_region_start argument.
42833 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
42835         [BZ #14784]
42836         [BZ #14785]
42837         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42838         x * y using scaling, not as x * y + z.
42839         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42840         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42841         * math/libm-test.inc (fma_test): Add more tests.
42842         (fma_test_towardzero): Likewise.
42843         (fma_test_downward): Likewise.
42844         (fma_test_upward): Likewise.
42846 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42848         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42850 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42852         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42853         New variable.
42855 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
42857         * rt/tst-shm.c (worker): Correct checking for mmap failure.
42859 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42862         Fix sort order.
42863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42864         Likewise.
42866 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42869         Fix the order of the list for glibc 2.17.
42870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42871         Likewise.
42873 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42877 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42879         [BZ #14610]
42880         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42881         for low part of x being zero before using __atanl (y).
42882         * math/libm-test.inc (atan2_test): Add another test.
42884         * manual/install.texi (Configuring and compiling): Document
42885         general use of test-wrapper and test-wrapper-env.
42886         * INSTALL: Regenerated.
42888         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42889         (__fma): 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-128/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         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42897         (__fmal): Do not extract and scale down low bits on after-rounding
42898         systems when result rounded to normal precision would have normal
42899         exponent.
42900         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42901         macro.
42902         (fma_test): Add more tests.
42903         (fma_test_towardzero): Likewise.
42904         (fma_test_downward): Likewise.
42905         (fma_test_upward): Likewise.
42907 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
42909         * sysdeps/i386/tininess.h: Renamed to ...
42910         * sysdeps/x86/tininess.h: This.
42911         * sysdeps/x86_64/tininess.h: Removed.
42913 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42915         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42916         input.  Use $(build-program-cmd).
42917         ($(objpfx)tst-array1-static.out): Likewise.
42918         ($(objpfx)tst-array2.out): Likewise.
42919         ($(objpfx)tst-array3.out): Likewise.
42920         ($(objpfx)tst-array4.out): Likewise.
42921         ($(objpfx)tst-array5.out): Likewise.
42922         ($(objpfx)tst-array5-static.out): Likewise.
42924 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
42926         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42927         if defined.
42929         * nss/nsswitch.h (nss_interface_function): Provide new
42930         macro for use with NSS functions.
42931         * grp/initgroups.c: Use new macro.
42932         * nss/getXXbyYY.c: Likewise.
42933         * nss/getXXbyYY_r.c: Likewise.
42934         * nss/getXXent.c: Likewise.
42935         * nss/getXXent_r.c: Likewise.
42936         * sysdeps/posix/getaddrinfo.c: Likewise.
42938 2012-10-30  Andreas Jaeger  <aj@suse.de>
42940         * po/ru.po: Update Russion translation from translation project.
42942 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42944         [BZ #14152]
42945         [BZ #14783]
42946         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42947         result and shift together with sticky bit instead of replicating
42948         round-to-nearest rounding.
42949         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42950         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42951         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
42952         missing underflow exceptions.
42953         (fma_test_towardzero): Add more tests.
42954         (fma_test_downward): Likewise.
42955         (fma_test_upward): Likewise.
42957         [BZ #14047]
42958         * sysdeps/generic/tininess.h: New file.
42959         * sysdeps/i386/tininess.h: Likewise.
42960         * sysdeps/sh/tininess.h: Likewise.
42961         * sysdeps/x86_64/tininess.h: Likewise.
42962         * stdlib/tst-strtod-underflow.c: Likewise.
42963         * stdlib/tst-tininess.c: Likewise.
42964         * stdlib/strtod_l.c: Include <tininess.h>.
42965         (round_and_return): Do not set errno for exact underflow cases.
42966         Force an underflow exception when setting errno for underflow.
42967         Determine underflow based on rounding to normal precision if
42968         TININESS_AFTER_ROUNDING.
42969         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42970         ERANGE for exact underflow cases.
42971         * stdlib/Makefile (tests): Add tst-tininess and
42972         tst-strtod-underflow.
42973         ($(objpfx)tst-tininess): Use $(link-libm).
42974         ($(objpfx)tst-strtod-underflow): Likewise.
42976 2012-10-30  Andreas Jaeger  <aj@suse.de>
42978         [BZ#14767]
42979         * elf/Makefile (tests): Remove conditional for have-initfini-array
42980         since this is now always required and the variable does not exist
42981         anymore.
42982         (tests-static): Likewise.
42983         (modules-names): Likewise.
42985         * po/eo.po: Add Esperanto translation from translation project.
42987         * elf/tst-array1.c (fini_array): Make writeable so that it can be
42988         merged with constructor/destructor.
42989         (init_array): Likewise.
42990         * elf/tst-array2dep.c (fini_array): Likewise.
42991         (init_array): Likewise.
42993 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
42995         * manual/message.texi: Delete @cartouche tags.
42997 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
42999         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43000         EOPNOTSUPP.
43001         * sysdeps/mach/hurd/fsync.c: Likewise.
43003         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43004         [_POSIX_REALTIME_SIGNALS]: Change condition to
43005         [_POSIX_REALTIME_SIGNALS > 0].
43007 2012-10-27  Andreas Jaeger  <aj@suse.de>
43009         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43010         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43011         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43012         [__WORDSIZE != 64]: Likewise.
43014 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43016         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43017         *  iconvdata/tst-tables.sh: Likewise.
43019 2012-10-25  David S. Miller  <davem@davemloft.net>
43021         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43022         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43023         of strtoull.
43025         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43026         ifunc-impl-list.c
43027         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43028         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43029         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43030         file.
43032 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43034         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43035         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43036         __getdirentries.
43038 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43039             Jim Blandy  <jimb@codesourcery.com>
43041         * scripts/cross-test-ssh.sh: New file.
43042         * manual/install.texi (Configuring and compiling): Document use of
43043         cross-test-ssh.sh.
43044         * INSTALL: Regenerated.
43046 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43048         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43049         EOPNOTSUPP.
43051 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43053         * Makeconfig (run-program-prefix): Fix comment.
43055 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43056             Jim Blandy  <jimb@codesourcery.com>
43058         * Makeconfig (test-wrapper): New variable,
43059         (test-wrapper-env): Likewise.
43060         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43061         (run-built-tests): Define to yes.
43062         (run-program-prefix): Use $(test-wrapper).
43063         (built-program-cmd): Likewise.
43064         * Rules (make-test-out): Use $(test-wrapper-env) and
43065         $(host-built-program-cmd).
43066         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43067         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43068         tst-pathopt.sh.
43069         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43070         $(test-wrapper-env) to tst-rtld-load-self.sh.
43071         ($(objpfx)order2.out): Use $(test-wrapper).
43072         ($(objpfx)tst-initorder.out): Likewise.
43073         ($(objpfx)tst-initorder2.out): Likewise.
43074         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43075         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43076         (test_wrapper_env): New variable.  Use it to run ld.so.
43077         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43078         Use it to run ld.so.
43079         (test_wrapper_env): Likewise.
43080         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43081         $(test-wrapper) to run-iconv-test.sh.
43082         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43083         (ICONV): Use $test_wrapper.
43084         * posix/Makefile ($(objpfx)globtest.out): Pass
43085         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43086         globtest.sh, not $(run-program-prefix).
43087         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43088         (test_wrapper): Likewise.
43089         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43090         set together with run_via_rtld_prefix.
43091         (run_program_prefix): Define in terms of test_wrapper and
43092         run_via_rtld_prefix.
43094 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43096         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43097         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43098         Targets removed.
43100         [BZ #14743]
43101         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43102         Declare __clock_getres, __clock_gettime, __clock_settime,
43103         __clock_nanosleep, and __clock_getcpuclockid.
43104         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43105         Remove librt_hidden_def (clock_gettime).
43106         * sysdeps/unix/clock_gettime.c: Likewise.
43107         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43108         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43109         * rt/clock_getres.c: Define __clock_getres as an alias.
43110         * sysdeps/posix/clock_getres.c: Likewise.
43111         * rt/clock_settime.c: Define __clock_settime as an alias.
43112         * sysdeps/unix/clock_settime.c: Likewise.
43113         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43114         * sysdeps/unix/clock_nanosleep.c: Likewise.
43115         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43116         * rt/clock-compat.c: New file.
43117         * rt/Makefile (librt-routines): Add clock-compat and move
43118         $(clock-routines) to ...
43119         (routines): ... here, new variable.
43120         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43121         Don't add get_clockfreq here.
43122         * rt/Versions (libc: GLIBC_2.17): New version set.
43123         Add clock_* symbols here.
43124         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43125         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43126         (GLIBC_2.17): Add clock_* symbols.
43127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43129         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43131         Likewise.
43132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43133         Likewise.
43134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43138         * NEWS: Mention the move.
43140         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43141         Use __open, __read, __close rather than their public counterparts.
43142         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43143         (__get_clockfreq_via_cpuinfo): Likewise.
43144         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43145         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43147         * config.h.in (HAVE_IFUNC): New #undef.
43148         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43149         was successful.
43150         * configure: Regenerated.
43152 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43154         * configure.in: Move READELF check to start of file.
43155         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43156         libc_cv_asm_gnu_indirect_function in the process.
43157         * configure: Regenerated.
43159 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43161         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43162         send the output to /dev/null.
43163         (libc_cv_cc_with_libunwind): Likewise.
43164         (libc_cv_as_noexecstack): Likewise.
43165         * configure: Regenerate.
43167 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43169         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43171         * posix/globtest.sh (TMPDIR): Do not set.
43172         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43173         (testout): Likewise.
43175 2012-10-24  Andreas Jaeger  <aj@suse.de>
43177         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43178         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43179         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43180         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43181         posix_fadvise64, posix_fallocate64.
43183         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43184         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43185         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43186         Likewise.
43187         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43188         Likewise.
43189         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43191         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43192         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43193         <bits/fcntl-linux.h>.
43194         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43196         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43197         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43198         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43199         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43200         [__WORDSIZE != 64]: Likewise.
43202 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43204         * Makeconfig (run-built-tests): New variable.
43205         * Rules [$(cross-compiling) = yes]: Change condition to
43206         [$(run-built-tests) = no].
43207         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43208         to [$(run-built-tests) = yes].
43209         * elf/Makefile [$(cross-compiling) = no]: Likewise
43210         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43211         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43212         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43213         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43214         * io/Makefile [$(cross-compiling) = no]: Likewise.
43215         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43216         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43217         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43218         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43219         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43220         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43221         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43222         * string/Makefile [$(cross-compiling) = no]: Likewise.
43224         * posix/Makefile ($(objpfx)globtest.out): Pass
43225         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43226         $(rtld-installed-name).
43227         * posix/globtest.sh (elf_objpfx): Remove variable.
43228         (rtld_installed_name): Likewise.
43229         (library_path): Likewise.
43230         (run_program_prefix): New variable.  Use for running globtest
43231         binary.
43233 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43234             Joseph Myers  <joseph@codesourcery.com>
43236         * Makeconfig (host-built-program-cmd): New variable.
43237         * elf/Makefile (tst-stackguard1-ARGS): Use
43238         $(host-built-program-cmd).
43239         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43240         (tst-spawn-ARGS): Likewise.
43241         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43243 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43244             Jim Blandy  <jimb@codesourcery.com>
43246         * Makeconfig (run-via-rtld-prefix): New variable.
43247         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43248         (built-program-cmd): Likewise.
43250 2012-10-22  Andreas Jaeger  <aj@suse.de>
43252         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43253         __O_RSYNC if it exists, otherwise to O_SYNC.
43255 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43256             Joseph Myers  <joseph@codesourcery.com>
43258         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43259         /dev/null.
43260         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43261         from /dev/null
43262         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43263         /dev/null.
43265 2012-10-22  Andreas Jaeger  <aj@suse.de>
43267         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43268         Define always.
43269         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43271         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43272         bits/fcntl-linux.h.
43274         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43275         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43277         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43278         to __O_LARGEFILE.
43279         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43280         to __O_LARGEFILE.
43282 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43283             Joseph Myers  <joseph@codesourcery.com>
43285         * config.make.in (NM): New variable.
43287 2012-10-21  Andreas Jaeger  <aj@suse.de>
43289         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43290         definitions and declarations that are provided by
43291         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43293 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43295         [BZ #14683]
43296         * elf/Makefile (tests-static): Add tst-leaks1-static.
43297         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43298         ($(objpfx)tst-leaks1-static): New rule.
43299         ($(objpfx)tst-leaks1-static-mem): Likewise.
43300         (tst-leaks1-static-ENV): New macro.
43301         * elf/dl-open.c (dl_open_worker): Check the main application
43302         only if SHARED is defined.
43303         * elf/tst-leaks1-static.c: New file.
43305 2012-10-20  Andreas Jaeger  <aj@suse.de>
43307         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43308         generic values for Linux.
43309         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43310         and declarations that are provided by <bits/fcntl-linux.h> and
43311         include <bits/fcntl-linux.h>.
43312         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43313         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43315 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43317         * io/fcntl.h: Move include of <bits/types.h> to the top and
43318         include it unconditionally.
43320 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43322         * wcsmbs/Makefile (tests-ifunc): New variable.
43323         (tests): Add $(tests-ifunc).
43324         * wcsmbs/test-wcschr-ifunc.c: New file.
43325         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43326         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43327         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43328         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43329         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43331         * string/Makefile (tests-ifunc): New variable.
43332         (tests): Add $(tests-ifunc).
43333         * string/test-memccpy.c (TEST_NAME): New macro.
43334         * string/test-memchr.c (TEST_NAME): Likewise.
43335         * string/test-memcmp.c (TEST_NAME): Likewise.
43336         * string/test-memcpy.c (TEST_NAME): Likewise.
43337         * string/test-memmem.c (TEST_NAME): Likewise.
43338         * string/test-memmove.c (TEST_NAME): Likewise.
43339         * string/test-memset.c (TEST_NAME): Likewise.
43340         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43341         * string/test-stpcpy.c (TEST_NAME): Likewise.
43342         * string/test-stpncpy.c (TEST_NAME): Likewise.
43343         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43344         * string/test-strcasestr.c (TEST_NAME): Likewise.
43345         * string/test-strcat.c (TEST_NAME): Likewise.
43346         * string/test-strchr.c (TEST_NAME): Likewise.
43347         * string/test-strcmp.c(TEST_NAME): Likewise.
43348         * string/test-strcpy.c (TEST_NAME): Likewise.
43349         * string/test-strcspn.c (TEST_NAME): Likewise.
43350         * string/test-strlen.c (TEST_NAME): Likewise.
43351         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43352         * string/test-strncmp.c (TEST_NAME): Likewise.
43353         * string/test-strncpy.c (TEST_NAME): Likewise.
43354         * string/test-strnlen.c (TEST_NAME): Likewise.
43355         * string/test-strpbrk.c (TEST_NAME): Likewise.
43356         * string/test-strrchr.c (TEST_NAME): Likewise.
43357         * string/test-strspn.c (TEST_NAME): Likewise.
43358         * string/test-strstr.c (TEST_NAME): Likewise.
43359         * string/test-bcopy-ifunc.c: New file.
43360         * string/test-bzero-ifunc.c: Likewise.
43361         * string/test-memccpy-ifunc.c: Likewise.
43362         * string/test-memchr-ifunc.c: Likewise.
43363         * string/test-memcmp-ifunc.c: Likewise.
43364         * string/test-memcpy-ifunc.c: Likewise.
43365         * string/test-memmem-ifunc.c: Likewise.
43366         * string/test-memmove-ifunc.c: Likewise.
43367         * string/test-mempcpy-ifunc.c: Likewise.
43368         * string/test-memset-ifunc.c: Likewise.
43369         * string/test-rawmemchr-ifunc.c: Likewise.
43370         * string/test-stpcpy-ifunc.c: Likewise.
43371         * string/test-stpncpy-ifunc.c: Likewise.
43372         * string/test-strcasecmp-ifunc.c: Likewise.
43373         * string/test-strcasestr-ifunc.c: Likewise.
43374         * string/test-strcat-ifunc.c: Likewise.
43375         * string/test-strchr-ifunc.c: Likewise.
43376         * string/test-strchrnul-ifunc.c: Likewise.
43377         * string/test-strcmp-ifunc.c: Likewise.
43378         * string/test-strcpy-ifunc.c: Likewise.
43379         * string/test-strcspn-ifunc.c: Likewise.
43380         * string/test-strlen-ifunc.c: Likewise.
43381         * string/test-strncasecmp-ifunc.c: Likewise.
43382         * string/test-strncat-ifunc.c: Likewise.
43383         * string/test-strncmp-ifunc.c: Likewise.
43384         * string/test-strncpy-ifunc.c: Likewise.
43385         * string/test-strnlen-ifunc.c: Likewise.
43386         * string/test-strpbrk-ifunc.c: Likewise.
43387         * string/test-strrchr-ifunc.c: Likewise.
43388         * string/test-strspn-ifunc.c: Likewise.
43389         * string/test-strstr-ifunc.c: Likewise.
43391         * debug/Makefile (tests-ifunc): New variable.
43392         (tests): Add $(tests-ifunc).
43393         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43394         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43395         * debug/test-stpcpy_chk-ifunc.c: New file.
43396         * debug/test-strcpy_chk-ifunc.c: Likewise.
43398 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43400         [BZ #13601]
43401         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43402         header is not read in.
43404 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43406         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43407         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43408         directly.  Pass built executable to script as
43409         $(built-program-cmd).
43410         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43411         $testprogram without using LD_LIBRARY_PATH and $ldso.
43413         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43414         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43415         $(rtld-installed-name).
43416         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43417         (rtld_installed_name): Likewise.
43418         (library_path): Likewise.
43419         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43420         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43421         $(run-program-prefix) to tst-tables.sh.
43422         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43423         it to run tst-table-from and tst-table-to.
43424         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43425         Pass it to tst-table.sh.
43426         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43427         $(run-program-prefix) to tst-gettext.sh.
43428         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43429         tst-translit.sh.
43430         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43431         tst-gettext2.sh.
43432         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43433         to run tst-gettext.
43434         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43435         to run tst-gettext2.
43436         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43437         to run tst-translit.
43438         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43439         $(run-program-prefix) to tst-mtrace.sh.
43440         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43441         to run tst-mtrace.
43442         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43443         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43444         $(rtld-installed-name).
43445         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43446         (rtld_installed_name): Likewise.
43447         (run_program_prefix): New variable.  Use it to run wordexp-test.
43449         * Makeconfig (ARCH): Remove all definitions.
43450         (machine): Likewise.
43451         [ARCH]: Remove conditional code.
43452         [!objdir]: Give error.
43453         [!objdir] (objpfx): Remove.
43454         [!objdir] (common-objpfx): Likewise.
43455         [!objdir] (common-objdir): Likewise.
43456         * configure.in (config_makefile): Remove.  Hardcode Makefile in
43457         AC_CONFIG_FILES call.
43458         * configure: Regenerated.
43460         [BZ #13888]
43461         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43462         or TMPDIR.
43463         (testout): Likewise.
43465         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43466         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43467         $(rtld-installed-name).
43468         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43469         (rtld_installed_name): Likwise.
43470         (runit): Remove function.
43471         (run_getconf): New variable,  Use it for running getconf binary.
43473 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
43475         [BZ #14716]
43476         * string/test-memmem.c (check_result): New function.
43477         (do_one_test): Use it.
43478         (check1): New function.
43479         (test_main): Use it.
43481 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
43483         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43485 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
43487         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43488         (_G_LSEEK64): Likewise.
43489         (_G_MMAP64): Likewise.
43490         (_G_FSTAT64): Likewise.
43491         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43492         (_G_LSEEK64): Likewise.
43493         (_G_MMAP64): Likewise.
43494         (_G_FSTAT64): Likewise.
43495         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43496         unconditional.  Call __mmap64 directly.
43497         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43498         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
43499         __lseek64 directly.
43500         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43501         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
43502         __mmap64 directly.
43503         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43504         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43505         __lseek64 directly.
43506         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43507         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43508         __lseek64 directly.
43509         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43510         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
43511         __lseek64 directly.
43512         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43513         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
43514         __fxstat64 directly.
43515         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43516         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43517         unconditional.
43518         (freopen64) [!_G_OPEN64]: Remove conditional code.
43519         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43520         unconditional.
43521         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43522         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43523         unconditional.
43524         (ftello64) [!_G_LSEEK64]: Remove conditional code.
43525         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43526         unconditional.
43527         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43528         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43529         unconditional.
43530         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43531         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43532         unconditional.
43533         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43534         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43535         unconditional.
43536         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43537         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43538         unconditional.
43539         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43541 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43543         [BZ #12140]
43544         * manual/memory.texi (Malloc Tunable Parameters): Add note
43545         about free list pointers overwriting some perturb bytes.
43546         Wording suggested by Roland McGrath.
43548 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
43550         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43551         (lgamma_test): Likewise.
43552         (tgamma_test): Likewise.
43554 2012-10-16  Florian Weimer  <fweimer@redhat.com>
43556         [BZ #14700]
43557         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43558         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43560 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
43562         * NEWS: Mention BZ #14716.
43563         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43564         when removing AVAILABLE1_USES_J macro.
43566 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
43568         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43569         (__bswap_64): __uint64_t for unsigned 64-bit int.
43571 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
43573         * include/string.h (memmem): Declare libc hidden alias.
43574         * string/memmem.c (memmem): Define libc hidden alias.
43575         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43576         __read, __close instead of open, read, close.
43578 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
43580         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43581         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43582         global and hidden.
43583         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43584         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43585         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43586         Likewise.
43587         (__rawmemchr_sse2): Likewise.
43588         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43589         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43590         (__strchr_sse2): Likewise.
43591         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43592         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43593         (__strcasecmp_sse2): Likewise.
43594         (__strncasecmp_sse2): Likewise.
43595         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43596         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43597         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43598         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43599         (__strrchr_sse2): Likewise.
43600         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43601         ifunc-impl-list.c.
43602         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43603         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43604         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43605         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43606         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43607         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43608         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43609         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43610         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
43611         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
43612         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
43613         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
43614         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
43615         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43616         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43617         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43618         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43619         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43620         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
43621         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
43622         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
43623         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
43624         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
43625         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43626         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
43627         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43628         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43629         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43630         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43631         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43633         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
43634         global and hidden.
43635         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
43636         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
43637         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
43638         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
43639         Likewise.
43640         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
43641         Likewise.
43642         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
43643         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
43644         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
43645         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
43646         ifunc-impl-list.c.
43647         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43648         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43649         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43650         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43651         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43652         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43653         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43654         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43655         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43656         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43657         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43658         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43659         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43660         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
43661         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
43662         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43663         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
43664         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
43665         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43666         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43667         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43668         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43669         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43670         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43671         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43672         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43673         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43674         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43675         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43676         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43677         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43678         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43679         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43680         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43681         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43682         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43683         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43684         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43685         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43686         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43687         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43689         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43690         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43691         * include/ifunc-impl-list.h: New file.
43692         * misc/ifunc-impl-list.c: Likewise.
43693         * misc/Makefile (routines): Add ifunc-impl-list.
43694         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43695         * string/test-string.h: Include <ifunc-impl-list.h>.
43696         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43697         TEST_NAME]: New variables.
43698         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43699         are defined.
43700         (test_init): Call __libc_ifunc_impl_list to initialize
43701         func_list if TEST_IFUNC and TEST_NAME are defined.
43703         * string/Makefile (strop-tests): Add bcopy and bzero.
43704         * string/test-bcopy.c: New file.
43705         * string/test-bzero.c: Likewise.
43706         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43707         defined.
43708         * string/test-memset.c: Support bzero test if TEST_BZERO is
43709         defined.
43710         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43711         __libc_memmove.
43712         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43713         __libc_memset.
43714         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43715         of memset.
43717 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
43719         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43720         * configure: Regenerated.
43722         * Makeconfig (+link-static-before-libc): Don't include
43723         $(link-static-libc).
43725         * libio/libio.h (_IO_pos_t): Remove.
43727 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43729         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
43730         McGrath.
43732 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43734         * crypt/crypt-entry.c: Include fips-private.h.
43735         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43736         * crypt/md5c-test.c (main): Tolerate disabled MD5.
43737         * sysdeps/unix/sysv/linux/fips-private.h: New file.
43738         * sysdeps/generic/fips-private.h: New file, dummy fallback.
43740 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43742         * crypt/crypt-private.h: Include stdbool.h.
43743         (_ufc_setup_salt_r): Return bool.
43744         * crypt/crypt-entry.c: Include errno.h.
43745         (__crypt_r): Return NULL with EINVAL for bad salt.
43746         * crypt/crypt_util.c (bad_for_salt): New.
43747         (_ufc_setup_salt_r): Check that salt is long enough and within
43748         the specified alphabet.
43749         * crypt/badsalttest.c: New file.
43750         * crypt/Makefile (tests): Add it.
43751         ($(objpfx)badsalttest): New.
43753 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
43755         * NEWS: Add entry for BZ #14602.
43757 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43759         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43760         type-generic.
43761         * math/libm-test.inc: Update comment listing what functions and
43762         macros are tested.
43763         (isgreater_test): New function.
43764         (isgreaterequal_test): Likewise.
43765         (isless_test): Likewise.
43766         (islessequal_test): Likewise.
43767         (islessgreater_test): Likewise.
43768         (isunordered_test): Likewise.
43769         (main): Call the new functions.
43771 2012-10-09  Roland McGrath  <roland@hack.frob.com>
43773         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43774         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43775         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43776         * sysdeps/i386/configure: Regenerated.
43777         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43778         * sysdeps/mach/configure: Regenerated.
43779         * sysdeps/mach/hurd/configure: Regenerated.
43780         * sysdeps/powerpc/configure: Regenerated.
43781         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43782         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43783         * sysdeps/s390/s390-32/configure: Regenerated.
43784         * sysdeps/s390/s390-64/configure: Regenerated.
43785         * sysdeps/sh/configure: Regenerated.
43786         * sysdeps/sparc/configure: Regenerated.
43787         * sysdeps/unix/sysv/linux/configure: Regenerated.
43788         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43789         * sysdeps/x86_64/configure: Regenerated.
43791         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43792         defined.  Don't check if MAP is NULL.
43794 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43796         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43797         (_G_stat64): Likewise.
43798         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43799         (_G_stat64): Likewise.
43800         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43801         instead of struct _G_stat64.
43802         * libio/fileops.c (mmap_remap_check): Likewise.
43803         (decide_maybe_mmap): Likewise.
43804         (_IO_new_file_seekoff): Likewise.
43805         (_IO_file_stat): Likewise.
43806         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43807         _G_off64_t.
43808         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43809         instead of struct _G_stat64.
43810         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43812 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
43814         [BZ #14602]
43815         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43816         Replace with ...
43817         (CHECK_EOL): New macro.
43818         (two_way_short_needle): Check beginning of haystack for EOL.  Use
43819         CHECK_EOL.
43820         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43821         Replace with CHECK_EOL.
43822         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43823         Replace with CHECK_EOL.
43825 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
43827         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43828         type-generic.
43829         * math/libm-test.inc: Update comment listing what functions and
43830         macros are tested.
43831         (finite_test): New function.
43832         (isinf_test): Likewise.
43833         (isnan_test): Likewise.
43834         (fpclassify_test): Test subnormal input.
43835         (isfinite_test): Likewise.
43836         (isnormal_test): Likewise.
43837         (main): Call the new functions.
43839 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
43841         [BZ #14660]
43842         * Makerules (%.dynsym): Force C locale when running
43843         $(OBJDUMP) --dynamic-syms.
43845 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
43847         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43848         <stdint.h>.
43850 2012-10-06  David S. Miller  <davem@davemloft.net>
43852         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43853         upper 32-bits of the length value in %o2 since we use branch-on-register
43854         tests which consider the entire 64-bit register.
43856 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
43858         * string/test-strstr.c (check2): Add a test for page boundary.
43860 2012-10-05  David S. Miller  <davem@davemloft.net>
43862         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43863         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43864         file.
43865         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43866         sysdep_routines.
43867         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43868         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43869         and bzero when HWCAP_SPARC_CRYPTO is present.
43871 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
43873         [BZ #14602]
43874         * string/test-strstr.c (check2): New function.
43875         (test_main): Call check2.
43877         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43878         and bug-strchr1.
43879         * string/bug-strcasestr1.c (do_test): Moved to ...
43880         * string/test-strcasestr.c (check1): Here.  New function.
43881         (do_one_test): Break out result checking code into ...
43882         (check_result): This.  New function.
43883         (do_one_test): Call check_result.
43884         (test_main): Call check1.
43885         * string/bug-strchr1.c (do_test): Moved to ...
43886         * string/test-strchr.c (check1): Here.  New function.
43887         (do_one_test): Break out result checking code into ...
43888         (check_result): This.  New function.
43889         (do_one_test): Call check_result.
43890         (test_main): Call check1.
43891         * string/bug-strstr1.c (main): Moved to ...
43892         * string/test-strstr.c (check1): Here.  New function.
43893         (do_one_test): Break out result checking code into ...
43894         (check_result): This.  New function.
43895         (do_one_test): Call check_result.
43896         (test_main): Call check1.
43897         * string/bug-strcasestr1.c: Removed.
43898         * string/bug-strchr1.c: Likewise.
43899         * string/bug-strstr1.c: Likewise.
43901         * elf/Makefile (dl-routines): Add hwcaps.
43902         * elf/dl-support.c (_dl_important_hwcaps): Removed.
43903         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43904         (_dl_important_hwcaps): Moved to ...
43905         * elf/dl-hwcaps.c: Here.  New file.
43906         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43908         [BZ #14557]
43909         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43910         if IS_IN_rtld isn't defined.
43912         * elf/dl-support.c (_dl_sysinfo_map): New.
43913         Include "get-dynamic-info.h" and "setup-vdso.h".
43914         (_dl_non_dynamic_init): Call setup_vdso.
43915         * elf/dynamic-link.h: Don't include <assert.h>.
43916         (elf_get_dynamic_info): Moved to ...
43917         * elf/get-dynamic-info.h: Here.  New file.
43918         * elf/dynamic-link.h: Include "get-dynamic-info.h".
43919         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43920         * elf/setup-vdso.h: Here.  New file.
43921         * elf/rtld.c: Include "setup-vdso.h".
43922         (dl_main): Call setup_vdso.
43924 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
43926         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43927         creal in comment listing functions tested.  List finite, isinf,
43928         isnan, isless, islessequal, isgreater, isgreaterequal,
43929         islessgreater, isunordered, lgamma_r and pow10 as functions and
43930         macros not tested.  Mention which functions not tested are aliases
43931         for other functions.  Fix typo.  Note that signs of NaNs are not
43932         tested.
43934         * scripts/config.guess: Update from config.git.
43935         * scripts/config.sub: Likewise.
43937 2012-10-04  Roland McGrath  <roland@hack.frob.com>
43939         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43940         * misc/madvise.c (madvise): Renamed to __madvise.
43941         Make madvise a weak alias.
43942         * include/sys/mman.h: Declare __madvise.
43943         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43944         * sysdeps/unix/syscalls.list
43945         (madvise): Make __madvise the strong name, and madvise a weak alias.
43946         * sysdeps/unix/sysv/linux/syscalls.list
43947         (madvise, mmap): Remove redundant entries.
43948         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43949         * malloc/malloc.c (mtrim): Likewise.
43950         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43952 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43954         * sysdeps/mach/hurd/dl-cache.c: File removed.
43955         * config.h.in (USE_LDCONFIG): New #undef.
43956         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43957         * configure: Regenerated.
43958         * elf/Makefile (dl-routines): Add dl-cache only under
43959         [$(use-ldconfig) = yes].
43960         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43961         cache on [USE_LDCONFIG].
43962         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43963         [USE_LDCONFIG].
43964         * elf/rtld.c (dl_main): Likewise.
43966 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
43968         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43969         _SC_LEVEL4_CACHE_LINESIZE.
43971 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43973         * sysdeps/unix/bsd/confstr.h: File removed.
43975 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
43977         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43978         sys/sdt-config.h.
43980 2012-10-02  Roland McGrath  <roland@hack.frob.com>
43982         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43983         Make 'mapoff' field ElfW(Off) rather than off_t.
43985 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
43987         * nscd/Makefile: Remove nscd-cflags and all its users.
43988         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
43989         (CFLAGS-nonlib): Add compiler flags for nscd modules.
43991         [BZ #10631]
43992         * malloc.c (malloc_printerr): Clarify error message.
43994 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
43996         [BZ #14648]
43997         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43998         Set bit_FMA_Usable if FMA is supported.
43999         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44000         macro.
44001         (bit_FMA4_Usable): Updated.
44002         (index_FMA_Usable): New macro.
44003         (CPUID_FMA): Likewise
44004         (HAS_FMA): Defined with bit_FMA_Usable.
44006 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44008         * bits/types.h (__swblk_t): Type removed.
44009         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44010         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44011         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44012         (__SWBLK_T_TYPE): Likewise.
44013         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44014         (__SWBLK_T_TYPE): Likewise.
44015         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44016         (__SWBLK_T_TYPE): Likewise.
44017         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44018         (__SWBLK_T_TYPE): Likewise.
44020 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44021             Honza Horak <hhorak@redhat.com>
44023         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44024         (xdr_mapname): Use YPMAXMAP as maxsize.
44025         (xdr_peername): Use YPMAXPEER as maxsize.
44026         (xdr_keydat): Use YPAXRECORD as maxsize.
44027         (xdr_valdat): Use YPMAXRECORD as maxsize.
44029 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44031         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44033         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44034         * csu/init-first.c: ... here.
44035         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44036         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44037         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44038         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44039         * sysdeps/i386/init-first.c: File removed.
44040         * sysdeps/sh/init-first.c: File removed.
44042 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44044         [BZ #14645]
44045         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44046         if x * y might underflow to zero and z is zero.
44047         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44048         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44049         * math/libm-test.inc (min_subnorm_value): New variable.
44050         (fma_test): Add more tests.
44051         (fma_test_towardzero): Likewise.
44052         (fma_test_downward): Likewise
44053         (fma_test_upward): Likewise.
44054         (initialize): Set min_subnorm_value.
44056 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44058         [BZ #14638]
44059         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44060         0 + 0.
44061         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44062         mode for addition resulting in exact zero.
44063         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44064         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44065         exact 0 + 0.
44066         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44067         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44068         * math/libm-test.inc (fma_test): Add more tests.
44069         (fma_test_towardzero): New function.
44070         (fma_test_downward): Likewise.
44071         (fma_test_upward): Likewise.
44072         (main): Call the new functions.
44074 2012-09-28  David S. Miller  <davem@davemloft.net>
44076         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44078 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44080         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44081         instead of SIGALRM.
44083         * sysdeps/gnu/_G_config.h: Moved to ...
44084         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44085         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44086         * sysdeps/generic/_G_config.h: ... here.
44088         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44090         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44092         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44093         Conditionalize target on [libnss_test1.so-version].
44095         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44097         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44098         (elfobjdir): Move out of conditionals.
44100         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44101         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44102         (__nss_lookup_function): Conditionalize label remove_from_tree on
44103         [!DO_STATIC_NSS || SHARED], matching its only use.
44105 2012-09-28  David S. Miller  <davem@davemloft.net>
44107         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44108         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44109         file.
44110         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44111         sysdep_routines.
44112         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44113         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44114         when HWCAP_SPARC_CRYPTO is present.
44116 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44118         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44120 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44122         [BZ #6530]
44123         * stdio-common/vfprintf.c (process_string_arg): Revert
44124         2000-07-22 change.
44126 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44128         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44129         for testcase.
44130         * stdio-common/tst-sprintf.c: Include <locale.h>
44131         (main): Test sprintf's handling of incomplete multibyte
44132         characters.
44134 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44136         * elf/dl-runtime.c (VERSYMIDX): Removed.
44137         * elf/dl-version.c (VERSYMIDX): Likewise.
44138         * elf/do-rel.h (VERSYMIDX): Likewise.
44139         (VALIDX): Likewise.
44140         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44141         * elf/rtld.c (VALIDX): Likewise.
44142         (ADDRIDX): Likewise.
44143         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44144         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44145         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44146         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44147         (VALIDX): Likewise.
44148         (ADDRIDX): Likewise.
44150 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44152         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44154 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44156         [BZ #11438]
44157         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44158         to global scope.
44159         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44160         addresses are in the same scope as 192.0.2/24.
44161         * posix/gai.conf: Document new scope table defaults.
44163 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44165         [BZ #5298]
44166         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44167         for ftell.  Compute offsets from write pointers instead.
44168         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44170 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44172         [BZ #14543]
44173         * libio/Makefile (tests): New test case tst-fseek.
44174         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44175         combination works in wide mode.
44176         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44177         state when the external buffer state changes.
44179 2012-09-27  David S. Miller  <davem@davemloft.net>
44181         [BZ #14376]
44182         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44183         pass reloc->r_addend in as the 'high' argument to
44184         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44188 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44190         * rt/tst-aio2.c: Include <pthread.h>.
44191         * rt/tst-aio3.c: Likewise.
44193 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44195         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44197 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44199         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44200         contents on [SHARED].
44202 2012-09-26  Marek Polacek  <polacek@redhat.com>
44204         [BZ #14530]
44205         [BZ #13741]
44206         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44207         for C++ and GCC <4.3 as well as for non GCC compilers.
44209 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44211         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44213 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44215         * Makefile.in (all, install): Declare with .PHONY.
44216         Reported by Michael Hope <michael.hope@linaro.org>.
44218 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44220         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44221         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44222         system header.
44223         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44224         Likewise.
44225         (sydep_routines): Add the new and the internal functions.
44226         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44227         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44229         (GLIBC_2.17): Add the new function.
44230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44231         (GLIBC_2.17): Likewise.
44232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44233         (GLIBC_2.17): Likewise.
44234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44235         (GLIBC_2.17): Likewise.
44236         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44238 2012-09-25  Alan Modra  <amodra@gmail.com>
44240         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44241         Add release barrier before setting once_control to say
44242         initialisation is done.  Add hints on lwarx.  Use macro in
44243         place of isync.
44244         (clear_once_control): Add release barrier.
44246 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44248         [BZ #13629]
44249         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44250         specially.
44251         * math/s_clog10.c (__clog10): Likewise.
44252         * math/s_clog10f.c (__clog10f): Likewise.
44253         * math/s_clog10l.c (__clog10l): Likewise.
44254         * math/s_clogf.c (__clogf): Likewise.
44255         * math/s_clogl.c (__clogl): Likewise.
44256         * math/Makefile (libm-calls): Add x2y2m1.
44257         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44258         (__x2y2m1): Likewise.
44259         (__x2y2m1l): Likewise.
44260         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44261         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44262         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44263         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44264         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44265         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44266         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44267         * sysdeps/i386/fpu/libm-test-ulps: Update.
44268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44270         [BZ #14621]
44271         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44272         int as type of variable DEPTH.
44273         (glob): Use size_t instead of int as type of variables NEWCOUNT
44274         and OLD_PATHC.
44276 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44278         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44279         Add s_sincosf-sse2.
44280         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44281         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44282         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44283         macros for using routine as __sincosf_ia32.
44284         Use macro for function declaration and weak_alias.
44285         * sysdeps/i386/fpu/libm-test-ulps: Update.
44287         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44288         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44290         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44291         subnormal argument.
44292         * math/s_cexpf.c (__cexpf): Likewise.
44293         * math/s_csinf.c (__csinf): Likewise.
44294         * math/s_csinhf.c (__csinhf): Likewise.
44295         * math/s_ctanf.c (__ctanf): Likewise.
44296         * math/s_ctanhf.c (__ctanhf): Likewise.
44297         * math/s_ccosh.c (__ccoshf): Likewise.
44298         * math/s_cexp.c (__cexpl): Likewise.
44299         * math/s_csin.c (__csin): Likewise.
44300         * math/s_csinh.c (__csinh): Likewise.
44301         * math/s_ctan.c (__ctan): Likewise.
44302         * math/s_ctanh.c (ctanh): Likewise.
44303         * math/s_ccoshl.c (__ccoshl): Likewise.
44304         * math/s_cexpl.c (__cexpl): Likewise.
44305         * math/s_csinl.c (__csinl): Likewise.
44306         * math/s_csinhl.c (__csinhl): Likewise.
44307         * math/s_ctanl.c (__ctanl): Likewise.
44308         * math/s_ctanhl.c (__ctanhl): Likewise.
44310 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44312         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44313         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44314         (_IO_off_t): Define to __off_t, not _G_off_t.
44315         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44316         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44317         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44318         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44319         type of __dummy and __dummy2 fields.
44320         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44321         (_G_ssize_t): Likewise.
44322         (_G_off_t): Likewise.
44323         (_G_pid_t): Likewise.
44324         (_G_uid_t): Likewise.
44325         (_G_wchar_t): Likewise.
44326         (_G_wint_t): Likewise.
44327         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44328         (_G_ssize_t): Likewise.
44329         (_G_off_t): Likewise.
44330         (_G_pid_t): Likewise.
44331         (_G_uid_t): Likewise.
44332         (_G_wchar_t): Likewise.
44333         (_G_wint_t): Likewise.
44334         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44335         (_G_ssize_t): Likewise.
44336         (_G_off_t): Likewise.
44337         (_G_pid_t): Likewise.
44338         (_G_uid_t): Likewise.
44339         (_G_wchar_t): Likewise.
44340         (_G_wint_t): Likewise.
44342 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44344         * malloc/arena.c: Include malloc-sysdep.h.
44345         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44346         is sufficient to shrink the heap or an unmap is needed.
44347         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44348         new function check_may_shrink_heap.
44349         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44350         new function check_may_shrink_heap.
44352 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44354         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44355         comments.
44357 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44359         * catgets/test-gencat.sh: Add "set -e".
44360         * elf/tst-pathopt.sh: Likewise.
44361         * grp/tst_fgetgrent.sh: Likewise.
44362         * iconvdata/run-iconv-test.sh: Likewise.
44363         * intl/tst-gettext.sh: Likewise.
44364         * intl/tst-gettext2.sh: Likewise.
44365         * intl/tst-gettext4.sh: Likewise.
44366         * intl/tst-gettext6.sh: Likewise.
44367         * intl/tst-translit.sh: Likewise.
44368         * io/ftwtest-sh: Likewise.
44369         * libio/test-freopen.sh: Likewise.
44370         * malloc/tst-mtrace.sh: Likewise.
44371         * posix/globtest.sh: Likewise.
44372         * posix/tst-getconf.sh: Likewise.
44373         * posix/wordexp-tst.sh: Likewise.
44374         * stdio-common/tst-printf.sh: Likewise.
44375         * stdio-common/tst-unbputc.sh: Likewise.
44376         * stdlib/tst-fmtmsg.sh: Likewise.
44377         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44378         * catgets/Makefile: Do not specify -e option when running
44379         testsuite shell scripts.
44380         * elf/Makefile: Likewise.
44381         * grp/Makefile: Likewise.
44382         * iconvdata/Makefile: Likewise.
44383         * intl/Makefile: Likewise.
44384         * io/Makefile: Likewise.
44385         * libio/Makefile: Likewise.
44386         * malloc/Makefile: Likewise.
44387         * posix/Makefile: Likewise.
44388         * stdio-common/Makefile: Likewise.
44389         * stdlib/Makefile: Likewise.
44390         * sysdeps/x86_64/Makefile: Likewise.
44392         * io/ftwtest-sh: Add copyright header.
44393         * posix/globtest.sh: Likewise.
44394         * posix/tst-getconf.sh: Likewise.
44395         * posix/wordexp-tst.sh: Likewise.
44396         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44398 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44400         [BZ #13679]
44401         * Makeconfig (+link): Defined as $(+link-static) if
44402         $(build-shared) isn't yes.
44403         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44404         isn't yes.
44405         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44407         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44409         [BZ #14562]
44410         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44411         new chunk size with MALLOC_ALIGN_MASK.
44413 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44415         [BZ #5044]
44416         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44417         <rounding-mode.h>.
44418         (__printf_fphex): Determine rounding using get_rounding_mode and
44419         round_away.
44420         * stdio-common/tst-printf-round.c (struct hex_test): New
44421         structure.
44422         (hex_tests): New variable.
44423         (test_hex_in_one_mode): New function.
44424         (do_test): Also run tests for hex float output.
44426 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44428         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44429         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44430         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44431         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44432         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44433         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44434         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44435         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44437 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44439         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44440         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44441         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44442         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44444 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44446         [BZ #14579]
44447         * elf/rtld.c (dl_main): Limit the check for self loading to normal
44448         mode only.
44449         * elf/tst-rtld-load-self.sh: New test.
44450         * elf/Makefile: Run it.
44452 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
44454         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44455         (tst-writev-ENV): Remove.
44456         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44458 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
44460         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44462 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
44464         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44465         unconditional.
44466         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44467         Likewise.
44468         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44469         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44470         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44471         Likewise.
44473 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
44475         [BZ #14587]
44476         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44477         * config.make.in (have-cpp-asm-debuginfo): Removed.
44478         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44479         * configure: Regenerated.
44481 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
44483         [BZ #5044]
44484         * stdio-common/printf_fp.c: Include <stdbool.h> and
44485         <rounding-mode.h>.
44486         (___printf_fp): Determine rounding using get_rounding_mode and
44487         round_away.
44488         * stdio-common/tst-printf-round.c: New file.
44489         * stdio-common/Makefile (tests): Add tst-printf-round.
44490         (link-libm): New variable.
44491         ($(objpfx)tst-printf-round): Depend in $(link-libm).
44493 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
44495         [BZ #14576]
44496         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44497         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44498         Likewise.
44499         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44500         Likewise.
44502 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
44504         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44505         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44506         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44507         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44509 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
44511         [BZ #14518]
44512         * include/rounding-mode.h: New file.
44513         * sysdeps/generic/get-rounding-mode.h: Likewise.
44514         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44515         * stdlib/strtod_l.c: Include <rounding-mode.h>.
44516         (MAX_VALUE): New macro.
44517         (MIN_VALUE): Likewise.
44518         (overflow_value): New function.
44519         (underflow_value): Likewise.
44520         (round_and_return): Use overflow_value and underflow_value to
44521         determine return values in overflow and underflow cases.  Use
44522         round_away to determine rounding depending on rounding mode.
44523         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44524         determine return values in overflow and underflow cases.
44525         * stdlib/tst-strtod-round.c: Include <fenv.h>.
44526         (struct test_results): New structure.
44527         (struct test): Use struct test_results to store expected results
44528         for all rounding modes.
44529         (TEST): Include expected results for all rounding modes.
44530         (test_in_one_mode): New function.
44531         (do_test): Use test_in_one_mode to compute and check results.
44532         Check results for all rounding modes.
44533         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44534         $(link-libm).
44536 2012-12-09  Allan McRae  <allan@archlinux.org>
44538         * sysdeps/i386/fpu/libm-test-ulps: Update
44540 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
44542         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44543         (_G_int32_t): Likewise.
44544         (_G_uint16_t): Likewise.
44545         (_G_uint32_t): Likewise.
44546         (_G_HAVE_BOOL): Likewise.
44547         (_G_HAVE_ATEXIT): Likewise.
44548         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44549         (_G_HAVE_IO_FILE_OPEN): Likewise.
44550         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44551         (_G_int32_t): Likewise.
44552         (_G_uint16_t): Likewise.
44553         (_G_uint32_t): Likewise.
44554         (_G_HAVE_BOOL): Likewise.
44555         (_G_HAVE_ATEXIT): Likewise.
44556         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44557         (_G_HAVE_IO_FILE_OPEN): Likewise.
44558         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44559         (_G_int32_t): Likewise.
44560         (_G_uint16_t): Likewise.
44561         (_G_uint32_t): Likewise.
44562         (_G_HAVE_BOOL): Likewise.
44563         (_G_HAVE_ATEXIT): Likewise.
44564         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44565         (_G_HAVE_IO_FILE_OPEN): Likewise.
44567 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
44569         * csu/libc-tls.c: Update copyright years.
44571 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
44573         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44574         [!_G_USING_THUNKS]: Remove conditional code.
44575         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44576         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44578         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44579         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44580         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44581         (_G_VTABLE_LABEL_PREFIX): Likewise.
44582         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44583         * sysdeps/gnu/_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.
44587         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44588         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44589         (_G_VTABLE_LABEL_PREFIX): Likewise.
44590         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44592 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
44594         * libio/Makefile: Include ../Makeconfig before tests.
44595         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44596         only if $(build-shared) is yes.
44598         * iconv/gconv_db.c: Update copyright years.
44600 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44602         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44603         unwind info if defined PIC. Fix special cases description.
44604         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44606         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
44607         DP_HI_MASK entry.
44608         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44610 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
44612         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
44614         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
44615         is NULL.
44617         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
44618         (LDLIBS-tst-chk4): This.
44619         (LDFLAGS-tst-chk5): Renamed to ...
44620         (LDLIBS-tst-chk5): This.
44621         (LDFLAGS-tst-chk6): Renamed to ...
44622         (LDLIBS-tst-chk6): This.
44623         (LDFLAGS-tst-lfschk4): Renamed to ...
44624         (LDLIBS-tst-lfschk4): This.
44625         (LDFLAGS-tst-lfschk5): Renamed to ...
44626         (LDLIBS-tst-lfschk5): This.
44627         (LDFLAGS-tst-lfschk6): Renamed to ...
44628         (LDLIBS-tst-lfschk6): This.
44630         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
44631         on $(common-objpfx)soversions.mk.
44633 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
44635         [BZ #10014]
44636         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
44637         example host name.
44639 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44641         * malloc/arena.c (arena_get_retry): New function that gets
44642         another arena for the caller to try its request on.
44643         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
44644         current arena cannot fulfill the request.
44645         (__libc_memalign): Likewise.
44646         (__libc_memalign): Likewise.
44647         (__libc_pvalloc): Likewise.
44648         (__libc_calloc): Likewise.
44650 2012-09-05  John Tobey  <john.tobey@gmail.com>
44652         [BZ #13542]
44653         * manual/arith.texi (Operations on Complex): Fix description
44654         of carg branch cut.
44656 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44658         [BZ #10014]
44659         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
44660         host name.
44662         [BZ #10038]
44663         * manual/memory.texi (Memory): Make order of menu items match
44664         order of sections.
44666 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44668         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44669         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
44670         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44672 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44674         * csu/libc-tls.c (static_dtv): Renamed to ...
44675         (_dl_static_dtv): This.  Make it global.
44676         (_dl_initial_dtv): Removed.
44677         (__libc_setup_tls): Updated.
44678         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44679         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44680         DL_INITIAL_DTV.
44682 2012-09-06  Petr Machata  <pmachata@redhat.com>
44684         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44685         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44686         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44687         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44689 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44691         [BZ #14545]
44692         * csu/libc-tls.c (_dl_initial_dtv): New variable.
44693         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44694         freeing dtv[-1].
44696 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44698         [BZ #14544]
44699         * Makeconfig (link-static-before-libc): Replace $(+prector)
44700         with $(+prectorT).
44701         (link-static-after-libc): Replace $(+postctor) with
44702         $(+postctorT).
44703         (link-bounded): Replace $(+prector)/$(+postctor) with
44704         $(+prectorT)/$(+postctorT).
44705         (+prectorT): New macro.
44706         (+postctorT): Likewise.
44708 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44710         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44711         (round_str): Handle values above the maximum for IBM long double
44712         as inexact.
44713         * stdlib/tst-strtod-round.c (tests): Regenerated.
44715 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44717         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44718         assembler flag.
44719         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44720         zarch_nohighgprs around the zarch optimized routines.
44721         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44722         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44723         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44724         for zarch.
44726 2012-09-05  David S. Miller  <davem@davemloft.net>
44728         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44730         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44731         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44732         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44733         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44734         entries.
44736 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44738         * malloc/arena.c: Fold copyright years.
44739         * malloc/mcheck.c, malloc/memusage.c: Likewise.
44741 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44743         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44745 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44747         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
44749 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44751         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44752         change internal state upon failure.
44754 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44756         * malloc/mcheck.c (mcheck_check_all): Fix typo.
44757         * malloc/memusage.c (mmap): Likewise.
44758         (mmap64, mremap): Likewise.  Adjust name in comment.
44760 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44762         * libio/fileops.c: Fix typos in comments.
44763         * libio/oldfileops.c: Likewise.
44764         * libio/wfileops.c: Likewise.
44766 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44768         [BZ #1349]
44769         * malloc/Makefile (tests): Add tst-malloc-usable test case.
44770         (tst-malloc-usable-ENV): Set environment for test case.
44771         * malloc/hooks.c (malloc_check_get_size): New function to get
44772         requested size.
44773         * malloc/malloc.c (musable): Use malloc_check_get_size.
44774         * malloc/tst-malloc-usable.c: New test case.
44776 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44778         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44780 2012-09-05  Allan McRae  <allan@archlinux.org>
44782         [BZ #13966]
44783         * configure.in (CXX_SYSINCLUDES): Use compiler output to
44784         determine header location.
44785         * configure: Regenerated.
44787 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44789         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44790         float format.
44791         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44792         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44793         format.
44794         (test): Regenerate.
44796 2012-09-04  David S. Miller  <davem@davemloft.net>
44798         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44799         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44800         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44802 2012-09-04  Florian Weimer  <fweimer@redhat.com>
44804         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44805         failures.
44807         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44809 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
44811         [BZ #9914]
44812         * libio/iogetdelim.c: Include <limits.h>.
44813         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44814         + len + 1 would overflow.
44816 2012-09-03  Andreas Jaeger  <aj@suse.de>
44818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44819         * sysdeps/i386/fpu/libm-test-ulps: Update.
44821 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44823         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44824         Add s_sinf-sse2, s_conf-sse2.
44826         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44827         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44828         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44829         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44831         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44832         for using routine as __sinf_ia32.
44833         Use macro for function declaration and weak_alias.
44834         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44835         for using routine as __cosf_ia32.
44836         Use macro for function declaration and weak_alias.
44838         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44839         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44841         * sysdeps/x86_64/fpu/s_sinf.S: New file.
44842         * sysdeps/x86_64/fpu/s_cosf.S: New file.
44843         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44845         * math/libm-test.inc (cos_test): Add more test cases.
44846         (sin_test): Likewise.
44847         (sincos_test): Likewise.
44849 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44851         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44852         (IFUNC_RESOLVE): Make pointers to the specialized implementations
44853         hidden.
44854         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44856 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
44858         [BZ #14538]
44859         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44860         first element of the GOT.
44861         (elf_machine_load_address): Return the difference between
44862         the runtime address of _DYNAMIC and elf_machine_dynamic ().
44864 2012-09-01  Allan McRae  <allan@archlinux.org>
44866         [BZ #13412]
44867         * configure.in (AWK): Require gawk version 3.0 or later.
44868         * configure: Regenerated.
44870 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
44872         * sysdeps/unix/sysv/linux/kernel-features.h
44873         (__ASSUME_POSIX_CPU_TIMERS): Remove.
44874         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44875         [__NR_clock_getres]: Make code unconditional.
44876         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44877         (clock_getcpuclockid): Remove code left unreachable by removal of
44878         conditionals.
44879         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44880         code unconditional.
44881         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44882         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44883         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44884         Make code unconditional.
44885         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44886         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44887         * sysdeps/unix/sysv/linux/clock_settime.c
44888         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44889         conditional code.
44890         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44891         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44893 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
44895         [BZ #14476]
44896         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44897         scripts/test-installation.pl.
44899         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44900         and $ld_so_version if it is set.
44902 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44904         [BZ #14516]
44905         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44906         failure if reading from procfs failed.
44907         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44909 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44911         * sysdeps/unix/sysv/linux/kernel-features.h
44912         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44913         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44914         Remove conditional code.
44915         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44916         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44917         Remove conditional code.
44918         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44919         * sysdeps/unix/sysv/linux/i386/fxstat.c
44920         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44921         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44922         * sysdeps/unix/sysv/linux/i386/fxstatat.c
44923         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44924         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44925         * sysdeps/unix/sysv/linux/i386/lxstat.c
44926         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44927         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44928         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44929         Remove conditional code.
44930         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44931         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44932         Remove conditional code.
44933         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44934         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44935         <kernel-features.h>.
44936         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44937         Remove.
44938         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44939         Remove conditional code.
44940         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44941         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44942         Remove conditional.
44944 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
44946         [BZ #5400]
44947         * NEWS: Add fixed bug number.
44949 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44951         [BZ #14519]
44952         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44953         underflowing exponent in case of negative sign.
44954         * stdlib/tst-strtod-round-data: Add more tests.
44955         * stdlib/tst-strtod-round.c (tests): Regenerated.
44957         [BZ #3479]
44958         * stdlib/strtod_l.c (NDIG): Remove.
44959         (HEXNDIG): Likewise.
44960         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44961         smallest representable value.
44962         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44963         lie within an exact representation of 1/2 ulp of the result.
44964         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44965         unconditionally.
44966         (TENS_P9_IDX): Define unconditionally.
44967         (TENS_P9_SIZE): Likewise.
44968         (TENS_P10_IDX): Likewise.
44969         (TENS_P10_SIZE): Likewise.
44970         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44971         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44972         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44973         entries for 10^2^13 and 10^2^14.
44974         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44975         (TENS_P13_IDX): Define.
44976         (TENS_P13_SIZE): Likewise.
44977         (TENS_P14_IDX): Likewise.
44978         (TENS_P14_SIZE): Likewise.
44979         (_fpioconst_pow10): Change array size to
44980         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
44981         unconditional.
44982         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44983         1024]: Add entries for 10^2^13 and 10^2^14.
44984         [LAST_POW10 > _LAST_POW10]: Remove #error.
44985         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
44986         (_fpioconst_pow10): Change array size to
44987         FPIOCONST_POW10_ARRAY_SIZE.
44988         * stdlib/gen-fpioconst.c: New file.
44989         * stdlib/gen-tst-strtod-round.c: Likewise.
44990         * stdlib/tst-strtod-round-data: Likewise.
44991         * stdlib/tst-strtod-round.c: Likewise.
44992         * stdlib/Makefile (tests): Add tst-strtod-round.
44994         [BZ #14459]
44995         * stdlib/strtod_l.c: Include <stdint.h>.
44996         (NDEBUG): Do not define.
44997         (round_and_return): Change EXPONENT parameter to type intmax_t.
44998         Rearrange calculations to avoid internal overflow possibilities.
44999         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45000         Rearrange calculations to avoid internal overflow possibilities.
45001         Assert that number fits inside MPNSIZE limbs.
45002         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45003         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45004         calculations and add assertions to avoid internal overflow
45005         possibilities.  Add casts to avoid signed/unsigned operations.
45006         * stdlib/tst-strtod-overflow.c: New file.
45007         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45009 2012-08-25  Marek Polacek  <polacek@redhat.com>
45011         * time/time.h: Fix some typos in comments.
45013 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45015         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45016         * posix/tst-rfc3484-2.c: Likewise.
45017         * posix/tst-rfc3484-3.c: Likewise.
45019 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45021         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45022         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45024 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45026         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45027         #include of fxstatat64.c.
45029 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45031         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45032         * shadow/getspent_r.c: Likewise.
45033         * shadow/getspnam.c: Likewise.
45034         * shadow/getspnam_r.c: Likewise.
45035         * gshadow/getsgent.c: Likewise.
45036         * gshadow/getsgent_r.c: Likewise.
45037         * gshadow/getsgnam.c: Likewise.
45038         * gshadow/getsgnam_r.c: Likewise.
45039         * inet/getnetbyad.c: Likewise.
45040         * inet/getnetbyad_r.c: Likewise.
45041         * inet/getnetbynm.c: Likewise.
45042         * inet/getnetbynm_r.c: Likewise.
45043         * inet/getnetent.c: Likewise.
45044         * inet/getnetent_r.c: Likewise.
45045         * inet/getproto.c: Likewise.
45046         * inet/getproto_r.c: Likewise.
45047         * inet/getprtent.c: Likewise.
45048         * inet/getprtent_r.c: Likewise.
45049         * inet/getprtname.c: Likewise.
45050         * inet/getprtname_r.c: Likewise.
45051         * inet/getrpcbyname.c: Likewise.
45052         * inet/getrpcbyname_r.c: Likewise.
45053         * inet/getrpcbynumber.c: Likewise.
45054         * inet/getrpcbynumber_r.c: Likewise.
45055         * inet/getrpcent.c: Likewise.
45056         * inet/getrpcent_r.c: Likewise.
45057         * inet/getaliasent.c: Likewise.
45058         * inet/getaliasent_r.c: Likewise.
45059         * inet/getaliasname.c: Likewise.
45060         * inet/getaliasname_r.c: Likewise.
45061         * nscd/getgrgid_r.c: Likewise.
45062         * nscd/getgrnam_r.c: Likewise.
45063         * nscd/gethstbyad_r.c: Likewise.
45064         * nscd/gethstbynm3_r.c: Likewise.
45065         * nscd/getpwnam_r.c: Likewise.
45066         * nscd/getpwuid_r.c: Likewise.
45067         * nscd/getsrvbynm_r.c: Likewise.
45068         * nscd/getsrvbypt_r.c: Likewise.
45069         * nscd/gai.c: Likewise.
45071         * configure.in (build_nscd): New substituted variable, set
45072         by --disable-build-nscd and defaults to $use_nscd.
45073         * configure: Regenerated.
45074         * config.make.in (build-nscd): New substituted variable.
45075         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45076         Change conditional to require [$(build-nscd) = yes] as well.
45077         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45079         [BZ# 13696]
45080         * configure.in (use_nscd): New substituted variable, set by
45081         --disable-nscd.  If enabled, define USE_NSCD.
45082         * configure: Regenerated.
45083         * config.h.in: Add USE_NSCD.
45084         * config.make.in (use-nscd): New substituted variable.
45085         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45086         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45087         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45088         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45089         (CFLAGS-getgrnam_r.c): Likewise.
45090         (CFLAGS-initgroups.c): Likewise.
45091         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45092         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45093         Variables removed.
45094         * inet/getnetgrent_r.c
45095         (nscd_setnetgrent): New function, broken out of ...
45096         (setnetgrent): ... here.  Call it.
45097         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45098         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45099         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45100         * nscd/Makefile (routines, aux): Move definitions after include of
45101         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45102         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45103         Conditionalize on [USE_NSCD].
45104         (is_nscd, nscd_init_cb): Likewise.
45105         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45106         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45107         * nss/nss_db/db-init.c: Likewise.
45108         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45109         [USE_NSCD].
45110         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45111         (make_request): Use it.
45112         (cache_valid_p): New function.
45113         (__check_pf): Use it.
45114         * NEWS: Add item for --disable-nscd.
45116 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45118         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45119         to support sed >= 4.2.1-20-ga9bf076.
45120         * configure: Regenerated.
45122 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45124         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45125         Conditionalize whole body on [IREL].
45127 2012-08-22  Jeff Law <law@redhat.com>
45129         [BZ #14505]
45130         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45131         if the family is PF_UNSPEC.
45133 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45135         * Makerules (lib-version): Rename from V.
45136         (install-lib-nosubdir): Change V to lib-version.
45138 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45140         [BZ #14252]
45141         * powerpc32/power6/wcschr.c: New file.
45142         * powerpc32/power6/wcscpy.c: New file.
45143         * powerpc32/power6/wcsrchr.c: New file.
45144         * powerpc64/power6/wcschr.c: New file.
45145         * powerpc64/power6/wcscpy.c: New file.
45146         * powerpc64/power6/wcsrchr.c: New file.
45148 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45150         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45151         (two_way_short_needle): Use it.
45152         * string/strstr.c (AVAILABLE1_USES_J): Define.
45153         * string/strcasestr.c: Likewise.
45155         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45156         array references.
45157         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45159         [BZ #11607]
45160         * NEWS: Add an entry.
45161         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45162         define their defaults.
45163         (two_way_short_needle): Detect end-of-string on-the-fly.
45164         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45165         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45166         * string/bug-strcasestr1.c: New test.
45167         * string/Makefile: Run it.
45169 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45171         [BZ #11607]
45172         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45173         the first character.
45175 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45177         * csu/elf-init.c (__libc_csu_irel): Function removed.
45178         * csu/libc-start.c (apply_irel): New function.
45179         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45181 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45183         * sysdeps/unix/sysv/linux/kernel-features.h
45184         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45185         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45186         <kernel-features.h>.
45187         [__NR_fadvise64_64]: Make code unconditional.
45188         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45189         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45190         !__NR_fadvise64_64)]: Likewise.
45191         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45192         !__NR_fadvise64_64))]: Likewise.
45193         [__NR_fadvise64]: Make code unconditional.
45194         [!__NR_fadvise64]: Remove conditional code.
45195         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45196         <kernel-features.h>.
45197         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45198         unconditional.
45199         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45200         conditional code.
45201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45202         not include <kernel-features.h>.
45203         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45204         unconditional.
45205         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45206         conditional code.
45207         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45208         include <kernel-features.h>.
45209         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45210         unconditional.
45211         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45212         conditional code.
45214 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45216         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45217         slight instruction rearrangements per scrollpipe analysis.
45218         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45220 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45222         * manual/syslog.texi (syslog; vsyslog, closelog):
45223         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45224         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45226         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45227         DSOCAPS to match condition on defining it.
45229 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45231         * sysdeps/unix/sysv/linux/kernel-features.h
45232         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45234         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45235         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45237         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45238         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45240         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45241         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45243         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45244         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45246         * sysdeps/unix/sysv/linux/kernel-features.h
45247         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45248         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45249         unconditional.
45250         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45251         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45252         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45253         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45254         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45255         Make code unconditional.
45256         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45257         (__mmap64) [!__NR_mmap2]: Likewise.
45258         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45259         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45260         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45261         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45262         [__NR_mmap2]: Make code unconditional.
45263         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45264         (__mmap64) [!__NR_mmap2]: Likewise.
45266 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45268         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45270 2012-08-18  Andreas Jaeger  <aj@suse.de>
45272         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45274 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45276         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45277         * include/unistd.h (__have_sock_cloexec): Likewise.
45278         (__have_pipe2): Likewise.
45279         (__have_dup3): Likewise.
45281 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45283         [BZ #9685]
45284         * include/unistd.h (__have_pipe2): Change define into an extern int.
45285         (__have_dup3): Likewise.
45286         * socket/have_sock_cloexec.c: Include fcntl.h.
45287         (__have_pipe2): New variable.
45288         (__have_dup3): Likewise.
45290 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45292         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45294 2012-08-17  Marek Polacek  <polacek@redhat.com>
45296         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45297         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45299 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45301         * configure.in: Add AC_SUBST for sysheaders.
45302         * configure: Regenerated.
45303         * config.make.in (sysheaders): New substituted variable.
45305         * sysdeps/unix/mkfifo.c: Moved ...
45306         * sysdeps/posix/mkfifo.c: ... here.
45307         * sysdeps/unix/mkfifoat.c: Moved ...
45308         * sysdeps/posix/mkfifoat.c: ... here.
45310         * sysdeps/unix/utime.c: Moved ...
45311         * sysdeps/posix/utime.c: ... here.
45313         * sysdeps/unix/time.c: Moved ...
45314         * sysdeps/posix/time.c: ... here.
45315         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45316         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45318         * sysdeps/unix/nice.c: Moved ...
45319         * sysdeps/posix/nice.c: ... here.
45321         * sysdeps/unix/alarm.c: Moved ...
45322         * sysdeps/posix/alarm.c: ... here.
45324         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45326 2012-08-17  Jeff Law <law@redhat.com>
45328         * intl/Makefile (codeset_mo): New variable.
45329         ($(codeset_mo)): New target.
45330         (tst-codeset.out): Depend on that.  Remove explicit rule.
45331         (tst-gettext3.out, tst-gettext5.out): Likewise.
45332         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45333         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45334         * intl/tst-codeset.sh: Remove.
45335         * intl/tst-gettext3.sh: Likewise.
45336         * intl/tst-gettext5.sh: Likewise.
45338 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45340         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45341         * sysdeps/unix/syscalls.list: ... here.
45343         * sysdeps/posix/getaddrinfo.c
45344         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45345         (gaiconf_init, gaiconf_reload): Use them.
45346         [!_STATBUF_ST_NSEC]
45347         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45348         Define using time_t rather than struct timespec.
45350         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45351         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45352         Macros removed.
45353         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45354         [!NO_THREADS].
45355         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45356         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45357         Likewise.
45359         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45360         __libc_cleanup_push argument.
45362         * bits/param.h: New file.
45363         * misc/sys/param.h: New file.
45364         * include/sys/param.h: New file.
45365         * misc/Makefile (headers): Add bits/param.h.
45366         * sysdeps/generic/sys/param.h: File removed.
45367         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45368         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45369         * sysdeps/mach/hurd/bits/param.h: New file.
45370         * sysdeps/mach/hurd/sys/param.h: File removed.
45372         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45373         last change.
45375         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45376         [_IO_MTSAFE_IO].
45377         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45378         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45379         New macros.
45381         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45382         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45383         rather than -D_IO_MTSAFE_IO conditionally.
45384         * stdio-common/Makefile (CPPFLAGS): Likewise.
45385         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45386         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45387         Use $(libio-mtsafe).
45388         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45389         of -D_IO_MTSAFE_IO.
45390         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45391         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45392         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45393         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45394         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45395         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45396         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45397         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45398         (CFLAGS-fread_u_chk.c): Likewise.
45399         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45400         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45401         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45402         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45403         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45404         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45405         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45406         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45407         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45409         * libio/Makefile: Test [$(libc-reentrant) = yes]
45410         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45412         * Makeconfig
45413         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45414         * sysdeps/pthread/configure: File removed.
45415         * sysdeps/pthread/Makeconfig: New file.
45416         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45417         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45419 2012-08-16  Gary Benson  <gbenson@redhat.com>
45421         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45422         unmapping the first object in a namespace.
45424 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45426         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45427         (__internal_setnetgrent): ... this.  Add internal_function to
45428         definition.  Add libc_hidden_def.
45429         (setnetgrent): Update caller.
45430         (internal_endnetgrent): Renamed to ...
45431         (__internal_endnetgrent): ... this.  Add internal_function to
45432         definition.  Add libc_hidden_def.
45433         (endnetgrent): Update caller.
45434         (internal_getnetgrent_r): Renamed to ...
45435         (__internal_getnetgrent_r): ... this.  Add internal_function to
45436         definition.  Add libc_hidden_def.
45437         (__getnetgrent_r): Update caller.
45438         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45440 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45442         * stdlib/longlong.h: Update from GCC.
45444 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45446         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45447         on _QL, which is set by umul_ppmm but never used.
45448         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45449         variables, which are set by GMP macros but never used.
45450         * stdio-common/_itowa.c (_itowa): Likewise.
45451         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45452         * stdlib/mod_1.c (mpn_mod_1): Likewise.
45454 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
45456         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45457         struct La_sh_regs is not constant.
45458         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45459         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45460         and struct La_sparc64_regs are not constant.
45462 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45464         * sysdeps/unix/sysv/linux/kernel-features.h
45465         (__ASSUME_POSIX_TIMERS): Remove.
45466         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45467         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45468         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45469         Make code unconditional.
45470         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45471         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45472         Make code unconditional.
45473         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45474         * sysdeps/unix/sysv/linux/clock_nanosleep.c
45475         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45476         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45477         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45478         Make code unconditional.
45479         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45480         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45481         (__libc_missing_posix_timers): Remove.
45483 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45485         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45486         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45488         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45490         * elf/dl-sym.c: Include <stdlib.h>.
45492         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45493         constants, which avoids warnings in 32-bit builds.
45495         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45496         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45498         * misc/lseek.c: File moved to ...
45499         * io/lseek.c: ... here.
45501         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45503         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45504         shifting LEN more than 31 bits at once.
45506 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45508         [BZ #14195]
45509         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45510         segmentation fault for a case of two empty input strings.
45511         * string/test-strncasecmp.c (check1): Renamed to...
45512         (bz12205): ...this.
45513         (bz14195): Add new testcase for two empty input strings and N > 0.
45514         (test_main): Call new testcase, adapt for renamed function.
45516 2012-08-15  Andreas Jaeger  <aj@suse.de>
45518         [BZ #14090]
45519         * crypt/md5test2.c: New test, based on test supplied by Serge
45520         Belyshev <belyshev@depni.sinp.msu.ru>.
45521         * crypt/Makefile (xtests): Add md5test-giant..
45522         * crypt/Makefile ($(objpfx)md5test-giant): Add.
45524 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
45526         [BZ #14090]
45527         * crypt/md5.c (md5_process_block): Don't assume the buffer
45528         length is less than 2**32.
45529         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45530         length is less than 2**64.
45532 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45534         * string/str-two-way.h: Include <sys/param.h>.
45535         (MAX): Macro removed.
45537         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45538         Move #define and #undef of memmove to just before and after
45539         including <string.h>.
45541         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45542         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45543         and after including <string.h>.  Move declarations of
45544         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45545         to before #include "string/memmove.c".
45547         * include/dirent.h: Declare __getdirentries.
45549         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45550         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45552 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
45554         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45555         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45556         * sysdeps/i386/configure: Regenerated.
45557         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45558         STABS_CURRENT_FILE, and STABS_FUN.
45559         (END): Remove call to STABS_FUN_END.
45560         (STABS_CURRENT_FILE1): Delete.
45561         (STABS_CURRENT_FILE): Likewise.
45562         (STABS_FUN): Likewise.
45563         (STABS_FUN_END): Likewise.
45564         (STABS_FUN2): Likewise.
45565         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45566         * sysdeps/x86_64/configure: Regenerated.
45568 2012-08-14  Roland McGrath  <roland@hack.frob.com>
45570         * elf/dl-open.c: Include <atomic.h>.
45571         * elf/dl-lookup.c: Likewise.
45573 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
45575         * sysdeps/unix/sysv/linux/kernel-features.h
45576         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45577         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45578         unconditionally.
45579         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45580         unconditionally.
45581         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45582         condition on __ASSUME_CLONE_THREAD_FLAGS.
45584 2012-08-14  Andreas Jaeger  <aj@suse.de>
45586         * sysdeps/i386/fpu/libm-test-ulps: Update.
45588 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
45590         * include/atomic.h (atomic_exchange_and_add): Split into ...
45591         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45592         New atomic macros.
45594 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
45596         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45598 2012-08-13  Jeff Law <law@redhat.com>
45600         * manual/stdio.texi (snprintf): Clarify handling of the trailing
45601         null byte in the output string.
45603 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
45605         * sysdeps/unix/sysv/linux/kernel-features.h
45606         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
45607         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
45608         (__ASSUME_ARG_MAX_STACK_BASED): Define.
45609         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45610         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
45611         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
45612         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
45614 2012-08-09  Jeff Law <law@redhat.com>
45616         [BZ #13939]
45617         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
45618         When avoid_arena is set, don't retry in the that arena.  Pick the
45619         next one, whatever it might be.
45620         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
45621         (arena_lock): Pass in new parameter to arena_get2.
45622         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
45623         arena_get2.
45624         (__libc_malloc): Unify retrying after main arena failure with
45625         __libc_memalign version.
45626         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
45628 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
45630         [BZ #14166]
45631         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45632         to __redirect_strstr.
45633         (__strstr_sse42): Use typeof __redirect_strstr.
45634         (__strstr_ia32): Likewise.
45635         (__libc_strstr): New prototype.
45636         (strstr): Renamed to ...
45637         (__libc_strstr): This.
45638         (strstr): New strong alias of __libc_strstr.
45639         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45640         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
45641         __redirect_time.
45642         Include <time.h>.
45643         (__libc_time): New prototype.
45644         (time_ifunc): Replace time with __libc_time.
45645         (time): New strong alias and hidden definition of __libc_time.
45646         (__GI_time): Remove strong alias.
45647         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
45648         Include <stddef.h>.
45649         (memmove): Redefined to __redirect_memmove.
45650         (__memmove_sse2): Use typeof __redirect_memmove.
45651         (__memmove_ssse3): Likewise.
45652         (__memmove_ssse3_back): Likewise.
45653         (__libc_memmove): New prototype.
45654         (memmove): Renamed to ...
45655         (__libc_memmove): This.
45656         (memmove): New strong alias of __libc_memmove.
45658 2012-08-08  Mark Salter  <msalter@redhat.com>
45660         * elf/elf.h
45661         (R_MN10300_TLS_GD): Define.
45662         (R_MN10300_TLS_LD): Likewise.
45663         (R_MN10300_TLS_LDO): Likewise.
45664         (R_MN10300_TLS_GOTIE): Likewise.
45665         (R_MN10300_TLS_IE): Likewise.
45666         (R_MN10300_TLS_LE): Likewise.
45667         (R_MN10300_TLS_DTPMOD): Likewise.
45668         (R_MN10300_TLS_DTPOFF): Likewise.
45669         (R_MN10300_TLS_TPOFF): Likewise.
45670         (R_MN10300_SYM_DIFF): Likewise.
45671         (R_MN10300_ALIGN): Likewise.
45672         (R_MN10300_NUM): Update.
45674 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
45676         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45677         Remove.
45679 2012-08-08  Roland McGrath  <roland@hack.frob.com>
45681         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45683         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45684         sysdeps/unix -> sysdeps/posix move.
45685         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45687 2012-08-07      Allan McRae     <allan@archlinux.org>
45689         [BZ #14303]
45690         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45691         (SUNOS_CPP): Likewise.
45692         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45693         not found.
45694         (open_input): Call CPP using execvp.
45696 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45698         * sysdeps/unix/sysv/linux/kernel-features.h
45699         (__ASSUME_PROT_GROWSUPDOWN): Remove.
45700         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45701         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45702         (__ASSUME_WAITID_SYSCALL): Likewise.
45703         * sysdeps/unix/sysv/linux/dl-execstack.c
45704         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45705         code unconditional.
45706         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45707         conditional code.
45708         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45709         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45710         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45711         code.
45712         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45713         unconditional.
45714         [__ASSUME_WAITID_SYSCALL]: Likewise.
45715         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45717 2012-08-07  Roland McGrath  <roland@hack.frob.com>
45719         * sysdeps/unix/closedir.c: Renamed to ...
45720         * sysdeps/posix/closedir.c: ... here.
45721         * sysdeps/unix/dirfd.c: Renamed to ...
45722         * sysdeps/posix/dirfd.c: ... here.
45723         * sysdeps/unix/dirstream.h: Renamed to ...
45724         * sysdeps/posix/dirstream.h: ... here.
45725         * sysdeps/unix/fdopendir.c: Renamed to ...
45726         * sysdeps/posix/fdopendir.c: ... here.
45727         * sysdeps/unix/opendir.c: Renamed to ...
45728         * sysdeps/posix/opendir.c: ... here.
45729         * sysdeps/unix/readdir.c: Renamed to ...
45730         * sysdeps/posix/readdir.c: ... here.
45731         * sysdeps/unix/readdir_r.c: Renamed to ...
45732         * sysdeps/posix/readdir_r.c: ... here.
45733         * sysdeps/unix/rewinddir.c: Renamed to ...
45734         * sysdeps/posix/rewinddir.c: ... here.
45735         * sysdeps/unix/seekdir.c: Renamed to ...
45736         * sysdeps/posix/seekdir.c: ... here.
45737         * sysdeps/unix/telldir.c: Renamed to ...
45738         * sysdeps/posix/telldir.c: ... here.
45739         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45740         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45741         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45742         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45744         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45745         * bits/fcntl.h: ... here.
45747         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45748         not 0.
45749         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45750         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45751         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45752         (struct flock): Move l_start, l_len to the beginning.
45753         Use __pid_t for l_pid.
45754         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45755         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45756         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45757         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45758         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45759         [__USE_LARGEFILE64] (struct flock64): New type.
45760         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45762         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45763         * bits/dirent.h: ... here.
45765         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45766         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45768 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45770         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45771         Change from 2.6.0 to 2.6.16.
45772         * sysdeps/unix/sysv/linux/configure: Regenerated.
45773         * sysdeps/unix/sysv/linux/kernel-features.h
45774         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45775         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45776         version.
45777         (__ASSUME_UTIMES): Likewise.
45778         (__ASSUME_CLONE_STOPPED): Remove.
45779         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45780         architectures, not kernel version.
45781         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45782         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45783         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45784         (__ASSUME_WAITID_SYSCALL): Likewise.
45785         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45786         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45787         * README: State 2.6.16 as minimum Linux kernel version.  Do not
45788         refer to older versions.
45790 2012-08-06  Roland McGrath  <roland@hack.frob.com>
45792         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45793         Define alphasort64 as an alias.
45794         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45795         Define versionsort64 as an alias.
45796         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45797         Define scandir64 as an alias.
45798         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45799         Define scandirat64 as an alias.
45800         * dirent/alphasort64.c (alphasort64):
45801         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45802         * dirent/versionsort64.c: Likewise.
45803         * dirent/scandir64.c: Likewise.
45804         * dirent/scandirat64.c: Likewise.
45805         * sysdeps/wordsize-64/alphasort.c: File removed.
45806         * sysdeps/wordsize-64/alphasort64.c: File removed.
45807         * sysdeps/wordsize-64/scandir.c: File removed.
45808         * sysdeps/wordsize-64/scandir64.c: File removed.
45809         * sysdeps/wordsize-64/scandirat.c: File removed.
45810         * sysdeps/wordsize-64/scandirat64.c: File removed.
45811         * sysdeps/wordsize-64/versionsort.c: File removed.
45812         * sysdeps/wordsize-64/versionsort64.c: File removed.
45813         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45814         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45815         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45816         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45817         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45818         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45819         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45820         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45822         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45823         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45824         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45825         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45826         [defined __arch64__ || defined __sparcv9]
45827         (__INO_T_MATCHES_INO64_T): New macro.
45828         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45829         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45830         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45831         * sysdeps/unix/sysv/linux/bits/dirent.h
45832         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45833         (_DIRENT_MATCHES_DIRENT64): New macro.
45835         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45836         Define lockf64 as an alias.
45837         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45838         Define fseeko64 as an alias.
45839         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45840         Define ftello64 as an alias.
45841         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45842         Define _IO_fgetpos64 and fgetpos64 as aliases.
45843         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45844         Define _IO_fsetpos64 and fsetpos64 as aliases.
45845         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45846         Conditionalize body on this.
45847         * libio/fseeko64.c: Likewise.
45848         * libio/ftello64.c: Likewise.
45849         * libio/iofgetpos64.c: Likewise.
45850         * libio/iofsetpos64.c: Likewise.
45851         * sysdeps/wordsize-64/lockf.c: File removed.
45852         * sysdeps/wordsize-64/lockf64.c: File removed.
45853         * sysdeps/wordsize-64/fseeko.c: File removed.
45854         * sysdeps/wordsize-64/fseeko64.c: File removed.
45855         * sysdeps/wordsize-64/ftello.c: File removed.
45856         * sysdeps/wordsize-64/ftello64.c: File removed.
45857         * sysdeps/wordsize-64/iofgetpos.c: File removed.
45858         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45859         * sysdeps/wordsize-64/iofsetpos.c: File removed.
45860         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45861         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45862         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45863         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45864         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45865         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45866         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45867         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45868         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45869         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45870         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45872         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45873         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45874         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45875         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45876         [defined __arch64__ || defined __sparcv9]
45877         (__OFF_T_MATCHES_OFF64_T): New macro.
45878         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45879         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45880         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45881         (__OFF_T_MATCHES_OFF64_T): New macro.
45883 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45885         * stdlib/secure-getenv.c (__secure_getenv): Replace
45886         GLIBC_2_16 with GLIBC_2_17.
45888 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45890         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45891         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45893 2012-08-03  David S. Miller  <davem@davemloft.net>
45895         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45897 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45899         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45900         Remove.
45901         (__ASSUME_CORRECT_SI_PID): Likewise.
45902         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45903         (__ASSUME_TMPFS_NAME): Likewise.
45904         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45905         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45906         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45907         (HAVE_AUX_SECURE): Make definition unconditional.
45908         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45909         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45911 2012-08-03  Roland McGrath  <roland@hack.frob.com>
45913         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45914         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45915         * sysdeps/mach/hurd/eloop-threshold.h: New file.
45916         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45917         __eloop_threshold instead of SYMLOOP_MAX.
45919         * sysdeps/generic/eloop-threshold.h: New file.
45920         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45921         of MAXSYMLINKS.
45922         * elf/chroot_canon.c (chroot_canon): Likewise.
45924 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45926         [BZ #13717]
45927         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45928         Change to 2.6.0 everywhere.
45929         * sysdeps/unix/sysv/linux/configure: Regenerated.
45930         * sysdeps/unix/sysv/linux/kernel-features.h
45931         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45932         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45933         kernel versions.
45934         (__ASSUME_POSIX_TIMERS): Define unconditionally.
45935         (__ASSUME_FUTEX_REQUEUE): Remove.
45936         (__ASSUME_STATFS64): Define unconditionally.
45937         (__ASSUME_AT_SECURE): Likewise.
45938         (__ASSUME_CORRECT_SI_PID): Likewise.
45939         (__ASSUME_TGKILL): Define without depending on kernel version for
45940         i386.
45941         (__ASSUME_UTIMES): Likewise.
45942         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45943         kernel version.
45944         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45945         (__ASSUME_TMPFS_NAME): Likewise.
45946         * README: Update reference to Linux kernel versions.
45948 2012-08-02  Marek Polacek  <polacek@redhat.com>
45950         [BZ# 14150]
45951         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
45952         libc_cv_asm_type_prefix with %.
45953         * configure: Regenerated.
45954         * include/libc-symbols.h: Remove comment about
45955         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45956         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45957         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45958         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45959         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45960         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45961         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45962         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45963         * elf/tst-unique2mod1.c: Likewise.
45964         * elf/tst-unique1mod2.c: Likewise.
45965         * elf/tst-unique1mod1.c: Likewise.
45966         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45967         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45968         Replace ASM_TYPE_DIRECTIVE with .type.
45969         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45970         * sysdeps/i386/sysdep.h: Likewise.
45971         * sysdeps/x86_64/sysdep.h: Likewise.
45972         * sysdeps/sh/sysdep.h: Likewise.
45973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45974         Do not define ASM_TYPE_DIRECTIVE.
45975         * sysdeps/powerpc/sysdep.h: Likewise.
45976         * sysdeps/powerpc/powerpc32/sysdep.h:
45977         Replace ASM_TYPE_DIRECTIVE with .type.
45978         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45979         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45980         * sysdeps/i386/fpu/e_powf.S: Likewise.
45981         * sysdeps/i386/fpu/e_expl.S: Likewise.
45982         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45983         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45984         * sysdeps/i386/fpu/e_pow.S: Likewise.
45985         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45986         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45987         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45988         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45989         * sysdeps/i386/fpu/e_log2.S: Likewise.
45990         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45991         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45992         * sysdeps/i386/fpu/e_powl.S: Likewise.
45993         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45994         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45995         * sysdeps/i386/fpu/e_logl.S: Likewise.
45996         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45997         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45998         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45999         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46000         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46001         * sysdeps/i386/fpu/e_log.S: Likewise.
46002         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46003         * sysdeps/i386/fpu/e_logf.S: Likewise.
46004         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46005         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46006         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46007         * sysdeps/i386/fpu/e_log10.S: Likewise.
46008         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46009         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46010         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46011         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46012         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46013         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46014         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46015         * sysdeps/i386/i686/strtok.S: Likewise.
46016         * sysdeps/i386/i386-mcount.S: Likewise.
46017         * sysdeps/i386/strtok.S: Likewise.
46018         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46019         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46020         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46021         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46022         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46023         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46024         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46025         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46026         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46027         * sysdeps/x86_64/_mcount.S: Likewise.
46028         * sysdeps/x86_64/strtok.S: Likewise.
46029         * sysdeps/sh/_mcount.S: Likewise.
46031 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46033         * libio/iofopen.c: Include <fcntl.h>.
46034         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46035         (_IO_fopen64, fopen64): Define as aliases.
46036         * libio/iofopen64.c: Include <fcntl.h>.
46037         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46038         Conditionalize body on this.
46039         * sysdeps/wordsize-64/iofopen.c: File removed.
46040         * sysdeps/wordsize-64/iofopen64.c: File removed.
46042 2012-08-01  Marek Polacek  <polacek@redhat.com>
46044         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46045         Use dlfcn directly instead of a variable.
46046         (binfmt-subdir): Do not define.
46047         (dlfcn): Likewise.
46049 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46051         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46052         Remove all definitions.
46053         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46054         <kernel-features.h>.
46055         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46056         (miss_F_GETOWN_EX): Remove all definitions.
46057         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46058         macro definition.
46059         [!__ASSUME_FCNTL64]: Remove conditional code.
46060         [__ASSUME_FCNTL64]: Make code unconditional.
46061         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46062         <kernel-features.h>.
46063         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46064         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46065         (lockf64) [__NR_fcntl64]: Make code unconditional.
46066         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46068         * sysdeps/unix/sysv/linux/kernel-features.h
46069         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46070         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46071         Make code unconditional.
46072         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46073         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46075         [__NR_vfork]: Make code unconditional.
46076         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46077         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46079         [__NR_vfork]: Make code unconditional.
46080         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46081         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46083 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46085         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46086         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46088         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46089         Define mkstemp64 as an alias.
46090         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46091         Define mkstemps64 as an alias.
46092         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46093         Define mkostemp64 as an alias.
46094         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46095         Define mkostemps64 as an alias.
46096         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46097         Conditionalize body on this.
46098         * misc/mkostemp64.c: Likewise.
46099         * misc/mkostemps64.c: Likewise.
46100         * misc/mkstemps64.c: Likewise.
46101         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46102         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46103         * sysdeps/wordsize-64/mkostemp.c: File removed.
46104         * sysdeps/wordsize-64/mkstemp.c: File removed.
46105         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46106         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46107         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46108         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46110         [BZ #14138]
46111         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46112         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46113         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46114         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46116         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46117         compat_symbol macros from <shlib-compat.h> rather than the underlying
46118         default_symbol_version and symbol_version macros, so that DEFAULT
46119         lines in shlib-versions are respected.
46120         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46122 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46124         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46125         Declare with warn_unused_result.
46126         (setgid, setregid, setegid, setresgid): Likewise.
46127         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46128         Likewise.
46129         * WUR-REPORT: Remove set*id functions.
46131 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46133         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46135 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46137         [BZ #10191]
46138         * include/sys/socket.h (__libc_accept, __libc_accept4):
46139         Add attribute_hidden.
46140         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46142         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46143         use of PTR_MANGLE.
46144         * inet/getnetgrent_r.c (setup): Likewise.
46146         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46148 2012-07-31  David S. Miller  <davem@davemloft.net>
46150         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46152 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46154         [BZ #13629]
46155         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46156         value between 1.0 and 2.0 and smaller part has absolute value less
46157         than 1.0.
46158         * math/s_clog10.c (__clog10): Likewise.
46159         * math/s_clog10f.c (__clog10f): Likewise.
46160         * math/s_clog10l.c (__clog10l): Likewise.
46161         * math/s_clogf.c (__clogf): Likewise.
46162         * math/s_clogl.c (__clogl): Likewise.
46163         * math/libm-test.inc (clog_test): Add more tests.
46164         (clog10_test): Likewise.
46165         * sysdeps/i386/fpu/libm-test-ulps: Update.
46166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46168 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46170         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46171         Exit with zero in case no suitable GID is found, and write a
46172         message to standard error.
46174 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46176         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46177         rather than to 1.
46178         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46179         (MAXPATHLEN): Removed.
46180         (NOGROUP, NODEV): New macros.
46181         (setbit, clrbit, isset, isclr): New macros.
46182         (howmany, roundup, powerof2): New macros.
46183         (DEV_BSIZE): New macro.
46185         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46186         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46188         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46189         definition on [!__NO_LONG_DOUBLE_MATH].
46191         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46192         PTR_MANGLE and PTR_DEMANGLE.
46194         * socket/accept4.c (accept4): Rename to __libc_accept4.
46195         Define accept4 as a weak alias.
46197         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46198         on [_DIRENT_HAVE_D_TYPE].
46199         * io/ftw.c (ftw_dir): Likewise.
46201         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46203         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46205         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46206         Use the BSD numbers rather than the arbitrary ones we had.
46207         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46208         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46209         (SIGXCPU, SIGXFSZ): New macros.
46210         (_NSIG): Now 32.
46212         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46213         initializer on [_LIBC_REENTRANT].
46215         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46216         definitions inside [_POSIX_MAPPED_FILES].
46218         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46220         * dirent/opendir.c: Include <fcntl.h>.
46222         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46223         (__libc_getspecific): Likewise.
46224         (__libc_key_create): Likewise.
46226         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46227         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46228         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46229         (tmpfile64): Define as alias.
46230         * sysdeps/wordsize-64/tmpfile.c: File removed.
46231         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46232         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46233         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46235         * stdio-common/vfscanf.c: Include <stdbool.h>.
46236         * nss/makedb.c: Likewise.
46237         * stdio-common/_i18n_number.h: Likewise.
46238         * argp/argp-help.c: Likewise.
46239         * posix/wordexp.c: Likewise.
46240         * sysdeps/posix/spawni.c: Likewise.
46241         * nss/nss_files/files-initgroups.c: Likewise.
46242         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46243         * nss/nss_files/files-initgroups.c: Likewise.
46244         * nss/nss_db/db-netgrp.c: Likewise.
46245         * nss/nss_db/db-initgroups.c: Likewise.
46246         * io/fchmodat.c: Include <sys/stat.h>.
46248         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46249         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46251         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46252         [HAVE_MMAP].
46254         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46255         Add multiple inclusion protection.
46257 2012-07-27  David S. Miller  <davem@davemloft.net>
46259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46261 2012-07-27  Gary Benson  <gbenson@redhat.com>
46263         [BZ #14298]
46264         * elf/rtld.c: Include <stap-probe.h>.
46265         (dl_main): Added static probes "init_start" and "init_complete".
46266         * elf/dl-load.c: Include <stap-probe.h>.
46267         (lose): Take new parameter "nsid".
46268         Added static probe "map_failed".
46269         (_dl_map_object_from_fd): Pass namespace id to lose.
46270         Added static probe "map_start".
46271         (open_verify): Pass namespace id to lose.
46272         * elf/dl-open.c: Include <stap-probe.h>.
46273         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46274         and "reloc_complete".
46275         * elf/dl-close.c: Include <stap-probe.h>.
46276         (_dl_close_worker): Added static probes "unmap_start" and
46277         "unmap_complete".
46278         * elf/rtld-debugger-interface.txt: New file documenting the above.
46280 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46282         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46283         rather than a string variable.
46284         * sunrpc/rpc_main.c (h_output): Likewise.
46285         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46287 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46289         * inet/check_native.c: New file.
46291 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46293         [BZ #13629]
46294         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46295         if larger part has absolute value 1.0.
46296         * math/s_clog10.c (__clog10): Likewise.
46297         * math/s_clog10f.c (__clog10f): Likewise.
46298         * math/s_clog10l.c (__clog10l): Likewise.
46299         * math/s_clogf.c (__clogf): Likewise.
46300         * math/s_clogl.c (__clogl): Likewise.
46301         * math/libm-test.inc (clog_test): Add more tests.
46302         (clog10_test): Likewise.
46303         * sysdeps/i386/fpu/libm-test-ulps: Update.
46304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46306         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46307         (pltexit): Likewise.
46308         (La_regs): Likewise.
46309         (La_retval): Likewise.
46310         (int_retval): Likewise.
46311         Update #error for removed macros to refer only to definitions in
46312         tst-audit.h.
46313         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46314         macro.
46315         (pltexit): Likewise.
46316         (La_regs): Likewise.
46317         (La_retval): Likewise.
46318         (int_retval): Likewise.
46319         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46320         macro.
46321         (pltexit): Likewise.
46322         (La_regs): Likewise.
46323         (La_retval): Likewise.
46324         (int_retval): Likewise.
46325         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46326         macro.
46327         (pltexit): Likewise.
46328         (La_regs): Likewise.
46329         (La_retval): Likewise.
46330         (int_retval): Likewise.
46331         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46332         macro.
46333         (pltexit): Likewise.
46334         (La_regs): Likewise.
46335         (La_retval): Likewise.
46336         (int_retval): Likewise.
46337         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46338         macro.
46339         (pltexit): Likewise.
46340         (La_regs): Likewise.
46341         (La_retval): Likewise.
46342         (int_retval): Likewise.
46343         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46344         macro.
46345         (pltexit): Likewise.
46346         (La_regs): Likewise.
46347         (La_retval): Likewise.
46348         (int_retval): Likewise.
46349         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46350         macro definitions in tst-audit.h.
46351         * sysdeps/i386/tst-audit.h: New file.
46352         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46353         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46354         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46355         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46356         * sysdeps/sh/tst-audit.h: Likewise.
46357         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46358         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46359         * sysdeps/x86_64/tst-audit.h: Likewise.
46361 2012-07-26  Andreas Jaeger  <aj@suse.de>
46363         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46364         ptrace.
46366         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46367         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46368         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46369         PTRACE_O_MASK.
46370         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46371         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46372         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46374         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46375         value.
46377         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46378         _sigsys.
46379         (si_call_addr, si_syscall, si_arch): Define new macro.
46380         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46381         _sigsys.
46382         (si_call_addr, si_syscall, si_arch): Define new marcro.
46383         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46384         _sigsys.
46385         (si_call_addr, si_syscall, si_arch): Define new macro.
46386         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46387         _sigsys.
46388         (si_call_addr, si_syscall, si_arch): Define new macro.
46390 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46392         [BZ #13717]
46393         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46394         Change to 2.4.21 where previously 2.4.1.
46395         * sysdeps/unix/sysv/linux/configure: Regenerated.
46396         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46397         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46398         Linux kernel version.
46399         (__ASSUME_STD_AUXV): Remove.
46400         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46401         kernel version.
46402         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46403         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46404         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46405         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46406         (__ASSUME_NETLINK_SUPPORT): Likewise.
46407         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46408         (__no_netlink_support): Remove conditional definition.
46409         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46410         Remove.
46411         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46412         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46413         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46414         (if_nameindex_ioctl): Remove.
46415         (if_nameindex_netlink): Do not handle __no_netlink_support.
46416         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46417         code.
46418         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46419         Remove conditional code.
46420         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46421         code.
46422         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46423         unconditional.
46424         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46425         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46426         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46427         Remove.
46428         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46429         [!__ASSUME_STD_AUXV]: Remove conditional code.
46430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46431         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46432         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46434         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46435         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46436         code.
46437         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46439         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46440         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46441         conditional code.
46442         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46444         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46445         code.
46446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46447         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46448         conditional code.
46449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46450         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46451         code unconditional.
46452         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46453         conditional code.
46454         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46455         unconditional.
46456         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46457         conditional code.
46458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46459         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46460         unconditional.
46461         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46462         conditional code.
46463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46464         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46465         code unconditional.
46466         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46467         conditional code.
46468         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46469         unconditional.
46470         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46471         conditional code.
46472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46473         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46474         code unconditional.
46475         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46476         conditional code.
46477         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46478         unconditional.
46479         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46480         conditional code.
46482 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
46484         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46485         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46486         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46487         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46488         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46489         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46490         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46491         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46492         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46493         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46494         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46495         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46496         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46497         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46498         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46499         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46500         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46501         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46502         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46503         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46504         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46505         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46506         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46508 2012-07-25  Florian Weimer  <fweimer@redhat.com>
46510         * Versions.def: Add GLIBC_2.17.
46511         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46512         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46513         Introduce __libc_secure_getenv.
46514         * stdlib/Versions (2.17): Add secure_getenv
46515         (GLIBC_PRIVATE): Add __libc_secure_getenv.
46516         * stdlib/secure-getenv.c: Rename __secure_getenv to
46517         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
46518         symbol __secure_getenv for GLIBC_2.0.
46519         * stdlib/tst-secure-getenv.c: New.
46520         * stdlib/Makefile (tests): Add testcase.
46521         * manual/startup.texi (Environment Access): Document
46522         secure_getenv.
46523         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46524         __libc_secure_getenv.
46525         * inet/ruserpass.c (ruserpass): Likewise.
46526         * malloc/mtrace.c (mtrace): Likewise.
46527         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46528         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46529         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46530         * sysdeps/posix/tempname.c: Likewise.  Evaluate
46531         HAVE_SECURE_GETENV.
46532         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46533         __secure_getenv to __libc_secure_getenv.
46534         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46536         Likewise.
46537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46538         Likewise.
46539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46541         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46542         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46543         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46544         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46545         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46547 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46549         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46550         (struct La_i86_retval): Likewise.
46551         (struct La_x86_64_regs): Likewise.
46552         (struct La_x86_64_retval): Likewise.
46553         (struct La_x32_regs): Likewise.
46554         (struct La_x32_retval): Likewise.
46555         (struct La_ppc32_regs): Likewise.
46556         (struct La_ppc32_retval): Likewise.
46557         (struct La_ppc64_regs): Likewise.
46558         (struct La_ppc64_retval): Likewise.
46559         (struct La_sh_regs): Likewise.
46560         (struct La_sh_retval): Likewise.
46561         (struct La_s390_32_regs): Likewise.
46562         (struct La_s390_32_retval): Likewise.
46563         (struct La_s390_64_regs): Likewise.
46564         (struct La_s390_64_retval): Likewise.
46565         (struct La_sparc32_regs): Likewise.
46566         (struct La_sparc32_retval): Likewise.
46567         (struct La_sparc64_regs): Likewise.
46568         (struct La_sparc64_retval): Likewise.
46569         (struct audit_ifaces): Remove architecture-specific pltenter and
46570         pltexit members.
46571         * sysdeps/i386/ldsodefs.h: New file.
46572         * sysdeps/powerpc/ldsodefs.h: Likewise.
46573         * sysdeps/s390/ldsodefs.h: Likewise.
46574         * sysdeps/sh/ldsodefs.h: Likewise.
46575         * sysdeps/sparc/ldsodefs.h: Likewise.
46576         * sysdeps/x86_64/ldsodefs.h: Likewise.
46578 2012-07-25  Marek Polacek  <polacek@redhat.com>
46580         [BZ #6808]
46581         * math/libm-test.inc (yn_test): Add another test.
46582         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46583         to ERANGE when the result is +-Inf.
46584         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46585         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46586         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46587         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46589 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
46591         * conform/data/time.h-data (NULL): Use macro-constant.  Require
46592         equal to 0.
46593         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
46594         clock_t.
46595         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
46597 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
46599         * configure.in <sysdeps resolving>: Correct printing
46600         Implies_before.
46601         * configure: Regenerate.
46603 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
46605         * math/w_ilogb.c: Include <limits.h>.
46606         * math/w_ilogbl.c: Likewise.
46608 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46610         * manual/lang.texi (__va_copy): Document primarily as ISO C99
46611         va_copy.  Document allowing for unavailable va_copy only as
46612         pre-C99 compatibility.
46613         * manual/string.texi (Copying and Concatenation): Use va_copy
46614         instead of __va_copy in concat example.
46616 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
46618         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
46619         (__sendto): Use create_address_port.  Initialize APORT and deallocate
46620         it if not null.
46622         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
46623         with O_NOLINK passed to __file_name_lookup.
46625         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
46626         with O_NOLINK passed to __file_name_lookup.
46628         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
46629         negative N or less than NGIDS.
46631         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
46632         type to string_t.  Set ERANGE as errno and return it if NAME is not big
46633         enough.  Use memcpy instead of strncpy.
46635 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46637         * elf/Makefile (check-data): Remove.
46638         (localplt.data): New vpath directive.
46639         ($(objpfx)check-localplt.out): Use localplt.data from vpath
46640         instead of $(check-data).
46641         * scripts/data/localplt-generic.data: Move to ...
46642         * sysdeps/generic/localplt.data: ... here.
46643         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
46644         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
46645         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
46646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46647         ... here.
46648         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
46649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46650         ... here.
46651         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
46652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46653         ... here.
46654         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
46655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46656         ... here.
46657         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
46658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
46659         ... here.
46660         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46661         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
46662         ... here.
46664 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46666         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
46667         PPC32 and PPC64 files.
46668         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46669         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46671 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46673         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46674         __makecontext_ret to ...
46675         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46676         ... here and call exit if uc_link is NULL.  New file.
46677         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46678         __makecontext_ret.S.
46679         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46680         __makecontext_ret to ...
46681         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46682         ... here and call exit if uc_link is NULL.  New file.
46683         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46684         __makecontext_ret.S.
46686 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46688         * elf/elf.h (R_390_IRELATIVE): New definition.
46689         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46690         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
46691         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46692         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46693         (elf_machine_lazy_rel): Likewise.
46694         * sysdeps/s390/dl-irel.h: New file.
46695         * sysdeps/s390/s390-64/memcpy.S: New asm code.
46696         * sysdeps/s390/s390-64/memset.S: New asm code.
46697         * sysdeps/s390/s390-64/memcmp.S: New asm code.
46698         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46699         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46700         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46701         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46702         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46703         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46704         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46705         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46706         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46707         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46708         * sysdeps/s390/s390-32/memcpy.S: New asm code.
46709         * sysdeps/s390/s390-32/memset.S: New asm code.
46710         * sysdeps/s390/s390-32/memcmp.S: New asm code.
46712 2012-07-17  Marek Polacek  <polacek@redhat.com>
46714         [BZ #14349]
46715         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46716         * sysdeps/s390/s390-64/configure.in: Likewise.
46717         * sysdeps/sparc/configure.in: Likewise.
46718         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46719         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46720         * sysdeps/i386/configure.in: Likewise.
46721         * sysdeps/x86_64/configure.in: Likewise.
46722         * sysdeps/sh/configure.in: Likewise.
46723         * sysdeps/s390/s390-32/configure: Regenerated.
46724         * sysdeps/s390/s390-64/configure: Likewise.
46725         * sysdeps/x86_64/configure: Likewise.
46726         * sysdeps/sh/configure: Likewise.
46727         * sysdeps/powerpc/powerpc64/configure: Likewise.
46728         * sysdeps/powerpc/powerpc32/configure: Likewise.
46729         * sysdeps/sparc/configure: Likwise.
46730         * sysdeps/i386/configure: Likewise.
46732         * elf/dl-open.c: Comment fixes.
46734 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
46736         * Makefile [CXX] (check-data): Remove.
46737         [CXX] (c++-types.data): New vpath directive.
46738         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46739         vpath.  Do not allow for C++ type data being missing.
46740         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46741         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46742         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46743         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46744         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46745         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46746         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46748         ... here.
46749         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46751         ... here.
46752         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46754         ... here.
46755         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46757         ... here.
46758         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46760         ... here.
46761         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46763         ... here.
46764         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46766         ... here.
46767         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46770         * elf/tls-macros.h (TLS_LE): Move architecture-specific
46771         definitions to architecture-specific files.
46772         (TLS_IE): Likewise.
46773         (TLS_LD): Likewise.
46774         (TLS_GD): Likewise.
46775         * sysdeps/i386/tls-macros.h: New file.
46776         * sysdeps/powerpc/tls-macros.h: Likewise.
46777         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46778         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46779         * sysdeps/sh/tls-macros.h: Likewise.
46780         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46781         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46782         * sysdeps/x86_64/tls-macros.h: Likewise.
46784 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46786         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46787         zero value for regular exit case.
46789         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46790         (__start_context): Preserve zero value for regular exit case.
46792 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46793             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46795         * manual/setjmp.texi (setcontext): Clarify normal process
46796         termination when uc_link is the null pointer.
46797         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46798         exit call.
46800 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
46802         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46803         preprocessor.  Test for each exception mask separately.
46805 2012-07-16  Andreas Jaeger  <aj@suse.de>
46807         * po/ru.po: Update from translation team.
46809 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
46811         * conform/data/string.h-data (NULL): Use macro-constant.  Require
46812         equal to 0.
46813         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46814         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46815         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46816         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46817         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46819 2012-07-13  Andreas Jaeger  <aj@suse.de>
46821         * po/fr.po: Update from translation team.
46823 2012-07-12  Marek Polacek  <polacek@redhat.com>
46825         [BZ #14173]
46826         * math/libm-test.inc (yn_test): Add test for BZ #14173.
46827         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46828         loop condition.
46830 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
46832         [BZ #13717]
46833         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46834         Change to 2.4.1 where previously 2.4.0.
46835         * sysdeps/unix/sysv/linux/configure: Regenerated.
46836         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46837         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46838         version.
46839         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46840         (__ASSUME_AT_CLKTCK): Remove.
46841         (__ASSUME_AT_PAGESIZE): Likewise.
46842         (__ASSUME_AT_XID): Likewise.
46843         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46844         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46845         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46846         unconditionally.
46847         (HAVE_AUX_PAGESIZE): Likewise.
46848         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46849         [__ASSUME_AT_CLKTCK]: Make code unconditional.
46850         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46852 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
46854         [BZ #14307]
46855         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46856         the temporary buffer used to invoke __gethostbyname2_r,
46857         __gethostbyaddr_r and gethostbyname4_r to make room for struct
46858         host_data / struct gaih_addrtuple.
46859         * resolv/nss_dns/dns-host.c (global scope): Move definition of
46860         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46861         header file nss/nsswitch.h.
46862         * nss/nsswitch.h (global scope): Add definition of implementation
46863         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46864         resolv/nss_dns/dns-host.c).
46866 2012-07-11  Andreas Jaeger  <aj@suse.de>
46868         * po/fr.po: Update from translation team.
46870         * po/sv.po: Update from translation team
46871         * po/fr.po: Another update from translation team.
46873 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46875         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46876         for subnormals or multiply small sinh result by itself.
46877         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46880 2012-07-11  David S. Miller  <davem@davemloft.net>
46882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46884 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
46886         [BZ #14347]
46887         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46888         (INTERNAL_MARK): Shift it here.
46890 2012-07-10  Marek Polacek  <polacek@redhat.com>
46892         [BZ #14151]
46893         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
46894         libc_cv_asm_global_directive with .globl.
46895         * configure: Regenerated.
46896         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46897         with .globl.
46898         * sysdeps/i386/configure: Regenerated.
46899         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46900         with .globl.
46901         * sysdeps/x86_64/configure: Regenerated.
46902         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46903         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46904         * elf/tst-unique2mod2.c: Likewise.
46905         * elf/tst-unique2mod1.c: Likewise.
46906         * elf/tst-unique1mod2.c: Likewise.
46907         * elf/tst-unique1mod1.c: Likewise.
46908         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46909         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46910         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46911         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46912         * sysdeps/mach/sysdep.h: Likewise.
46913         * sysdeps/i386/sysdep.h: Likewise.
46914         * sysdeps/i386/i386-mcount.S: Likewise.
46915         * sysdeps/x86_64/_mcount.S: Likewise.
46916         * sysdeps/x86_64/sysdep.h: Likewise.
46917         * sysdeps/sh/_mcount.S: Likewise.
46918         * sysdeps/sh/sysdep.h: Likewise.
46919         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46920         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46921         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46922         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46923         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46924         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46925         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46926         * locale/localeinfo.h: Likewise.
46927         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46928         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46930 2012-07-09  Roland McGrath  <roland@hack.frob.com>
46932         [BZ #14336]
46933         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46934         system".
46935         * manual/message.texi (The Uniforum approach): Likewise.
46936         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46937         (glibc iconv Implementation): Likewise.
46939 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
46941         [BZ #14337]
46942         * math/s_clog.c (__clog): Avoid scaling a value down where that
46943         could result in underflow.
46944         * math/s_clog10.c (__clog10): Likewise.
46945         * math/s_clog10f.c (__clog10f): Likewise.
46946         * math/s_clog10l.c (__clog10l): Likewise.
46947         * math/s_clogf.c (__clogf): Likewise.
46948         * math/s_clogl.c (__clogl): Likewise.
46949         * math/libm-test.inc (clog_test): Add more tests.
46950         (clog10_test): Likewise.
46951         * sysdeps/i386/fpu/libm-test-ulps: Update.
46952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46954 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
46956         [BZ #14283]
46957         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46958         by 7 not 8 to examine high bit of fractional part.
46960         [BZ #14042]
46961         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46962         for call to __mcount_internal.
46963         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46964         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46965         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46967 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
46969         [BZ #14154]
46970         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46971         approximation for values within 0x1p-13f of an odd multiple of
46972         pi/4.
46973         * math/libm-test.inc (tan_test): Do not allow spurious underflow
46974         exception.  Add more tests.
46975         * sysdeps/i386/fpu/libm-test-ulps: Update.
46977         [BZ #6778]
46978         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46979         inputs and return -1 for them.  Do not check for +Inf in case not
46980         reachable for +Inf.
46981         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46982         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46983         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46984         and return -1 for them.  Do not check for +Inf in case not
46985         reachable for +Inf.
46986         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
46987         define.
46988         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46989         and return -1 for them.  Do not check for +Inf in case not
46990         reachable for +Inf.
46991         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
46992         spurious underflow.
46993         * sysdeps/i386/fpu/libm-test-ulps: Update.
46994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46996 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
46998         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47000 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47002         [BZ #14157]
47003         [BZ #14331]
47004         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47005         could result in spurious underflow.  Scale down values above
47006         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47007         * math/s_csqrtf.c (__csqrtf): Likewise.
47008         * math/s_csqrtl.c (__csqrtl): Likewise.
47009         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47010         spurious underflow.
47011         * sysdeps/i386/fpu/libm-test-ulps: Update.
47012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47014 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47016         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47017         xopen-msg.sed.
47018         * catgets/xopen-msg.awk: New file.
47019         * catgets/xopen-msg.sed: Removed.
47021         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47022         po2text.sed.
47023         * intl/po2test.awk: New file.
47024         * intl/po2test.sed: Removed.
47026 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47028         [BZ #14328]
47029         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47030         or multiply small sinh result by itself.
47031         * math/s_ctanf.c (__ctanf): Likewise.
47032         * math/s_ctanh.c (__ctanh): Likewise.
47033         * math/s_ctanhf.c (__ctanhf): Likewise.
47034         * math/s_ctanhl.c (__ctanhl): Likewise.
47035         * math/s_ctanl.c (__ctanl): Likewise.
47036         * math/libm-test.inc (ctan_test_tonearest): New function.
47037         (ctan_test_towardzero): Likewise.
47038         (ctan_test_downward): Likewise.
47039         (ctan_test_upward): Likewise.
47040         (ctanh_test_tonearest): Likewise.
47041         (ctanh_test_towardzero): Likewise.
47042         (ctanh_test_downward): Likewise.
47043         (ctanh_test_upward): Likewise.
47044         (main): Call these new functions.
47045         * sysdeps/i386/fpu/libm-test-ulps: Update.
47046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47048 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47050         * .gitignore: Delete /ports entry.
47052 2012-07-03  Andreas Jaeger  <aj@suse.de>
47054         * po/bg.po: Update from translation team.
47055         * po/cs.po: Likewise.
47056         * po/de.po: Likewise.
47057         * po/hr.po: Likewise.
47058         * po/nl.pl: Likewise.
47059         * po/pl.po: Likewise.
47060         * po/vi.po: Likewise.
47062 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47064         * Makeconfig [!+link] (+link-before-libc): New variable.
47065         [!+link] (+link-after-libc): Likewise.
47066         [!+link] (+link-tests): Likewise.
47067         [!+link] (+link): Define in terms of $(+link-before-libc) and
47068         $(+link-after-libc).
47069         [!+link-static] (+link-static-before-libc): New variable.
47070         [!+link-static] (+link-static-after-libc): Likewise.
47071         [!+link-static] (+link-static-tests): Likewise.
47072         [!+link-static] (+link-static): Define in terms of
47073         $(+link-static-before-libc) and $(+link-static-after-libc).
47074         [build-shared] (link-libc-before-gnulib): New variable.
47075         [build-shared] (link-libc-tests): Likewise.
47076         [build-shared] (link-libc): Define in terms of
47077         $(link-libc-before-gnulib).
47078         [!build-shared] (link-libc-tests): New variable.
47079         (link-libc-static-tests): New variable.
47080         [!gnulib] (gnulib-arch): New variable.
47081         [!gnulib] (gnulib-tests): Likewise.
47082         [!gnulib] (static-gnulib-arch): Likewise.
47083         [!gnulib] (static-gnulib-tests): Likewise.
47084         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47085         Define with "=" instead of ":=".
47086         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47087         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47088         * Rules (binaries-all-notests): New variable.
47089         (binaries-all-tests): Likewise.
47090         (binaries-static-notests): Likewise.
47091         (binaries-static-tests): Likewise.
47092         (binaries-all): Define using $(binaries-all-notests) and
47093         $(binaries-all-tests).
47094         (binaries-static): Define using $(binaries-static-notests) and
47095         $(binaries-static-tests).
47096         (binaries-shared-tests): New variable.
47097         (binaries-shared-notests): Likewise.
47098         (binaries-shared): Remove variable.
47099         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47100         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47101         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47102         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47103         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47104         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47105         * elf/Makefile (sln-modules): New variable.
47106         (extra-objs): Add $(sln-modules:=.o).
47107         (ldconfig-modules): Add static-stubs.
47108         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47109         * elf/static-stubs.c: New file.
47111         [BZ #14283]
47112         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47113         by 7 not 8 to examine high bit of fractional part.  Use volatile
47114         variables when splitting into final array of floats if
47115         __FLT_EVAL_METHOD__ != 0.
47116         * math/libm-test.inc (cos_test): Add another test.
47117         (sin_test): Likewise.
47118         * sysdeps/i386/fpu/libm-test-ulps: Update.
47120         [BZ #14273]
47121         * math/libm-test.inc (cosh_test): Add more tests.
47123         * version.h (RELEASE): Set to "development".
47124         (VERSION): Set to "2.16.90".
47126 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47128         * NEWS: Update copyright. Remove last-updated date.
47129         Mention math library bug fixes and timezone data changes.
47130         * README: Mention GNU/Hurd, x32, and HPPA support status.
47132 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47134         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47136 2012-06-27  Andreas Jaeger  <aj@suse.de>
47138         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47140 2012-06-25  Andreas Jaeger  <aj@suse.de>
47142         * sysdeps/s390/fpu/libm-test-ulps: Update.
47144 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47145             Thomas Schwinge  <thomas@codesourcery.com>
47147         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47148         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47149         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47150         fanotify_mark.
47152 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47154         * sysdeps/mach/start.c: Remove file.
47155         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47156         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47157         * sysdeps/sh/init-first.c: Likewise.
47159         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47160         registers for frame unwinding purposes, add CFI directives.
47161         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47162         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47163         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47164         Likewise.
47166         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47167         __fortify_fail returning.
47168         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47170         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47171         sysdeps/sh/____longjmp_chk.S.
47172         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47173         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47174         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47175         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47177         * sysdeps/sh/abort-instr.h: New file.
47178         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47179         process in case exit returns.
47181         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47182         initialize the GOT register before use.
47184         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47185         calculation of ARGC > 4.
47187         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47188         meaningful names to some local labels.
47190 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47191             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47193         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47194         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47195         (__arch_compare_and_exchange_val_16_acq): Likewise.
47196         (__arch_compare_and_exchange_val_32_acq): Likewise.
47197         (atomic_exchange_and_add): Fix gUSA sequence.
47198         (atomic_add): Likewise.
47199         (atomic_add_negative): Likewise.
47200         (atomic_add_zero): Likewise.
47201         (atomic_bit_test_set): Likewise.
47203 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47205         [BZ #13579]
47206         * include/link.h (struct link_map): Add l_free_initfini.
47207         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47208         l_initfini.
47209         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47210         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47211         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47212         set.
47214 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47216         * configure.in: Use AC_LANG_SOURCE.
47217         * configure: Regenerate.
47219 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47221         * configure.in (libc_cv_localstatedir): New substituted variable.
47222         * configure: Regenerated.
47223         * config.make.in (localstatedir): New variable, substituted from
47224         libc_cv_localstatedir.
47225         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47226         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47227         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47228         * sysdeps/gnu/configure: Regenerated.
47230 2012-06-21  Jeff Law  <law@redhat.com>
47232         [BZ #14277]
47233         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47234         free.  Simplify list management for _LIBC case.
47236 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47238         [BZ #14273]
47239         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47240         Clear sign bit of 64-bit integer value before comparing against
47241         overflow value.
47243         * sysdeps/mach/configure: Regenerated.
47245 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47247         [BZ #14278]
47248         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47250 2012-06-21  Jeff Law  <law@redhat.com>
47252         [BZ #13882]
47253         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47254         uint16_t for elements in the "seen" array to avoid char overflows.
47255         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47256         * elf/dl-open.c (dl_open_worker): Likewise.
47258 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47260         * scripts/list-sources.sh: Scan PORTS for translations.
47261         * po/libc.pot: Regenerated.
47263 2012-06-21  Andreas Jaeger  <aj@suse.de>
47265         [BZ #12194]
47266         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47267         warning.
47268         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47269         * bits/byteswap-16.h (__bswap_16): Likewise.
47270         * bits/byteswap.h (__bswap_constant_16): Likewise.
47272 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47274         [BZ #14117]
47275         * sysdeps/i386/fpu_control.h: Removed.
47276         * sysdeps/x86_64/fpu_control.h: Moved to ...
47277         * sysdeps/x86/fpu_control.h: Here.
47279         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47280         (_FPU_SETCW): Likewise.
47282 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47284         [BZ #14117]
47285         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47286         * sysdeps/x86/fpu/bits/mathinline.h: This.
47287         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47289         [BZ #14050]
47290         [BZ #14117]
47291         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47292         functions if __x86_64__ is defined.
47294 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47296         * string/endian.h: Add !__ASSEMBLER__ condition for including
47297         conversion interfaces.
47299 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47301         [BZ #14241]
47302         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47303         of ABS(x) in calculating zero to negative powers other than odd
47304         integers.
47305         * math/libm-test.inc (pow_test): Add more tests.
47307 2012-06-15  Andreas Jaeger  <aj@suse.de>
47309         * manual/contrib.texi (Contributors): Update entry of Liubov
47310         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47311         Machado Filho.
47313 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47315         * string/string.h: Add __wur to GNU version of strerror_r.
47317 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47319         [BZ #14229]
47320         * string/Makefile (tests): Add tst-strtok_r.
47321         * string/tst-strtok_r.c: New file.
47322         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47323         RAX_LP/RDX_LP on SAVE_PTR.
47325 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47327         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47329 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47331         * libm_test.inc (csqrt_test): Allow more spurious underflow
47332         exceptions.
47333         (j0_test): Likewise.
47334         (j1_test): Likewise.
47335         (y0_test): Likewise.
47336         (y1_test): Likewise.
47338 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47340         * po/Makefile (libc.pot): Use UTF-8 charset.
47342 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47344         [BZ #14210]
47345         Suppress sign-conversion warning from FD_SET.
47346         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47347         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47348         not unsigned long int.
47349         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47351 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47353         [BZ #14050]
47354         [BZ #14117]
47355         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47356         __extern_always_inline instead of __extern_inline.
47357         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47358         (__signbit): Likewise.
47359         (__signbitl): Support C++ namespace.
47360         (lrintf): New inline function.
47361         (lrint): Likewise.
47362         (llrintf): Likewise.
47363         (llrint): Likewise.
47364         (fmaxf): Likewise.
47365         (fmax): Likewise.
47366         (fminf): Likewise.
47367         (fmin): Likewise.
47368         (rint): Likewise.
47369         (rintf): Likewise.
47370         (ceil): Likewise.
47371         (ceilf): Likewise.
47372         (floor): Likewise.
47373         (floorf): Likewise.
47374         (nearbyint): Likewise.
47375         (nearbyintf): Likewise.
47377 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47379         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47380         non-default versions.
47382 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47384         [BZ #14218]
47385         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47387 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47389         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47390         (FE_UPWARD, FE_DOWNWARD): Don't define.
47391         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47392         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47394         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47395         reading it.
47396         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47397         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47399 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47401         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47402         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47403         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47404         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47406 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47408         [BZ #14117]
47409         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47410         * sysdeps/i386/fpu/Implies: New file.
47411         * sysdeps/x86_64/fpu/Implies: Likewise.
47412         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47413         * sysdeps/x86/fpu/bits/fenv.h: This.
47415         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47416         __SSE_MATH__.
47418 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47420         [BZ #14134]
47421         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47422         character 0xffff that matches the last element of the
47423         conversion table.
47425 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47427         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47428         fmodl commit.
47430 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47432         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47433         values higher than 25.6283.
47435 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47437         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47438         subnormal exponent extraction and add some __builtin_expect.
47439         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47440         Fix for subnormal mantissa calculation.
47442 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47444         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47445         cpu2 is -1 and errno is not ENOSYS.
47447 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
47449         [BZ #14117]
47450         * sysdeps/i386/i486/bits/string.h: Renamed to ...
47451         * sysdeps/x86/bits/string.h: This.
47452         * sysdeps/x86_64/bits/string.h: Removed.
47454         * sysdeps/i386/i486/bits/string.h: Define inline functions only
47455         if not compiling for x86-64, but compiling for >= i486.
47457         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47458         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47460         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47461         New macro from Linux kernel 3.4.0.
47462         (FP_XSTATE_MAGIC2): Likewise.
47463         (FP_XSTATE_MAGIC2_SIZE): Likewise.
47464         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47465         (struct _fpx_sw_bytes): New struct.
47466         (struct _xsave_hdr): Likewise.
47467         (struct _ymmh_state): Likewise.
47468         (struct _xstate): Likewise.
47470         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47471         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47472         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47473         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47474         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47475         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47477         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47478         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47479         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47480         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47481         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47482         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47484 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47486         [BZ #13743]
47487         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47488         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47489         (sysdep_headers): Include sys/platform/ppc.h.
47490         * sysdeps/powerpc/test-gettimebase.c: Test for
47491         __ppc_get_timebase() to catch future ISA opcode/insn changes.
47492         * manual/Makefile (appendices): Include platform.texi.
47493         * manual/contrib.texi (Contributors): Update @node pointers.
47494         * manual/maint.texi (Maintenance): Likewise.
47495         (Platform): New node.
47496         * manual/platform.texi: New file.  Document the new features.
47498 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47499             Jakub Jelinek  <jakub@redhat.com>
47501         [BZ #14188]
47502         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47503         where __builtin_expect is unavailable.
47505 2012-06-03  David S. Miller  <davem@davemloft.net>
47507         * stdlib/longlong.h: Updated from GCC.
47509 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
47511         [BZ #14042]
47512         * sysdeps/powerpc/powerpc32/mcount.c: New file.
47513         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47514         __mcount_internal.
47515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47516         (GLIBC_2.16): Likewise.
47518 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47520         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47522 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47525         (default-abi): New variable.
47526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47527         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47528         variable.
47529         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47530         Likewise.
47531         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47532         Likewise.
47533         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47534         Likewise.
47536         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47537         definition.  Document in comment.
47539 2012-06-01  David S. Miller  <davem@davemloft.net>
47541         * stdlib/longlong.h: Updated from GCC.
47543 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47545         [BZ #14117]
47546         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47547         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47548         sys/debugreg.h sys/io.h here.
47549         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47550         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47551         sys/io.h.
47552         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47553         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47554         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47555         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47556         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47557         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47559         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47560         Define only if __x86_64__ is defined.
47562 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47564         [BZ #14048]
47565         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47566         Use int64_t for variable i.
47567         * math/libm-test.inc (fmod_test): Add more tests.
47569         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47570         z computation is not scheduled after fetestexcept.
47571         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47572         Use math_force_eval instead of asm to ensure calculation scheduled
47573         before exception test.
47574         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47575         Ensure a1 + u.d computation is not scheduled after fetestexcept.
47577 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
47579         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47580         computation is not scheduled after fetestexcept.
47582 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47584         [BZ #14117]
47585         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47586         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47588 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47590         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47591         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47593 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47595         [BZ #14117]
47596         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47597         <bits/wordsize.h>.
47598         (__WCHAR_MIN): Support __WORDSIZE == 64.
47599         (__WCHAR_MAX): Likewise.
47601         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47602         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47604         [BZ #14183]
47605         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47606         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
47608         [BZ #14117]
47609         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
47610         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
47612         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
47613         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
47615         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
47616         Defined to 1 if __x86_64__ isn't defined.
47617         (_STAT_VER_LINUX_OLD): New.
47618         (st_atime): Remove duplicate.
47619         (st_mtime): Likewise.
47620         (st_ctime): Likewise.
47622 2012-05-31  David S. Miller  <davem@davemloft.net>
47624         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
47625         entries.
47627 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
47629         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
47630         gen-libm-test.pl.
47632         [BZ #14132]
47633         * elf/dl-reloc.c: Include <_itoa.h>.
47634         (_dl_reloc_bad_type): Remove use of INTUSE.
47635         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
47636         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
47637         * stdio-common/psiginfo.c (psiginfo): Likewise.
47638         * stdio-common/psignal.c (psignal): Likewise.
47639         * string/strsignal.c (strsignal): Likewise.
47640         * include/signal.h (_sys_siglist): Declare hidden proto.
47641         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
47642         INTVARDEF with libc_hidden_data_def.
47643         * stdio-common/itoa-udigits.c: Likewise.
47644         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
47645         (_itoa_lower_digits_internal): Remove declaration.
47646         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
47647         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47648         (_sys_sigabbrev_internal): Remove aliases.
47649         (_sys_siglist): Define hidden alias.
47651 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
47653         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47654         bits/sysctl.h.
47656 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47658         [BZ #14117]
47659         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
47660         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
47662         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
47663         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
47664         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
47665         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
47666         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
47667         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47669         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47670         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47671         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47673         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47674         with __addr.
47675         (insw): Likewise.
47676         (insl): Likewise.
47677         (outsb): Likewise.
47678         (outsw): Likewise.
47679         (outsl): Likewise.
47681         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47682         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47683         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47685         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47686         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47687         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47688         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47689         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47690         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47692         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47693         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47695         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47696         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47698         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47699         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47700         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47702         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47703         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47704         to ...
47705         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47707         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47708         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47709         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47711         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47712         for x86-64.
47713         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47715 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
47717         * math/math.h (M_El): Use two more decimal places.
47718         (M_LOG2El): Likewise.
47719         (M_LOG10El): Likewise.
47720         (M_LN2l): Likewise.
47721         (M_LN10l): Likewise.
47722         (M_PIl): Likewise.
47723         (M_PI_2l): Likewise.
47724         (M_PI_4l): Likewise.
47725         (M_1_PIl): Likewise.
47726         (M_2_PIl): Likewise.
47727         (M_2_SQRTPIl): Likewise.
47728         (M_SQRT2l): Likewise.
47729         (M_SQRT1_2l): Likewise.
47731 2012-05-31  David S. Miller  <davem@davemloft.net>
47733         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47734         values between float registers.
47735         * sysdeps/sparc/sparc64/memset.S: Likewise.
47736         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47738 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
47740         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47741         -D_FORTIFY_SOURCE=1.
47742         (CPPFLAGS-tst-longjmp_chk.c): Define.
47743         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47744         (CPPFLAGS-tst-longjmp_chk2.c): Define.
47745         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47746         CFLAGS-tst-wchar-h.c.
47748 2012-05-31  Marek Polacek  <polacek@redhat.com>
47750         [BZ #14132]
47751         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47752         __endmntent_internal): Remove declaration.
47753         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47754         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47755         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47757 2012-05-30  David S. Miller  <davem@davemloft.net>
47759         * sysdeps/sparc/sparc32/soft-fp/q_util.c
47760         (___Q_simulate_exceptions): Use real FP ops rather than writing
47761         into the %fsr.
47762         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47763         Likewise.
47765 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47767         [BZ #14117]
47768         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47769         * sysdeps/x86/bits/xtitypes.h: This.
47771         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47772         * sysdeps/x86/bits/wordsize.h: This.
47774         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47775         * sysdeps/x86/bits/huge_vall.h: This.
47777         * sysdeps/i386/bits/select.h: Removed.
47778         * sysdeps/x86_64/bits/select.h: Renamed to ...
47779         * sysdeps/x86/bits/select.h: This.
47781         * sysdeps/i386/bits/setjmp.h: Removed.
47782         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47783         * sysdeps/x86/bits/setjmp.h: This.
47785         * sysdeps/i386/bits/mathdef.h: Removed.
47786         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47787         * sysdeps/x86/bits/mathdef.h: This.
47789 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
47791         [BZ #14132]
47792         * include/sys/socket.h (__connect_internal)
47793         (__libc_sa_len_internal): Remove declaration.
47794         (__connect, __libc_sa_len): Declare hidden_proto.
47795         (SA_LEN): Remove use of INTUSE.
47796         * socket/connect.c: Add libc_hidden_def.
47797         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47798         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47799         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47800         alias.
47801         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47802         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47803         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47804         of adding _internal alias.
47806 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47808         [BZ #14117]
47809         * sysdeps/i386/bits/link.h: Removed.
47810         * sysdeps/i386/bits/linkmap.h: Likewise.
47811         * sysdeps/x86_64/bits/link.h: Renamed to ...
47812         * sysdeps/x86/bits/link.h: This.
47813         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47814         * sysdeps/x86/bits/linkmap.h: This.
47816         * sysdeps/i386/bits/endian.h: Removed.
47817         * sysdeps/x86_64/bits/endian.h: Renamed to ...
47818         * sysdeps/x86/bits/endian.h: This.
47820         * sysdeps/i386/bits/byteswap.h: Removed.
47821         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47822         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47823         * sysdeps/x86/bits/byteswap.h: This.
47824         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47825         * sysdeps/x86/bits/byteswap-16.h: This.
47826         * sysdeps/i386/Implies: Add x86.
47827         * sysdeps/x86_64/Implies: Likewise.
47829 2012-05-30  David S. Miller  <davem@davemloft.net>
47831         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47832         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47833         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47834         (FP_TRAPPING_EXCEPTIONS): Define.
47835         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47836         (FP_TRAPPING_EXCEPTIONS): Define.
47837         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47838         subnormals only when inexact has been signalled or underflow
47839         exceptions are enabled.
47840         (_FP_PACK_CANONICAL): Likewise.
47842 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47844         [BZ #14183]
47845         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47846         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47848 2012-05-30  Richard Henderson  <rth@twiddle.net>
47850         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47851         with #ifndef NOT_IN_libc.
47853         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
47854         marked to avoid plt entry.
47856 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47858         [BZ #14112]
47859         * Makeconfig (default-abi): New macro.
47860         (abi-includes): Likewise.
47861         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
47862         $(abi-$(default-abi)-lib-soname) for soname if defined.
47863         ($(common-objpfx)gnu/lib-names.stmp): Generate from
47864         abi-variants.
47865         * Makefile (installed-stubs): Likewise.
47866         * include/stubs-biarch.h: Removed.
47867         * scripts/lib-names.awk: Only handle one library at a time.
47868         * scripts/soversions.awk: Remove WORDSIZE support.
47869         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47870         entries.
47871         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47872         Removed.
47873         (syscall-list-default-condition): Likewise.
47874         (syscall-list-default-condition): Likewise.
47875         (syscall-list-includes): Likewise.
47876         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47877         syscall-list-* with abi-*.  Handle undefined abi-variants.
47878         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47879         * sysdeps/unix/sysv/linux/i386/Implies: New file.
47880         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47881         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47882         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47883         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47884         Removed.
47885         (syscall-list-32-options): Likewise.
47886         (syscall-list-32-condition): Likewise.
47887         (syscall-list-64-options): Likewise.
47888         (syscall-list-64-condition): Likewise.
47889         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47890         macro.
47891         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47892         Renamed to ...
47893         (abi-*): This.
47894         (abi-64-ld-soname): New macro.
47895         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47896         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47897         Renamed to ...
47898         (abi-*): This.
47899         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47900         * sysdeps/x86_64/x32/shlib-versions: Likewise.
47902 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
47904         * sysdeps/unix/sysv/linux/kernel-features.h
47905         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47906         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47907         include <kernel-features.h>.
47908         [!__NR_ftruncate64]: Remove conditional code.
47909         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47910         [__NR_ftruncate64]: Make code unconditional.
47911         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47912         * sysdeps/unix/sysv/linux/truncate64.c: Do not
47913         include <kernel-features.h>.
47914         [!__NR_ftruncate64]: Remove conditional code.
47915         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47916         [__NR_ftruncate64]: Make code unconditional.
47917         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47919         include <kernel-features.h>.
47920         [!__NR_ftruncate64]: Remove conditional code.
47921         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47922         [__NR_ftruncate64]: Make code unconditional.
47923         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47925         include <kernel-features.h>.
47926         [!__NR_ftruncate64]: Remove conditional code.
47927         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47928         [__NR_ftruncate64]: Make code unconditional.
47929         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47931         * configure.in (libc_cv_fpie): Weaken to a compile test using
47932         LIBC_TRY_CC_OPTION.
47933         * configure: Regenerated.
47935 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47937         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47941         Refreshed.
47942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47948         Refreshed.
47950 2012-05-27  David S. Miller  <davem@davemloft.net>
47952         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47953         (___Q_zero): New.
47954         (__Q_simulate_exceptions): Return void.  Change to simulate
47955         exceptions by writing into the %fsr.
47956         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47957         (__Qp_handle_exceptions): Likewise.
47958         (numbers): Delete.
47959         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47960         __Qp_handle_exceptions.
47961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47962         __Qp_handle_exceptions.
47963         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47964         as unused and give dummy FP_RND_NEAREST initializer.
47965         (FP_INHIBIT_RESULTS): Define.
47966         (___Q_simulate_exceptions): Update declaration.
47967         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47968         formatting.
47969         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47970         as unused and give dummy FP_RND_NEAREST initializer.
47971         (__Qp_handle_exceptions): Update declaration.
47972         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47973         formatting.
47975 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
47977         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47978         the temporary FPU control word.
47979         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47980         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47981         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47982         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47983         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47984         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
47985         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
47986         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47987         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
47988         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
47989         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47991 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47993         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
47994         fields.
47996 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
47998         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
47999         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48000         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48001         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48002         Likewise.
48003         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48004         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48005         Likewise.
48007 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48009         * po/h.po: Update from translation team.
48011 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48013         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48015         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48016         handling of denormals.
48017         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48018         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48019         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48020         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48021         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48022         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48023         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48024         Likewise.
48026 2012-05-26  Marek Polacek  <polacek@redhat.com>
48028         [BZ #14152]
48029         * math/libm-test.inc (fma_test): Don't always expect underflow
48030         exception.
48032 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48034         [BZ #12416]
48035         * elf/tst-execstack.c: Include stackinfo.h.
48036         (do_test): Adjust test case to ensure that pthread_getattr_np
48037         behaviour remains the same after marking stack executable.
48039 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48041         * sysdeps/unix/sysv/linux/kernel-features.h
48042         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48043         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48044         kernel-features.h.
48045         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48046         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48047         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48048         kernel-features.h.
48049         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48050         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48052 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48054         * configure.in: Define the default includes to being none.
48055         * configure: Regenerated.
48057 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48059         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48060         * sysdeps/x86_64/setjmp.S: Likewise.
48061         * sysdeps/i386/bsd-setjmp.S: Likewise.
48062         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48063         * sysdeps/i386/setjmp.S: Likewise.
48064         * sysdeps/i386/__longjmp.S: Likewise.
48065         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48066         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48068         * include/stap-probe.h: New file.
48069         * configure.in: Handle --enable-systemtap.
48070         * configure: Regenerated.
48071         * config.h.in (USE_STAP_PROBE): New #undef.
48072         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48073         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48074         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48076 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48078         [BZ #13717]
48079         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48080         to 2.4.0 where earlier.
48081         * sysdeps/unix/sysv/linux/configure: Regenerated.
48082         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.c: Do not include
48087         <kernel-features.h>.
48088         [__ASSUME_32BITUIDS]: Make code unconditional.
48089         [!__ASSUME_32BITUIDS]: Remove conditional code.
48090         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48091         [__ASSUME_32BITUIDS]: Make code unconditional.
48092         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48093         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.c: Do not include
48130         <kernel-features.h>.
48131         [__ASSUME_32BITUIDS]: Make code unconditional.
48132         [!__ASSUME_32BITUIDS]: Remove conditional code.
48133         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48134         <kernel-features.h>.
48135         [__NR_setresgid] (__setresgid): Do not declare.
48136         [__ASSUME_32BITUIDS]: Make code unconditional.
48137         [!__ASSUME_32BITUIDS]: Remove conditional code.
48138         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48139         <kernel-features.h>.
48140         [__NR_setresuid] (__setresuid): Do not declare.
48141         [__ASSUME_32BITUIDS]: Make code unconditional.
48142         [!__ASSUME_32BITUIDS]: Remove conditional code.
48143         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.c: Do not include
48176         <kernel-features.h>.
48177         [__ASSUME_32BITUIDS]: Make code unconditional.
48178         [!__ASSUME_32BITUIDS]: Remove conditional code.
48179         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48180         <kernel-features.h>.
48181         [__ASSUME_32BITUIDS]: Make code unconditional.
48182         [!__ASSUME_32BITUIDS]: Remove conditional code.
48183         * sysdeps/unix/sysv/linux/kernel-features.h
48184         (__ASSUME_SETRESUID_SYSCALL): Remove.
48185         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48186         (__ASSUME_32BITUIDS): Likewise.
48187         (__ASSUME_LDT_WORKS): Likewise.
48188         (__ASSUME_O_DIRECTORY): Likewise.
48189         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48190         architecture but not kernel version.
48191         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48192         (__ASSUME_MMAP2_SYSCALL): Likewise.
48193         (__ASSUME_STAT64_SYSCALL): Likewise.
48194         (__ASSUME_IPC64): Likewise.
48195         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48196         <kernel-features.h>.
48197         [__ASSUME_32BITUIDS]: Make code unconditional.
48198         [!__ASSUME_32BITUIDS]: Remove conditional code.
48199         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48200         <kernel-features.h>.
48201         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48202         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48203         132096]: Remove conditional code.
48204         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48205         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
48210         <kernel-features.h>.
48211         [__ASSUME_32BITUIDS]: Make code unconditional.
48212         [!__ASSUME_32BITUIDS]: Remove conditional code.
48213         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48214         <kernel-features.h>.
48215         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48216         unconditional.
48217         (__setresgid): Do not declare.
48218         [__ASSUME_32BITUIDS]: Make code unconditional.
48219         [!__ASSUME_32BITUIDS]: Remove conditional code.
48220         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48221         <kernel-features.h>.
48222         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48223         unconditional.
48224         (__setresuid): Do not declare.
48225         [__ASSUME_32BITUIDS]: Make code unconditional.
48226         [!__ASSUME_32BITUIDS]: Remove conditional code.
48227         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48228         <kernel-features.h>.
48229         [__ASSUME_32BITUIDS]: Make code unconditional.
48230         [!__ASSUME_32BITUIDS]: Remove conditional code.
48231         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48232         <kernel-features.h>.
48233         [__ASSUME_32BITUIDS]: Make code unconditional.
48234         [!__ASSUME_32BITUIDS]: Remove conditional code.
48236 2012-05-25  Richard Henderson  <rth@twiddle.net>
48238         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48239         dl_hwcap to ifunc resolver.
48240         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48241         elf_ifunc_invoke.
48242         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48243         dl_hwcap to ifunc resolver.
48244         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48246 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48248         [BZ #14153]
48249         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48250         for |x| <= 2**-26, not 2**-57.
48251         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48252         exception.
48254 2012-05-24  Jeff Law  <law@redhat.com>
48256         * stdio-common/Makefile (tests): Add bug25.
48257         * stdio-common/bug25.c: New test.
48259 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48261         [BZ #13576]
48262         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48263         multiple of MALLOC_ALIGNMENT in size.
48264         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48266 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48268         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48269         Require >= 256.
48270         (FILENAME_MAX): Use macro-int-constant.
48271         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48272         (_IOFBF): Use macro-int-constant.
48273         (_IOLBF): Likewise.
48274         (_IONBF): Likewise.
48275         (SEEK_CUR): Likewise.
48276         (SEEK_END): Likewise.
48277         (SEEK_SET): Likewise.
48278         (TMP_MAX): Likewise.
48279         (EOF): Use macro-int-constant.  Require < 0.
48280         (NULL): Use macro-constant.  Require == 0.
48281         (stdin): Require type to be FILE *.
48282         (stdout): Likewise.
48283         (stderr): Likewise.
48284         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48285         macro-int-constant.
48286         (EXIT_SUCCESS): Likewise.
48287         (NULL): Use macro-constant.  Require == 0.
48288         (RAND_MAX): Use macro-int-constant.
48289         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48290         [C99-based standards] (strtof): Require function.
48291         [C99-based standards] (strtold): Likewise.
48292         [C99-based standards] (strtoll): Likewise.
48293         [C99-based standards] (strtoull): Likewise.
48294         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48295         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48296         [ISO || ISO99 || ISO11] (math.h): Likewise.
48297         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48298         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48299         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48301 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48303         [BZ #14132]
48304         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48305         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48306         * intl/dgettext.c (DCGETTEXT): Likewise.
48307         * intl/gettext.c (DCGETTEXT): Likewise.
48308         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48309         * posix/regex_internal.h (gettext): Likewise.
48310         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48311         Remove declaration.
48312         * include/argz.h (__argz_count_internal)
48313         (__argz_stringify_internal): Remove declaration.
48314         (__argz_count, __argz_stringify): Declare hidden proto.
48315         * intl/dcgettext.c: Remove use of INTDEF.
48316         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48317         * string/argz-stringify.c: Likewise.
48318         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48319         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48320         Declare hidden proto.
48321         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48322         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48323         Declare hidden proto.
48324         * include/stdio.h (__asprintf_internal): Don't declare.
48325         (__asprintf): Don't define as macro.  Declare hidden proto.
48326         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48327         (__fsetlocking): Declare hidden proto.
48328         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48329         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48330         hidden proto.
48331         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48332         (_IO_setlinebuf): Remove use of INTUSE.
48333         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48334         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48335         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48336         Remove declaration.
48337         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48338         (_IO_do_flush): Remove use of INTUSE.
48339         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48340         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48341         (_IO_adjust_column, _IO_least_wmarker)
48342         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48343         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48344         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48345         (_IO_default_doallocate, _IO_wdefault_doallocate)
48346         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48347         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48348         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48349         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48350         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48351         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48352         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48353         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48354         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48355         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48356         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48357         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48358         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48359         proto.
48360         (_IO_flush_all_internal, _IO_adjust_column_internal)
48361         (_IO_default_uflow_internal, _IO_default_finish_internal)
48362         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48363         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48364         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48365         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48366         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48367         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48368         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48369         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48370         (_IO_file_close_internal, _IO_file_close_it_internal)
48371         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48372         (_IO_file_init_internal, _IO_file_attach_internal)
48373         (_IO_file_fopen_internal, _IO_file_read_internal)
48374         (_IO_file_sync_internal, _IO_file_seek_internal)
48375         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48376         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48377         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48378         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48379         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48380         (_IO_list_all_internal, _IO_link_in_internal)
48381         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48382         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48383         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48384         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48385         (_IO_do_write_internal, _IO_padn_internal)
48386         (_IO_getline_info_internal, _IO_getline_internal)
48387         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48388         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48389         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48390         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48391         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48392         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48393         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48394         with libc_hidden_ver, remove use of INTUSE.
48395         * libio/genops.c: Likewise.
48396         * libio/freopen.c: Likewise.
48397         * libio/freopen64.c: Likewise.
48398         * libio/iofclose.c: Likewise.
48399         * libio/iofdopen.c: Likewise.
48400         * libio/iofflush.c: Likewise.
48401         * libio/iofflush_u.c: Likewise.
48402         * libio/iofgets.c: Likewise.
48403         * libio/iofgets_u.c: Likewise.
48404         * libio/iofopen.c: Likewise.
48405         * libio/iofopncook.c: Likewise.
48406         * libio/iofread.c: Likewise.
48407         * libio/iofread_u.c: Likewise.
48408         * libio/ioftell.c: Likewise.
48409         * libio/iofwrite.c: Likewise.
48410         * libio/iogetline.c: Likewise.
48411         * libio/iogets.c: Likewise.
48412         * libio/iogetwline.c: Likewise.
48413         * libio/iopadn.c: Likewise.
48414         * libio/iopopen.c: Likewise.
48415         * libio/ioseekoff.c: Likewise.
48416         * libio/ioseekpos.c: Likewise.
48417         * libio/iosetbuffer.c: Likewise.
48418         * libio/iosetvbuf.c: Likewise.
48419         * libio/ioungetc.c: Likewise.
48420         * libio/ioungetwc.c: Likewise.
48421         * libio/iovdprintf.c: Likewise.
48422         * libio/iovsprintf.c: Likewise.
48423         * libio/iovsscanf.c: Likewise.
48424         * libio/memstream.c: Likewise.
48425         * libio/obprintf.c: Likewise.
48426         * libio/oldfileops.c: Likewise.
48427         * libio/oldiofclose.c: Likewise.
48428         * libio/oldiofdopen.c: Likewise.
48429         * libio/oldiofopen.c: Likewise.
48430         * libio/oldiopopen.c: Likewise.
48431         * libio/oldstdfiles.c: Likewise.
48432         * libio/putc.c: Likewise.
48433         * libio/setbuf.c: Likewise.
48434         * libio/setlinebuf.c: Likewise.
48435         * libio/stdfiles.c: Likewise.
48436         * libio/strops.c: Likewise.
48437         * libio/vasprintf.c: Likewise.
48438         * libio/vscanf.c: Likewise.
48439         * libio/vsnprintf.c: Likewise.
48440         * libio/vswprintf.c: Likewise.
48441         * libio/wfiledoalloc.c: Likewise.
48442         * libio/wfileops.c: Likewise.
48443         * libio/wgenops.c: Likewise.
48444         * libio/wmemstream.c: Likewise.
48445         * libio/wstrops.c: Likewise.
48446         * libio/__fpurge.c: Likewise.
48447         * libio/__fsetlocking.c: Likewise.
48448         * assert/assert.c: Likewise.
48449         * debug/fgets_chk.c: Likewise.
48450         * debug/fgets_u_chk.c: Likewise.
48451         * debug/fread_chk.c: Likewise.
48452         * debug/fread_u_chk.c: Likewise.
48453         * debug/gets_chk.c: Likewise.
48454         * debug/obprintf_chk.c: Likewise.
48455         * debug/vasprintf_chk.c: Likewise.
48456         * debug/vdprintf_chk.c: Likewise.
48457         * debug/vsnprintf_chk.c: Likewise.
48458         * debug/vsprintf_chk.c: Likewise.
48459         * malloc/mtrace.c: Likewise.
48460         * misc/error.c: Likewise.
48461         * misc/syslog.c: Likewise.
48462         * stdio-common/asprintf.c: Likewise.
48463         * stdio-common/fxprintf.c: Likewise.
48464         * stdio-common/getw.c: Likewise.
48465         * stdio-common/isoc99_fscanf.c: Likewise.
48466         * stdio-common/isoc99_scanf.c: Likewise.
48467         * stdio-common/isoc99_vfscanf.c: Likewise.
48468         * stdio-common/isoc99_vscanf.c: Likewise.
48469         * stdio-common/isoc99_vsscanf.c: Likewise.
48470         * stdio-common/printf-prs.c: Likewise.
48471         * stdio-common/printf_fp.c: Likewise.
48472         * stdio-common/printf_fphex.c: Likewise.
48473         * stdio-common/printf_size.c: Likewise.
48474         * stdio-common/putw.c: Likewise.
48475         * stdio-common/scanf.c: Likewise.
48476         * stdio-common/sprintf.c: Likewise.
48477         * stdio-common/tmpfile.c: Likewise.
48478         * stdio-common/vfprintf.c: Likewise.
48479         * stdio-common/vfscanf.c: Likewise.
48480         * stdlib/strfmon_l.c: Likewise.
48481         * sunrpc/openchild.c: Likewise.
48482         * sunrpc/xdr_stdio.c: Likewise.
48483         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48484         * sysdeps/mach/hurd/tmpfile.c: Likewise.
48486 2012-05-24  Roland McGrath  <roland@hack.frob.com>
48488         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48490         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48491         in the third column, to generate for the shared library an IFUNC
48492         that uses _dl_vdso_vsym.
48493         * Makerules (COMPILE.c, compile-stdin.c): New variables.
48494         * Makeconfig (object-suffixes-noshared): New variable.
48496         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48497         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48498         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48499         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48501         [BZ #14132]
48502         * include/sys/time.h (__gettimeofday): Remove macro.
48503         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48504         * time/gettimeofday.c (__gettimeofday): Remove #undef.
48505         Remove INTDEF.
48506         (__gettimeofday): Add libc_hidden_def.
48507         (gettimeofday): Add libc_hidden_weak.
48508         * sysdeps/mach/gettimeofday.c: Likewise.
48509         * sysdeps/posix/gettimeofday.c: Likewise.
48510         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48511         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48512         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48513         (__gettimeofday_internal): Remove strong_alias.
48514         (__gettimeofday): Add libc_hidden_def.
48515         (gettimeofday): Add libc_hidden_weak.
48516         * sysdeps/unix/syscalls.list (gettimeofday):
48517         Remove __gettimeofday_internal alias.
48519 2012-05-24  Daniel Jacobowitz  <drow@false.org>
48520             H.J. Lu  <hongjiu.lu@intel.com>
48522         [BZ #12495]
48523         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48524         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48525         (largebin_index_32_big): New.
48526         (largebin_index): Use it for 16-byte alignment.
48527         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
48528         correction with front_misalign.
48530 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48532         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48533         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48534         Likewise.
48535         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48536         Likewise.
48537         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48538         Likewise.
48539         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48540         Likewise.
48541         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48542         Likewise.
48543         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48544         Likewise.
48545         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48546         Likewise.
48547         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48548         Likewise.
48549         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48550         Likewise.
48551         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48552         Likewise.
48553         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48554         Likewise.
48555         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48556         Likewise.
48558         * scripts/data/c++-types-x32-linux-gnu.data: New file.
48559         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48561 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48563         [BZ #10846]
48564         [BZ #14036]
48565         * math/libm-test.inc (exp_test): Add test from bug 14036.
48566         (pow_test): Add test from bug 10846.
48568         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48569         and other flags.
48570         (special_function): Do not include flags in test name.
48571         (parse_args): Likewise.
48572         * sysdeps/i386/fpu/libm-test-ulps: Update.
48573         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48574         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48575         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48578         * math/gen-libm-test.pl (%beautify): Add entries for underflow
48579         exceptions.
48580         * math/libm-test.inc ("Philosophy"): Update comment about
48581         exception testing.
48582         (UNDERFLOW_EXCEPTION): New macro.
48583         (UNDERFLOW_EXCEPTION_OK): Likewise.
48584         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48585         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48586         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48587         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48588         (INVALID_EXCEPTION_OK): Update value.
48589         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48590         (OVERFLOW_EXCEPTION_OK): Likewise.
48591         (IGNORE_ZERO_INF_SIGN): Likewise.
48592         (test_exceptions): Handle underflow exceptions.
48593         (acos_test): Update for underflow exception expectations.
48594         (cexp_test): Likewise.
48595         (clog_test): Likewise.
48596         (clog10_test): Likewise.
48597         (csqrt_test): Likewise.
48598         (ctan_test): Likewise.
48599         (ctanh_test): Likewise.
48600         (exp_test): Likewise.
48601         (exp10_test): Likewise.
48602         (exp2_test): Likewise.
48603         (expm1_test): Likewise.
48604         (fma_test): Likewise.
48605         (j0_test): Likewise.
48606         (jn_test): Likewise.
48607         (nexttoward_test): Likewise.
48608         (pow_test): Likewise.
48609         (scalbn_test): Likewise.
48610         (scalbln_test): Likewise.
48611         (tan_test): Likewise.
48612         (y1_test): Likewise.
48613         * sysdeps/i386/fpu/libm-test-ulps: Update.
48614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48616 2012-05-23  David S. Miller  <davem@davemloft.net>
48618         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48619         (__libc_sigaction): Remove unused local variables.
48621 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48623         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
48625 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
48627         mktime: avoid signed integer overflow
48628         * time/mktime.c (__mktime_internal): Do not mishandle the case
48629         where diff == INT_MIN.
48631         mktime: simplify computation of average
48632         * time/mktime.c (ranged_convert): Use new time_t_avg function
48633         instead of rolling our own (probably-slower) code.
48635         mktime: do not assume signed right shift propagates sign bit
48636         * time/mktime.c (isdst_differ): New static function.
48637         (__mktime_internal): No need to normalize tm_isdst now.
48638         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
48639         tm_isdst values.
48641         mktime: merge another wrapv change from gnulib
48642         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
48643         from some compilers.
48645         mktime: remove incorrect attempt at unusual arithmetics
48646         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
48647         The code didn't really work on such machines anyway.
48648         (TYPE_MINIMUM): Assume two's complement.
48649         (twos_complement_arithmetic): Verify that long_int and time_t
48650         are two's complement (or unsigned, in the latter case).
48652         mktime: check signed shifts on long_int and time_t, too
48653         * time/mktime.c (SHR): Check that shifts work as desired
48654         on the types long_int and time_t too, as SHR is used on
48655         such types.
48657         mktime: do not assume 'long' is wide enough
48658         * time/mktime.c (verify): Move decl up.
48659         (long_int): New type.
48660         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
48661         to remove assumption in the code that 'long' is wide enough to
48662         store year values.  This assumption is not true on x32 and on
48663         some non-glibc platforms.
48665         mktime: merge wrapv change from gnulib
48666         * time/mktime.c (WRAPV): New macro.
48667         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
48668         (guess_time_tm, __mktime_internal): Do not assume that signed
48669         integer overflow wraps around; modern compilers generate code
48670         where this assumption is no longer valid.
48672 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48674         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48675         Replace "jmp L(pseudo_end)" with "ret".
48676         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48677         Likewise.
48679 2012-05-23  Andreas Jaeger  <aj@suse.de>
48681         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48682         * sysdeps/unix/sysv/linux/poll.c: Remove file.
48684 2012-05-23  Andreas Jaeger  <aj@suse.de>
48685             Maximilian Attems  <max@stro.at>
48687         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48688         New macros.
48690 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48692         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48693         code so that pseudo_end is just ret and the stack pointer is
48694         correct also for static library in error case.
48696 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
48698         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48699         move to syscalls.list.
48700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48705         * manual/install.texi (Running make install): Do not mention Linux
48706         kernel version for which pt_chown is not needed.
48707         (Linux): Do not mention problems with nscd with 2.0 kernels.
48708         * INSTALL: Regenerated.
48710 2012-05-23  Andreas Jaeger  <aj@suse.de>
48712         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48713         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48714         macro.
48715         * sysdeps/unix/sysv/linux/s390/bits/mman.h
48716         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48717         * sysdeps/unix/sysv/linux/sh/bits/mman.h
48718         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48719         * sysdeps/unix/sysv/linux/i386/bits/mman.h
48720         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48721         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48722         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48723         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48724         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48725         * sysdeps/unix/sysv/linux/bits/in.h
48726         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48728 2012-05-22  Roland McGrath  <roland@hack.frob.com>
48730         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48731         (PREPARE_VERSION): Just use assert instead, it will be elided
48732         under [NDEBUG] anyway.
48734 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48736         * sysdeps/unix/sysv/linux/Makefile: Include
48737         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48738         (sysdep_routines): Remove sysctl.
48739         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48740         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48741         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48742         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48743         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48745 2012-05-22  Andreas Jaeger  <aj@suse.de>
48747         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48748         that pseudo_end is just ret and the stack pointer is correct also
48749         for static library in error case.
48751 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
48753         [BZ #14122]
48754         * nss/nsswitch.c (defconfig_entries): New variable.
48755         (__nss_database_lookup): Don't leak defconfig entries.
48756         (nss_parse_service_list): Don't leak on error paths.
48757         (free_database_entries): New function.
48758         (free_defconfig): New function.
48759         (free_mem): Move common code to free_database_entries.
48761 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48763         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48764         Add arch_prctl.
48765         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48767         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48768         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48769         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48770         New macro.
48771         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48772         (INTERNAL_SYSCALL_TYPES): Likewise.
48773         (LOAD_ARGS_TYPES_[1-6]): Likewise.
48774         (LOAD_REGS_TYPES_[1-6]): Likewise.
48775         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48776         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48778 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48780         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48781         copysignl for GLIBC_2_0.
48782         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48783         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48784         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48785         logbl for GLIBC_2_0.
48786         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48787         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48789 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48791         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48792         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48794         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48795         Use "neg %eax".
48797         * time/mktime.c: Update copyright years.
48799 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
48801         mktime: merge comment-quoting-style change from gnulib
48802         * time/mktime.c: Quote 'like this' in comments.
48803         The GNU coding standards suggest that we no longer quote `like this',
48804         as "`" and "'" are typically rendered asymmetrically nowadays.
48805         The typical gnulib style is to quote 'like this' when quoting
48806         code, and "like this" when quoting English.
48808         * time/mktime.c (compile-command): Add "-I.".
48810         mktime: merge mktime-internal.h change from gnulib
48811         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48813         mktime: merge time_r change from gnulib
48814         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48816         mktime: merge DEBUG change from gnulib
48817         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48818         case system <time.h> has a #define.
48820         mktime: merge <sys/types.h> change from gnulib
48821         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48822         since <time.t> is now guaranteed to define time_t.
48824         mktime: merge HAVE_CONFIG_H change from gnulib
48825         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48827 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48829         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48830         Use "neg %eax".
48832         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48833         __rlim_t cast.
48834         (struct rusage): Use anonymous union to pad each field to
48835         __syscall_slong_t.
48837 2012-05-21  David S. Miller  <davem@davemloft.net>
48839         * Makefules (o-iterator): Remove .s cases.
48840         (compile-command.s): Delete.
48841         (COMPILE.s): Delete.
48842         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48844 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
48846         * configure.in (libc_cv_predef_stack_protector): Only consider
48847         "foobar" and "__stack_chk_fail" lines in libc_undefs.
48848         * configure: Regenerated.
48850 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48852         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48853         New macro.  Use R*LP on int and pointer.
48854         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48855         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48856         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48857         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48859         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48860         [__WORDSIZE_TIME64_COMPAT32] instead of
48861         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48862         (struct utmp): Likewise.
48863         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48864         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48865         Renamed to ...
48866         (__WORDSIZE_TIME64_COMPAT32): This.
48867         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48868         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48869         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48870         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48871         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48872         (__WORDSIZE_TIME64_COMPAT32): New macro.
48874 2012-05-21  Andreas Jaeger  <aj@suse.de>
48876         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48877         only if [SHARED]. Add prototype for __wcschr_ia32.
48879 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48881         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48882         of %rbp unmolested in the jmp_buf while mangling the low bits.
48883         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48884         unmolested high bits of %rbp while demangling the low bits.
48885         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48887 2012-05-21  Andreas Jaeger  <aj@suse.de>
48889         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48890         * sunrpc/svc_simple.c: Use it for registerrpc.
48891         * sunrpc/xcrypt.c: Use it for passwd2des.
48893         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48895 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48897         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48898         Don't define if [__SYSCALL_WORDSIZE != 32].
48899         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48900         New macro.
48902 2012-05-21  Bruno Haible  <bruno@clisp.org>
48903             Andreas Jaeger  <aj@suse.de>
48905         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48906         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48907         inptr and inend for must_buffer_ch.
48908         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48909         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48910         * stdio-common/Makefile (tests): Remove bug15.
48911         (bug15-ENV): Remove macro.
48912         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48913         anymore.
48915 2012-05-19  Andreas Jaeger  <aj@suse.de>
48916             Roland McGrath  <roland@hack.frob.com>
48918         * manual/contrib.texi: Completely rewritten. It contains now an
48919         alphabetical list of contributors and their contributions.
48921 2012-05-21  Richard Henderson  <rth@twiddle.net>
48923         * misc/getauxval.c (__getauxval): Use unsigned long int.
48924         * misc/sys/auxv.h: Include <sys/cdefs.h>.
48925         (getauxval): Use unsigned long int.
48927 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48929         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48931 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48933         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48934         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48935         __alignof__ (long double).
48937 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48941 2012-05-20  Richard Henderson  <rth@twiddle.net>
48943         * misc/getauxval.c: New file.
48944         * misc/sys/auxv.h: New file.
48945         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48946         (routines): Add getauxval.
48947         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48948         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48949         * elf/dl-sysdep.c (_dl_auxv): Remove.
48950         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48951         * elf/dl-support.c (_dl_auxv): New variable.
48952         (_dl_aux_init): Initialize it.
48953         * manual/startup.texi (Auxiliary Vector): New node.
48954         * sysdeps/generic/bits/hwcap.h: New file.
48955         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48956         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
48957         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48958         * sysdeps/sparc/sysdep.h: ... here.  Include it.
48959         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48960         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48962         Update.
48963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48966         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48969         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48970         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48972 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48976 2012-05-19  David S. Miller  <davem@davemloft.net>
48978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48980 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48982         [BZ #14123]
48983         * math/s_ccosh.c: Include <float.h>
48984         (__ccosh): Avoid internal overflow calculating sinh and cosh
48985         values before multiplying by sin and cos values.
48986         * math/s_ccoshf.c: Likewise.
48987         * math/s_ccoshl.c: Likewise.
48988         * math/s_csin.c: Likewise.
48989         * math/s_csinf.c: Likewise.
48990         * math/s_csinl.c: Likewise.
48991         * math/s_csinh.c: Likewise.
48992         * math/s_csinhf.c: Likewise.
48993         * math/s_csinhl.c: Likewise.
48994         * math/libm-test.inc (ccos_test): Add more tests.
48995         (ccosh_test): Likewise.
48996         (csin_test): Likewise.
48997         (csinh_test): Likewise.
48998         * sysdeps/i386/fpu/libm-test-ulps: Update.
48999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49001 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49003         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49004         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49006         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49008 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49010         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49011         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49012         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49013         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49014         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49015         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49016         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49017         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49018         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49019         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49020         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49021         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49022         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49023         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49024         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49025         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49026         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49027         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49028         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49029         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49030         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49031         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49032         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49033         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49034         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49035         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49036         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49037         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49038         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49039         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49040         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49042 2012-05-18  Andreas Jaeger  <aj@suse.de>
49044         * csu/.gitignore: Delete.
49046 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49048         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49049         (timex): Use __syscall_slong_t.
49051 2012-05-18  Andreas Jaeger  <aj@suse.de>
49052             Carlos O'Donell  <carlos_odonell@mentor.com>
49054         * manual/install.texi (Configuring and compiling): Update
49055         description about files modified in the source directory.
49056         * INSTALL: Regenerated.
49058 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49060         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49061         value.  Use "or" to set return value to -1.
49062         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49063         negate return value.
49065 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49067         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49068         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49069         failure if the compiler has Graphite support disabled.
49070         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49071         Likewise.
49072         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49073         (CFLAGS-memmove.c): Likewise.
49074         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49075         Likewise.
49077 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49079         * sysdeps/x86_64/x32/_itoa.h: New file.
49081         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49082         getdents system call only if kernel and user dirents have the
49083         same d_ino and d_off.
49085         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49086         LLONG_MAX != LONG_MAX.
49087         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49088         (_fitoa_word): Likewise.
49090         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49091         years.
49092         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49093         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49094         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49096         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49097         include <bits/wordsize.h>.  Check __x86_64__ instead of
49098         __WORDSIZE.
49099         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49100         if __x86_64__ is defined.  Use anonymous union on fpstate.
49102         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49103         anonymous union.
49105 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49107         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49108         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49109         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49110         Refer to _rtld_local_ro instead of _rtld_global_ro.
49111         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49112         Likewise.
49113         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49114         Likewise.
49115         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49116         Likewise.
49117         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49118         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49119         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49121         [BZ #10882]
49122         * sysdeps/powerpc/powerpc32/dl-machine.c
49123         (__elf_machine_runtime_setup) [PROF]: Don't reference
49124         _dl_prof_resolve.
49126 2012-05-18  Andreas Jaeger  <aj@suse.de>
49128         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49129         function only available for GCCs before 3.4 since GCC 3.4
49130         introduced a builtin.
49131         (lrint): Likewise.
49132         (llrintf): Likewise.
49133         (llrint): Likewise.
49134         (fmaxf): Likewise.
49135         (fmax): Likewise.
49136         (fminf): Likewise.
49137         (fmin): Likewise.
49138         (rint): Likewise.
49139         (rintf): Likewise.
49140         (nearbyint): Likewise.
49141         (nearbyintf): Likewise.
49142         (ceil): Likewise.
49143         (ceilf): Likewise.
49144         (floor): Likewise.
49145         (floorf): Likewise.
49147 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49149         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49150         on both fields and cast pointer to __syscall_ulong_t.
49152         * bits/types.h (__fsword_t): New type.
49153         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49154         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49155         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49156         (__FSWORD_T_TYPE): Likewise.
49157         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49158         (__FSWORD_T_TYPE): Likewise.
49159         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49160         (__FSWORD_T_TYPE): Likewise.
49161         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49162         (__FSWORD_T_TYPE): Likewise.
49163         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49164         __SWORD_TYPE with __fsword_t.
49165         (statfs64): Likewise.
49167 2012-05-17  David S. Miller  <davem@davemloft.net>
49169         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49171 2012-05-17  Andreas Jaeger  <aj@suse.de>
49173         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49174         warning.
49176 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49178         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49180 2012-05-17  Andreas Jaeger  <aj@suse.de>
49182         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49183         when it is used.
49185 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49187         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49189 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49191         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49192         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49194 2012-05-17  Andreas Jaeger  <aj@suse.de>
49195             Carlos O'Donell  <carlos_odonell@mentor.com>
49197         [BZ #14059]
49198         * sysdeps/x86_64/multiarch/init-arch.h
49199         (bit_YMM_Usable): Rename to...
49200         (bit_AVX_Usable): ... this.
49201         (bit_FMA4_Usable): New macro.
49202         (bit_XMM_state): New macro.
49203         (bit_YMM_state): New macro.
49204         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49205         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49206         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49207         (CPUID_OSXSAVE): New macro.
49208         (CPUID_AVX): New macro.
49209         (CPUID_FMA4): New macro.
49210         (index_YMM_Usable): Rename to...
49211         (index_AVX_Usable): ... this.
49212         (HAS_AVX): Use HAS_ARCH_FEATURE.
49213         (HAS_FMA4): Likewise.
49214         (HAS_YMM_USABLE): Remove.
49215         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49216         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49217         are present.
49218         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49219         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49220         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49221         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49222         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49224 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49226         * math/libm-test.c: Support platforms without multiple rounding modes.
49227         * math/bug-nextafter.c: Support platforms without FP exceptions.
49228         * math/bug-nexttoward.c: Likewise.
49229         * math/test-fenv.c: Likewise.
49230         * math/test-misc.c: Likewise.
49231         * stdlib/bug-getcontext.c: Likewise.
49233 2012-05-17  Andreas Jaeger  <aj@suse.de>
49235         * manual/examples/search.c (critter_cmp): Change signature to
49236         avoid warnings.
49237         * manual/string.texi (Collation Functions): Likewise.
49239 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49241         * bits/types.h: Fold copyright years.
49242         * bits/typesizes.h: Likewise.
49243         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49244         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49245         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49246         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49247         * time/time.h: Likewise.
49249 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49251         [BZ #208]
49252         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49253         in instead of returning them.  Return void.
49254         (__libc_mallinfo): Accumulate over all arenas.
49255         (__malloc_stats): Adjust for change in int_mallinfo interface.
49257 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49259         [BZ #10375]
49260         * configure.in (NM): Add AC_CHECK_TOOL for it.
49261         (libc_extra_cflags): New substituted variable.
49262         Check for -fstack-protector being used implicitly.
49263         * configure: Regenerated.
49264         * config.make.in (config-extra-cflags): New variable,
49265         gets @libc_extra_cflags@.
49266         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49268         [BZ #10375]
49269         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49270         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49271         * configure: Regenerated.
49272         * config.make.in (CPPUNDEFS): New substituted variable.
49273         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49274         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49275         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49277 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49279         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49280         (mq_attr): Use __syscall_slong_t.
49282 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49284         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49285         Check __x86_64__ instead of __WORDSIZE.
49286         (_STAT_VER_LINUX): Likewise.
49287         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49288         __syscall_ulong_t and __syscall_slong_t.
49289         (stat64): Likewise.
49291 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49293         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49295 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49297         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49299 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49301         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49302         __syscall_ulong_t.
49304         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49305         include <bits/wordsize.h>.  Check __x86_64__ instead of
49306         __WORDSIZE.
49307         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49308         defined.
49309         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49311         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49312         include <bits/wordsize.h>.  Check __x86_64__ instead of
49313         __WORDSIZE.
49314         (user_regs_struct): Use "__extension__ unsigned long long"
49315         instead of "unsigned long" if __x86_64__ is defined.
49316         (user): Likewise.  Pad after pointer field if __ILP32__ is
49317         defined.
49319 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49321         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49322         versions 5 to 9.
49323         * configure: Regenerated.
49324         * manual/install.texi (texinfo): Increase version requirement to
49325         4.5 or later.
49326         * INSTALL: Regenerated.
49328         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49330 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49332         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49334         * sysdeps/x86_64/x32/ffs.c: New file.
49336         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49337         __syscall_ulong_t.
49338         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49339         defined.  Use __syscall_ulong_t.
49340         (shminfo): Use __syscall_ulong_t.
49341         (shm_info): Likewise.
49343         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49344         __syscall_ulong_t.
49346         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49347         <bits/wordsize.h>.
49348         (msgqnum_t): Use __syscall_ulong_t.
49349         (msglen_t): Likewise.
49350         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49351         __syscall_ulong_t.
49353         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49354         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49356         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49358         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49359         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49361         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49362         __syscall_slong_t.
49364         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49365         include <bits/wordsize.h>.  Check __x86_64__ instead of
49366         __WORDSIZE.
49368         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49369         "unsigned long long int" if __x86_64__ is defined.
49370         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49372         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49373         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49374         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49376         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49377         <stdint.h>.
49378         (GET_PC): Cast to uintptr_t first.
49379         (GET_FRAME): Likewise.
49380         (GET_STACK): Likewise.
49382         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49383         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49384         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49385         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49386         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49387         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49388         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49389         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49390         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49391         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49392         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49393         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49394         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49395         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49396         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49397         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49398         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49399         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49400         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49401         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49402         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49403         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49404         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49405         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49406         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49407         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49408         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49409         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49410         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49412 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49414         * Makerules (+depfiles): Also collect depfiles from .oS in
49415         $(extra-objs).
49416         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49417         .oS, $(libnldbl-routines)).
49419         * Makerules (native-compile-mkdep-flags): Define.
49420         * sunrpc/Makefile (extra-objs): Add $(addprefix
49421         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49422         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49423         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49424         calling $(make-target-directory).
49426 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49428         * bits/types.h (__snseconds_t): Removed.
49429         * time/time.h (struct timespec): Replace __snseconds_t with
49430         __syscall_slong_t.
49431         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49432         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49433         Likewise.
49434         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49435         (__SNSECONDS_T_TYPE): Likewise.
49436         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49437         (__SNSECONDS_T_TYPE): Likewise.
49438         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49439         (__SNSECONDS_T_TYPE): Likewise.
49441 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49443         * sysdeps/mach/hurd/bits/typesizes.h
49444         (__SYSCALL_SLONG_TYPE): New macro.
49445         (__SYSCALL_ULONG_TYPE): Likewise.
49447 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49449         * bits/types.h (__syscall_slong_t): New type.
49450         (__syscall_ulong_t): Likewise.
49452         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49453         (__SYSCALL_ULONG_TYPE): Likewise.
49454         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49455         (__SYSCALL_SLONG_TYPE): Likewise.
49456         (__SYSCALL_ULONG_TYPE): Likewise.
49457         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49458         (__SYSCALL_SLONG_TYPE): Likewise.
49459         (__SYSCALL_ULONG_TYPE): Likewise.
49460         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49461         (__SYSCALL_SLONG_TYPE): Likewise.
49462         (__SYSCALL_ULONG_TYPE): Likewise.
49464 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49466         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49467         Add sigaltstack-offsets.sym.
49468         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49469         <sigaltstack-offsets.h>.
49470         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
49471         longjmp_msg pointer.
49472         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
49473         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49474         signal stack.
49475         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49477 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49479         * elf/stackguard-macros.h: Remove file.
49480         * sysdeps/generic/stackguard-macros.h: New file.
49481         * sysdeps/i386/stackguard-macros.h: Likewise.
49482         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49483         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49484         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49485         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49486         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49487         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49488         * sysdeps/x86_64/stackguard-macros.h: Likewise.
49489         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49490         <elf/stackguard-macros.h>.
49492         [BZ #14109]
49493         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49494         __aligned__ in attribute.
49495         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49496         (gregset_t): Likewise.
49498 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49500         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49501         * sysdeps/x86_64/64/Implies-after: Here.  New file.
49502         * sysdeps/x86_64/x32/Implies-after: New file.
49504 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49506         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49507         and access return value for _dl_profile_fixup.  Use R10_LP to
49508         load frame size.
49510 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49512         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49514 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49516         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49517         * sysdeps/x86_64/x32/sysdep.h: New file.
49519 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49521         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49522         * sysdeps/x86_64/setjmp.S: Likewise.
49524 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49526         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49527         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49528         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49529         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49530         remove unused global constant.
49532 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
49534         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49535         include of <not-cancel.h>.
49537 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49539         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49541 2012-05-15  Jeff Law  <law@redhat.com>
49542             Andreas Jaeger  <aj@suse.de>
49544         [BZ #13594]
49545         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49546         out from...
49547         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49548         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49549         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49550         code changing __hst_map_handle.map.
49552 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49554         * configure.in (sysnames): Look for Implies-before and Implies-after
49555         files.
49556         * configure: Regenerated.
49558 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49560         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49561         8-byte data alignment with LP_SIZE alignment.
49563 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49565         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49566         into R10_LP.
49568 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49570         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49572 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49574         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49575         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49576         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49577         Likewise.
49578         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49580 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49582         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49583         (stackinfo_sub_sp): Likewise.
49585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49587         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49588         RAX_LP.
49590 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49592         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49593         into R*_LP.
49595 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49597         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49598         sizes into R*_LP.
49600 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49602         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49604 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49606         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
49607         into R11_LP and load __x86_64_shared_cache_size_half into
49608         R8_LP.
49610 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49612         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
49613         R8_LP.
49615 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49617         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
49618         logb for POWER7.
49619         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
49620         logbf for POWER7.
49621         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
49622         logbl for POWER7.
49623         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
49624         powerpc32/power7/fpu/s_logb.c via #include.
49625         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
49626         powerpc32/power7/fpu/s_logbf.c via #include.
49627         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
49628         powerpc32/power7/fpu/s_logbl.c via #include.
49630 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49632         * README.libm: Remove file.
49634 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49636         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
49637         count for x32.  Use R*_LP and omit operand-size suffix.
49639 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49641         * shlib-versions: Move x86_64-.*-linux.* entries to ...
49642         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
49643         * sysdeps/x86_64/x32/shlib-versions: New file.
49645 2012-05-14  Roland McGrath  <roland@hack.frob.com>
49647         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49648         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
49649         Use _dl_fatal_printf instead.
49651 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49653         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
49654         set if not set by the user.  Do not allow for being unset.
49655         * sysdeps/unix/sysv/linux/configure: Regenerated.
49657 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49659         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
49660         the `q' suffix from lea and replace .quad with ASM_ADDR.
49662 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49664         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
49665         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
49666         instead of $17.
49667         (PTR_DEMANGLE): Likewise.
49669 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49671         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49672         (LP_OP): Likewise.
49673         (ASM_ADDR): Likewise.
49674         (RAX_LP): Likewise.
49675         (RBP_LP): Likewise.
49676         (RBX_LP): Likewise.
49677         (RCX_LP): Likewise.
49678         (RDI_LP): Likewise.
49679         (RSI_LP): Likewise.
49680         (RSP_LP): Likewise.
49681         (R8_LP): Likewise.
49682         (R9_LP): Likewise.
49683         (R10_LP): Likewise.
49684         (R10_LP): Likewise.
49685         (R11_LP): Likewise.
49686         (R12_LP): Likewise.
49687         (R13_LP): Likewise.
49688         (R14_LP): Likewise.
49689         (R15_LP): Likewise.
49691 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49693         * sysdeps/x86_64/x32/dl-machine.h: New file.
49695 2012-05-14  Andreas Jaeger  <aj@suse.de>
49697         * manual/Makefile (subdir): Remove export of subdir.
49698         (all): Remove target.
49699         (.PHONY): Remove all from list.
49700         (mkinstalldirs): Remove.
49701         (.PHONY): Remove installdirs from list.
49702         ($(inst_infodir)/libc.info): Use make-target-directory.
49703         (installdirs): Remove.
49704         (subdir_%): Remove.
49705         (glibc-targets): Remove.
49706         (lib): Remove.
49707         (stubs): Remove.
49708         ($(objpfx)stubs ../po/manual.pot): Remove.
49709         ($(objpfx)stamp%): Remove.
49710         (make-target-directory): Remove.
49711         (subdir_install): Remove.
49712         (routines): Remove.
49713         (aux): Remove.
49714         (sources): Remove.
49715         (objects): Remove.
49716         (headers): Remove.
49718         [BZ #13750]
49719         * manual/.gitignore: Remove, it's not needed anymore.
49720         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49721         all files in it.
49722         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49723         directory.
49724         (texis): Renamed to $(objpfx)texis.
49725         (texis-path): New, contains path to generated files.
49726         (chapters.%): Use texis-path for complete path, add extra argument
49727         libc-texinfo.sh.
49728         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49729         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49730         (summary,texi, stamp-summary): Use complete path of
49731         files. Generate files in build dir.
49732         (dir-add.texi): Build in build dir.
49733         (libm-err.texi,stamp-libm-err): Likewise.
49734         (version.texi, stamp-version): Likewise.
49735         (.%c.texi): Likewise.
49736         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49737         (mostlyclean): Remove target.
49738         (realclean): Remove target.
49739         (generated): Add new variable with contents from mostlyclean and
49740         realclean, remove entries duplicated in common-mostlyclean, add
49741         stamp-libm-err and stamp-version.
49742         (generated-dirs): Add libc directory.
49743         ($(inst_infodir)/libc.info): Install files from build dir.
49745         * manual/install.texi (Configuring and compiling): Adjust since
49746         the info files are not part of the tar ball anymore.
49748 2012-05-14  Andreas Jaeger  <aj@suse.de>
49750         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49751         variable.
49753 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49755         [BZ #13717]
49756         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49757         to 2.2.0 where earlier.
49758         * sysdeps/unix/sysv/linux/configure: Regenerated.
49759         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49760         Remove conditional code.
49761         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49762         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49763         Remove conditional code.
49764         [!__NR_lchown]: Likewise.
49765         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49766         [__NR_lchown]: Likewise.
49767         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49768         comment referencing __ASSUME_LCHOWN_SYSCALL.
49769         * sysdeps/unix/sysv/linux/i386/sigaction.c
49770         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49771         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49772         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49773         Remove conditional code.
49774         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49775         (__protocol_available): Remove #if 0 code.
49776         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49777         conditional code.
49778         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49779         * sysdeps/unix/sysv/linux/kernel-features.h
49780         (__ASSUME_GETCWD_SYSCALL): Don't define.
49781         (__ASSUME_REALTIME_SIGNALS): Likewise.
49782         (__ASSUME_PREAD_SYSCALL): Likewise.
49783         (__ASSUME_PWRITE_SYSCALL): Likewise.
49784         (__ASSUME_POLL_SYSCALL): Likewise.
49785         (__ASSUME_LCHOWN_SYSCALL): Likewise.
49786         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49787         non-SPARC.
49788         (__ASSUME_SIOCGIFNAME): Don't define.
49789         (__ASSUME_MSG_NOSIGNAL): Likewise.
49790         (__ASSUME_SENDFILE): Define unconditionally.
49791         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49792         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49793         conditional code.
49794         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49795         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49796         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49797         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49798         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49799         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49800         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49802         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49803         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49805         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49806         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49808         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49809         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49811         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49812         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49814         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49815         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49817         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49818         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49820         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49821         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49823         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49824         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49825         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49826         Remove conditional code.
49827         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49828         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49829         Remove conditional code.
49830         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49831         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49832         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49833         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49834         Remove conditional code.
49835         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49836         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49837         Remove conditional code.
49838         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49839         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49840         Remove conditional code.
49841         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49842         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49843         Remove conditional code.
49844         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49845         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49846         Remove conditional code.
49847         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49848         * sysdeps/unix/sysv/linux/sh/pwrite64.c
49849         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49850         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49851         * sysdeps/unix/sysv/linux/sigaction.c
49852         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49853         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49854         * sysdeps/unix/sysv/linux/sigpending.c
49855         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49856         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49857         * sysdeps/unix/sysv/linux/sigprocmask.c
49858         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49859         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49860         * sysdeps/unix/sysv/linux/sigsuspend.c
49861         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49862         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49863         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49864         (__libc_missing_rt_sigs): Remove.
49865         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49866         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49867         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49868         Remove conditional code.
49869         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49870         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49871         return 1.
49872         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49873         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49874         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49875         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49877 2012-05-14  Andreas Jaeger  <aj@suse.de>
49879         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49880         it's not used in glibc.
49881         (__coshm1): Likewise.
49882         (__acosh1p): Likewise.
49883         (__sgn): Likewise.
49885         * manual/string.texi (Copying and Concatenation): Add missing
49886         variable in concat example.
49887         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49889 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49891         [BZ #14103]
49892         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49893         __builtin_clzl with __builtin_clzll.
49895 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49897         [BZ #14104]
49898         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49899         libc_freeres_ptr.
49901 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49903         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49904         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49905         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49906         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49908 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
49910         * NEWS: Update ia64 info.
49912 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
49914         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49915         used as bcopy.
49917 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
49919         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49920         * sysdeps/unix/syscalls.list (dup3): Likewise.
49921         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49922         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49924 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49926         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49927         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49929 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49931         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49932         thread pointer.
49933         (TLS_IE): Use mov/add instead of movq/addq to load thread
49934         pointer.
49935         (TLS_GD_PREFIX): New.
49936         (TLS_GD): Use it.
49938 2012-05-11  David S. Miller  <davem@davemloft.net>
49940         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49941         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49942         (_FPU_SETCW): Likewise.
49944 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49946         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49947         is 32-byte aligned.
49949 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
49951         [BZ #11837]
49952         * iconvdata/gb18030.c: Update tables.
49953         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
49954         characters specially.
49955         (BODY for TO_LOOP): Add encoding of missing ranges.
49957 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
49959         [BZ #13673]
49960         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49961         * sysdeps/mach/hurd/dup3.c: Likewise.
49962         * sysdeps/mach/hurd/readlinkat.c: Likewise.
49963         * sysdeps/powerpc/memmove.c:: Likewise.
49965 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49967         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49968         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49970 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49972         * elf/elf.h (R_X86_64_RELATIVE64): New.
49973         (R_X86_64_NUM): Updated.
49974         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49975         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
49976         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49977         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49978         tst-quad1pie tst-quad2pie
49979         (modules-names): Add tst-quadmod1 tst-quadmod2.
49980         ($(objpfx)tst-quad1): New dependency.
49981         ($(objpfx)tst-quad2): Likewise.
49982         ($(objpfx)tst-quad1pie): Likewise.
49983         ($(objpfx)tst-quad2pie): Likewise.
49984         * sysdeps/x86_64/tst-quad1.c: New file.
49985         * sysdeps/x86_64/tst-quad1pie.c: New file.
49986         * sysdeps/x86_64/tst-quad2.c: Likewise.
49987         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
49988         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
49989         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
49990         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
49991         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
49993 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49995         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
49996         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
49997         * streams/stropts.h (t_scalar_t): Define type.
49999         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50000         (_PATH_PRESERVE): Set to "/var/lib".
50001         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50003         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50004         instead of int.
50006         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50007         if __dir_mkfile succeeded.
50009         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50010         checking for _hurd_dtablesize.  Unlock it right after having
50011         finished _hurd_dtable allocation.
50013 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50015         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50016         * sysdeps/mach/hurd/configure: Regenerated.
50017         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50018         special-casing to...
50019         * sysdeps/gnu/configure.in: ... this new file.
50020         * sysdeps/unix/sysv/linux/configure: Regenerated.
50021         * sysdeps/gnu/configure: New generated file.
50023         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50024         for Linux: use nsec instead of usec, as well as:
50025         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50026         members of type struct timespec.
50027         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50028         New macros.
50029         (struct stat64): Likewise.
50030         (_STATBUF_ST_NSEC): New macro.
50031         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50033         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50034         __strtoul_internal rather than strtoul.
50036 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50038         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50039         and reject them.
50041 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50043         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50044         which preserves existing values.
50045         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50047 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50049         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50050         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50051         greater than FD_SETSIZE.
50053 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50055         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50056         allocated, call __vm_protect to finish enabling the existing space, and
50057         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50058         allocate the remainder.
50060 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50062         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50063         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50065 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50067         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50068         sysdeps/mach/hurd/readlink.c.
50070         * posix/tst-sysconf.c (posix_options): Only use
50071         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50072         _POSIX_SYNCHRONIZED_IO when they are defined
50073         * sysdeps/mach/hurd/bits/posix_opt.h:
50074         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50075         (_XOPEN_REALTIME): Undefine macro.
50076         (_XOPEN_REALTIME_THREADS): Undefine macro.
50077         (_XOPEN_SHM): Undefine macro.
50078         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50079         macro to -1.
50080         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50081         macro to -1.
50082         (_POSIX_ASYNC_IO): Undefine macro.
50083         (_POSIX_PRIORITIZED_IO): Undefine macro.
50084         (_POSIX_SPIN_LOCKS): Define macro to -1.
50086         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50087         SA_NODEFER, SA_RESETHAND.
50088         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50089         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50090         F_DUPFD_CLOEXEC.
50092 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50094         * elf/Makefile (pldd-modules): Define unconditionally.
50096 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50098         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50100 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50102         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50103         Return ENOENT when name is empty.
50104         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50106 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50108         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50110         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50112 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50114         Fix mlock in all cases except non-readable pages.
50115         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50116         instead of VM_PROT_ALL as parameter to __vm_wire function.
50118         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50119         (__mkdir): When path is `/', just fail with EEXIST.
50120         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50122 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50124         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50125         <sys/uio.h> (for writev).
50126         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50127         and <sys/param.h> (for MIN).
50129 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50131         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50132         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50133         if interrupted.
50135 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50137         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50138         Depend on against $(link-rpcuserlibs).
50140 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50142         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50143         (__libc_stack_end): Do not use attribute_relro.
50144         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50145         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50146         to libthread-provided value.
50147         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50148         attribute_relro.
50150 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50152         [BZ #3748]
50153         * bits/libc-lock.h (__libc_once_get): New macro.
50154         * sysdeps/mach/bits/libc-lock.h: Likewise.
50155         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50156         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50157         instead of using implementation details.
50159         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50160         * libio/freopen.c: Likewise.
50161         * libio/freopen64.c: Likewise.
50162         * misc/syslog.c: Likewise.
50163         * nscd/connections.c: Likewise.
50164         * nscd/netgroupcache.c: Likewise.
50165         * sysdeps/posix/getcwd.c: Likewise.
50167 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50169         * math/w_ilogbf.c: Add #include <limits.h>.
50171 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50173         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50174         path instead of returning without unlocking.
50176         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50177         immediate-write ioctls.
50178         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50180 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50182         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50183         __builtin_frame_address instead of making assumptions about the
50184         location of the return address relative to DATA.  Force early load of
50185         the return address.
50186         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50187         __builtin_frame_address.
50189         dup3 for GNU Hurd.
50190         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50191         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50192         implement dup3 and do some further code clean-ups.
50193         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50194         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50196 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50198         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50200         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50201         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50202         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50203         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50204         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50205         d->port.lock.
50207         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50208         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50209         when handler == SIG_ERR, not when handler != SIG_ERR.
50211 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50213         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50214         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50215         definitions.
50217         accept4 for GNU Hurd.
50218         * include/sys/socket.h (__libc_accept4): New prototype.
50219         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50220         to implement __libc_accept4.
50221         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50222         __libc_accept4.
50223         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50225         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50226         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50227         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50228         signal-defines.sym.
50230 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50232         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50234 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50236         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50237         assertion on O_CLOEXEC flag.
50238         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50239         * hurd/intern-fd.c: Likewise.
50240         * hurd/port2fd.c: Likewise.
50242 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50244         [BZ #3906]
50245         * bits/in.h (IPV6_PKTINFO): Define new macro.
50246         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50248 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50250         [BZ #13954]
50251         [BZ #13955]
50252         [BZ #13956]
50253         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50254         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50255         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50256         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50257         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50258         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50259         * math/libm-test.inc (logb_test) : Additional logb tests.
50261 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50262             Andreas Jaeger  <aj@suse.de>
50264         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50265         * configure: Regenerated.
50266         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50267         * config.make.in (link-obsolete-rpc): New substituted variable.
50268         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50269         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50270         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50271         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50272         so that libc.a contains the symbols.
50273         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50274         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50275         * sunrpc/auth_none.c: Likewise.
50276         * sunrpc/auth_unix.c: Likewise.
50277         * sunrpc/authdes_prot.c: Likewise.
50278         * sunrpc/authuxprot.c: Likewise.
50279         * sunrpc/clnt_gen.c: Likewise.
50280         * sunrpc/clnt_perr.c: Likewise.
50281         * sunrpc/clnt_raw.c: Likewise.
50282         * sunrpc/clnt_simp.c: Likewise.
50283         * sunrpc/clnt_tcp.c: Likewise.
50284         * sunrpc/clnt_udp.c: Likewise.
50285         * sunrpc/clnt_unix.c: Likewise.
50286         * sunrpc/des_crypt.c: Likewise.
50287         * sunrpc/des_soft.c: Likewise.
50288         * sunrpc/get_myaddr.c: Likewise.
50289         * sunrpc/key_call.c: Likewise.
50290         * sunrpc/key_prot.c: Likewise.
50291         * sunrpc/netname.c: Likewise.
50292         * sunrpc/pm_getmaps.c: Likewise.
50293         * sunrpc/pm_getport.c: Likewise.
50294         * sunrpc/pmap_clnt.c: Likewise.
50295         * sunrpc/pmap_prot.c: Likewise.
50296         * sunrpc/pmap_prot2.c: Likewise.
50297         * sunrpc/pmap_rmt.c: Likewise.
50298         * sunrpc/publickey.c: Likewise.
50299         * sunrpc/rpc_cmsg.c: Likewise.
50300         * sunrpc/rpc_common.c: Likewise.
50301         * sunrpc/rpc_dtable.c: Likewise.
50302         * sunrpc/rpc_prot.c: Likewise.
50303         * sunrpc/rpc_thread.c: Likewise.
50304         * sunrpc/rtime.c: Likewise.
50305         * sunrpc/svc.c: Likewise.
50306         * sunrpc/svc_auth.c: Likewise.
50307         * sunrpc/svc_raw.c: Likewise.
50308         * sunrpc/svc_run.c: Likewise.
50309         * sunrpc/svc_tcp.c: Likewise.
50310         * sunrpc/svc_udp.c: Likewise.
50311         * sunrpc/svc_unix.c: Likewise.
50312         * sunrpc/svcauth_des.c: Likewise.
50313         * sunrpc/xcrypt.c: Likewise.
50314         * sunrpc/xdr.c: Likewise.
50315         * sunrpc/xdr_array.c: Likewise.
50316         * sunrpc/xdr_float.c: Likewise.
50317         * sunrpc/xdr_intXX_t.c: Likewise.
50318         * sunrpc/xdr_mem.c: Likewise.
50319         * sunrpc/xdr_rec.c: Likewise.
50320         * sunrpc/xdr_ref.c: Likewise.
50321         * sunrpc/xdr_sizeof.c: Likewise.
50322         * sunrpc/xdr_stdio.c: Likewise.
50324 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50326         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50327         change.  Update copyright years.
50329 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50331         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50333 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50334             Joseph Myers  <joseph@codesourcery.com>
50335             Paul Pluzhnikov  <ppluzhnikov@google.com>
50337         [BZ #14012]
50338         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50339         requiring rpcgen.
50340         [cross-compiling] (extra-libs): Likewise.
50341         [cross-compiling] (extra-libs-others): Likewise.
50342         [cross-compiling] (librpcsvc-routines): Likewise.
50343         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50344         [cross-compiling] (omit-deps): Likewise.
50345         (sunrpc-CPPFLAGS): New variable.
50346         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50347         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50348         (cross-rpcgen-objs): New variable.
50349         (extra-objs): Append $(cross-rpcgen-objs).
50350         ($(cross-rpcgen-objs)): New rule.
50351         ($(objpfx)cross-rpcgen): Likewise.
50352         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50353         comment.
50354         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50355         ($(objpfx)x%.stmp): Likewise.
50356         * sunrpc/proto.h [IS_IN_build] (_): Define.
50357         [IS_IN_build] (_libc_intl_domainname): Likewise.
50359 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50361         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50362         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50363         and R_X86_64_TPOFF64.
50365 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50367         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50368         sysdeps/unix/sysv/syscalls.list.
50369         (stime): Likewise.
50370         (utime): Likewise.
50371         * sysdeps/unix/sysv/syscalls.list: Remove file.
50373 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50375         [BZ #3440]
50376         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50377         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50378         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50379         (__LC_IDENTIFICATION): Make these macros useful in #if
50380         expressions, as required by C99.
50382 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50384         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50385         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50386         after this.
50388 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50390         * stdlib/longlong.h: Updated from GCC.
50392 2012-05-09  Andreas Jaeger  <aj@suse.de>
50394         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50395         default is first entry.
50396         (run_mode): Set type.
50397         (main): Remove informal message about syslog.
50398         (options): Fix typo.
50400         [BZ #14053]
50401         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50402         to asm.
50403         (lrint): Likewise.
50404         (llrintf): Likewise.
50405         (llrint): Likewise.
50406         (rint): Likewise.
50407         (rintf): Likewise.
50408         (nearbyint): Likewise.
50409         (nearbyintf): Likewise.
50411 2012-05-09  Andreas Jaeger  <aj@suse.de>
50412             Pedro Alves  <palves@redhat.com>
50414         * nscd/nscd.c (run_mode): Use enum.
50415         (main): Cleanup coding style issue.
50417 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50418             Andreas Jaeger  <aj@suse.de>
50420         * nscd/nscd.c (go_background): Replaced with...
50421         (run_mode): ... this.
50422         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50423         (options): Add -F --foreground.
50424         (main): Implement it.
50425         (parse_opt): Parse it.
50427 2012-05-09  Andreas Jaeger  <aj@suse.de>
50429         [BZ #14083]
50430         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50431         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50432         -Wconversion warning.
50433         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50434         Likewise.
50436 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50438         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50439         == 0.
50440         (LC_ALL): Use macro-int-constant.
50441         (LC_COLLATE): Likewise.
50442         (LC_CTYPE): Likewise.
50443         (LC_MESSAGES): Likewise.
50444         (LC_MONETARY): Likewise.
50445         (LC_NUMERIC): Likewise.
50446         (LC_TIME): Likewise.
50447         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50448         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50449         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50450         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50451         Specify type.
50452         [C99-based standards] (float_t): Expect type.
50453         [C99-based standards] (double_t): Expect type.
50454         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
50455         type.
50456         [C99-based standards] (HUGE_VALL): Likewise.
50457         [C99-based standards] (INFINITY): Likewise.
50458         [C99-based standards] (NAN): Likewise.
50459         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50460         [C99-based standards] (FP_NAN): Likewise.
50461         [C99-based standards] (FP_NORMAL): Likewise.
50462         [C99-based standards] (FP_SUBNORMAL): Likewise.
50463         [C99-based standards] (FP_ZERO): Likewise.
50464         [C99-based standards] (FP_FAST_FMA): Use
50465         optional-macro-int-constant.  Specify type.  Require == 1.
50466         [C99-based standards] (FP_FAST_FMAF): Likewise.
50467         [C99-based standards] (FP_FAST_FMAL): Likewise.
50468         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50469         [C99-based standards] (FP_ILOGBNAN): Likewise.
50470         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50471         Specify type.
50472         [C99-based standards] (MATH_ERREXCEPT): Likewise.
50473         [C99-based standards] (math_errhandling): Specify type.
50474         [ISO99 || ISO11] (signgam): Do not allow.
50475         [non-C99-based standards] (copysignf): Do not allow.
50476         [non-C99-based standards] (exp2f): Likewise.
50477         [non-C99-based standards] (log2f): Likewise.
50478         [non-C99-based standards] (modff): Allow.
50479         [non-C99-based standards] (erff): Do not allow.
50480         [non-C99-based standards] (erfcf): Likewise.
50481         [non-C99-based standards] (gammaf): Likewise.
50482         [non-C99-based standards] (hypotf): Likewise.
50483         [non-C99-based standards] (j0f): Likewise.
50484         [non-C99-based standards] (j1f): Likewise.
50485         [non-C99-based standards] (jnf): Likewise.
50486         [non-C99-based standards] (lgammaf): Likewise.
50487         [non-C99-based standards] (tgammaf): Likewise.
50488         [non-C99-based standards] (y0f): Likewise.
50489         [non-C99-based standards] (y1f): Likewise.
50490         [non-C99-based standards] (ynf): Likewise.
50491         [non-C99-based standards] (isnanf): Likewise.
50492         [non-C99-based standards] (acoshf): Likewise.
50493         [non-C99-based standards] (asinhf): Likewise.
50494         [non-C99-based standards] (atanhf): Likewise.
50495         [non-C99-based standards] (cbrtf): Likewise.
50496         [non-C99-based standards] (expm1f): Likewise.
50497         [non-C99-based standards] (ilogbf): Likewise.
50498         [non-C99-based standards] (log1pf): Likewise.
50499         [non-C99-based standards] (logbf): Likewise.
50500         [non-C99-based standards] (nextafterf): Likewise.
50501         [non-C99-based standards] (remainderf): Likewise.
50502         [non-C99-based standards] (rintf): Likewise.
50503         [non-C99-based standards] (scalbf): Likewise.
50504         [non-C99-based standards] (copysignl): Likewise.
50505         [non-C99-based standards] (exp2l): Likewise.
50506         [non-C99-based standards] (log2l): Likewise.
50507         [non-C99-based standards] (modfl): Allow.
50508         [non-C99-based standards] (erfl): Do not allow.
50509         [non-C99-based standards] (erfcl): Likewise.
50510         [non-C99-based standards] (gammal): Likewise.
50511         [non-C99-based standards] (hypotl): Likewise.
50512         [non-C99-based standards] (j0l): Likewise.
50513         [non-C99-based standards] (j1l): Likewise.
50514         [non-C99-based standards] (jnl): Likewise.
50515         [non-C99-based standards] (lgammal): Likewise.
50516         [non-C99-based standards] (tgammal): Likewise.
50517         [non-C99-based standards] (y0l): Likewise.
50518         [non-C99-based standards] (y1l): Likewise.
50519         [non-C99-based standards] (ynl): Likewise.
50520         [non-C99-based standards] (isnanl): Likewise.
50521         [non-C99-based standards] (acoshl): Likewise.
50522         [non-C99-based standards] (asinhl): Likewise.
50523         [non-C99-based standards] (atanhl): Likewise.
50524         [non-C99-based standards] (cbrtl): Likewise.
50525         [non-C99-based standards] (expm1l): Likewise.
50526         [non-C99-based standards] (ilogbl): Likewise.
50527         [non-C99-based standards] (log1pl): Likewise.
50528         [non-C99-based standards] (logbl): Likewise.
50529         [non-C99-based standards] (nextafterl): Likewise.
50530         [non-C99-based standards] (remainderl): Likewise.
50531         [non-C99-based standards] (rintl): Likewise.
50532         [non-C99-based standards] (scalbl): Likewise.
50533         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50534         [non-C99-based standards] (FP_*): Do not allow.
50535         [C99-based standards] (FP_*): Change to
50536         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50537         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50538         allow.
50539         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50540         (SIG_ERR): Likewise.
50541         [X/Open-based standards] (SIG_HOLD): Likewise.
50542         (SIG_IGN): Likewise.
50543         (SIGABRT): Use macro-int-constant.  Specify type.  Require
50544         positive value.
50545         (SIGFPE): Likewise.
50546         (SIGILL): Likewise.
50547         (SIGINT): Likewise.
50548         (SIGSEGV): Likewise.
50549         (SIGTER): Likewise.
50550         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50551         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50552         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50553         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50554         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50555         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50556         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50557         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50558         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50559         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50560         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50561         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50562         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50563         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50564         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50565         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50566         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50567         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50568         [X/Open-based standards] (SIGTRAP): Likewise.
50569         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50570         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50571         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50572         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50573         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50574         allow.
50576 2012-05-08  Ian Wienand  <ianw@vmware.com>
50578         [BZ #14080]
50579         * time/tzset.c (__tzset_parse_tz): Update default rules for
50580         daylight time changes in the Energy Policy Act of 2005.
50582 2012-05-09  Andreas Jaeger  <aj@suse.de>
50584         [BZ #13983]
50585         * elf/ldconfig.c (parse_conf): Change string to make clear that
50586         ldconfig only issued a warning if ld.so.conf does not exist.
50588 2012-05-08  David S. Miller  <davem@davemloft.net>
50590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50591         movxtod instead of popping the value on the stack.
50593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50595 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
50597         * config.h.in: Add HAVE_ARM_PCS_VFP.
50599 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
50601         [BZ #13979]
50602         * include/features.h: Warn if user requests __FORTIFY_SOURCE
50603         checking but the checks are disabled for any reason.
50605 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
50607         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
50608         and ELF64_R_TYPE with ELFW(R_TYPE).
50610 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
50612         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
50613         (ulimit): Likewise.
50615         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
50616         (settimeofday): Likewise.
50618 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
50620         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
50621         a struct th_u2 inside the union, and move tu_block/tu_code into
50622         a new th_u3 union of tu_block/tu_code inside of that.  Move
50623         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
50624         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
50625         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
50626         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
50627         (th_stuff): Change to th_u1.tu_stuff.
50628         (th_data): Define.
50629         (th_msg): Change to th_u1.th_u2.tu_data.
50631 2012-05-07  David S. Miller  <davem@davemloft.net>
50633         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50635         [BZ #14074]
50636         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50637         (SETUP_PIC_REG): Use it.
50638         (SETUP_PIC_REG_LEAF): Use it.
50640 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
50642         [BZ #13885]
50643         [BZ #13923]
50644         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50645         USE_AS_EXPM1L.
50646         (EXPL_FINITE): Likewise.
50647         (FLDLOG): Likewise.
50648         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50649         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50650         e_expl.S.
50651         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50652         USE_AS_EXPM1L.
50653         (EXPL_FINITE): Likewise.
50654         (FLDLOG): Likewise.
50655         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50656         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50657         e_expl.S.
50658         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
50659         test of -max_value argument for long double.
50660         * sysdeps/i386/fpu/libm-test-ulps: Update.
50661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50663 2012-05-06  David S. Miller  <davem@davemloft.net>
50665         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
50666         quad soft-float symbols whose references which are compiler
50667         generated.
50668         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50670 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
50672         [BZ #13884]
50673         [BZ #13914]
50674         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50675         USE_AS_EXP10L.
50676         (EXPL_FINITE): Likewise.
50677         (FLDLOG): Likewise.
50678         (c0): Likewise.
50679         (c1): Likewise.
50680         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50681         Adjust comments for base varying.
50682         (__expl_finite): Change alias to EXPL_FINITE.
50683         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50684         e_expl.S.
50685         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50686         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50687         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50688         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50689         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50690         USE_AS_EXP10L.
50691         (EXPL_FINITE): Likewise.
50692         (FLDLOG): Likewise.
50693         (c0): Likewise.
50694         (c1): Likewise.
50695         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50696         Adjust comments for base varying.
50697         (__expl_finite): Change alias to EXPL_FINITE.
50698         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
50699         tests for bugs.
50700         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50702         [BZ #14064]
50703         * math/libm-test.inc (check_float_internal): Correct ulp
50704         calculation for subnormal expected results.
50706 2012-05-06  Andreas Jaeger  <aj@suse.de>
50708         * Makeconfig (+math-flags): New, set to -frounding-math.
50709         (+cflags): Add +math-flags so that all of glibc gets compiled with
50710         it.
50712         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50714 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
50716         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50717         Disable one test.
50719         [BZ #13787]
50720         [BZ #13922]
50721         [BZ #14036]
50722         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50723         (__ieee754_expl): Allow for and saturate large arguments.
50724         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50725         (u_threshold): Likewise.
50726         (__exp): Call __ieee754_exp before checking for overflow and
50727         underflow.
50728         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50729         (u_threshold): Likewise.
50730         (__expf): Call __ieee754_expf before checking for overflow and
50731         underflow.
50732         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50733         (u_threshold): Likewise.
50734         (__expl): Call __ieee754_expl before checking for overflow and
50735         underflow.
50736         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50737         (__ieee754_expl): Allow for and saturate large arguments.
50738         * math/libm-test.inc (exp_test): Add another test.  Do not allow
50739         missing overflow exception on overflow.
50740         (expm1_test): Do not allow missing overflow exception on overflow.
50742         * sysdeps/i386/fpu/e_expl.c: Move to ...
50743         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
50744         rather than using inline asm.
50745         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50746         * sysdeps/x86_64/fpu/e_expl.S: Copy from
50747         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50749         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50750         (nice): Likewise.
50751         (poll): Likewise.
50752         (signal): Likewise.
50753         (time): Likewise.
50754         (times): Likewise.
50756 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50758         * sysdeps/unix/syscalls.list (adjtime): Add entry from
50759         sysdeps/unix/common/syscalls.list.
50760         (fchmod): Likewise.
50761         (fchown): Likewise.
50762         (ftruncate): Likewise.
50763         (getrusage): Likewise.
50764         (gettimeofday): Likewise.
50765         (setpgid): Likewise.
50766         (setregid): Likewise.
50767         (setreuid): Likewise.
50768         (sigaction): Likewise.
50769         (truncate): Likewise.
50770         (vhangup): Likewise.
50771         * sysdeps/unix/common/syscalls.list: Remove file.
50772         * sysdeps/unix/bsd/Implies: Don't include unix/common.
50773         * sysdeps/unix/sysv/linux/Implies: Likewise.
50775 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
50777         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50779         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50780         Moved to ...
50781         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50782         Here.
50783         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50784         to ...
50785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50786         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50787         to ...
50788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50789         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50790         to ...
50791         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50792         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50793         to ...
50794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50795         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50796         to ...
50797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50798         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50799         to ...
50800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50801         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50802         to ...
50803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50804         Here.
50805         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50806         to ...
50807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50808         Here.
50809         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50810         to ...
50811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50812         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50813         Moved to ...
50814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50815         Here.
50816         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50817         to ...
50818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50820 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50822         * sysdeps/unix/common/bits/dirent.h: Remove file.
50823         * sysdeps/unix/common/bits/fcntl.h: Likewise.
50825         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50826         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50827         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50828         * sysdeps/unix/bsd/isatty.c: Likewise.
50829         * sysdeps/unix/bsd/tcdrain.c: Likewise.
50830         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50831         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50833 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50835         [BZ #13563]
50836         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50837         long double comparison inaccuracies.
50838         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50841 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
50843         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50844         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50846 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50848         [BZ #14049]
50849         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50850         nonzero digits before rounding a hex value.
50851         * stdlib/tst-strtod.c (tests): Add another test.
50853 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50855         * sysdeps/s390/fpu/libm-test-ulps: Update.
50857 2012-05-03  Andreas Jaeger  <aj@suse.de>
50859         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50860         does not get optimized out.
50861         (malloc_opt_barrier): New.
50863 2012-05-03  Andreas Jaeger  <aj@suse.de>
50864             Roland McGrath  <roland@hack.frob.com>
50866         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50867         intermediate file deletion.
50868         (generated): Add .symlist files.
50870 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
50872         [BZ #13775]
50873         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50874         Redirect under this condition.
50875         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50876         [__USE_GNU] (__dprintf_chk): Not under this condition.
50877         [__USE_GNU] (__vdprintf_chk): Likewise.
50878         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50879         under this condition.
50880         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50881         [__USE_XOPEN2K8] (dprintf): Define under this condition.
50882         [__USE_XOPEN2K8] (vdprintf): Likewise.
50883         [__USE_GNU] (__dprintf_chk): Not under this condition.
50884         [__USE_GNU] (__vdprintf_chk): Likewise.
50885         [__USE_GNU] (dprintf): Likewise.
50886         [__USE_GNU] (vdprintf): Likewise.
50888 2012-05-03  Roland McGrath  <roland@hack.frob.com>
50890         * elf/Makefile (common-generated): Set this instead of generated for
50891         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
50892         $(all-built-dso)-derived lists.
50894 2012-05-03  Andreas Jaeger  <aj@suse.de>
50896         * sysdeps/i386/fpu/libm-test-ulps: Update.
50898         * FAQ: Removed.
50899         * FAQ.in: Likewise.
50900         * scripts/gen-FAQ.pl: Likewise.
50901         * manual/install.texi (Installation): Point to online location of
50902         FAQ.
50903         * Makefile (files-for-dist): Remove FAQ.
50904         (FAQ): Remove.
50906 2012-05-02  Allan McRae  <allan@archlinux.org>
50908         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50909         (LDFLAGS-reldepmod5.so): Likewise.
50910         (LDFLAGS-reldep6mod1.so): Likewise.
50911         (LDFLAGS-reldep6mod4.so): Likewise.
50912         (LDFLAGS-reldep8mod3.so): Likewise.
50913         (LDFLAGS-unload4mod1.so): Likewise.
50914         (LDFLAGS-unload4mod2.so): Likewise.
50915         (LDFLAGS-tst-initorder): Likewise.
50916         (LDFLAGS-tst-initordera2.so): Likewise.
50917         (LDFLAGS-tst-initordera3.so): Likewise.
50918         (LDFLAGS-tst-initordera4.so): Likewise.
50919         (LDFLAGS-tst-initorderb2.so): Likewise.
50920         (LDFLAGS-noload): Likewise.
50921         (LDFLAGS-next): Likewise.
50922         (LDFLAGS-order2mod1.so): Likewise.
50923         (LDFLAGS-order2mod2.so): Likewise.
50924         (LDFLAGS-tst-initorder2): Likewise.
50925         (LDFLAGS-tst-initorder2a.so): Likewise.
50926         (LDFLAGS-tst-initorder2b.so): Likewise.
50927         (LDFLAGS-tst-initorder2c.so): Likewise.
50928         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50930 2012-05-02  David S. Miller  <davem@davemloft.net>
50932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50934 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
50936         [BZ #14055]
50937         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50939 2012-05-02  Andreas Jaeger  <aj@suse.de>
50941         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50942         since we manipulate rounding mode.
50943         (CPPFLAGS-test-idouble.c): Likewise.
50944         (CPPFLAGS-test-ifloat.c): Likewise.
50945         (CFLAGS-test-ldouble.c): Likewise.
50946         (CFLAGS-test-double.c): Likewise.
50947         (CFLAGS-test-float.c): Likewise.
50948         (CFLAGS-test-misc.c): Likewise.
50949         (CFLAGS-test-test-fenv.c): Likewise.
50951 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50953         [BZ #2550]
50954         [BZ #2570]
50955         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50956         comparisons to determine direction to adjust input.
50958 2012-05-01  Roland McGrath  <roland@hack.frob.com>
50960         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50961         output to the target.
50963         * scripts/localplt.awk: New file.
50964         * elf/Makefile ($(objpfx)check-localplt): Target removed.
50965         (check-localplt-CFLAGS): Variable removed.
50966         ($(all-built-dso:=.jmprel)): New static pattern rule.
50967         (generated): Add those targets.
50968         (localplt-built-dso): New variable.
50969         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50971         * elf/check-localplt.c: File removed.
50973         * scripts/check-execstack.awk: New file.
50974         * elf/Makefile ($(objpfx)check-execstack): Target removed.
50975         (check-execstack-CFLAGS): Variable removed.
50976         ($(objpfx)check-execstack.h): Target removed.
50977         ($(objpfx)execstack-default): New target.
50978         (generated): Add that instead of check-execstack.h.
50979         ($(all-built-dso:=.phdr)): New static pattern rule.
50980         (generated): Add those targets.
50981         * elf/check-execstack.c: File removed.
50983         * scripts/check-textrel.awk: New file.
50984         * elf/Makefile ($(objpfx)check-textrel): Target removed.
50985         (check-textrel-CFLAGS): Variable removed.
50986         (all-built-dso): Use := to define.o
50987         ($(all-built-dso:=.dyn)): New static pattern rule.
50988         (generated): Add those targets.
50989         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
50990         * config.make.in (READELF): New substituted variable.
50991         * elf/check-textrel.c: File removed.
50993 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50995         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50996         allow.
50997         * conform/data/ctype.h-data [C99-based standards] (isblank):
50998         Expect function.
50999         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51000         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51001         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51002         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51003         Specify type.  Require positive value.
51004         (EILSEQ): Likewise.
51005         (ERANGE): Likewise.
51006         [ISO || POSIX] (EILSEQ): Do not expect.
51007         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51008         Specify type.  Require positive value.
51009         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51010         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51011         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51012         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51013         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51014         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51015         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51016         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51017         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51018         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51019         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51020         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51021         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51022         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51023         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51024         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51025         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51026         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51027         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51028         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51029         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51030         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51031         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51032         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51033         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51034         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51035         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51036         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51037         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51038         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51039         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51040         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51041         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51042         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51043         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51044         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51045         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51046         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51047         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51048         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51049         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51050         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51051         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51052         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51053         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51054         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51055         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51056         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51057         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51058         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51059         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51060         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51061         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51062         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51063         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51064         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51065         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51066         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51067         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51068         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51069         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51070         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51071         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51072         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51073         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51074         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51075         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51076         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51077         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51078         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51079         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51080         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51081         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51082         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51083         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51084         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51085         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51086         Require >= 2.
51087         (FLT_ROUNDS): Expect as macro, not constant.
51088         (FLT_MANT_DIG): Use macro-int-constant.
51089         (DBL_MANT_DIG): Likewise.
51090         (LDBL_MANT_DIG): Likewise.
51091         (FLT_DIG): Likewise.
51092         (DBL_DIG): Likewise.
51093         (LDBL_DIG): Likewise.
51094         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51095         (DBL_MIN_EXP): Likewise.
51096         (LDBL_MIN_EXP): Likewise.
51097         (FLT_MAX_EXP): Use macro-int-constant.
51098         (DBL_MAX_EXP): Likewise.
51099         (LDBL_MAX_EXP): Likewise.
51100         (FLT_MAX_10_EXP): Likewise.
51101         (DBL_MAX_10_EXP): Likewise.
51102         (LDBL_MAX_10_EXP): Likewise.
51103         (FLT_MAX): Use macro-constant.
51104         (DBL_MAX): Likewise.
51105         (LDBL_MAX): Likewise.
51106         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51107         (DBL_EPSILON): Likewise.
51108         (LDBL_EPSILON): Likewise.
51109         (FLT_MIN): Likewise.
51110         (DBL_MIN): Likewise.
51111         (LDBL_MIN): Likewise.
51112         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51113         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51114         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51115         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51116         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51117         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51118         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51119         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51120         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51121         [ISO11] (FLT_TRUE_MIN): Likewise.
51122         [ISO11] (LDBL_TRUE_MIN): Likewise.
51123         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51124         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51125         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51126         (SCHAR_MAX): Likewise.
51127         (UCHAR_MAX): Likewise.
51128         (CHAR_MIN): Likewise.
51129         (CHAR_MAX): Likewise.
51130         (MB_LEN_MAX): Use macro-int-constant.
51131         (SHRT_MIN): Use macro-int-constant.  Specify type.
51132         (SHRT_MAX): Likewise.
51133         (USHRT_MAX): Likewise.
51134         (INT_MAX): Likewise.
51135         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51136         bound negative.
51137         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51138         bound with "U".
51139         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51140         bound with "L".
51141         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51142         bound negative.  Suffix upper bound with "L".
51143         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51144         bound with "UL".
51145         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51146         Specify type.
51147         [C99-based standards] (LLONG_MAX): Likewise.
51148         [C99-based standards] (ULLONG_MAX): Likewise.
51149         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51150         == 0.
51151         [ISO11] (max_align_t): Require type.
51152         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51154         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51155         from $CFLAGS, without defining away __attribute__ calls.
51156         (checknamespace): Use $CFLAGS_namespace.
51158         * conform/conformtest.pl (@keywords): Only include C99 keywords
51159         for standards based on C99 or C11.
51161         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51162         Disable tests.
51163         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51164         UNIX98]: Likewise.
51166         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51167         usability of symbols in #if.
51169         * conform/conformtest.pl: If macro or constant types start
51170         "promoted:", expect the symbol to be of the following type
51171         promoted by the integer promotions.
51173         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51174         in one place.  Also handle "macro-constant".
51176         * conform/conformtest.pl: Only accept expected macro values with
51177         "==".  Parse all "macro" lines in one place.
51178         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51180         * conform/conformtest.pl: Handle braced types on "constant" lines
51181         instead of handling "typed-constant".
51182         * conform/data/signal.h-data: Use "constant" instead of
51183         "typed-constant".
51185         * conform/conformtest.pl: Handle "optional-" at start of lines in
51186         one place rather than duplicating several cases.  Handle each
51187         format of "macro" line with initial "optional-".
51189         * conform/conformtest.pl: Only accept expected constant or
51190         optional-constant values with "==".  Parse all "constant" lines in
51191         one place.  Parse all "optional-constant" lines in one place.
51192         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51193         * conform/data/fmtmsg.h-data: Likewise.
51194         * conform/data/netinet/in.h-data: Likewise.
51195         * conform/data/tar.h-data: Likewise.
51196         * conform/data/limits.h-data: Use "==" form on "constant" and
51197         "optional-constant" lines.
51199         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51200         Use -std=c99 for XOPEN2K.
51201         (@knownproblems): Remove.
51202         (newtoken): Don't check %isknown.
51204         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51205         Do not expect macro.
51206         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51207         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51208         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51209         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51210         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51211         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51212         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51213         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51214         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51215         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51216         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51217         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51218         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51219         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51220         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51221         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51222         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51223         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51224         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51225         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51226         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51227         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51228         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51229         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51230         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51231         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51232         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51233         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51234         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51235         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51236         [XPG3] (acosh): Likewise.
51237         [XPG3] (asinh): Likewise.
51238         [XPG3] (atanh): Likewise.
51239         [XPG3] (cbrt): Likewise.
51240         [XPG3] (expm1): Likewise.
51241         [XPG3] (ilogb): Likewise.
51242         [XPG3] (log1p): Likewise.
51243         [XPG3] (logb): Likewise.
51244         [XPG3] (nextafter): Likewise.
51245         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51246         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51247         [XPG3] (remainder): Likewise.
51248         [XPG3] (rint): Likewise.
51249         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51250         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51251         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51252         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51253         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51254         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51255         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51256         [UNIX98 || XOPEN2K] (scalb): Expect.
51257         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51258         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51259         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51260         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51261         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51262         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51263         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51264         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51265         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51266         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51267         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51268         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51269         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51270         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51271         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51272         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51273         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51274         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51275         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51276         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51277         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51278         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51279         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51280         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51281         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51282         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51283         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51284         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51285         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51286         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51287         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51288         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51289         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51290         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51291         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51292         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51293         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51294         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51295         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51296         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51297         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51298         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51299         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51300         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51301         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51302         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51303         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51304         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51305         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51306         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51307         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51308         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51309         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51310         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51311         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51312         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51313         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51314         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51315         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51316         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51317         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51318         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51319         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51320         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51321         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51322         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51323         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51324         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51325         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51326         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51327         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51328         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51329         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51330         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51331         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51332         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51333         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51334         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51335         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51336         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51337         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51338         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51339         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51340         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51341         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51342         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51343         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51344         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51345         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51346         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51347         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51348         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51349         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51350         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51351         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51352         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51353         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51354         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51355         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51356         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51357         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51358         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51359         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51360         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51361         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51362         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51363         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51364         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51365         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51366         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51367         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51368         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51369         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51370         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51371         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51372         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51373         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51374         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51375         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51376         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51377         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51378         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51379         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51380         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51381         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51382         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51383         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51384         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51385         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51386         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51387         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51388         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51389         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51390         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51391         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51392         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51393         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51395         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51396         _XOPEN_SOURCE_EXTENDED for XPG4.
51398         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51400         * Makeconfig (localtime): Remove variable.
51401         (inst_localtime-file): Likewise.
51403 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51406         Update.
51407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51408         Update.
51409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51410         Update.
51411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51412         Update.
51413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51414         Update.
51415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51416         Update.
51417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51418         Update.
51419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51420         Update.
51421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51422         Update.
51424 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51426         [BZ #2550]
51427         [BZ #2570]
51428         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51429         comparisons to determine direction to adjust input.
51430         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51431         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51432         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51433         Likewise.
51434         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51435         Likewise.
51436         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51437         Likewise.
51438         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51439         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51440         Likewise.
51441         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51442         Likewise.
51443         * math/libm-test.inc (nexttoward_test): Add more tests.
51445 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51447         [BZ #14040]
51448         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51449         in version GLIBC_2.1, not GLIBC_2.0.
51450         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51451         Likewise.
51453 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
51455         [BZ #13942]
51456         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51457         (1 - x) * (1 + x).
51458         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51459         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51460         * math/libm-test.inc (acos_test): Add more tests.
51461         (asin_test): Likewise.
51462         * sysdeps/i386/fpu/libm-test-ulps: Update.
51463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51465         [BZ #14034]
51466         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51467         of square root.
51468         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51469         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51470         * math/libm-test.inc (acos_test_tonearest): New function.
51471         (acos_test_towardzero): Likewise.
51472         (acos_test_downward): Likewise.
51473         (acos_test_upward): Likewise.
51474         (asin_test_tonearest): Likewise.
51475         (asin_test_towardzero): Likewise.
51476         (asin_test_downward): Likewise.
51477         (asin_test_upward): Likewise.
51478         (main): Call the new functions.
51479         * sysdeps/i386/fpu/libm-test-ulps: Update.
51480         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51482         [BZ #13884]
51483         [BZ #13924]
51484         * math/e_exp10.c: Include <float.h>.
51485         (__ieee754_exp10): Handle underflow here rather than multiplying
51486         large negative argument by M_LN10.
51487         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51488         of __ieee754_expf.
51489         * math/e_exp10l.c: Include <float.h>.
51490         (__ieee754_exp10l): Handle underflow here rather than multiplying
51491         large negative argument by M_LN10l.
51492         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
51493         spurious overflow exception on underflow.
51495 2012-04-29  Marek Polacek  <polacek@redhat.com>
51497         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51498         (__fortify_function): New macro.
51499         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51500         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51501         __extern_always_inline.
51502         * libio/bits/stdio2.h: Likewise.
51503         * libio/bits/stdio.h: Likewise.
51504         * string/string.h: Likewise.
51505         * string/bits/string3.h: Likewise.
51506         * include/stdio.h: Likewise.
51507         * stdlib/bits/stdlib.h: Likewise.
51508         * stdlib/stdlib.h: Likewise.
51509         * rt/bits/mqueue2.h: Likewise.
51510         * rt/mqueue.h: Likewise.
51511         * posix/bits/unistd.h: Likewise.
51512         * posix/unistd.h: Likewise.
51513         * io/bits/poll2.h: Likewise.
51514         * io/bits/fcntl2.h: Likewise.
51515         * io/fcntl.h: Likewise.
51516         * io/sys/poll.h: Likewise.
51517         * misc/bits/syslog.h: Likewise.
51518         * misc/bits/syslog-ldbl.h: Likewise.
51519         * misc/sys/syslog.h: Likewise.
51520         * socket/bits/socket2.h: Likewise.
51521         * socket/sys/socket.h: Likewise.
51522         * debug/tst-chk1.c: Likewise.
51523         * wcsmbs/bits/wchar2.h: Likewise.
51524         * wcsmbs/bits/wchar-ldbl.h: Likewise.
51525         * wcsmbs/wchar.h: Likewise.
51527 2012-04-29  Andreas Jaeger  <aj@suse.de>
51529         * Makerules (tests): Remove enable-check-abi protection.
51530         (check-abi-warn): Remove.
51531         (check-abi-%): Remove check-abi-warn usage.
51533         * configure.in: Remove check-abi configure option.
51534         * configure: Regenerated.
51535         * config.make.in (enable-check-abi): Remove.
51537 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
51539         [BZ #14033]
51540         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51541         double functions to double *_finite functions.
51543         [BZ #13941]
51544         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51545         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51546         LDBL_MIN_EXP.
51547         * stdio-common/Makefile (tests): Add tst-sprintf3.
51548         * stdio-common/tst-sprintf3.c: New file.
51550         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51551         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51553 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51555         * conform/conformtest.pl: Remove duplicate typed-constant
51556         handling.
51558 2012-04-28  David S. Miller  <davem@davemloft.net>
51560         * Makerules (%.abilist): Add vpath on sysdep_dirs.
51561         (check-abi-%): Remove AWK script prerequisite and explicit
51562         abilist directory.
51563         (check-abi): Rewrite to just diff the symlist with the abilist.
51564         (config-tls, config-abi-config): Delete, no longer used.
51565         (update-abi-%): Remove AWK script and explicit abilist directory.
51566         (update-abi): Rewrite to simply compare and conditionally copy the
51567         symlist and the sysdep abilist file.  Remove update-abi-config
51568         checks.
51569         * abilist/ld.abilist: Remove.
51570         * abilist/libBrokenLocale.abilist: Remove.
51571         * abilist/libanl.abilist: Remove.
51572         * abilist/libcrypt.abilist: Remove.
51573         * abilist/libdl.abilist: Remove.
51574         * abilist/librt.abilist: Remove.
51575         * abilist/libthread_db.abilist: Remove.
51576         * abilist/libutil.abilist: Remove.
51577         * scripts/extract-abilist.awk: Remove.
51578         * scripts/merge-abilist.awk: Remove.
51579         * sysdeps/generic/libcidn.abilist: New file.
51580         * sysdeps/generic/libnss_compat.abilist: New file.
51581         * sysdeps/generic/libnss_db.abilist: New file.
51582         * sysdeps/generic/libnss_dns.abilist: New file.
51583         * sysdeps/generic/libnss_files.abilist: New file.
51584         * sysdeps/generic/libnss_hesiod.abilist: New file.
51585         * sysdeps/generic/libnss_nis.abilist: New file.
51586         * sysdeps/generic/libnss_nisplus.abilist: New file.
51587         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51588         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51589         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51590         file.
51591         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51592         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51593         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51594         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51595         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51596         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51597         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51598         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51599         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51600         file.
51601         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51602         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51603         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51604         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51605         file.
51606         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
51607         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51608         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
51609         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
51610         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
51611         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
51612         file.
51613         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
51614         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
51615         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
51616         file.
51617         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
51618         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
51619         New file.
51620         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
51621         New file.
51622         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
51623         New file.
51624         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
51625         New file.
51626         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
51627         New file.
51628         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
51629         New file.
51630         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
51631         New file.
51632         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
51633         New file.
51634         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
51635         New file.
51636         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
51637         New file.
51638         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
51639         New file.
51640         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
51641         New file.
51642         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
51643         New file.
51644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
51645         file.
51646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
51647         New file.
51648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
51649         New file.
51650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
51651         file.
51652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
51653         New file.
51654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
51655         New file.
51656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
51657         file.
51658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
51659         New file.
51660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51661         New file.
51662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
51663         New file.
51664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
51665         New file.
51666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
51667         New file.
51668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51669         New file.
51670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51672         file.
51673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51674         New file.
51675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51676         file.
51677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51678         file.
51679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51680         file.
51681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51682         file.
51683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51684         file.
51685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51686         New file.
51687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51688         file.
51689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51690         file.
51691         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51692         New file.
51693         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51694         file.
51695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51697         file.
51698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51699         New file.
51700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51701         file.
51702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51703         file.
51704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51705         file.
51706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51707         file.
51708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51709         file.
51710         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51711         New file.
51712         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51713         file.
51714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51715         file.
51716         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51717         New file.
51718         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51719         file.
51720         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51721         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51722         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51723         file.
51724         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51725         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51726         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51727         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51728         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51729         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51730         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51731         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51732         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51733         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51736         file.
51737         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51738         New file.
51739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51740         file.
51741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51742         file.
51743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51744         file.
51745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51746         file.
51747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51748         file.
51749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51750         New file.
51751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51752         New file.
51753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51754         file.
51755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51756         New file.
51757         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51758         file.
51759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51761         file.
51762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51763         New file.
51764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51765         file.
51766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51767         file.
51768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51769         file.
51770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51771         file.
51772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51773         file.
51774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51775         New file.
51776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51777         New file.
51778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51779         file.
51780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51781         New file.
51782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51783         file.
51785 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51787         * conform/conformtest.pl: Fix typo in handling typed-constant from
51788         allow-header.
51790 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51792         * README: Cut down references to pre-2.6 Linux kernels and
51793         Linuxthreads.  Update lists of configurations in libc and ports
51794         and sort alphabetically.  Say "or newer" with Linux kernel version
51795         requirements.
51797         * config.h.in [IS_IN_build]: Allow compiling without optimization.
51799 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51801         [BZ #887]
51802         * math/libm-test.inc (logb_test_downward): New test to expose
51803         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51804         rounding mode.
51806 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51808         [BZ #14027]
51809         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51810         to be done.
51811         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51812         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51814 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
51816         * sysdeps/unix/i386/brk.S: Remove file.
51817         * sysdeps/unix/i386/dl-brk.S: Likewise.
51818         * sysdeps/unix/i386/pipe.S: Likewise.
51819         * sysdeps/unix/i386/sigreturn.S: Likewise.
51820         * sysdeps/unix/i386/syscall.S: Likewise.
51821         * sysdeps/unix/i386/vfork.S: Likewise.
51822         * sysdeps/unix/i386/wait.S: Likewise.
51824         * sysdeps/unix/common/tcsendbrk.c: Move to ...
51825         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51827         * configure.in (arm*-none*): Do not allow without
51828         --enable-hacker-mode.
51829         (netbsd*): Remove case setting base_os.
51830         (386bsd*): Likewise.
51831         (freebsd*): Likewise.
51832         (bsdi*): Likewise.
51833         (osf*): Likewise.
51834         (sunos*): Likewise.
51835         (ultrix*): Likewise.
51836         (newsos*): Likewise.
51837         (dynix*): Likewise.
51838         (*bsd*): Likewise.
51839         (sysv*): Likewise.
51840         (isc*): Likewise.
51841         (esix*): Likewise.
51842         (sco*): Likewise.
51843         (minix*): Likewise.
51844         (irix4*): Likewise.
51845         (irix6*): Likewise.
51846         (solaris[2-9]*): Likewise.
51847         (none): Likewise.
51848         * configure: Regenerated.
51850 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51852         [BZ #11521]
51853         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51854         overflow or cancellation in calculating denominator.
51855         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51856         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51857         down expression to avoid unexpected rounding in newer GCCs.
51858         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51860 2012-04-26  David S. Miller  <davem@davemloft.net>
51862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51863         long-double compat symbols.
51864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51878 2012-04-25  David S. Miller  <davem@davemloft.net>
51880         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51881         HWCAP_* values only after the memory barriers have been defined.
51882         (atomic_full_barrier): Define.
51883         (atomic_read_barrier): Define.
51884         (atomic_write_barrier): Define.
51886 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51888         * shlib-versions: Add libgcc_s version information.
51889         * sysdeps/generic/libgcc_s.h: Remove.
51890         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51891         libgcc_s.h.
51892         * sysdeps/gnu/unwind-resume.c: Likewise.
51893         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51895 2012-04-25  David S. Miller  <davem@davemloft.net>
51897         * sysdeps/unix/sparc/brk.S: Delete.
51898         * sysdeps/unix/sparc/dl-brk.S: Delete.
51899         * sysdeps/unix/sparc/pipe.S: Delete.
51900         * sysdeps/unix/sparc/sysdep.S: Delete.
51901         * sysdeps/unix/sparc/sysdep.h: Delete.
51902         * sysdeps/unix/sparc/vfork.S: Delete.
51903         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51904         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51905         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51906         (ret_ERRVAL, r0, r1, MOVE): Define.
51907         (JUMPTARGET): Remove.
51908         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51909         sysdeps/unix/sparc/sysdep.h
51910         (ENTRY, END): Remove.
51911         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51913 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
51915         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51916         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51917         -DIS_IN_build.
51919         * timezone/README: Update upstream location and email address for
51920         tzcode and tzdata.
51921         * timezone/zdump.c: Update from tzcode 2012b.
51922         * timezone/zic.c: Likewise.
51924         * configure.in (libc_cv_as_needed): Remove test.
51925         * configure: Regenerated.
51926         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51927         conditional definition.
51928         [$(have-as-needed) != yes] (no-as-needed): Likewise.
51929         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51930         * config.make.in (have-as-needed): Remove variable.
51932 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51933             Paul Pluzhnikov  <ppluzhnikov@google.com>
51935         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51936         strings correctly.
51938 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
51940         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51941         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51942         * sysdeps/sh/strlen.S: Likewise.
51944 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51946         * sysdeps/unix/fork.S: Remove file.
51947         * sysdeps/unix/i386/fork.S: Likewise.
51948         * sysdeps/unix/sparc/fork.S: Likewise.
51950         * sysdeps/unix/system.c: Remove file.
51951         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51953         * sysdeps/unix/getegid.S: Remove file.
51954         * sysdeps/unix/geteuid.S: Likewise.
51956 2012-04-24  Roland McGrath  <roland@hack.frob.com>
51958         * scripts/check-localplt.awk: New file.
51959         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51960         of diff.
51961         * scripts/data/localplt-generic.data: Add a comment.
51963         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51964         NODE when __dir_mkfile failed.
51965         * sysdeps/mach/hurd/symlinkat.c: Likewise.
51966         Reported by Ludovic Courtès <ludo@gnu.org>.
51968 2012-04-24  Andreas Jaeger  <aj@suse.de>
51970         * Makerules (common-clean): Also remove gen-as-const-headers
51971         files.
51973 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51975         * Makerules (native-compile): Do not change working directory for
51976         build.  Use $(OUTPUT_OPTION) in command.
51977         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51979 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51981         [BZ #13886]
51982         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51983         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51984         * math/libm-test.inc (floor_test): Add more tests.
51985         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
51987 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51989         * sysdeps/unix/getdents.c: Remove file.
51990         * sysdeps/unix/sysv/getdents.c: Likewise.
51991         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
51993         * sysdeps/unix/syscalls.list (madvise): Add syscall from
51994         sysdeps/unix/mman/syscalls.list.
51995         (mmap): Likewise.
51996         (mprotect): Likewise.
51997         (msync): Likewise.
51998         (munmap): Likewise.
51999         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52000         * sysdeps/unix/mman/syscalls.list: Remove.
52001         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52003         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52004         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52005         * configure: Regenerated.
52006         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52007         $(libgcc_s_suffix).
52008         * config.make.in (libgcc_s_suffix): Remove variable.
52010 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52012         * sysdeps/unix/sysv/gethostname.c: Move to ...
52013         * sysdeps/posix/gethostname.c: ... here.
52015         * sysdeps/unix/execve.S: Remove file.
52017         * sysdeps/unix/_exit.S: Remove file.
52019 2012-04-23  Andreas Jaeger  <aj@suse.de>
52021         [BZ #13739]
52022         * manual/Makefile: Remove make dist support, there's no
52023         need for a stand-alone documentation tar ball.
52024         (TEXI2DVI): Define always, it's not in Makeconfig.
52025         (dist): Removed.
52026         (tar-it): Removed.
52027         (edition): Removed.
52028         (glibc-doc-$(edition).tar): Removed
52029         (%.Z): Removed.
52030         (%.gz): Removed.
52031         (%.uu): Removed.
52032         (ETAGS): Remove, it's in Makeconfig.
52033         (move-if-change): Remove, it's in Makeconfig.
52035 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52037         [BZ #13970]
52038         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52039         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52040         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52041         (strtod_l, strtof_l, strtold_l): Remove __wur.
52042         It is not necessarily an error to ignore strtol's return value.
52043         One can reliably look at the stored endptr to decide whether
52044         the number had valid syntax.
52046 2012-04-21  Andreas Jaeger  <aj@suse.de>
52048         [BZ #13739]
52049         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52051 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52053         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52054         * sysdeps/unix/sysv/Versions: Remove file.
52056 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52058         [BZ #13927]
52059         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52061 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52063         [BZ #7064]
52064         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52065         version from __vm86.
52067 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52069         * sysdeps/unix/common/lxstat.c: Remove file.
52070         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52072         * sysdeps/unix/sysv/Makefile: Remove file.
52074         * sysdeps/unix/sysv/direct.h: Remove file.
52076         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52077         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52078         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52079         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52080         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52081         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52082         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52084         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52086         * sysdeps/unix/xmknod.c: Remove file.
52087         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52089         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52091         * sysdeps/unix/sysv/i386/time.S: Remove file.
52093         * sysdeps/unix/fxstat.c: Remove file.
52094         * sysdeps/unix/xstat.c: Likewise.
52095         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52097         * sysdeps/unix/sysv/sigaction.c: Remove file.
52099         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52100         (sysdep_headers): Remove variable.
52101         [termio.h not in sysdep_headers] (generated): Likewise.
52102         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52103         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52104         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52105         * sysdeps/unix/sysv/tcflow.c: Likewise.
52106         * sysdeps/unix/sysv/tcflush.c: Likewise.
52107         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52108         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52109         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52110         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52111         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52113         * sysdeps/unix/siglist.c: Remove file.
52115         * sysdeps/unix/getppid.S: Remove file.
52117         * sysdeps/unix/mkdir.c: Remove file.
52118         * sysdeps/unix/rmdir.c: Likewise.
52120 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52122         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52123         ERR_MAX value.
52124         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52125         errlist-compat value.
52127 2012-04-18  David S. Miller  <davem@davemloft.net>
52129         * sysdeps/generic/memcopy.h (reg_char): Delete.
52130         * debug/strcat_chk.c: Use char, not reg_char.
52131         * debug/strcpy_chk.c: Likewise.
52132         * debug/strncat_chk.c: Likewise.
52133         * debug/strncpy_chk.c: Likewise.
52134         * string/memchr.c: Likewise.
52135         * string/memrchr.c: Likewise.
52136         * string/rawmemchr.c: Likewise.
52137         * string/strcat.c: Likewise.
52138         * string/strchr.c: Likewise.
52139         * string/strchrnul.c: Likewise.
52140         * string/strcmp.c: Likewise.
52141         * string/strcpy.c: Likewise.
52142         * string/strncat.c: Likewise.
52143         * string/strncmp.c: Likewise.
52144         * string/strncpy.c: Likewise.
52146 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52148         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52149         __builtin_memcopy is called when src and dest ranges are known to not
52150         overlap.
52152 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52154         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52155         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52156         fwd_align_merge macro call.
52157         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52158         bwd_align_merge macro call.
52159         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52161 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52163         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52164         bwd_align_merge macros.
52165         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52166         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52167         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52169 2012-04-18  David S. Miller  <davem@davemloft.net>
52171         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52173 2012-04-18  Andreas Jaeger  <aj@suse.de>
52175         [BZ# 6794]
52176         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52177         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52178         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52180         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52181         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52182         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52184         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52185         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52186         Adjust for changed ldbl-128 files.
52188         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52189         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52190         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52192 2012-04-17  David S. Miller  <davem@davemloft.net>
52194         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52196 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52198         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52199         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52200         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52201         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52202         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52203         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52205 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52207         [BZ #6794]
52208         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52209         * math/libm-test.inc: Add ilogb errno and exception tests.
52210         * math/w_ilogb.c: New file: ilogb wrapper.
52211         * math/w_ilogbf.c: New file: ilogbf wrapper.
52212         * math/w_ilogbl.c: New file: ilogbl wrapper.
52213         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52214         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52215         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52216         exception being thrown with 0.0 as argument.
52217         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52218         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52219         exception being thrown with 0.0 as argument.
52220         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52221         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52222         exception being thrown with 0.0 as argument.
52223         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52224         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52225         exception being thrown with 0.0 as argument.
52226         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52227         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52228         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52229         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52230         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52231         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52232         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52233         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52234         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52236 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52238         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52239         with altivec.
52241 2012-04-16  Marek Polacek  <polacek@redhat.com>
52243         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52245 2012-04-16  Marek Polacek  <polacek@redhat.com>
52247         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52248         operands of fdivp instruction.
52250 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52252         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52253         * elf/tst-auditmod3b.c: Likewise.
52254         * elf/tst-auditmod4b.c: Likewise.
52255         * elf/tst-auditmod5b.c: Likewise.
52256         * elf/tst-auditmod6b.c: Likewise.
52257         * elf/tst-auditmod6c.c: Likewise.
52258         * elf/tst-auditmod7b.c: Likewise.
52259         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52260         * sysdeps/x86_64/preconfigure.in: Likewise.
52261         * sysdeps/x86_64/preconfigure: Regenerated.
52263 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52265         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52266         __ILP32__.
52268 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52270         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52271         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52273 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52275         [BZ #13973]
52276         * locale/iso-639.def: Fix gl language name. Spotted by
52277         Yaron Shahrabani.
52279 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52281         [BZ #2074]
52282         * libio/libio.h (__io_write_fn): Update comment.
52284 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52286         [BZ #2074]
52287         * stdio.texi (Hook Functions): The user provided writer function
52288         is not allowed to return -1.
52290 2012-04-11  David S. Miller  <davem@davemloft.net>
52292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52294 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52296         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52297         Add a leading slash to rtkaio.
52299 2012-04-11  Jim Meyering  <meyering@redhat.com>
52301         [BZ #11959]
52302         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52303         It is not necessarily an error to ignore fwrite's return
52304         value.  One can reliably use ferror to test for errors after
52305         the fact.
52307 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52309         * bits/types.h (__snseconds_t): New type.
52310         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52312         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52313         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52314         (__SNSECONDS_T_TYPE): Likewise.
52315         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52316         (__SNSECONDS_T_TYPE): Likewise.
52317         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52318         (__SNSECONDS_T_TYPE): Likewise.
52320 2012-04-10  Andreas Jaeger  <aj@suse.de>
52322         [BZ #2636]
52323         * manual/time.texi (Processor Time): Return type of times is
52324         elapsed real time since an arbitrary point in the past.
52325         (CPU Time): Move CLK_TCK from here...
52326         (Processor Time): ...to here.  Correct description.
52327         * manual/conf.texi (Constants for Sysconf): Correct description of
52328         _SC_CLK_TCK.
52330 2012-04-10  David S. Miller  <davem@davemloft.net>
52332         [BZ #13967]
52333         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52334         where the is a gap between DT_REL(A) and DT_JMPREL.
52336 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52338         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52339         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52340         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52342 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52344         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52345         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52346         (dl_main): Handle --inhibit-cache.
52347         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52348         _dl_inhibit_cache.
52349         * elf/dl-load.c (_dl_map_object): Use it.
52350         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52352 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52354         [BZ #13872]
52355         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52356         (__ieee754_powl): Saturate large exponents rather than testing for
52357         overflow of y*log2(x).
52358         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52359         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52360         exceptions.
52362         [BZ #11521]
52363         * math/s_ctan.c: Include <float.h>.
52364         (__ctan): Avoid internal overflow or cancellation in calculating
52365         denominator.
52366         * math/s_ctanf.c: Likewise.
52367         * math/s_ctanl.c: Likewise.
52368         * math/s_ctanh.c: Likewise.
52369         * math/s_ctanhf.c: Likewise.
52370         * math/s_ctanhl.c: Likewise.
52371         * math/libm-test.inc (ctan_test): Add more tests.
52372         (ctanh_test): Likewise.
52373         * sysdeps/i386/fpu/libm-test-ulps: Update.
52374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52376 2012-04-09  Andreas Jaeger  <aj@suse.de>
52378         [BZ #6894]
52379         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52380         is an optional BSD extension.
52382         [BZ #10254]
52383         * manual/stdio.texi (Opening Streams): Document additional fopen
52384         parameters.
52386 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52388         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52389         %eax without telling the compiler.
52391 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52393         [BZ # 13963]
52394         * manual/install.texi: Use sourceware.org.
52396 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52398         [BZ #13873]
52399         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52400         (__ieee754_pow): Generate overflow and underflow using huge*huge
52401         and tiny*tiny rather than just returning constant infinity or zero
52402         for large exponents.
52403         * math/libm-test.inc (pow_test): Require overflow exceptions for
52404         applicable cases of large exponents.
52406         [BZ #706]
52407         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52408         (__ieee754_pow): Use iterative multiplication algorithm only for
52409         integer exponents with absolute value below 1024.  Check for odd
52410         integer exponents when using algorithm for real exponents.
52411         * math/libm-test.inc (pow_test): Add more tests.
52412         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52414 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52416         [BZ #13705]
52417         * math/libm-test.inc (exp_test): Do not allow overflow exception
52418         on underflow test.
52420 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52422         [BZ #13705]
52423         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52424         instead of __kernel_standard_f.
52426 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52428         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52429         * sysdeps/x86_64/memset_chk.S: Likewise.
52431 2012-04-08  Andreas Jaeger  <aj@suse.de>
52433         [BZ #10153]
52434         * manual/startup.texi (Environment Access): Describe return value
52435         for putenv and setenv.
52437         [BZ #6895]
52438         * manual/filesys.texi (Directory Entries): Add description for
52439         DT_LNK.
52441         [BZ #6890]
52442         * manual/filesys.texi (Directory Entries): Clarify that it's file
52443         system not operating system in the description of DT_UNKNOWN.
52445         [BZ #6578]
52446         * manual/syslog.texi (closelog): Fix reference, it's openlog.
52448 2012-04-08  Stephen Compall  <s11@member.fsf.org>
52450         [BZ #6649]
52451         * manual/llio.texi (Opening and Closing Files): Add cross
52452         reference to explain mode argument.
52454 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
52456         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52457         * sysdeps/x86_64/memset_chk.S: Likewise.
52459 2012-04-07  David S. Miller  <davem@davemloft.net>
52461         * elf/elf.h (R_SPARC_WDISP10): Define.
52462         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52463         R_SPARC_SIZE32.
52464         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52465         R_SPARC_SIZE64 and R_SPARC_H34.
52467 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
52469         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52470         conditions and remove no longer applicable assertion.
52472 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52474         * bits/byteswap.h: Include <features.h>.
52475         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52476         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52478 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52480         * bits/byteswap.h (__bswap_16): Removed.
52481         Include <bits/byteswap-16.h> to get __bswap_16.
52482         * sysdeps/i386/bits/byteswap.h: Likewise.
52483         * sysdeps/s390/bits/byteswap.h: Likewise.
52484         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52485         * bits/byteswap-16.h: New file.
52486         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52487         * sysdeps/s390/bits/byteswap-16.h: Likewise.
52488         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52489         * string/Makefile (headers): Add bits/byteswap-16.h.
52491 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52493         [BZ #13895]
52494         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52495         extra indirection.
52496         * nss/Makefile (tests-static, tests): Add tst-nss-static.
52497         * nss/tst-nss-static.c: New.
52499 2012-04-06  Robert Millan  <rmh@gnu.org>
52501         [BZ #6486]
52502         * manual/llio.texi (File Position Primitive): lseek
52503         refers to WHENCE when it really means OFFSET.
52505 2012-04-06  Andreas Jaeger  <aj@suse.de>
52507         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52508         strncmp declarations.
52510         * abilist/libc.abilist: Add __poll and __ppoll.
52512 2012-04-05  David S. Miller  <davem@davemloft.net>
52514         * scripts/check-local-headers.sh: Accept a host triplet in the
52515         path matched by the exclude regexp.
52517         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52518         definition.
52519         * sysdeps/powerpc/powerpc32/dl-machine.h
52520         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52521         * sysdeps/s390/s390-32/dl-machine.h
52522         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52523         * sysdeps/sparc/sparc32/dl-machine.h
52524         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52525         * sysdeps/sparc/sparc64/dl-machine.h
52526         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52528         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52529         lazy binding.
52530         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52531         undefined symbol errors.
52533         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52534         DT_NEEDED entries.
52536 2012-04-05  Michael Matz  <matz@suse.de>
52538         [BZ #13592]
52539         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52541 2012-04-05  Andreas Jaeger  <aj@suse.de>
52543         [BZ #13908]
52544         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52545         comment.
52547 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52549         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52550         which ROUND is no valid rounding mode.
52552 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52554         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52555         read again.
52556         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52558 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52560         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52561         an exception using FPU order intentionally.
52563 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52565         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52566         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52567         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52568         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52570 2012-04-05  Simon Josefsson  <simon@josefsson.org>
52572         [BZ #12340]
52573         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52574         EINVAL when BUFLEN is too smal.
52576 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52578         [BZ #13553]
52579         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52580         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52582 2012-04-03  Andreas Jaeger  <aj@suse.de>
52584         [BZ #13938]
52585         * manual/setjmp.texi (System V contexts): Fix sentence.
52587         [BZ #13926]
52588         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52589         New macro for this case.
52590         [!__GNUC__] (__bswap_64): New inline function for this case.
52591         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52592         * bits/byteswap.h: Likewise.
52593         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52594         ull, guard with __GLIBC_HAVE_LONG_LONG.
52596         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52597         __GLIBC_HAVE_LONG_LONG.
52599         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52600         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52602 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52604         [BZ #13691]
52605         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52606         inptr and inend, rather than using last_ch.
52608 2012-04-02  David S. Miller  <davem@davemloft.net>
52610         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
52611         * stdio-common/printf-parse.h (read_int): Change return type to
52612         'int', return -1 on INT_MAX overflow.
52613         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
52614         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
52615         overflows INT_MAX.  Check for overflow of in-format-string precision
52616         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
52617         SIZE_MAX not INT_MAX for integer overflow test.
52618         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
52619         skip the construct in the format string but do not record anything.
52620         * stdio-common/bug22.c: Adjust to test both width/prevision
52621         INT_MAX overflow as well as total length INT_MAX overflow.  Check
52622         explicitly for proper errno values.
52624 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52626         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
52627         CHAR_MAX.
52628         * string/test-strcmp.c [! WIDE]: Likewise.
52629         * time/tst-mktime2.c: Likewise for INT_MAX.
52630         * string/test-string.h: #include <sys/param.h> for MIN.
52632         * csu/init-first.c (__libc_init_first): Call __ctype_init.
52633         * sysdeps/i386/init-first.c (init): Likewise.
52634         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
52635         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52636         * sysdeps/sh/init-first.c (init): Likewise.
52638 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
52640         * po/ru.po: Update from translation team.
52641         * po/vi.po: Likewise.
52643 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52645         * resolv/nss_dns/dns-host.c: Merge copyright years.
52647 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52649         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52650         Optimize memcpy with prefetch if
52651         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
52652         src, dst pointers have unequal 16 byte alignments.
52654 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52656         [BZ #13928]
52657         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
52658         from a CNAME entry and return the minimum ttl for the query.
52659         (gaih_getanswer_slice): Likewise.
52661 2012-03-30  Jeff Law  <law@redhat.com>
52663         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
52664         due to long keys.
52665         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
52666         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
52668         * resolv/nss_dns/dns-host.c: Update copyright year.
52670 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
52672         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
52673         requests to save a system call.  Fix check that all bytes are sent.
52675         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52676         comments for sendmmsg.
52678 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52680         [BZ #13691]
52681         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52682         with only 1 character between 0x0041 and 0x01b0.
52683         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52684         * wcsmbs/tst-mbsnrtowcs.c: New file.
52686 2012-03-29  David S. Miller  <davem@davemloft.net>
52688         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52689         small copies by hand.
52691 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52693         [BZ #13761]
52694         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52695         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52696         group memberships.
52698 2012-03-28  David S. Miller  <davem@davemloft.net>
52700         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52701         that branches into memcpy.
52702         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52703         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52704         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52705         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52706         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52707         bits.
52708         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52709         implementation too.
52710         * sysdeps/sparc/mempcpy.S: New file.
52712         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52713         the IFUNC routine in the libc case.
52714         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52716         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52717         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52718         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52719         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52720         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52721         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52722         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52723         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52725         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52726         loop to 256 bytes instead of 64 bytes and fix test signedness.
52728         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52729         * sysdeps/sparc/sparc32/Makefile: rather than here...
52730         * sysdeps/sparc/sparc64/Makefile: and here.
52732 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
52734         * malloc/mallocbug.c: Avoid warnings about unused variables.
52736 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52738         [BZ #13760]
52739         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52740         in the right place. Discard and retry query if response is
52741         larger than input buffer size.
52743 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
52745         [BZ #369]
52746         [BZ #2678]
52747         [BZ #3866]
52748         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52749         x for large integer exponent.
52750         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52751         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
52752         sign of result as needed afterwards.
52753         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52754         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52755         result for underflowing pow the same as for overflow.
52756         (__kernel_standard_l): Handle powl overflow and underflow here
52757         rather than calling __kernel_standard.
52758         * math/libm-test.inc (pow_test): Add more tests.
52760         [BZ #3868]
52761         [BZ #13879]
52762         [BZ #13910]
52763         [BZ #13911]
52764         [BZ #13912]
52765         [BZ #13913]
52766         [BZ #13915]
52767         [BZ #13916]
52768         [BZ #13917]
52769         [BZ #13918]
52770         [BZ #13919]
52771         [BZ #13920]
52772         [BZ #13921]
52773         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52774         * sysdeps/ieee754/k_standard.c: Include <float.h>.
52775         (__kernel_standard_l): New function.
52776         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52777         __kernel_standard.
52778         * math/w_acosl.c (__acosl): Likewise.
52779         * math/w_asinl.c (__asinl): Likewise.
52780         * math/w_atan2l.c (__atan2l): Likewise.
52781         * math/w_atanhl.c (__atanhl): Likewise.
52782         * math/w_coshl.c (__coshl): Likewise.
52783         * math/w_exp10l.c (__exp10l): Likewise.
52784         * math/w_exp2l.c (__exp2l): Likewise.
52785         * math/w_fmodl.c (__fmodl): Likewise.
52786         * math/w_hypotl.c (__hypotl): Likewise.
52787         * math/w_j0l.c (__j0l, __y0l): Likewise.
52788         * math/w_j1l.c (__j1l, __y1l): Likewise.
52789         * math/w_jnl.c (__jnl, __ynl): Likewise.
52790         * math/w_lgammal.c (__lgammal): Likewise.
52791         * math/w_log10l.c (__log10l): Likewise.
52792         * math/w_log2l.c (__log2l): Likewise.
52793         * math/w_logl.c (__logl): Likewise.
52794         * math/w_powl.c (__powl): Likewise.
52795         * math/w_remainderl.c (__remainderl): Likewise.
52796         * math/w_scalbl.c (sysv_scalbl): Likewise.
52797         * math/w_sinhl.c (__sinhl): Likewise.
52798         * math/w_sqrtl.c (__sqrtl): Likewise.
52799         * math/w_tgammal.c (__tgammal): Likewise.
52800         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52801         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52802         * math/libm-test.inc (acos_test): Add more tests.
52803         (acosh_test): Likewise.
52804         (asin_test): Likewise.
52805         (atanh_test): Likewise.
52806         (exp_test): Likewise.
52807         (exp10_test): Likewise.
52808         (exp2_test): Likewise.
52809         (expm1_test): Likewise.
52810         (lgamma_test): Likewise.
52811         (log_test): Likewise.
52812         (log10_test): Likewise.
52813         (log1p_test): Likewise.
52814         (log2_test): Likewise.
52815         (pow_test): Do not allow some spurious overflow exceptions.
52816         (sqrt_test): Add more tests.
52817         (tgamma_test): Likewise.
52818         (y0_test): Likewise.
52819         (y1_test): Likewise.
52820         (yn_test): Likewise.
52822 2012-03-27  Anton Blanchard  <anton@samba.org>
52824         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52825         MAP_HUGETLB.
52826         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52827         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52828         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52830 2012-03-27  David S. Miller  <davem@davemloft.net>
52832         * conform/Makefile: Run run-conformtest.sh using $(BASH).
52834         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52835         have-as-vis3 check.
52837 2012-03-27  Andreas Jaeger  <aj@suse.de>
52839         * sysdeps/x86_64/elf/configure.in: Moved to ...
52840         * sysdeps/x86_64/configure.in: ... here.
52841         * sysdeps/x86_64/elf/start.S: Moved to ...
52842         * sysdeps/x86_64/start.S: ... here.
52843         * sysdeps/x86_64/elf/configure: Delete.
52845         * sysdeps/x86_64/configure.in: Merge contents from
52846         sysdeps/i386/configure.in (without i686 check).
52848         * sysdeps/i386/elf/Versions: Merge into ...
52849         * sysdeps/i386/Versions: ... this.
52850         * sysdeps/i386/elf/Versions: Delete file.
52851         * sysdeps/i386/elf/start.S: Moved to ...
52852         * sysdeps/i386/start.S: ...here.
52853         * sysdeps/i386/elf/configure.in: Merge into...
52854         * sysdeps/i386/configure.in: ...here.
52855         * sysdeps/i386/elf/configure.in: Delete file.
52856         * sysdeps/i386/elf/configure: Delete file.
52858         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52859         * debug/backtracesyms.c: ... here.
52860         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52861         * debug/backtracesymsfd.c: ... here.
52862         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52863         * sysdeps/generic/ifunc-sel.h: ... here.
52865         * sysdeps/unix/i386/start.c: Delete file.
52866         * sysdeps/unix/sparc/start.c: Delete file.
52867         * sysdeps/unix/start.c: Delete file.
52869         * sysdeps/sh/elf/configure.in: Moved to ...
52870         * sysdeps/sh/configure.in: ... here.
52871         * sysdeps/sh/elf/start.S: Moved to ...
52872         * sysdeps/sh/start.S: ... here.
52873         * sysdeps/sh/elf/configure: Delete file.
52875         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52876         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52877         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52878         * sysdeps/powerpc/powerpc64/entry.h: ... here.
52879         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52880         * sysdeps/powerpc/powerpc64/start.S: here.
52881         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52882         * sysdeps/powerpc/powerpc64/Makefile: ... this.
52883         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52884         * sysdeps/powerpc/powerpc64/configure.in: ... this.
52885         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52887         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52888         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52889         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52890         * sysdeps/powerpc/powerpc32/start.S: ... here.
52891         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52892         * sysdeps/powerpc/powerpc32/configure.in: ... this.
52893         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52895         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52896         * sysdeps/powerpc/ifunc-sel.h: ... here.
52897         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52898         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52900         * sysdeps/sparc/elf/configure.in: Moved to ...
52901         * sysdeps/sparc/configure.in: ... here.
52902         * sysdeps/sparc/elf/configure: Delete file.
52903         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52904         * sysdeps/sparc/sparc32/start.S: ... here.
52905         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52906         * sysdeps/sparc/sparc64/start.S: ... here.
52907         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52908         * sysdeps/sparc/sparc32/Makefile: ... this.
52909         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52910         * sysdeps/sparc/sparc64/Makefile: ... this.
52912         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52913         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52914         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52915         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52916         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52917         * sysdeps/s390/s390-32/setjmp.S: ... here.
52918         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52919         * sysdeps/s390/s390-32/configure.in: ... here.
52920         * sysdeps/s390/s390-32/elf/configure: Delete file.
52921         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52922         * sysdeps/s390/s390-32/start.S: ... here.
52924         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52925         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52926         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52927         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52928         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52929         * sysdeps/s390/s390-64/setjmp.S: ... here.
52930         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52931         * sysdeps/s390/s390-64/configure.in: ... here
52932         * sysdeps/s390/s390-64/elf/configure: Delete file.
52933         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52934         * sysdeps/s390/s390-64/start.S: ... here.
52935         * sysdeps/s390/s390-64/elf/configure: Delete.
52937         * configure.in: Remove support for elf directories in sysdeps.
52939         * configure: Regenerated.
52940         * sysdeps/i386/configure: Regenerated.
52941         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52942         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52943         * sysdeps/s390/s390-32/configure: Regenerated.
52944         * sysdeps/s390/s390-64/configure: Regenerated.
52945         * sysdeps/sh/configure: Regenerated.
52946         * sysdeps/sparc/configure: Regenerated.
52947         * sysdeps/x86_64/configure: Regenerated.
52949 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
52951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52953         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52954         denormal result into account.
52956 2012-03-25  Roland McGrath  <roland@hack.frob.com>
52958         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52959         Reported by Allan McRae <allan@archlinux.org>.
52961 2012-03-23  Jeff Law  <law@redhat.com>
52963         * nss/getnssent.c (__nss_getent): Fix typo.
52965 2012-03-23  David S. Miller  <davem@davemloft.net>
52967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52969 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
52971         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52972         to pad to uint64_t for each field.
52973         (dl_tls_index): Replace unsigned long with uint64_t.
52975 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
52976         Paul Pluzhnikov  <ppluzhnikov@google.com>
52978         [BZ #6528]
52979         * grp/Makefile (otherlibs): Don't set it.
52980         * inet/Makefile (otherlibs): Likewise.
52981         * login/Makefile (otherlibs): Likewise.
52982         * nscd/Makefile (otherlibs): Likewise.
52983         * posix/Makefile (otherlibs): Likewise.
52984         * pwd/Makefile (otherlibs): Likewise.
52985         * rt/Makefile (otherlibs): Likewise.
52986         * sunrpc/Makefile (otherlibs): Likewise.
52987         * nss/Makefile (otherlibs): Likewise.
52988         Add libnss_files to routines and static-only-routines.
52989         ($(objpfx)getent): Remove rule.
52990         * resolv/Makefile: Add libnss_dns and libresolv to routines and
52991         static-only-routines.
52993 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52995         [BZ #13892]
52996         * math/s_cexp.c: Include <float.h>.
52997         (__cexp): Handle exp result overflowing not necessarily
52998         overflowing both real and imaginary parts of result.
52999         * math/s_cexpf.c: Likewise.
53000         * math/s_cexpl.c: Likewise.
53001         * math/libm-test.inc (cexp_test): Add more tests.
53002         * sysdeps/i386/fpu/libm-test-ulps: Update.
53003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53005 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53007         * include/link.h (ELFW): New macro.
53008         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53009         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53011 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53013         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53014         with uint64_t.
53016 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53018         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53019         declaration.
53020         (struct La_x32_retval): Likewise.
53022 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53024         * sysdeps/x86_64/preconfigure.in: New file.
53025         * sysdeps/x86_64/preconfigure: New generated file.
53027 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53029         [BZ #13824]
53030         * math/e_exp2l.c: Include <float.h>.
53031         (__ieee754_exp2l): Handle overflow and underflow cases
53032         separately.  Only pass fractional part of argument to
53033         __ieee754_expl.
53034         * math/libm-test.inc (exp2_test): Add more tests.
53036         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53037         negating x to take absolute value.
53038         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53039         Likewise.
53040         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53041         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53042         Likewise.
53043         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53044         computing low part if x was negated.
53045         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53047 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53049         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53050         la_x32_gnu_pltexit.
53051         (pltexit): Cast int_retval to ptrdiff_t.
53052         * elf/tst-auditmod3b.c: Likewise.
53053         * elf/tst-auditmod4b.c: Likewise.
53054         * elf/tst-auditmod5b.c: Likewise.
53055         * elf/tst-auditmod6b.c: Likewise.
53056         * elf/tst-auditmod6c.c: Likewise.
53057         * elf/tst-auditmod7b.c: Likewise.
53059         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53060         and x32_gnu_pltexit.
53062         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53063         __ELF_NATIVE_CLASS.
53064         (La_x32_regs): New macro.
53065         (La_x32_retval): Likewise.
53066         (la_x32_gnu_pltenter): New function prototype.
53067         (la_x32_gnu_pltexit): Likewise.
53069 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53071         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53072         exponent.
53074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53076         * configure.in (libc_cv_cc_nofma): Check for option to disable
53077         generation of FMA instructions.
53078         * configure: Regenerate.
53079         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53080         * sysdeps/ieee754/dbl-64/Makefile: New file.
53081         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53082         Remove brandred-fma4.
53083         (CFLAGS-brandred-fma4.c): Remove.
53084         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53085         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53086         define.
53087         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53088         define.
53090 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53092         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53093         LLONG_MAX != LONG_MAX.
53094         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53095         (_fitoa_word): Likewise.
53096         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53097         LLONG_MAX != LONG_MAX.
53098         * stdio-common/_itowa.h: Include <_itoa.h>.
53099         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53100         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53101         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53102         only if not defined.
53103         (_ITOA_WORD_TYPE): Likewise.
53104         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53105         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53107 2012-03-21  David S. Miller  <davem@davemloft.net>
53109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53111 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53113         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53114         of x86_64 when setting libc_cv_slibdir, libdir and
53115         libc_cv_localedir.
53116         * sysdeps/unix/sysv/linux/configure: Regenerated.
53118 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53120         * manual/lang.texi (Old Varargs): Remove section.
53121         (How Variadic): Update menu.
53122         (va_start): Do not mention varargs.h.
53124 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53125             Joseph Myers  <joseph@codesourcery.com>
53127         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53128         link test.
53129         * configure: Regenerated.
53131 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53133         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53134         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53135         conformtest.pl
53137 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53139         * NOTES: Remove.
53140         * Makefile (files-for-dist): Remove NOTES.
53141         (NOTES): Remove rule.
53142         * README: Don't refer to NOTES.
53143         * manual/creature.texi: Don't include macros.texi.
53144         * manual/intro.texi (creature.texi): Remove comment referring to
53145         NOTES.
53147         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53148         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53149         * configure: Regenerated.
53150         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53151         LIBC_TRY_CC_OPTION.
53152         (libc_cv_as_i686): Likewise.
53153         (libc_cv_cc_avx): Likewise.
53154         (libc_cv_cc_sse2avx): Likewise.
53155         (libc_cv_cc_fma4): Likewise.
53156         (libc_cv_cc_novzeroupper): Likewise.
53157         * sysdeps/i386/configure: Regenerated.
53159         [BZ #13883]
53160         * sysdeps/i386/fpu/s_cexp.S: Remove.
53161         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53162         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53163         * math/libm-test.inc (cexp_test): Add more tests.
53164         * sysdeps/i386/fpu/libm-test-ulps: Update.
53165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53167 2012-03-21  Allan McRae  <allan@archlinux.org>
53169         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53171 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53173         [BZ #13871]
53174         * math/w_exp2.c: Do not include <float.h>.
53175         (o_threshold, u_threshold): Remove.
53176         (__exp2): Calculate result before checking finiteness and calling
53177         __kernel_standard.
53178         * math/w_exp2f.c: Likewise.
53179         * math/w_exp2l.c: Likewise.
53180         * math/libm-test.inc (exp2_test): Require overflow exception for
53181         1e6 input.
53183         [BZ #3866]
53184         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53185         range of signed 64-bit integers before using fistpll.  Remove
53186         checks for whether integers fit in mantissa bits.
53187         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53188         the range of signed 32-bit integers before using fistpl.  Remove
53189         checks for whether integers fit in mantissa bits.
53190         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53191         (__ieee754_powl): Test for y outside the range of signed 64-bit
53192         integers before using fistpll.  Reduce 64-bit values to 63-bit
53193         ones as needed.
53194         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53195         divide-by-zero is raised for zero to large negative powers.
53196         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53197         (__ieee754_powl): Test for y outside the range of signed 64-bit
53198         integers before using fistpll.  Reduce 64-bit values to 63-bit
53199         ones as needed.
53200         * math/libm-test.inc (pow_test): Add more tests.
53202 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53204         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53205         <stdio-common/_itoa.h>.
53206         * debug/segfault.c: Likewise.
53207         * elf/dl-cache.c: Likewise.
53208         * elf/dl-minimal.c: Likewise.
53209         * elf/dl-misc.c: Likewise.
53210         * elf/dl-sysdep.c: Likewise.
53211         * elf/dl-version.c: Likewise.
53212         * elf/rtld.c: Likewise.
53213         * hurd/hurdsock.c: Likewise.
53214         * hurd/lookup-retry.c: Likewise.
53215         * malloc/malloc.c: Likewise.
53216         * malloc/mtrace.c: Likewise.
53217         * nscd/nscd_getgr_r.c: Likewise.
53218         * nscd/nscd_getpw_r.c: Likewise.
53219         * nscd/nscd_getserv_r.c: Likewise.
53220         * posix/getopt_init.c: Likewise.
53221         * posix/wordexp.c: Likewise.
53222         * stdio-common/_itoa.c: Likewise.
53223         * stdio-common/printf_fphex.c: Likewise.
53224         * stdio-common/vfprintf.c: Likewise.
53225         * string/_strerror.c: Likewise.
53226         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53227         * sysdeps/i386/i686/hp-timing.h: Likewise.
53228         * sysdeps/mach/_strerror.c: Likewise.
53229         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53230         * sysdeps/mach/hurd/sethostid.c: Likewise.
53231         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53232         * sysdeps/mach/xpg-strerror.c: Likewise.
53233         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53234         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53235         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53236         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53237         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53238         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53239         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53240         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53241         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53242         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53243         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53244         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53245         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53246         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53247         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53248         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53249         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53250         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53251         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53252         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53253         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53255         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53257         * stdio-common/_itoa.h: Moved to ...
53258         * sysdeps/generic/_itoa.h: Here.
53260         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53262         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53263         instead of "_itoa.h" and "_itowa.h".
53264         * stdio-common/vfprintf.: Likewise.
53266 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53268         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53269         <bits/wordsize.h>.
53270         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53271         (__signbit): Likwise.
53272         (llrintf): Likwise.
53273         (llrint): Likwise.
53275 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53277         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53278         __WORDSIZE != 64.
53280 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53282         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53283         OVERFLOW_EXCEPTION_OK.
53284         * math/libm-test.inc ("Philosophy"): Update comment about
53285         exception testing.
53286         (OVERFLOW_EXCEPTION): Define.
53287         (OVERFLOW_EXCEPTION_OK): Likewise.
53288         (INVALID_EXCEPTION_OK): Renumber.
53289         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53290         (IGNORE_ZERO_INF_SIGN): Likewise.
53291         (test_exceptions): Handle FE_OVERFLOW.
53292         (exp10_test): Expect overflow exceptions.
53293         (exp2_test): Likewise.
53294         (expm1_test): Likewise.
53295         (nextafter_test): Likewise.
53296         (pow_test): Likewise.
53297         (scalbn_test): Likewise.
53298         (scalbln_test): Likewise.
53300 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53302         * sysdeps/x86_64/bits/atomic.h
53303         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53304         64bit integer.
53305         (atomic_exchange_acq): Likewise.
53306         (__arch_exchange_and_add_body): Likewise.
53307         (__arch_add_body): Likewise.
53308         (atomic_add_negative): Likewise.
53309         (atomic_add_zero): Likewise.
53311 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53313         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53314         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53316 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53318         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53319         Check __x86_64__ instead of __WORDSIZE.
53321 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53323         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53325 2012-03-19  David S. Miller  <davem@davemloft.net>
53327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53329         * sysdeps/sparc/fpu/fenv_private.h: New file.
53330         * sysdeps/sparc/fpu/math_private.h: Use it.
53331         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53332         Remove.
53333         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53334         (libc_feholdexcept_setroundl): Remove.
53335         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53336         Remove.
53337         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53338         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53340 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53342         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53343         int64_t instead of long int.
53344         (INSERT_WORDS64): Likwise.
53346 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53348         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53349         _Unwind_GetCFA return to _Unwind_Ptr first.
53351 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53353         [BZ #13629]
53354         * math/s_clog.c: Include <float.h>.
53355         (__clog): Scale large or subnormal inputs.
53356         * math/s_clogf.c: Likewise.
53357         * math/s_clogl.c: Likewise.
53358         * math/s_clog10.c: Include <float.h>.
53359         (M_LOG10_2): Define.
53360         (__clog10): Scale large or subnormal inputs.
53361         * math/s_clog10f.c: Likewise.
53362         * math/s_clog10l.c: Likewise.
53363         * math/libm-test.inc (clog_test): Add more tests.
53364         (clog10_test): Likewise.
53365         * sysdeps/i386/fpu/libm-test-ulps: Update.
53366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53368         [BZ #11451]
53369         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53370         x and y.
53371         * math/libm-test.inc (atan2_test): Add another test.
53373         * Makerules (common-objdir-compile): Remove.
53374         * sysdeps/unix/Makefile (config-generated): Do not add
53375         $(unix-generated) to variable.
53376         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53377         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53378         Remove rule.
53379         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53380         Likewise.
53381         [generic bits/local_lim.h] (before-compile): Do not append to
53382         variable.
53383         [generic bits/local_lim.h] (common-generated): Likewise.
53384         [generic sys/param.h] (before-compile): Do not append to variable.
53385         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53386         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53387         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53388         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53389         include.
53390         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53391         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53392         [generic sys/param.h] ($(addprefix
53393         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53394         [generic sys/param.h] (common-generated): Do not append to
53395         variable.
53396         [generic sys/param.h] (sysdep_headers): Likewise.
53397         [generic bits/errno.h] (before-compile): Do not append to
53398         variable.
53399         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53400         rule.
53401         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53402         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53403         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53404         [generic bits/errno.h] (common-generated): Do not append to
53405         variable.
53406         [generic bits/ioctls.h] (before-compile): Do not append to
53407         variable.
53408         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53409         rule.
53410         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53411         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53412         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53413         rule.
53414         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53415         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53416         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53417         [generic bits/ioctls.h] (common-generated): Do not append to
53418         variable.
53419         [generic sys/syscall.h] (syscall.h): Remove variable.
53420         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53421         rule.
53422         [generic sys/syscall.h] (before-compile): Do not append to
53423         variable.
53424         [generic sys/syscall.h] (common-generated): Likewise.
53425         * sysdeps/unix/errnos-tmpl.c: Remove file.
53426         * sysdeps/unix/errnos.awk: Likewise.
53427         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53428         * sysdeps/unix/ioctls.awk: Likewise.
53429         * sysdeps/unix/mk-local_lim.c: Likewise.
53430         * sysdeps/unix/snarf-ioctls: Likewise.
53432 2012-03-19  Richard Henderson  <rth@twiddle.net>
53434         * sysdeps/i386/fpu/fenv_private.h: New file.
53435         * sysdeps/i386/fpu/math_private.h: Use it.
53436         (math_opt_barrier, math_force_eval): Remove.
53437         (libc_feholdexcept_setround_53bit): Remove.
53438         (libc_feupdateenv_53bit): Remove.
53439         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53440         (math_opt_barrier, math_force_eval): Remove.
53441         (libc_feholdexcept): Remove.
53442         (libc_feholdexcept_setround): Remove.
53443         (libc_fetestexcept, libc_fesetenv): Remove.
53444         (libc_feupdateenv_test): Remove.
53445         (libc_feupdateenv, libc_feholdsetround): Remove.
53446         (libc_feresetround): Remove.
53448         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53449         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53451         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53452         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53453         (libc_feupdateenv_testl): New.
53454         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53455         (libc_feupdateenv_testf): New.
53456         (libc_feupdateenv): Use libc_feupdateenv_test.
53457         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53458         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53460         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53461         (libc_feholdsetroundf, libc_feholdsetroundl): New.
53462         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53463         (libc_feresetround_noex): New.
53464         (libc_feresetround_noexf): New.
53465         (libc_feresetround_noexl): New.
53466         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53467         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53468         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53469         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53470         SET_RESTORE_ROUND.
53471         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53472         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53473         (__cos): Likewise.
53474         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53475         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53476         SET_RESTORE_ROUND_NOEX.
53477         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53478         SET_RESTORE_ROUND_NOEXF.
53479         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53480         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53481         (libc_feholdsetroundf): New.
53482         (libc_feresetround, libc_feresetroundf): New.
53484         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53485         (libc_feholdexcept_setround_53bit): Convert from macro to function.
53486         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
53488         * sysdeps/generic/math_private.h: Include <fenv.h>.
53489         (default_libc_feholdexcept): New.
53490         (default_libc_feholdexcept_setround): New.
53491         (default_libc_fesetenv, default_libc_feupdateenv): New.
53492         (libc_feholdexcept): Only define if undefined.
53493         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53494         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53495         (libc_feholdexcept_setroundl): Likewise.
53496         (libc_feholdexcept_setround_53bit): Likewise.
53497         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53498         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53499         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53500         (libc_feupdateenv_53bit): Likewise.
53501         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53502         (libc_feholdexcept): Convert from macro to inline function.
53503         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53504         (libc_fesetenv, libc_feupdateenv): Likewise.
53506         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53507         not previously defined.
53508         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53509         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53510         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53511         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53512         * sysdeps/ieee754/flt-32/math_private.h: New file.
53513         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53514         math_private.h below SET_FLOAT_WORD.
53515         (__isnan, __isinf_ns, __finite): Remove.
53516         (__isnanf, __isinf_nsf, __finitef): Remove.
53518 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
53520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53522 2012-03-17  David S. Miller  <davem@davemloft.net>
53524         [BZ #6471]
53525         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53526         for 2.16.
53528 2012-03-16  David S. Miller  <davem@davemloft.net>
53530         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53531         warnings.
53533         [BZ #6471]
53534         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53535         properly.
53536         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53537         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53538         sysdep_routines when subdir is sysvipc.
53539         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53540         __getshmlba helper.
53542         * sysdeps/sparc/fpu/libm-test/ulps: Update.
53544 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53546         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53547         [__LP64__].
53549 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53551         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53552         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53553         (__lround): Renamed to ...
53554         (__llround): This.  Replace long int with long long int.
53555         Define lround functions as aliases of llround functions.
53556         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53558 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53560         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53561         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
53562         adresses to uintptr_t.  Replace "long int" and "unsigned long
53563         int" with "greg_t" on va_arg.
53565 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53567         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53568         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53570         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53571         Move e_machine check before EI_CLASS check.  Handle x32
53572         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53573         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53574         SKIP_EM_IA_64 and include
53575         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53577         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53578         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53579         (add_system_dir): New macro.
53581         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53582         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53584 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53586         [BZ #2551]
53587         [BZ #2552]
53588         [BZ #2553]
53589         [BZ #2554]
53590         [BZ #2562]
53591         [BZ #2563]
53592         [BZ #2565]
53593         [BZ #2566]
53594         [BZ #2576]
53595         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53596         (y0): Likewise.
53597         * math/w_j0f.c (j0f): Likewise.
53598         (y0f): Likewise.
53599         * math/w_j0l.c (__j0l): Likewise.
53600         (__y0l): Likewise.
53601         * math/w_j1.c (j1): Likewise.
53602         (y1): Likewise.
53603         * math/w_j1f.c (j1f): Likewise.
53604         (y1f): Likewise.
53605         * math/w_j1l.c (__j1l): Likewise.
53606         (__y1l): Likewise.
53607         * math/w_jn.c (jn): Likewise.
53608         (yn): Likewise.
53609         * math/w_jnf.c (jnf): Likewise.
53610         (ynf): Likewise.
53611         * math/w_jnl.c (__jnl): Likewise.
53612         (__ynl): Likewise.
53613         * math/libm-test.inc (j0_test): Add more tests.
53614         (j1_test): Likewise.
53615         (jn_test): Likewise.  Add trailing semicolon to existing test.
53616         (y0_test): Likewise.
53617         (y1_test): Likewise.
53618         * sysdeps/i386/fpu/libm-test-ulps: Update.
53619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53621         [BZ #13851]
53622         [BZ #13854]
53623         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
53624         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
53625         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
53626         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
53627         (__tanl): Set errno for infinite argument.
53628         * sysdeps/i386/fpu/mptan.c: Remove.
53629         * sysdeps/i386/fpu/s_tan.S: Likewise.
53630         * sysdeps/i386/fpu/s_tanl.S: Likewise.
53631         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
53632         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
53633         * math/libm-test.inc (tan_test): Add more tests and enable more
53634         tests for double and long double.
53635         * sysdeps/i386/fpu/libm-test-ulps: Update.
53636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53638 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
53640         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
53641         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
53643 2012-03-16  Roland McGrath  <roland@hack.frob.com>
53645         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
53646         * configure.in: Use it for both main tree and add-ons.
53647         * configure: Regenerated.
53649 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53651         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
53653 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53655         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
53656         in comment.
53658         [BZ #13851]
53659         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
53660         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
53661         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
53662         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
53663         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
53664         infinite argument.
53665         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
53666         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
53667         != 0 for prec == 2.
53668         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
53669         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53670         * sysdeps/i386/fpu/s_cosl.S: Likewise.
53671         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53672         * sysdeps/i386/fpu/s_sinl.S: Likewise.
53673         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53674         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53675         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53676         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53677         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53678         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53679         * math/libm-test.inc (cos_test): Add more tests and enable more
53680         tests for long double.
53681         (sin_test): Likewise.
53682         (sincos_test): Likewise.
53683         * sysdeps/i386/fpu/libm-test-ulps: Update.
53684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53686 2012-03-16  David S. Miller  <davem@davemloft.net>
53688         * sysdeps/sparc/fpu/math_private.h: New file.
53690 2012-03-15  David S. Miller  <davem@davemloft.net>
53692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53693         file.
53694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53696         file.
53697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53698         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53699         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53700         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53701         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53702         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53703         sysdep routines.
53704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53706         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53707         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53709         * sysdeps/sparc/sparc-ifunc.h: New file.
53710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53711         sparc-ifunc.h
53712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53714         Likewise.
53715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53716         Likewise.
53717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53721         Likewise.
53722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53727         Likewise.
53728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53729         Likewise.
53730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53734         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53735         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53736         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53737         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53738         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53739         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53740         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53741         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53742         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53743         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53744         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53745         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53746         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53747         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53748         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53749         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53750         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53751         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53752         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53753         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53755 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53757         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53758         scaling.
53759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53761 2012-03-15  Andreas Jaeger  <aj@suse.de>
53763         [BZ #13852]
53764         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53765         ieee754/flt-32 implementation for sin, cos and sincos.
53766         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53767         * sysdeps/i386/fpu/s_cosf.S: Likewise.
53768         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53769         * sysdeps/i386/fpu/s_sinf.S: Likewise.
53770         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53771         ieee754/flt-32 implementation for tan.
53773         * math/libm-test.inc (cos_test): Enable some large input tests for
53774         float as well
53775         (sin_test): Likewise.
53776         (sincos_test): Likewise.
53777         (tan_test): Add tests for large input.
53779         * sysdeps/i386/fpu/libm-test-ulps: Update.
53781 2012-03-15  Andreas Jaeger  <aj@suse.de>
53783         [BZ #13658]
53784         * math/libm-test.inc (cos_test): Add more test cases.
53785         (sin_test): Likewise.
53786         (sincos_test): Likewise.
53788 2012-03-15  Andreas Jaeger  <aj@suse.de>
53790         [BZ #13837]
53791         * math/libm-test.inc (cos_test): Add a test case for large input
53792         value.
53793         (sin_test): Likewise.
53794         (sincos_test): Likewise.
53796 2012-03-15  Andreas Jaeger  <aj@suse.de>
53797             Joseph Myers  <joseph@codesourcery.com>
53799         [BZ #13658]
53800         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53801         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53802         * sysdeps/i386/fpu/branred.c: Likewise.
53803         * sysdeps/i386/fpu/dosincos.c: Likewise.
53804         * sysdeps/i386/fpu/mpa.c: Likewise.
53805         * sysdeps/i386/fpu/s_cos.S: Likewise.
53806         * sysdeps/i386/fpu/s_sin.S: Likewise.
53807         * sysdeps/i386/fpu/s_sincos.S: Likewise.
53808         * sysdeps/i386/fpu/sincos32.c: Likewise.
53810         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53811         Define.
53812         (libc_feupdateenv_53bit): Define.
53813         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53814         Define.
53815         (libc_feupdateenv_53bit): Define.
53817         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53818         53 bit (without extend i386 double precision).
53820         * math/libm-test.inc (sincos_test): Add tests for large input.
53821         (sin): Likewise.
53822         (cos): Likewise.
53824         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53826 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53830 2012-03-15  David S. Miller  <davem@davemloft.net>
53832         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53833         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53834         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53835         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53838         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53840         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53841         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53842         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53843         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53844         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53845         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53846         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53848         file.
53849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53851         file.
53852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53854         file.
53855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53857         file.
53858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53859         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53860         fmin/fmax sysdep routines.
53861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53863 2012-03-14  David S. Miller  <davem@davemloft.net>
53865         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53866         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53867         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53868         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53869         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53870         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53871         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53872         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53873         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53874         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53875         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53876         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53877         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53878         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53879         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53880         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53881         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53882         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53883         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53884         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53885         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53886         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53887         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53888         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53889         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53890         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53891         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53892         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53893         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53894         routines.
53895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53896         file.
53897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53899         file.
53900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53902         file.
53903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53905         file.
53906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53908         file.
53909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53911         file.
53912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53913         file.
53914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53915         file.
53916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53917         file.
53918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53919         New file.
53920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53921         file.
53922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53923         file.
53924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53926         file.
53927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53929         file.
53930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53932         file.
53933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53935         VIS3 routines.
53937         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53938         New file.
53940         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53942         * sysdeps/sparc/configure.in: New file.
53943         * sysdeps/sparc/configure: Generate.
53944         * configure.in (libc_cv_sparc_as_vis3): Substitute.
53945         * configure: Regenerate.
53946         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53947         * config.make.in (have-as-vis3): New.
53948         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53949         available use -Av9d instead of -Av9a.
53950         * sysdeps/sparc/sparc64/Makefile: Likewise.
53951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53953         New file.
53954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53955         file.
53956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53957         New file.
53958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53959         file.
53960         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53961         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53962         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53963         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53964         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53966         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53967         fzeros/fnegs to load 0x80000000 into a float register instead of
53968         using the stack.
53969         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53971 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53973         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53974         bits/syscall.h.
53975         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53976         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53977         ($(inst_includedir)/bits/syscall.h): Remove rule.
53978         ($(objpfx)bits/syscall.d): Include instead of
53979         $(objpfx)syscall-list.d.
53980         (generated): Change syscall-list.h and syscall-list.d to
53981         bits/syscall.h and bits/syscall.d.
53983 2012-03-14  Roland McGrath  <roland@hack.frob.com>
53985         [BZ #13846]
53986         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
53988 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53990         [BZ #13841]
53991         * math/s_csqrt.c: Include <float.h>.
53992         (__csqrt): Scale large or subnormal inputs.
53993         * math/s_csqrtf.c: Likewise.
53994         * math/s_csqrtl.c: Likewise.
53995         * math/libm-test.inc (csqrt_test): Add more tests.
53996         * sysdeps/i386/fpu/libm-test-ulps: Update.
53997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53999         [BZ #13840]
54000         * math/libm-test.inc (hypot_test): Add more tests.
54002 2012-03-13  David S. Miller  <davem@davemloft.net>
54004         [BZ #13840]
54005         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54006         double-precision for the calculation instead of scaling.
54008 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54010         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54011         manipulate bits before adding and subtracting TWO52[sx].
54012         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54013         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54014         Likewise.
54015         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54017 2012-03-13  David S. Miller  <davem@davemloft.net>
54019         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54020         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54021         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54022         rtld-global-offsets.h
54023         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54025         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54026         large parameters.
54028         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54030         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54031         'err' in the ifdef scope in which it is actually used.
54033         * nss/nss_db/db-init.c: Include string.h
54035 2012-03-12  David S. Miller  <davem@davemloft.net>
54037         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54038         masking out of the most significant byte of random value used.
54039         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54040         Fix coding style in previous change.
54042         * sysdeps/unix/sysv/linux/kernel-features.h
54043         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54044         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54045         expression.
54046         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54047         later.
54049 2012-03-11  David S. Miller  <davem@davemloft.net>
54051         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54052         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54053         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54054         for 'resultvar' otherwise things get truncated on 64-bit.
54056         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54057         Fix masking out of the most significant byte of random value used.
54059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54061 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54065 2012-03-09  David S. Miller  <davem@davemloft.net>
54067         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54068         variables with appropriate CPP guards.
54069         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54070         from the frame pointer, not the stack pointer.  Correct layout
54071         comments.  Fix test on resulting framesize and the management of
54072         the outregs buffer for pltexit.  Preserve floating point return
54073         values across _dl_call_pltexit call.
54074         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54075         framesize and the management of the outregs buffer for pltexit.
54076         Preserve floating point return values across _dl_call_pltexit
54077         call.
54078         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54079         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54080         (la_sparc64_gnu_pltexit): New functions.
54081         (print_exit): Fix format string for return register value.
54083 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54085         * sunrpc/Makefile (others): Add rpcgen.
54086         ($(objpfx)rpcgen): Remove special build rule and dependency on
54087         libc.
54088         * sunrpc/rpcgen.c: New file.
54090 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54092         [BZ #13673]
54093         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54094         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54095         * sysdeps/i386/crti.S: Likewise.
54096         * sysdeps/i386/crtn.S: Likewise.
54097         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54098         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54099         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54100         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54101         * sysdeps/sh/crti.S: Likewise.
54102         * sysdeps/sh/crtn.S: Likewise.
54103         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54105         [BZ #13673]
54106         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54107         with URL.
54108         * locale/programs/locfile-kw.gperf: Likewise.
54109         * locale/programs/charmap-kw.h: Regenerated.
54110         * locale/programs/locfile-kw.h: Likewise.
54112         [BZ #13673]
54113         * intl/plural.y: Replace FSF snail mail address with URL.
54114         * intl/plural.c: Regenerated.
54116 2012-03-09  Richard Henderson  <rth@twiddle.net>
54118         * include/math_private.h: Remove file.
54119         * math/math_private.h: Move file ...
54120         * sysdeps/generic/math_private.h: ... here.
54122         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54123         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54124         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54126         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54127         and <math_private.h>.
54128         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54129         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54130         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54131         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54132         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54133         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54134         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54135         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54136         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54137         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54138         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54139         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54140         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54141         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54142         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54143         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54144         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54145         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54146         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54147         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54148         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54149         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54150         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54151         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54152         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54153         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54154         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54155         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54156         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54157         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54158         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54159         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54160         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54161         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54162         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54163         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54164         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54165         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54166         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54167         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54168         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54169         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54170         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54171         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54172         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54173         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54174         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54175         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54176         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54177         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54178         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54179         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54180         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54181         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54182         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54183         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54184         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54185         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54186         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54187         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54188         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54189         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54190         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54191         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54192         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54193         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54194         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54195         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54196         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54197         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54198         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54199         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54200         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54201         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54202         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54203         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54204         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54205         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54206         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54207         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54208         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54209         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54210         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54211         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54212         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54213         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54214         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54215         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54216         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54217         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54218         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54219         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54220         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54221         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54222         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54223         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54224         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54225         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54226         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54227         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54228         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54229         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54230         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54231         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54232         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54233         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54234         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54235         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54236         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54237         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54238         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54239         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54240         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54241         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54242         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54243         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54244         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54245         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54246         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54247         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54248         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54249         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54250         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54251         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54252         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54253         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54254         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54255         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54256         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54257         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54258         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54259         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54260         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54261         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54262         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54263         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54264         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54265         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54266         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54267         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54268         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54269         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54270         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54271         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54272         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54273         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54274         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54275         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54276         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54277         * sysdeps/ieee754/k_standard.c: Likewise.
54278         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54279         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54280         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54281         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54282         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54283         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54284         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54285         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54286         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54287         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54288         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54289         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54290         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54291         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54292         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54293         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54294         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54295         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54296         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54297         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54298         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54299         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54300         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54301         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54302         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54303         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54304         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54305         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54306         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54307         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54308         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54309         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54310         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54311         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54312         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54313         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54314         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54315         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54316         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54317         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54318         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54319         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54320         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54321         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54322         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54323         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54324         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54325         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54326         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54327         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54328         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54329         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54330         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54331         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54332         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54333         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54334         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54335         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54336         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54337         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54338         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54339         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54340         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54341         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54342         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54343         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54344         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54345         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54346         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54347         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54348         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54349         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54350         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54351         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54352         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54353         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54354         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54355         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54356         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54357         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54358         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54359         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54360         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54361         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54362         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54363         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54364         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54365         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54366         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54367         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54368         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54369         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54370         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54371         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54372         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54373         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54374         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54375         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54376         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54377         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54378         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54379         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54380         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54381         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54382         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54383         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54384         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54385         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54386         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54387         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54388         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54389         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54390         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54391         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54392         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54393         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54394         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54395         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54396         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54397         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54398         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54399         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54400         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54401         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54402         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54403         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54404         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54405         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54406         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54407         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54408         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54409         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54410         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54411         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54412         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54413         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54414         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54415         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54416         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54417         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54418         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54419         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54420         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54421         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54422         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54423         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54424         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54425         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54426         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54427         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54428         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54429         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54430         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54431         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54432         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54433         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54434         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54435         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54436         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54437         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54438         * sysdeps/ieee754/s_lib_version.c: Likewise.
54439         * sysdeps/ieee754/s_matherr.c: Likewise.
54440         * sysdeps/ieee754/s_signgam.c: Likewise.
54441         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54442         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54443         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54444         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54445         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54446         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54447         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54448         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54449         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54450         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54451         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54452         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54453         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54454         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54455         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54456         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54457         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54458         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54459         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54460         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54461         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54463 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54465         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54466         * sunrpc/rpc_main.c: Likewise.
54467         * sunrpc/rpc_svcout.c: Likewise.
54469 2012-03-09  David S. Miller  <davem@davemloft.net>
54471         * include/math_private.h: New file.
54473 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54475         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54476         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54477         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54478         from <bits/socket_type.h>.
54479         (enum __socket_type): Don't define here.
54480         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54481         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54482         bits/socket_type.h.
54484         [BZ #13566]
54485         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54486         checking __USE_GNU.
54488         * Makerules ($(inst_includedir)/%.h): New rule.
54489         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54490         (install-others): Remove variable setting.
54491         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54493 2012-03-08  Richard Henderson  <rth@twiddle.net>
54495         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54496         from macro to inline function; merge with the
54497         !__LIBC_INTERNAL_MATH_INLINES version.
54498         (__ieee754_sqrtf): Likewise.
54500         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54501         to inline function.
54502         (__rintf, __floor, __floorf): Likewise.
54504         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54505         macro to inline function.
54506         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54508         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54509         not <math/math_private.h>.
54511 2012-03-08  David S. Miller  <davem@davemloft.net>
54513         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54514         copyright year.
54515         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54517 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
54519         * resolv/gai_misc.c (handle_requests): Fix struct timespec
54520         normalization.
54521         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54522         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54524 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
54526         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
54527         be defined individually, they must be defined as a block.  Define
54528         S for printing a string instead of hidint the different by using a
54529         macro for adding the 'l'.
54530         * stdio-common/tst-fphex-wide.c: Adjust.
54532 2012-03-07  Marek Polacek  <polacek@redhat.com>
54534         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54536 2012-03-08  Marek Polacek  <polacek@redhat.com>
54538         [BZ #13806]
54539         * stdio-common/Makefile (tests): Add tst-fphex-wide.
54540         * stdio-common/tst-fphex.c: Define a few macros to make the
54541         test reusable.  Use them.
54542         * stdio-common/tst-fphex-wide.c: New file.
54544 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
54546         [BZ #6911]
54547         * manual/macros.texi (gnusystems): New macro.
54548         (nongnusystems): Likewise.
54549         (gnulinuxhurdsystems): Likewise.
54550         (gnuhurdsystems): Likewise..
54551         (gnulinuxsystems): Likewise.
54552         * manual/charset.texi: Use new macros or @theglibc{} to refer to
54553         variants of the GNU system, not "GNU system".
54554         * manual/conf.texi: Likewise.
54555         * manual/errno.texi: Likewise.  Update example of errno macro
54556         expansion.
54557         * manual/filesys.texi: Likewise.
54558         (getumask): Document as specific to GNU/Hurd.
54559         * manual/install.texi: Likewise.  Reword some references to
54560         GNU/Linux.
54561         * manual/intro.texi: Likewise.
54562         * manual/io.texi: Likewise.
54563         (File Name Portability): Detail which constraints are inapplicable
54564         to all GNU systems and which are only inapplicable to GNU/Hurd.
54565         * manual/job.texi: Likewise.
54566         * manual/llio.texi: Likewise.
54567         (O_NOCTTY): Document as present on GNU/Linux.
54568         * manual/maint.texi: Likewise.
54569         * manual/memory.texi: Likewise.
54570         * manual/pattern.texi: Likewise.
54571         * manual/pipe.texi: Likewise.
54572         * manual/process.texi: Likewise.
54573         * manual/resource.texi: Likewise.
54574         (RUSAGE_CHILDREN): Remove statement about specifying a particular
54575         child on GNU/Hurd.
54576         * manual/setjmp.texi: Likewise.
54577         * manual/signal.texi: Likewise.
54578         * manual/startup.texi: Likewise.
54579         * manual/stdio.texi: Likewise.
54580         * manual/terminal.texi: Likewise.
54581         (ONLCR): Document as POSIX.
54582         (OXTABS): Document availability on GNU/Linux as XTABS.
54583         (ONOEOT): Document availability separately from other bits.
54584         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54585         * manual/time.texi: Likewise.
54586         * manual/users.texi: Likewise.
54587         * INSTALL: Regenerated.
54588         * sysdeps/gnu/errlist.c: Regenerated.
54590         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54591         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54592         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
54593         puts.
54594         * configure: Regenerated.
54596 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
54598         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54599         default includes instead of AC_HEADER_CHECK.
54600         * sysdeps/i386/configure: Regenerated.
54602         [BZ #10716]
54603         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54604         * math/s_cacoshf.c (__cacoshf): Likewise.
54605         * math/s_cacoshl.c (__cacoshl): Likewise.
54606         * math/s_casinh.c (__casinh): Set signs of result from argument.
54607         * math/s_casinhf.c (__casinhf): Likewise.
54608         * math/s_casinhl.c (__casinhl): Likewise.
54609         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
54610         (casinh_test): Add more tests.
54611         * sysdeps/i386/fpu/libm-test-ulps: Update.
54612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54614 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
54616         * po/zh_TW.po: Update from translation team.
54618         * login/Makefile (distribute): Remove variable.
54619         * catgets/Makefile: Likewise.
54620         * mach/Makefile: Likewise.
54621         * malloc/Makefile: Likewise.
54622         * misc/Makefile: Likewise.
54623         * iconv/Makefile: Likewise.
54624         * nscd/Makefile: Likewise.
54625         * hurd/Makefile: Likewise.
54626         * manual/Makefile: Likewise.
54627         * locale/Makefile: Likewise.
54628         * intl/Makefile: Likewise.
54629         * conform/Makefile: Likewise.
54630         * nss/Makefile: Likewise.
54631         * time/Makefile: Likewise.
54632         * soft-fp/Makefile: Likewise.
54633         * dirent/Makefile: Likewise.
54634         * gmon/Makefile: Likewise.
54635         * po/Makefile: Likewise.
54636         * rt/Makefile: Likewise.
54637         * socket/Makefile: Likewise.
54638         * math/Makefile: Likewise.
54639         * signal/Makefile: Likewise.
54640         * debug/Makefile: Likewise.
54641         * elf/Makefile: Likewise.
54642         * timezone/Makefile: Likewise.
54643         * stdlib/Makefile: Likewise.
54644         * iconvdata/Makefile: Likewise.
54645         * sunrpc/Makefile: Likewise.
54646         * io/Makefile: Likewise.
54647         * argp/Makefile: Likewise.
54648         * inet/Makefile: Likewise.
54649         * hesiod/Makefile: Likewise.
54650         * grp/Makefile: Likewise.
54651         * csu/Makefile: Likewise.
54652         * wctype/Makefile: Likewise.
54653         * crypt/Makefile: Likewise.
54654         * libio/Makefile: Likewise.
54655         * string/Makefile: Likewise.
54656         * nis/Makefile: Likewise.
54657         * resolv/Makefile: Likewise.
54658         * stdio-common/Makefile: Likewise.
54659         * wcsmbs/Makefile: Likewise.
54660         * dlfcn/Makefile: Likewise.
54661         * posix/Makefile: Likewise.
54663         [BZ #6959]
54664         * timezone/Makefile: Don't install timezone files, just the programs
54665         and scripts.
54667 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
54669         * nss/databases.def: Add missing gshadow entry.
54671         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
54673 2012-03-06  Marek Polacek  <polacek@redhat.com>
54675         [BZ #13726]
54676         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54677         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54678         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54679         * stdio-common/tst-long-dbl-fphex.c: New file.
54681 2012-03-06  David S. Miller  <davem@davemloft.net>
54683         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54684         (set_obp_int): New function.
54685         (get_obp_int): New function.
54686         (__get_clockfreq_via_dev_openprom): Likewise.
54687         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54688         Avoid unused variable warnings on 'val' and use builtin_expect.
54689         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54690         __builtin_expect.
54691         (INLINE_CLONE_SYSCALL): Likewise.
54693 2012-03-05  David S. Miller  <davem@davemloft.net>
54695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54697 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
54699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54701         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54702         only for |x| >= 40.
54703         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54705 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
54707         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54708         Replace gettimeofday with __vdso_gettimeofday.
54710         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54711         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54712         __vdso_clock_gettime and __vdso_getcpu.
54714         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54715         time with __vdso_time.
54717 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54719         * manual/lang.texi (size_t): Note types to which size_t may be
54720         equivalent with the GNU C Library, but do not describe when
54721         differences between them are significant.
54723 2012-03-05  Andreas Jaeger  <aj@suse.de>
54725         * sysdeps/i386/fpu/libm-test-ulps: Update.
54727 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54729         [BZ #3976]
54730         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54731         (__ieee754_pow): Save and restore rounding mode and use
54732         round-to-nearest for main computations.
54733         * math/libm-test.inc (pow_test_tonearest): New function.
54734         (pow_test_towardzero): Likewise.
54735         (pow_test_downward): Likewise.
54736         (pow_test_upward): Likewise.
54737         (main): Call the new functions.
54738         * sysdeps/i386/fpu/libm-test-ulps: Update.
54739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54741         [BZ #3976]
54742         * math/libm-test.inc (cosh_test_tonearest): New function.
54743         (cosh_test_towardzero): Likewise.
54744         (cosh_test_downward): Likewise.
54745         (cosh_test_upward): Likewise.
54746         (sinh_test_tonearest): Likewise.
54747         (sinh_test_towardzero): Likewise.
54748         (sinh_test_downward): Likewise.
54749         (sinh_test_upward): Likewise.
54750         (main): Call the new functions.
54751         * sysdeps/i386/fpu/libm-test-ulps: Update.
54752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54754 2012-03-05  Tom de Vries  <tom@codesourcery.com>
54756         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54757         default stack guard is set in last bytes.
54758         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54760 2012-03-05  Kees Cook  <keescook@chromium.org>
54762         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54764         [BZ #13656]
54765         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54766         possibly allocate from heap instead of stack.
54767         * stdio-common/bug-vfprintf-nargs.c: New file.
54768         * stdio-common/Makefile (tests): Add nargs overflow test.
54770 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
54772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54774 2012-03-03  Marek Polacek  <polacek@redhat.com>
54776         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54777         * math/math_private.h: Likewise.
54778         * stdlib/tst-strtod.c: Likewise.
54779         * sysdeps/i386/i486/bits/atomic.h: Likewise.
54780         * sysdeps/x86_64/bits/atomic.h: Likewise.
54782 2012-03-02  David S. Miller  <davem@davemloft.net>
54784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54788         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54789         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54790         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54791         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54793 2012-03-02  Roland McGrath  <roland@hack.frob.com>
54795         [BZ #13792]
54796         * manual/examples/README: New file, says the example source files
54797         can be used under GPL>=2.
54798         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54799         line containing just "*/".
54800         * manual/examples/add.c: Add copyright header (GPL>=2).
54801         * manual/examples/argp-ex1.c: Likewise.
54802         * manual/examples/argp-ex2.c: Likewise.
54803         * manual/examples/argp-ex3.c: Likewise.
54804         * manual/examples/argp-ex4.c: Likewise.
54805         * manual/examples/atexit.c: Likewise.
54806         * manual/examples/db.c: Likewise.
54807         * manual/examples/dir.c: Likewise.
54808         * manual/examples/dir2.c: Likewise.
54809         * manual/examples/execinfo.c: Likewise.
54810         * manual/examples/filecli.c: Likewise.
54811         * manual/examples/filesrv.c: Likewise.
54812         * manual/examples/fmtmsgexpl.c: Likewise.
54813         * manual/examples/genpass.c: Likewise.
54814         * manual/examples/inetcli.c: Likewise.
54815         * manual/examples/inetsrv.c: Likewise.
54816         * manual/examples/isockad.c: Likewise.
54817         * manual/examples/longopt.c: Likewise.
54818         * manual/examples/memopen.c: Likewise.
54819         * manual/examples/memstrm.c: Likewise.
54820         * manual/examples/mkfsock.c: Likewise.
54821         * manual/examples/mkisock.c: Likewise.
54822         * manual/examples/mygetpass.c: Likewise.
54823         * manual/examples/pipe.c: Likewise.
54824         * manual/examples/popen.c: Likewise.
54825         * manual/examples/rprintf.c: Likewise.
54826         * manual/examples/search.c: Likewise.
54827         * manual/examples/select.c: Likewise.
54828         * manual/examples/setjmp.c: Likewise.
54829         * manual/examples/sigh1.c: Likewise.
54830         * manual/examples/sigusr.c: Likewise.
54831         * manual/examples/stpcpy.c: Likewise.
54832         * manual/examples/strdupa.c: Likewise.
54833         * manual/examples/strftim.c: Likewise.
54834         * manual/examples/strncat.c: Likewise.
54835         * manual/examples/subopt.c: Likewise.
54836         * manual/examples/swapcontext.c: Likewise.
54837         * manual/examples/termios.c: Likewise.
54838         * manual/examples/testopt.c: Likewise.
54839         * manual/examples/testpass.c: Likewise.
54840         * manual/examples/timeval_subtract.c: Likewise.
54842         [BZ #13792]
54843         * manual/time.texi (Elapsed Time): Move timeval_subtract example
54844         function to ...
54845         * manual/timeval_subtract.c.texi: ... here, new file.
54847 2012-03-02  David S. Miller  <davem@davemloft.net>
54849         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54851 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
54853         [BZ #3976]
54854         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54855         (__sin): Save and restore rounding mode and use round-to-nearest
54856         for all computations.
54857         (__cos): Save and restore rounding mode and use round-to-nearest
54858         for all computations.
54859         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54860         <fenv.h>.
54861         (tan): Save and restore rounding mode and use round-to-nearest for
54862         all computations.
54863         * math/libm-test.inc (cos_test_tonearest): New function.
54864         (cos_test_towardzero): Likewise.
54865         (cos_test_downward): Likewise.
54866         (cos_test_upward): Likewise.
54867         (sin_test_tonearest): Likewise.
54868         (sin_test_towardzero): Likewise.
54869         (sin_test_downward): Likewise.
54870         (sin_test_upward): Likewise.
54871         (tan_test_tonearest): Likewise.
54872         (tan_test_towardzero): Likewise.
54873         (tan_test_downward): Likewise.
54874         (tan_test_upward): Likewise.
54875         (main): Call the new functions.
54876         * sysdeps/i386/fpu/libm-test-ulps: Update.
54877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54879         [BZ #10135]
54880         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54881         small n, then large n, before computing and testing k+n.
54882         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54883         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54884         Likewise.
54885         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54886         Likewise.
54887         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54888         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54889         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54890         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54891         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54892         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54893         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54894         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54895         * math/libm-test.inc (scalbn_test): Add more tests.
54896         (scalbln_test): Likewise.
54898         * manual/filesys.texi (mode_t): Describe constraints on size and
54899         signedness, not exact equivalence to a particular type.
54900         (ino_t): Likewise.
54901         (ino64_t): Likewise.
54902         (dev_t): Likewise.
54903         (nlink_t): Likewise.
54904         (blkcnt_t): Likewise.
54905         (blkcnt64_t): Likewise.
54906         * manual/llio.texi (off_t): Likewise.
54908         [BZ #3976]
54909         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54910         (__ieee754_exp): Save and restore rounding mode and use
54911         round-to-nearest for all computations.
54912         * math/libm-test.inc (exp_test_tonearest): New function.
54913         (exp_test_towardzero): Likewise.
54914         (exp_test_downward): Likewise.
54915         (exp_test_upward): Likewise.
54916         (main): Call the new functions.
54917         * sysdeps/i386/fpu/libm-test-ulps: Update.
54918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54920 2012-03-01  Chris Demetriou  <cgd@google.com>
54922         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54923         have predictable order.
54925 2012-03-01  David S. Miller  <davem@davemloft.net>
54927         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54929         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54930         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54931         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54932         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54934         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54935         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54936         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54938         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54939         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54940         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54941         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54942         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54944         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54946         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54947         * sysdeps/sparc/fpu/libm-test-ulps: to here.
54948         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54950         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54951         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54952         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54953         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54954         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54955         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54956         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54957         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54958         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54959         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54960         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54961         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54962         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54963         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54964         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54965         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54966         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54967         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54968         * sysdeps/sparc/elf/configure: Regenerated.
54970 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
54972         * configure.in (AS, LD): Require binutils 2.20 or later.
54973         * configure: Regenerated.
54974         * manual/install.texi (Tools for Compilation): Give binutils 2.20
54975         as required minimum version.
54976         * INSTALL: Regenerated.
54978         [BZ #2541]
54979         [BZ #4108]
54980         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54981         before squaring exponent.
54982         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54983         bottom long double and 27 bits of top long double before squaring
54984         exponent.
54985         * math/libm-test.inc (erfc_test): Add more tests.
54986         * sysdeps/i386/fpu/libm-test-ulps: Update.
54987         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54990 2012-03-01  Kai Tietz  <ktietz@redhat.com>
54992         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
54993         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
54994         containing bit-fields.
54995         * soft-fp/extended.h (_FP_UNION_E): Likewise.
54996         * soft-fp/single.h (_FP_UNION_S): Likewise.
54997         * soft-fp/double.h (_FP_UNION_D): Likewise.
54999 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55001         [BZ #13786]
55002         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55003         not include ../strcmp.S.
55004         [USE_AS_STRNCASECMP_L]: Likewise.
55005         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55006         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55007         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55008         (__strncasecmp_l_ia32): Define as alias to
55009         __strncasecmp_l_nonascii.
55011         [BZ #5794]
55012         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55013         * sysdeps/i386/fpu/libm-test-ulps: Update.
55014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55016         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55019 2012-02-29  Jeff Law  <law@redhat.com>
55021         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55022         out of bounds read.
55024 2012-02-29  Marek Polacek  <polacek@redhat.com>
55026         [BZ #13706]
55027         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55028         * elf/Makefile: Add rules to run tst-unused-dep.out.
55030 2012-02-28  David S. Miller  <davem@davemloft.net>
55032         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55033         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55034         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55035         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55036         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55037         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55039 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55041         * math/libm-test.inc (llround_test): Move one test from
55042         lround_test.  Use TEST_f_L in moved test.
55043         (lround_test): Move misplaced test to llround_test.  Add testcase
55044         from bug 2561.
55046 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55048         * sysdeps/x86_64/fpu/e_expf.S: New file.
55049         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55051 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55053         [BZ #13637]
55054         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55055         of remain_len that may cause incomplete multi-byte character and
55056         false match.
55057         * posix/bug-regex33.c: New file.
55058         * posix/Makefile (tests): Add bug-regex33.
55060 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55062         * manual/macros.texi: New file.
55063         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55064         * manual/libc.texinfo: Include macros.texi.
55065         * manual/creatute.texi: Likewise.
55066         * manual/install.texi: Likewise.
55067         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55068         @glibcadj{} in references to the GNU C Library.
55069         * manual/charset.texi: Likewise.
55070         * manual/conf.texi: Likewise.
55071         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55072         when not using those macros.
55073         * manual/creature.texi: Likewise.
55074         * manual/crypt.texi: Likewise.
55075         * manual/errno.texi: Likewise.
55076         * manual/filesys.texi: Likewise.
55077         * manual/header.texi: Likewise.
55078         * manual/install.texi: Likewise.
55079         * manual/intro.texi: Likewise.
55080         * manual/io.texi: Likewise.
55081         * manual/job.texi: Likewise.
55082         * manual/lang.texi: Likewise.
55083         * manual/libc.texiinfo: Likewise.
55084         * manual/llio.texi: Likewise.
55085         * manual/locale.texi: Likewise.
55086         * manual/maint.texi: Likewise.
55087         * manual/math.texi: Likewise.
55088         * manual/memory.texi: Likewise.
55089         * manual/message.texi: Likewise.
55090         * manual/nss.texi: Likewise.
55091         * manual/pattern.texi: Likewise.
55092         * manual/process.texi: Likewise.
55093         * manual/resource.texi: Likewise.
55094         * manual/search.texi: Likewise.
55095         * manual/setjmp.texi: Likewise.
55096         * manual/signal.texi: Likewise.
55097         * manual/socket.texi: Likewise.
55098         * manual/startup.texi: Likewise.
55099         * manual/stdio.texi: Likewise.
55100         * manual/string.texi: Likewise.
55101         * manual/sysinfo.texi: Likewise.
55102         * manual/syslog.texi: Likewise.
55103         * manual/terminal.texi: Likewise.
55104         * manual/time.texi: Likewise.
55105         * manual/users.texi: Likewise.
55106         * INSTALL: Regenerated.
55107         * NOTES: Regenerated.
55108         * sysdeps/gnu/errlist.c: Regenerated.
55110 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55112         * include/dirent.h: Include <dirstream.h> before
55113         <dirent/dirent.h>.
55115 2012-02-28  David S. Miller  <davem@davemloft.net>
55117         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55118         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55119         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55120         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55122 2012-02-27  David S. Miller  <davem@davemloft.net>
55124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55126         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55127         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55130         frame pointer instead of stack pointer relative arg slot.
55131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55132         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55133         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55135 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55137         [BZ #3992]
55138         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55140 2012-02-27  David S. Miller  <davem@davemloft.net>
55142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55146         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55147         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55148         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55149         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55151 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55153         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55154         later.  Allow versions 5-9.
55155         * configure: Regenerated.
55156         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55157         required minimum version and 4.6 as recommended version.  Do not
55158         mention bugs in GCC 2.7 and 2.8.
55159         * INSTALL: Regenerated.
55161 2012-02-27  David S. Miller  <davem@davemloft.net>
55163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55167         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55168         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55169         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55170         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55172         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55173         manipulate bits before adding and subtracting TWO112[sx].
55174         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55176 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55178         [BZ #13775]
55179         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55180         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55181         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55182         being in POSIX, because they are in 1003.1-2008.
55184         * rt/tst-aio.c: Include <fcntl.h>.
55185         * rt/tst-aio7.c: Likewise.
55186         * rt/tst-aio64.c: Likewise.
55188         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55190 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55192         * manual/install.texi (--with-headers): Describe headers as
55193         interface headers, not private headers.
55194         (Specific advice for GNU/Linux systems): Describe use of headers
55195         from "make headers_install", not private headers from older
55196         kernels.
55197         * INSTALL: Regenerated.
55198         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55199         Change to 2.6.19.
55200         * sysdeps/unix/sysv/linux/configure: Regenerated.
55202         * manual/llio.texi (fclean): Remove documentation.
55204         * manual/Makefile (libc-texi-generated): New variable.  Include
55205         version.texi.
55206         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55207         $(libc-texi-generated), not duplicated list of files.
55208         (version.texi, stamp-version): New rules.
55209         (realclean): Remove $(libc-texi-generated), not individual files
55210         from that list.  Do not remove dir-add.texinfo.
55211         * manual/libc.texinfo: Comment out uses of edition numbers and
55212         references to printed manual.  Remove last-updated dates.
55213         (EDITION): Comment out.
55214         (ISBN): Likewise.
55215         (VERSION, UPDATED): Remove.
55216         (version.texi): Include.
55218 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55220         * sysdeps/posix/spawni.c: Include <signal.h>.
55221         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55222         * sysdeps/pthread/aio_fsync.c: Likewise.
55224 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55226         * conform/Makefile (tests): Run only when not cross-compiling and
55227         when fast-check is not defined.
55229         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55230         * conform/data/limits.h-data: Fixes for POSIX2008.
55231         * conform/run-conformtest.sh: Run all tests.
55232         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55233         headers.
55234         * include/bits/dlfcn.h: Likewise.
55235         * include/langinfo.h: Likewise.
55236         * include/monetary.h: Likewise.
55237         * include/sys/poll.h: Likewise.
55239         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55240         for __USE_GNU.
55241         * posix/spawn.h: Define __need_sigset_t.
55242         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55243         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55244         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55245         to get sigevent_t only.
55246         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55247         only for __USE_GNU.
55248         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55249         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55250         process_vm_writev only for __USE_GNU.
55251         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55253         * conform/Makefile: For now ignore errors from run-conformtest.
55254         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55255         POSIX to avoid namespace pollution.  Don't prepend headers.
55256         * conform/data/aio.h-data: Fixes for POSIX testing.
55257         * conform/data/fcntl.h-data: Likewise.
55258         * conform/data/glob.h-data: Likewise.
55259         * conform/data/grp.h-data: Likewise.
55260         * conform/data/pthread.h-data: Likewise.
55261         * conform/data/pwd.h-data: Likewise.
55262         * conform/data/signal.h-data: Likewise.
55263         * conform/data/spawn.h-data: Likewise.
55264         * conform/data/stdio.h-data: Likewise.
55265         * conform/data/stdlib.h-data: Likewise.
55266         * conform/data/stropts.h-data: Likewise.
55267         * conform/data/sys/mman.h-data: Likewise.
55268         * conform/data/sys/stat.h-data: Likewise.
55269         * conform/data/sys/types.h-data: Likewise.
55270         * conform/data/sys/wait.h-data: Likewise.
55271         * conform/data/time.h-data: Likewise.
55272         * conform/data/unistd.h-data: Likewise.
55273         * conform/data/utime.h-data: Likewise.
55275         * io/sys/stat.h: fchmod was always in POSIX.
55276         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55277         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55278         * rt/aio.h: Define __need_timespec before including <time.h>.
55279         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55280         struct.  Add forward declaration of pthread_attr_t and use it in
55281         sigevent.
55282         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55283         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55284         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55285         always remove CLK_TCK definition.
55287 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55289         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55291 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55293         * conform/run-conformtest.sh: New file.
55294         * conform/Makefile: Run run-conformtest for tests.
55295         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55296         support.
55298         * conform/data/uchar.h-data: New file.
55299         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55300         * conform/data/arpa/inet.h-data: Likewise.
55301         * conform/data/assert.h-data: Likewise.
55302         * conform/data/complex.h-data: Likewise.
55303         * conform/data/cpio.h-data: Likewise.
55304         * conform/data/ctype.h-data: Likewise.
55305         * conform/data/dirent.h-data: Likewise.
55306         * conform/data/dlfcn.h-data: Likewise.
55307         * conform/data/errno.h-data: Likewise.
55308         * conform/data/fcntl.h-data: Likewise.
55309         * conform/data/float.h-data: Likewise.
55310         * conform/data/fmtmsg.h-data: Likewise.
55311         * conform/data/fnmatch.h-data: Likewise.
55312         * conform/data/ftw.h-data: Likewise.
55313         * conform/data/glob.h-data: Likewise.
55314         * conform/data/grp.h-data: Likewise.
55315         * conform/data/iconv.h-data: Likewise.
55316         * conform/data/inttypes.h-data: Likewise.
55317         * conform/data/langinfo.h-data: Likewise.
55318         * conform/data/libgen.h-data: Likewise.
55319         * conform/data/limits.h-data: Likewise.
55320         * conform/data/locale.h-data: Likewise.
55321         * conform/data/math.h-data: Likewise.
55322         * conform/data/monetary.h-data: Likewise.
55323         * conform/data/mqueue.h-data: Likewise.
55324         * conform/data/ndbm.h-data: Likewise.
55325         * conform/data/net/if.h-data: Likewise.
55326         * conform/data/netdb.h-data: Likewise.
55327         * conform/data/netinet/in.h-data: Likewise.
55328         * conform/data/nl_types.h-data: Likewise.
55329         * conform/data/poll.h-data: Likewise.
55330         * conform/data/pthread.h-data: Likewise.
55331         * conform/data/pwd.h-data: Likewise.
55332         * conform/data/regex.h-data: Likewise.
55333         * conform/data/sched.h-data: Likewise.
55334         * conform/data/search.h-data: Likewise.
55335         * conform/data/semaphore.h-data: Likewise.
55336         * conform/data/setjmp.h-data: Likewise.
55337         * conform/data/signal.h-data: Likewise.
55338         * conform/data/spawn.h-data: Likewise.
55339         * conform/data/stdarg.h-data: Likewise.
55340         * conform/data/stdio.h-data: Likewise.
55341         * conform/data/stdlib.h-data: Likewise.
55342         * conform/data/string.h-data: Likewise.
55343         * conform/data/strings.h-data: Likewise.
55344         * conform/data/stropts.h-data: Likewise.
55345         * conform/data/sys/ipc.h-data: Likewise.
55346         * conform/data/sys/mman.h-data: Likewise.
55347         * conform/data/sys/msg.h-data: Likewise.
55348         * conform/data/sys/resource.h-data: Likewise.
55349         * conform/data/sys/select.h-data: Likewise.
55350         * conform/data/sys/sem.h-data: Likewise.
55351         * conform/data/sys/shm.h-data: Likewise.
55352         * conform/data/sys/socket.h-data: Likewise.
55353         * conform/data/sys/stat.h-data: Likewise.
55354         * conform/data/sys/statvfs.h-data: Likewise.
55355         * conform/data/sys/time.h-data: Likewise.
55356         * conform/data/sys/timeb.h-data: Likewise.
55357         * conform/data/sys/times.h-data: Likewise.
55358         * conform/data/sys/types.h-data: Likewise.
55359         * conform/data/sys/uio.h-data: Likewise.
55360         * conform/data/sys/un.h-data: Likewise.
55361         * conform/data/sys/utsname.h-data: Likewise.
55362         * conform/data/sys/wait.h-data: Likewise.
55363         * conform/data/syslog.h-data: Likewise.
55364         * conform/data/tar.h-data: Likewise.
55365         * conform/data/termios.h-data: Likewise.
55366         * conform/data/utime.h-data: Likewise.
55367         * conform/data/utmpx.h-data: Likewise.
55368         * conform/data/varargs.h-data: Likewise.
55369         * conform/data/wchar.h-data: Likewise.
55370         * conform/data/wctype.h-data: Likewise.
55371         * conform/data/wordexp.h-data: Likewise.
55373         * include/stropts.h: New file.
55374         * include/uchar.h: New file.
55375         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55376         * include/assert.h: Likewise.
55377         * include/ctype.h: Likewise.
55378         * include/dirent.h: Likewise.
55379         * include/dlfcn.h: Likewise.
55380         * include/fcntl.h: Likewise.
55381         * include/fnmatch.h: Likewise.
55382         * include/glob.h: Likewise.
55383         * include/grp.h: Likewise.
55384         * include/libio.h: Likewise.
55385         * include/locale.h: Likewise.
55386         * include/math.h: Likewise.
55387         * include/net/if.h: Likewise.
55388         * include/netdb.h: Likewise.
55389         * include/netinet/in.h: Likewise.
55390         * include/pthread.h: Likewise.
55391         * include/pwd.h: Likewise.
55392         * include/regex.h: Likewise.
55393         * include/sched.h: Likewise.
55394         * include/search.h: Likewise.
55395         * include/setjmp.h: Likewise.
55396         * include/signal.h: Likewise.
55397         * include/stdio.h: Likewise.
55398         * include/stdlib.h: Likewise.
55399         * include/string.h: Likewise.
55400         * include/sys/cdefs.h: Likewise.
55401         * include/sys/mman.h: Likewise.
55402         * include/sys/msg.h: Likewise.
55403         * include/sys/resource.h: Likewise.
55404         * include/sys/select.h: Likewise.
55405         * include/sys/socket.h: Likewise.
55406         * include/sys/stat.h: Likewise.
55407         * include/sys/statvfs.h: Likewise.
55408         * include/sys/time.h: Likewise.
55409         * include/sys/times.h: Likewise.
55410         * include/sys/uio.h: Likewise.
55411         * include/sys/utsname.h: Likewise.
55412         * include/sys/wait.h: Likewise.
55413         * include/termios.h: Likewise.
55414         * include/time.h: Likewise.
55415         * include/ulimit.h: Likewise.
55416         * include/unistd.h: Likewise.
55417         * include/utime.h: Likewise.
55418         * include/wchar.h: Likewise.
55419         * include/wctype.h: Likewise.
55420         * include/wordexp.h: Likewise.
55422         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55424         * time/time.h: TIME_UTC must be a macro.
55425         Make timespec_get available for ISO C11 only as well.
55427 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55429         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55430         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55432 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55434         * configure.in: Use -o not -a in test for unsupported multi-arch.
55436 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55438         * manual/texinfo.tex: Update to version 2012-01-19.16.
55440 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55442         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55444 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55446         [BZ #13738]
55447         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55448         * manual/fdl-1.3.texi: New file.
55449         * manual/fdl-1.1.texi: File removed.
55451         [BZ #13738]
55452         * manual/libc.texinfo (FDL_VERSION): New @set.
55453         Use it for mention of FDL in cover text.
55454         (Documentation License): Use it in @include file name.
55456 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55457             Roland McGrath  <roland@hack.frob.com>
55459         [BZ #5461]
55460         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55461         (not LONG_LONG_MAX and LONG_LONG_MIN.
55462         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55463         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
55464         name.
55465         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55467 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55469         [BZ #2547]
55470         [BZ #11365]
55471         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55472         manipulate bits before adding and subtracting TWO23[sx].
55473         * math/libm-test.inc (nearbyint_test): Add more tests.
55475 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55477         [BZ #2548]
55478         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55479         bits before adding and subtracting TWO23[sx].
55480         * math/libm-test.inc (rint_test): Add more tests.
55481         (rint_test_tonearest): Likewise.
55482         (rint_test_towardzero): Likewise.
55483         (rint_test_downward): Likewise.
55484         (rint_test_upward: Likewise.
55486 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55488         [BZ #10110]
55489         * include/stdc-predef.h: New file.  Extracted from features.h.
55490         * include/features.h: Include stdc-predef.h.
55491         * Makefile (headers): Add stdc-predef.h.
55492         * CONFORMANCE (Compiler limitations): Update.
55494 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55496         * manual/libc.texinfo (VERSION, UPDATED): Revert.
55498 2012-02-21  David S. Miller  <davem@davemloft.net>
55500         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55501         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55503 2012-02-20  David S. Miller  <davem@davemloft.net>
55505         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55506         using a normal save/restore sequence, rather than allocating a
55507         dummy stack frame just to store a frame pointer and restore.
55508         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55510 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55512         * manual/install.texi: Fix stray word in line-wrapped comment.
55514 2012-02-20  David S. Miller  <davem@davemloft.net>
55516         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55517         both binutils and gcc support GOTDATA.
55519         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55520         "rd %pc" in the PIC register setup sequences.
55522         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55523         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55524         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55525         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55526         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55527         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55528         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55529         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55530         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55531         (SYSCALL_ERROR_HANDLER): Likewise.
55532         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55533         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55534         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55535         (SYSCALL_ERROR_HANDLER): Likewise.
55537         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55538         (HAVE_GCC_GOTDATA): New.
55539         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55540         relocation support in both binutils and gcc.
55541         * sysdeps/sparc/elf/configure: Regenerate.
55543         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55544         * sysdeps/sparc/sparc32/elf/configure: Delete.
55545         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55546         * sysdeps/sparc/sparc64/elf/configure: Delete.
55547         * sysdeps/sparc/elf/configure.in: New file.
55548         * sysdeps/sparc/elf/configure: Generate.
55550         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55551         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55552         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55553         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55554         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55556 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55558         * manual/install.texi: Do not mention specific glibc version
55559         numbers.
55560         * manual/libc.texinfo (VERSION, UPDATED): Update.
55561         (@copying): Use @copyright{} and range of years.
55563 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55565         [BZ #13695]
55566         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55567         [crti.S not in sysdirs] (generated): Do not append.
55568         [crti.S not in sysdirs] (omit-deps): Likewise.
55569         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55570         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55571         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55572         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55573         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55574         Likewise.
55575         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55576         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55577         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55578         * csu/defs.awk: Remove file.
55579         * sysdeps/generic/initfini.c: Likewise.
55580         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55581         variable.
55582         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55583         Likewise.
55585 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55587         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55588         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55589         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55590         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55591         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55592         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55593         <bits/epoll.h>.
55594         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55595         (__EPOLL_PACKED): Define to empty if not defined by
55596         <bits/epoll.h>.
55597         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55598         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55599         bits/epoll.h.
55601 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55603         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55604         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55605         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55606         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
55607         <bits/timerfd.h>.
55608         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
55609         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55610         bits/timerfd.h.
55612 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55614         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
55615         in C locale.
55616         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55617         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55618         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
55619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55621 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
55623         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55624         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55626 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
55628         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
55629         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
55630         defined.
55631         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
55632         Likewise.
55633         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
55634         entry for 2.16.
55636 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
55638         * math/w_acos.c: Use non-signaling floating-point comparisons.
55639         * math/w_acosf.c: Likewise.
55640         * math/w_acosh.c: Likewise.
55641         * math/w_acoshf.c: Likewise.
55642         * math/w_acoshl.c: Likewise.
55643         * math/w_acosl.c: Likewise.
55644         * math/w_asin.c: Likewise.
55645         * math/w_asinf.c: Likewise.
55646         * math/w_asinl.c: Likewise.
55647         * math/w_atanh.c: Likewise.
55648         * math/w_atanhf.c: Likewise.
55649         * math/w_atanhl.c: Likewise.
55650         * math/w_exp2.c: Likewise.
55651         * math/w_exp2f.c: Likewise.
55652         * math/w_exp2l.c: Likewise.
55653         * math/w_j0.c: Likewise.
55654         * math/w_j0f.c: Likewise.
55655         * math/w_j0l.c: Likewise.
55656         * math/w_j1.c: Likewise.
55657         * math/w_j1f.c: Likewise.
55658         * math/w_j1l.c: Likewise.
55659         * math/w_jn.c: Likewise.
55660         * math/w_jnf.c: Likewise.
55661         * math/w_log.c: Likewise.
55662         * math/w_log10.c: Likewise.
55663         * math/w_log10f.c: Likewise.
55664         * math/w_log10l.c: Likewise.
55665         * math/w_log2.c: Likewise.
55666         * math/w_log2f.c: Likewise.
55667         * math/w_log2l.c: Likewise.
55668         * math/w_logf.c: Likewise.
55669         * math/w_logl.c: Likewise.
55670         * math/w_sqrt.c: Likewise.
55671         * math/w_sqrtf.c: Likewise.
55672         * math/w_sqrtl.c: Likewise.
55673         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55674         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55675         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55676         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55677         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55679 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55681         [BZ #9739]
55682         * manual/string.texi (strnlen): Use correct parameter name in
55683         equivalent expression.
55685 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55687         [BZ #11174]
55688         * manual/users.texi (seteuid): Consistently use neweuid for
55689         argument name.
55691 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55693         [BZ #13704]
55694         * manual/nss.texi (Services in the NSS configuration): Correct
55695         list of services in example configuration file.
55697 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
55699         [BZ #11322]
55700         * manual/arith.texi: Remove statements about negative zero
55701         behaving identically to zero.
55703 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55705         [BZ #5993]
55706         * manual/install.texi: Do not document upgrading from libc5.
55708 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55710         [BZ #4596]
55711         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55713 2012-02-18  David S. Miller  <davem@davemloft.net>
55715         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55716         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55717         %o7 across the call.
55718         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55719         instead.
55720         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55721         SETUP_PIC_REG_LEAF.
55722         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55723         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55724         * sysdeps/sparc/crtn.S: Likewise.
55726 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
55728         * aout/Makefile: Remove.
55730 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
55732         [BZ #13058]
55733         * manual/examples/argp-ex1.c (main): Format definition in GNU
55734         style.
55735         * manual/examples/argp-ex2.c (main): Likewise.
55736         * manual/examples/argp-ex3.c (main): Likewise.
55737         * manual/examples/argp-ex4.c (main): Likewise.
55738         * manual/examples/longopt.c (main): Use new-style prototype
55739         definition.
55740         * manual/examples/strncat.c (main): Specify return type and use
55741         (void) for arguments.
55742         * manual/examples/subopt.c (main): Use char **argv argument.
55744 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55746         [BZ #5077]
55747         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55748         rounding modes.
55750 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
55752         [BZ #6907]
55753         * manual/string.texi (strchr): Change when strchrnul is
55754         recommended.
55756 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
55758         [BZ #174]
55759         * manual/locale.texi (setlocale): Document LOCPATH.
55761 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55763         [BZ #10210]
55764         * manual/process.texi (execle): Move @dots{} before last argument.
55766 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
55768         [BZ #12047]
55769         * manual/charset.texi (Generic Charset Conversion): Fix typo
55770         (LC_TYPE -> LC_CTYPE).
55772 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
55774         [BZ #5805]
55775         * manual/arith.texi (scalbn): Use @var{} on parameter names.
55776         (scalbnf): Likewise.
55777         (scalbnl): Likewise.
55778         (scalbln): Likewise.
55779         (scalblnf): Likewise.
55780         (scalblnl): Likewise.
55781         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55782         (vwarnx): Likewise.
55783         (verr): Likewise.
55784         (verrx): Likewise.
55785         * manual/filesys.texi (telldir): Use braces around return type.
55786         * manual/llio.texi (mmap): Add space after comma.
55787         (mmap64): Likewise.
55788         * manual/math.texi (jn): Use @var{} on parameter names.
55789         (jnf): Likewise.
55790         (jnl): Likewise.
55791         (yn): Likewise.
55792         (ynf): Likewise.
55793         (ynl): Likewise.
55794         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55795         line.
55796         * manual/resource.texi (ulimit): Use @dots{} instead of literal
55797         "...".
55798         (sched_get_priority_min): Remove semicolon on @deftypefun line.
55799         (sched_get_priority_max): Likewise.
55800         * manual/signal.texi (sigvec): Add space after comma.
55801         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55802         names.
55803         (if_indextoname): Likewise.
55804         (if_freenameindex): Likewise.
55805         (sendto): Use ',' instead of '.' in prototype.
55806         * manual/startup.texi (syscall): Use @dots{} instead of literal
55807         "...".
55808         * manual/stdio.texi (__fpending): Separate initial words of
55809         paragraph from @deftypefun line.
55810         * manual/syslog.texi (syslog): Use @dots{} instead of literal
55811         "...".
55812         (vsyslog): Use @var{} on parameter names.
55813         * manual/terminal.texi (stty): Use @var{} on parameter names.
55814         * manual/users.texi (getutmp): Use @var{} on parameter names.
55815         (getutmpx): Likewise.
55817 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55819         [BZ #6884]
55820         * manual/stdio.texi (fopen): Fix typos in description of
55821         ",ccs=STRING".
55823 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
55825         [BZ #4026]
55826         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55827         get clock_id definition.
55829 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
55831         [BZ #4822]
55832         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55833         (madvise): Cast every argument to void on its own.
55835 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55837         [BZ #9902]
55838         * manual/startup.texi (Exit Status): Fix typo.
55840 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55842         [BZ #10140]
55843         * manual/examples/argp-ex1.c: Include <stdlib.h>.
55844         * manual/examples/argp-ex2.c: Likewise.
55845         * manual/examples/argp-ex3.c: Likewise.
55847 2012-02-16  Richard Henderson  <rth@redhat.com>
55849         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55850         * sysdeps/s390/s390-32/initfini.c: Remove.
55851         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55852         * sysdeps/s390/s390-64/initfini.c: Remove.
55854 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55856         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55857         compiler output for sysdeps/generic/initfini.c.
55858         * sysdeps/sh/elf/initfini.c: Remove file.
55860 2012-02-16  David S. Miller  <davem@davemloft.net>
55862         [BZ #11494]
55863         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55865         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55866         * sysdeps/sparc/crti.S: New file.
55867         * sysdeps/sparc/crtn.S: New file.
55868         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55869         * sysdeps/sparc/sparc64/Makefile: Likewise.
55871 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
55873         [BZ #3335]
55874         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55876 2012-02-15  Roland McGrath  <roland@hack.frob.com>
55878         [BZ #4822]
55879         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55881         * mach/devstream.c (cookie_io_functions_t): Macro removed.
55882         (write, read, close): Likewise.
55883         Patch by Aurelien Jarno <aurelien@aurel32.net>.
55885 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
55887         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55888         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55889         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55890         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55891         <bits/signalfd.h>.
55892         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55893         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55894         bits/signalfd.h.
55896 2012-02-14  Marek Polacek  <polacek@redhat.com>
55898         * sysdeps/x86_64/crti.S: New file.
55899         * sysdeps/x86_64/crtn.S: New file.
55900         * sysdeps/x86_64/elf/initfini.c: Remove file.
55902 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55904         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55905         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55906         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55907         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55908         <bits/inotify.h>.
55909         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55910         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55911         bits/inotify.h.
55913 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55915         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55916         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55917         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55918         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55919         <bits/eventfd.h>.
55920         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55921         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55922         bits/eventfd.h.
55924 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
55926         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55927         __feraiseexcept instead of feraiseexcept.
55929         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55930         nanosleep invocations.
55931         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55932         strings, and add error checking for a nanosleep invocations.
55934 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
55936         Replace FSF snail mail address with URLs, as per GNU coding standards.
55937         Most of the snail mail addresses were wrong anyway, and omitting
55938         them makes the source code easier to maintain.  Almost all of the
55939         changes are to license notices and to locale LC_IDENTIFICATION
55940         addresses, except for this one:
55941         * manual/libc.texinfo: In "Published by", give the FSF's URL,
55942         not its snail mail address.
55944 2012-02-09  Richard Henderson  <rth@twiddle.net>
55946         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55947         of kernel-features.h.
55949         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55951 2012-02-08  Marek Polacek  <polacek@redhat.com>
55953         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55954         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55955         * sysdeps/gnu/_G_config.h: Likewise.
55956         * sysdeps/generic/_G_config.h: Likewise.
55958 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
55960         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55961         tests.
55962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55964         * sysdeps/powerpc/powerpc32/crti.S: New file.
55965         * sysdeps/powerpc/powerpc32/crtn.S: New file.
55966         * sysdeps/powerpc/powerpc64/crti.S: New file.
55967         * sysdeps/powerpc/powerpc64/crtn.S: New file.
55969         * Makeconfig (have-initfini): Don't set.
55970         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55971         * configure.in (nopic_initfini): Don't substitute.
55972         * config.h.in (HAVE_INITFINI): Don't #undef.
55973         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55974         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55976 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
55978         Support crti.S and crtn.S provided directly by architectures.
55979         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55980         [crti.S in sysdirs] (omit-deps): Likewise.
55981         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55982         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55983         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55984         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
55985         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
55986         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
55987         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55988         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
55989         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
55990         compiler output for sysdeps/generic/initfini.c.
55991         * sysdeps/i386/elf/Makefile: Remove file.
55992         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
55994 2012-02-07  Marek Polacek  <polacek@redhat.com>
55996         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
55997         * sysdeps/gnu/_G_config.h: Likewise.
55998         * sysdeps/mach/hurd/_G_config.h: Likewise.
56000 2012-02-07  Marek Polacek  <polacek@redhat.com>
56002         * math/Makefile (tests): Add tst-CMPLX2.
56003         * math/tst-CMPLX2.c: New file.
56005 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56007         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56009         * math/libm-test.inc (jn_test): Add missing L suffix.
56011 2012-02-06  Marek Polacek  <polacek@redhat.com>
56013         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56014         * sysdeps/i386/fpu/e_powf.S: Likewise.
56015         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56016         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56017         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56018         * sysdeps/i386/fpu/e_pow.S: Likewise.
56019         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56020         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56021         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56022         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56023         * sysdeps/i386/fpu/e_log2.S: Likewise.
56024         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56025         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56026         * sysdeps/i386/fpu/e_powl.S: Likewise.
56027         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56028         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56029         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56030         * sysdeps/i386/fpu/e_logl.S: Likewise.
56031         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56032         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56033         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56034         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56035         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56036         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56037         * sysdeps/i386/fpu/e_log.S: Likewise.
56038         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56039         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56040         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56041         * sysdeps/i386/fpu/e_logf.S: Likewise.
56042         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56043         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56044         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56045         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56046         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56047         * sysdeps/i386/fpu/e_log10.S: Likewise.
56048         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56049         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56050         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56051         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56052         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56053         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56054         * sysdeps/i386/asm-syntax.h: Likewise.
56055         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56056         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56057         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56058         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56059         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56060         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56061         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56062         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56063         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56064         * sysdeps/powerpc/sysdep.h: Likewise.
56065         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56066         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56068 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56070         [BZ #411]
56071         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56073 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56075         * sysdeps/i386/sysdep.h: Include <features.h>.
56076         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56077         version.
56079 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56081         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56082         Define.
56083         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56084         LOAD_PIC_REG_STR.
56086 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56088         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56089         (SETUP_PIC_REG): Use GET_PC_THUNK.
56090         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56091         macro.
56093 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56095         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56096         for non-PIC compilation.
56097         (SETUP_PIC_REG): Add .p2align directive.
56098         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56099         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56100         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56101         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56102         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56103         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56104         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56105         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56106         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56107         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56108         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56109         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56110         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56111         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56112         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56113         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56114         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56115         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56116         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56117         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56118         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56119         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56120         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56121         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56122         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56123         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56124         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56125         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56126         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56127         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56128         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56129         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56130         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56131         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56132         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56133         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56134         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56135         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56136         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56137         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56138         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56140 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56142         * math/tst-CMPLX.c: Include <stdio.h>.
56144 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56146         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56147         float.
56148         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56149         * sysdeps/sparc/bits/mathdef.h: Likewise.
56151 2012-01-31  Marek Polacek  <polacek@redhat.com>
56153         * libio/libio.h: Don't define _PARAMS.
56154         * locale/programs/config.h: Don't define PARAMS.
56155         * stdlib/strtol_l.c: Likewise.
56156         (__strtol_l): Remove PARAMS from the prototype.
56158 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56160         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56161         names.  Just use the correct names.  Remove unnecessary wrapper
56162         functions.
56163         * malloc/arena.c: Likewise.
56164         * malloc/hooks.c: Likewise.
56166         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56167         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56168         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56170 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56172         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56173         into tail calls.
56174         (update_get_addr): New function.
56175         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56176         GET_ADDR_MODULE parameter.
56178 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56180         * crypt/cert.c: Remove __STDC__ conditionals.
56181         * crypt/crypt-entry.c: Likewise.
56182         * crypt/crypt_util.c: Likewise.
56183         * libio/filedoalloc.c: Likewise.
56184         * libio/fileops.c: Likewise.
56185         * libio/genops.c: Likewise.
56186         * libio/iofclose.c: Likewise.
56187         * libio/iofdopen.c: Likewise.
56188         * libio/iofopen.c: Likewise.
56189         * libio/iofopen64.c: Likewise.
56190         * libio/iogetdelim.c: Likewise.
56191         * libio/iopopen.c: Likewise.
56192         * libio/obprintf.c: Likewise.
56193         * libio/oldfileops.c: Likewise.
56194         * libio/oldiofclose.c: Likewise.
56195         * libio/oldiofdopen.c: Likewise.
56196         * libio/oldiofopen.c: Likewise.
56197         * libio/oldiopopen.c: Likewise.
56198         * libio/wfiledoalloc.c: Likewise.
56199         * libio/wgenops.c: Likewise.
56200         * locale/programs/xmalloc.c: Likewise.
56201         * misc/syslog.c: Likewise.
56202         * stdio-common/xbug.c: Likewise.
56203         * string/memchr.c: Likewise.
56204         * string/memcmp.c: Likewise.
56205         * string/memrchr.c: Likewise.
56206         * string/rawmemchr.c: Likewise.
56207         * sysdeps/posix/getcwd.c: Likewise.
56208         * time/strftime_l.c: Likewise.
56210 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56212         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56213         * config.make.in (config-cflags-sse2avx): Define.
56214         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56215         Fix typo.
56217 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56219         * scripts/config.guess: Update from upstream config git repository.
56220         * scripts/config.sub: Likewise.
56222 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56224         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56225         (EM_NUM): Update.
56226         (R_TILEPRO_*, R_TILEGX_*): New macros.
56228         * scripts/firstversions.awk: Fix bug in version range handling.
56230         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56232         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56234         * include/sys/epoll.h: New file.
56235         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56236         libc_hidden_def.
56238 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56240         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56241         Avoid unnecessary __WORDSIZE == 64 test.
56242         (fmaxf): Use VEX format if possible.
56243         (fmax): Likewise.
56244         (fminf): Likewise.
56245         (fmin): Likewise.
56247         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56248         * math/math_private.h: Remove libc_fegetround* and
56249         libc_fesetround*.
56250         * sysdeps/i386/configure.in: Check for -msse2avx.
56251         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56252         also if SSE2AVX is defined.
56253         Remove libc_fegetround* and libc_fesetround*.
56254         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56255         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56256         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56257         of HAS_YMM_USABLE.
56258         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56259         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56260         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56261         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56262         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56264         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56266 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56268         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56269         size is not set.
56270         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56272 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56274         [BZ #13618]
56275         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56276         relocation.
56277         * Makeconfig (libm): Define.
56278         * elf/Makefile: Add rules to build and run tst-relsort1.
56279         * elf/tst-relsort1.c: New file.
56280         * elf/tst-relsort1mod1.c: New file.
56281         * elf/tst-relsort1mod2.c: New file.
56283 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56285         * math/s_ldexp.c: Remove __STDC__ conditionals.
56286         * math/s_ldexpf.c: Likewise.
56287         * math/s_ldexpl.c: Likewise.
56288         * math/s_nextafter.c: Likewise.
56289         * math/s_nexttowardf.c: Likewise.
56290         * math/s_significand.c: Likewise.
56291         * math/s_significandf.c: Likewise.
56292         * math/s_significandl.c: Likewise.
56293         * math/w_jnl.c: Likewise.
56294         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56295         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56296         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56297         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56298         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56299         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56300         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56301         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56302         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56303         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56304         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56305         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56306         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56307         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56308         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56309         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56310         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56311         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56312         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56313         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56314         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56315         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56316         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56317         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56318         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56319         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56320         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56321         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56322         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56323         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56324         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56325         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56326         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56327         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56328         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56329         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56330         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56331         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56332         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56333         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56334         * sysdeps/ieee754/k_standard.c: Likewise.
56335         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56336         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56337         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56338         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56339         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56340         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56341         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56342         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56343         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56344         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56345         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56346         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56347         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56348         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56349         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56350         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56351         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56352         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56353         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56354         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56355         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56356         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56357         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56358         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56359         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56360         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56361         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56362         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56363         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56364         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56365         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56366         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56367         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56368         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56369         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56370         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56371         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56372         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56373         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56374         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56375         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56376         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56377         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56378         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56379         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56380         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56381         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56382         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56383         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56384         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56385         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56386         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56387         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56388         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56389         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56390         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56391         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56392         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56393         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56394         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56395         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56396         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56397         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56398         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56399         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56400         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56401         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56402         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56403         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56404         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56405         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56406         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56407         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56408         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56409         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56410         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56411         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56412         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56413         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56414         * sysdeps/ieee754/s_matherr.c: Likewise.
56415         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56416         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56417         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56418         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56420 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56422         * crypt/md5.h: Remove __STDC__ conditionals.
56423         * libio/libioP.h: Likewise.
56424         * locale/programs/config.h: Likewise.
56425         * sysdeps/generic/sysdep.h: Likewise.
56426         * sysdeps/i386/asm-syntax.h: Likewise.
56427         * sysdeps/s390/asm-syntax.h: Likewise.
56428         * sysdeps/unix/sysdep.h: Likewise.
56429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56432 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56434         * libio/libio.h: Remove __STDC__ conditionals.
56435         * malloc/obstack.h: Likewise.
56436         * math/complex.h: Likewise.
56437         * math/math.h: Likewise.
56438         * sysdeps/generic/_G_config.h: Likewise.
56439         * sysdeps/gnu/_G_config.h: Likewise.
56440         * sysdeps/mach/hurd/_G_config.h: Likewise.
56441         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56442         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56443         * sysdeps/sparc/bits/mathdef.h: Likewise.
56445 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
56447         [BZ #13583]
56448         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56449         Clean up HAS_* macros.
56450         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56451         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56452         possible.
56453         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56454         HAS_AVX.
56455         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56456         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56457         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56458         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56459         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56461 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
56463         * elf/tst-unique3.cc (gets): Remove declaration.
56464         * elf/tst-unique3lib.cc (gets): Likewise.
56465         * elf/tst-unique3lib2.cc (gets): Likewise.
56466         * elf/tst-unique4.cc (gets): Likewise.
56468 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
56470         * include/stdio.h: Add C++ protection.  Add gets declarations and
56471         definitions.
56472         * debug/tst-chk1.c: Don't declare gets here.
56473         * stdio-common/tst-gets.c: Likewise.
56475 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56477         * posix/glob: Remove directory.
56479 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56481         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56483 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
56485         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56486         of the non-standard EPFNOSUPPORT.
56488 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56490         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56491         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56492         ANYWHERE set to 1 only on KERN_NO_SPACE error.
56494 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
56496         * wcsmbs/uchar.h: Test __STDC_VERSION__.
56498 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
56500         * nscd/aicache.c (addhstaiX): Do not cache negative results of
56501         transient errors.
56502         * nscd/grpcache.c (cache_addgr): Likewise.
56503         * nscd/hstcache.c (cache_addhst): Likewise.
56504         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56505         * nscd/pwdcache.c (cache_addpw): Likewise.
56506         * nscd/servicescache.c (cache_addserv): Likewise.
56508 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
56510         * malloc/malloc.c: Various cleanups.
56511         * malloc/hooks.c: Likewise.
56513         * stdlib/Makefile (tests): Add bug-fmtmsg1.
56514         * stdlib/bug-fmtmsg1.c: New file.
56516         * stdlib/fmtmsg.c (init): Add missing unlock.
56517         Patch by Peng Haitao <penght@cn.fujitsu.com>.
56519 2012-01-12  Marek Polacek  <polacek@redhat.com>
56521         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56522         and _GNU_SOURCE.
56524 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56526         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56527         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56528         macro to ensure uniqueness of label name.
56529         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56530         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56532 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
56534         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56536         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56537         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56538         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56539         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56541 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
56543         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56545         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56546         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56547         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56549         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56551         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56552         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56553         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56554         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56556         * math/bits/math-finite.h: Add ldexp support.
56558 2012-01-10  Marek Polacek  <polacek@redhat.com>
56560         * locale/programs/localedef.h (show_archive_content): Add noreturn
56561         attribute.
56563 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
56565         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56567 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56569         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56571         * io/Makefile (headers): Add bits/poll2.h.
56573 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
56575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56576         typo #include statement.
56578 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56580         * include/sys/cdefs.h: Define __attribute_alloc_size.
56581         * catgets/gencat.c: Add alloc_size attribute and apply consistently
56582         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56583         * elf/pldd.c: Likewise.
56584         * iconv/iconv_charmap.c: Likewise.
56585         * iconv/iconvconfig.c: Likewise.
56586         * iconv/strtab.c: Likewise.
56587         * locale/programs/locale.c: Likewise.
56588         * locale/programs/localedef.h: Likewise.
56589         * locale/programs/simple-hash.c: Likewise.
56590         * nscd/nscd.h: Likewise.
56591         * nss/makedb.c: Likewise.
56592         * sysdeps/generic/ldconfig.h: Likewise.
56593         * locale/programs/localedef.c: Remove xmalloc prototype.
56594         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56596 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56598         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56599         appropriate.
56601 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56603         * math/Makefile (tests): Add tst-CMPLX.
56604         * math/tst-CMPLX.c: New file.
56606         * math/complex.h (CMPLXL): Fix typo.
56608         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
56609         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
56610         GLIBC_2.16.
56611         * debug/tst-chk1.c: Add poll and ppoll tests.
56612         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
56613         * include/sys/poll.h: Add hidden proto for ppoll.
56614         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
56615         * sysdeps/mach/hurd/ppoll.c: Likewise.
56616         * io/ppoll.c: Likewise.
56617         * debug/poll_chk.c: New file.
56618         * debug/ppoll_chk.c: New file.
56619         * include/bits/poll2.h: New file.
56620         * io/bits/poll2.h: New file.
56622         [BZ #1350]
56623         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
56625         * configure.in: static is always set to yes.  Remove.
56626         * config.make.in: Don't set build-static.
56627         * Makeconfig: Remove use of build-static.
56628         * dlfcn/Makefile: Likewise.
56629         * elf/Makefile: Likewise.
56630         * math/Makefile: Likewise.
56631         * misc/Makefile: Likewise.
56632         * nptl/Makefile: Likewise.
56633         * sysdeps/mach/hurd/Makefile: Likewise.
56635         * configure.in: PWD_P is not used anymore.
56636         * config.make.in: Remove PWD_P entry.
56638         * configure.in: Remove last remnants of RANLIB.
56639         No need to check for signed size_t anymore.
56640         Don't set libc_commonpagesize and libc_relro_required here for Alpha
56641         and IA-64.
56642         Remove __builtin_expect test because we require at least gcc 3.4.
56643         * aclocal.m4: Likewise.
56645         * wcsmbs/mbrtoc16.c: Implement using towc function.
56646         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
56647         * wcsmbs/wcsmbsload.c: Likewise.
56648         * iconv/gconv_simple.c: Likewise.
56649         * iconv/gconv_int.h: Likewise.
56650         * iconv/gconv_builtin.h: Likewise.
56651         * iconv/iconv_prog.c: Remove CHAR16 handling.
56653         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
56655         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
56657         * configure.in: Remove --with-elf and --enable-bounded options.
56658         Dont set base_machine for ia64.  More non-ELF conditions removed.
56659         Remove testing and setting of leading underscore information.
56660         * config.make.in (build-bounded): Set to no.
56661         * config.h.in: Remove NO_UNDERSCORES entry.
56662         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
56663         them.
56664         * csu/start.c: Remove !NO_UNDERSCORE code.
56665         * locale/localeinfo.h: Likewise.
56666         * sysdeps/generic/machine-gmon.h: Likewise.
56667         * sysdeps/generic/sysdep.h: Likewise.
56668         * sysdeps/i386/sysdep.h: Likewise.
56669         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56670         * sysdeps/mach/sysdep.h: Likewise.
56671         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56672         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56673         * sysdeps/sh/sysdep.h: Likewise.
56674         * sysdeps/sparc/sparc32/alloca.S: Likewise.
56675         * sysdeps/unix/i386/sysdep.S: Likewise.
56676         * sysdeps/unix/sparc/start.c: Likewise.
56677         * sysdeps/unix/sparc/sysdep.S: Likewise.
56678         * sysdeps/unix/sparc/sysdep.h: Likewise.
56679         * sysdeps/unix/start.c: Likewise.
56680         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56681         * sysdeps/x86_64/sysdep.h: Likewise.
56683 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
56685         [BZ #13553]
56686         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56687         for non-gcc.
56688         * argp/argp-fmtstream.h: Use const instead __const.
56689         * argp/argp.h: Likewise.
56690         * assert/assert.h: Likewise.
56691         * bits/fenv.h: Likewise.
56692         * bits/sched.h: Likewise.
56693         * bits/sigset.h: Likewise.
56694         * bits/sigthread.h: Likewise.
56695         * catgets/nl_types.h: Likewise.
56696         * conform/data/pthread.h-data: Likewise.
56697         * crypt/crypt-private.h: Likewise.
56698         * crypt/crypt.h: Likewise.
56699         * crypt/crypt_util.c: Likewise.
56700         * ctype/ctype.h: Likewise.
56701         * debug/execinfo.h: Likewise.
56702         * debug/mbsnrtowcs_chk.c: Likewise.
56703         * debug/mbsrtowcs_chk.c: Likewise.
56704         * debug/wcsnrtombs_chk.c: Likewise.
56705         * debug/wcsrtombs_chk.c: Likewise.
56706         * debug/wcstombs_chk.c: Likewise.
56707         * dirent/dirent.h: Likewise.
56708         * dlfcn/dlfcn.h: Likewise.
56709         * elf/neededtest4.c: Likewise.
56710         * grp/grp.h: Likewise.
56711         * gshadow/gshadow.h: Likewise.
56712         * iconv/gconv.h: Likewise.
56713         * iconv/gconv_int.h: Likewise.
56714         * iconv/gconv_simple.c: Likewise.
56715         * iconv/iconv.h: Likewise.
56716         * iconv/loop.c: Likewise.
56717         * iconv/skeleton.c: Likewise.
56718         * include/aio.h: Likewise.
56719         * include/aliases.h: Likewise.
56720         * include/argz.h: Likewise.
56721         * include/arpa/inet.h: Likewise.
56722         * include/assert.h: Likewise.
56723         * include/dirent.h: Likewise.
56724         * include/dlfcn.h: Likewise.
56725         * include/execinfo.h: Likewise.
56726         * include/fcntl.h: Likewise.
56727         * include/fenv.h: Likewise.
56728         * include/glob.h: Likewise.
56729         * include/grp.h: Likewise.
56730         * include/libintl.h: Likewise.
56731         * include/mntent.h: Likewise.
56732         * include/netdb.h: Likewise.
56733         * include/pwd.h: Likewise.
56734         * include/rpc/netdb.h: Likewise.
56735         * include/sched.h: Likewise.
56736         * include/search.h: Likewise.
56737         * include/shadow.h: Likewise.
56738         * include/signal.h: Likewise.
56739         * include/stdio.h: Likewise.
56740         * include/stdlib.h: Likewise.
56741         * include/string.h: Likewise.
56742         * include/sys/socket.h: Likewise.
56743         * include/sys/stat.h: Likewise.
56744         * include/sys/statfs.h: Likewise.
56745         * include/sys/statvfs.h: Likewise.
56746         * include/sys/syslog.h: Likewise.
56747         * include/sys/time.h: Likewise.
56748         * include/sys/uio.h: Likewise.
56749         * include/time.h: Likewise.
56750         * include/unistd.h: Likewise.
56751         * include/utmp.h: Likewise.
56752         * include/wchar.h: Likewise.
56753         * include/wctype.h: Likewise.
56754         * inet/aliases.h: Likewise.
56755         * inet/arpa/inet.h: Likewise.
56756         * inet/netinet/ether.h: Likewise.
56757         * inet/netinet/in.h: Likewise.
56758         * intl/libintl.h: Likewise.
56759         * io/bits/fcntl2.h: Likewise.
56760         * io/fcntl.h: Likewise.
56761         * io/ftw.h: Likewise.
56762         * io/sys/poll.h: Likewise.
56763         * io/sys/stat.h: Likewise.
56764         * io/sys/statfs.h: Likewise.
56765         * io/sys/statvfs.h: Likewise.
56766         * io/utime.h: Likewise.
56767         * libio/bits/stdio.h: Likewise.
56768         * libio/bits/stdio2.h: Likewise.
56769         * libio/libio.h: Likewise.
56770         * libio/libioP.h: Likewise.
56771         * libio/stdio.h: Likewise.
56772         * locale/lc-ctype.c: Likewise.
56773         * locale/locale.h: Likewise.
56774         * login/utmp.h: Likewise.
56775         * malloc/arena.c: Likewise.
56776         * malloc/malloc.c: Likewise.
56777         * malloc/malloc.h: Likewise.
56778         * malloc/mcheck.c: Likewise.
56779         * malloc/mtrace.c: Likewise.
56780         * math/bits/mathcalls.h: Likewise.
56781         * math/fenv.h: Likewise.
56782         * math/math_private.h: Likewise.
56783         * misc/bits/error.h: Likewise.
56784         * misc/bits/syslog.h: Likewise.
56785         * misc/err.h: Likewise.
56786         * misc/error.h: Likewise.
56787         * misc/fstab.h: Likewise.
56788         * misc/mntent.h: Likewise.
56789         * misc/regexp.h: Likewise.
56790         * misc/search.h: Likewise.
56791         * misc/sgtty.h: Likewise.
56792         * misc/sys/mman.h: Likewise.
56793         * misc/sys/syslog.h: Likewise.
56794         * misc/sys/uio.h: Likewise.
56795         * misc/sys/xattr.h: Likewise.
56796         * misc/ttyent.h: Likewise.
56797         * nis/rpcsvc/ypclnt.h: Likewise.
56798         * nss/nss.h: Likewise.
56799         * posix/bits/unistd.h: Likewise.
56800         * posix/fnmatch.h: Likewise.
56801         * posix/glob.h: Likewise.
56802         * posix/sched.h: Likewise.
56803         * posix/spawn.h: Likewise.
56804         * posix/sys/wait.h: Likewise.
56805         * posix/unistd.h: Likewise.
56806         * posix/wordexp.h: Likewise.
56807         * pwd/pwd.h: Likewise.
56808         * resolv/netdb.h: Likewise.
56809         * resource/sys/resource.h: Likewise.
56810         * rt/aio.h: Likewise.
56811         * rt/bits/mqueue2.h: Likewise.
56812         * rt/mqueue.h: Likewise.
56813         * shadow/shadow.h: Likewise.
56814         * signal/signal.h: Likewise.
56815         * socket/send.c: Likewise.
56816         * socket/sendto.c: Likewise.
56817         * socket/sys/socket.h: Likewise.
56818         * stdio-common/printf.h: Likewise.
56819         * stdlib/bits/stdlib.h: Likewise.
56820         * stdlib/fmtmsg.h: Likewise.
56821         * stdlib/monetary.h: Likewise.
56822         * stdlib/stdlib.h: Likewise.
56823         * stdlib/ucontext.h: Likewise.
56824         * streams/stropts.h: Likewise.
56825         * string/argz.h: Likewise.
56826         * string/bits/string2.h: Likewise.
56827         * string/string.h: Likewise.
56828         * string/strings.h: Likewise.
56829         * sunrpc/rpc/auth.h: Likewise.
56830         * sunrpc/rpc/auth_des.h: Likewise.
56831         * sunrpc/rpc/clnt.h: Likewise.
56832         * sunrpc/rpc/netdb.h: Likewise.
56833         * sunrpc/rpc/pmap_clnt.h: Likewise.
56834         * sunrpc/rpc/xdr.h: Likewise.
56835         * sysdeps/generic/inttypes.h: Likewise.
56836         * sysdeps/generic/net/if.h: Likewise.
56837         * sysdeps/generic/sys/swap.h: Likewise.
56838         * sysdeps/gnu/net/if.h: Likewise.
56839         * sysdeps/gnu/utmpx.h: Likewise.
56840         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56841         * sysdeps/i386/i486/bits/string.h: Likewise.
56842         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56843         * sysdeps/s390/bits/string.h: Likewise.
56844         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56845         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56846         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56847         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56848         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56849         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56850         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56851         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56852         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56853         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56854         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56855         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56856         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56857         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56858         * sysdeps/unix/sysv/linux/readv.c: Likewise.
56859         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56860         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56861         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56862         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56863         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56864         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56865         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56866         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56867         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56868         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56869         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56870         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56871         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56872         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56873         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56874         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56875         * sysvipc/sys/ipc.h: Likewise.
56876         * sysvipc/sys/msg.h: Likewise.
56877         * sysvipc/sys/sem.h: Likewise.
56878         * sysvipc/sys/shm.h: Likewise.
56879         * termios/termios.h: Likewise.
56880         * time/sys/time.h: Likewise.
56881         * time/time.h: Likewise.
56882         * wcsmbs/bits/wchar2.h: Likewise.
56883         * wcsmbs/uchar.h: Likewise.
56884         * wcsmbs/wchar.h: Likewise.
56885         * wctype/wctype.h: Likewise.
56887         [BZ #13551]
56888         * Makeconfig: Remove all but ELF support including AIX support.
56889         * Makerules: Likewise.
56890         * config.h.in: Likewise.
56891         * config.make.in: Likewise.
56892         * configure: Likewise.
56893         * configure.in: Likewise.
56894         * csu/Makefile: Likewise.
56895         * csu/version.c: Likewise.
56896         * debug/Makefile: Likewise.
56897         * dlfcn/Makefile: Likewise.
56898         * elf/Makefile: Likewise.
56899         * extra-lib.mk: Likewise.
56900         * iconv/Makefile: Likewise.
56901         * include/libc-symbols.h: Likewise.
56902         * include/shlib-compat.h: Likewise.
56903         * resolv/Makefile: Likewise.
56904         * resolv/res_libc.c: Likewise.
56905         * rt/Makefile: Likewise.
56906         * sysdeps/i386/asm-syntax.h: Likewise.
56907         * sysdeps/i386/sysdep.h: Likewise.
56908         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56909         * sysdeps/mach/sysdep.h: Likewise.
56910         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56911         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56912         * sysdeps/s390/asm-syntax.h: Likewise.
56913         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56914         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56915         * sysdeps/sh/sysdep.h: Likewise.
56916         * sysdeps/unix/sparc/sysdep.h: Likewise.
56917         * sysdeps/wordsize-32/divdi3.c: Likewise.
56918         * sysdeps/x86_64/sysdep.h: Likewise.
56920         * argp/Versions: Remove _argp_unlock_xxx.
56922         [BZ #13559]
56923         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
56924         * abilist/libBrokenLocale.abilist: Likewise.
56925         * abilist/libanl.abilist: Likewise.
56926         * abilist/libc.abilist: Likewise.
56927         * abilist/libcrypt.abilist: Likewise.
56928         * abilist/libdl.abilist: Likewise.
56929         * abilist/libm.abilist: Likewise.
56930         * abilist/libnsl.abilist: Likewise.
56931         * abilist/libpthread.abilist: Likewise.
56932         * abilist/libresolv.abilist: Likewise.
56933         * abilist/librt.abilist: Likewise.
56934         * abilist/libthread_db.abilist: Likewise.
56935         * abilist/libutil.abilist: Likewise.
56936         * abilist/libnss_db.abilist: New file.
56938         * scripts/abilist.awk: Add support for indirect functions.
56940         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56942         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56944         * shlib-versions: Remove entries for ports architectures.
56946         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
56947         files in ports.
56948         * elf/stackguard-macros.h: Remove support for IA-64.
56949         * elf/tst-auditmod1.c: Likewise.
56950         * sysdeps/generic/ldsodefs.h: Likewise.
56952         * sysdeps/unix/sysv/linux/configure.in: Ports should define
56953         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56954         configure files.
56956         [BZ #13552]
56957         * configure.in: Remove --enable-omitfp support.
56958         * FAQ.in: Adjust.
56959         * config.make.in: Likewise.
56960         * Makeconfig: Likewise.
56961         * manual/install.texi: Likewise.
56963         In case anyone cares, the IA-64 architecture could move to ports.
56964         * sysdeps/ia64/*: Removed.
56965         * sysdeps/unix/sysv/linux/ia64/*: Removed.
56966         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56968         [BZ #13555]
56969         * configure.in: Remove entries for unsupported architectures.
56971         [BZ #13533]
56972         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56973         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
56974         routines.
56975         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56976         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56977         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
56978         fall back to using wcrtomb.
56979         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56980         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
56981         renaming.
56982         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56983         * wcsmbs/tst-c16c32-1.c: New file.
56985         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
56986         local variable.
56988         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
56990         * elf/tst-unique3.cc: Add explicit declaration of gets.
56991         * elf/tst-unique3lib.cc: Likewise.
56992         * elf/tst-unique3lib2.cc: Likewise.
56993         * elf/tst-unique4.cc: Likewise.
56995         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
56997 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
56999         [BZ #13566]
57000         * assert/assert.h (static_assert): Don't define for C++.
57001         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57002         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57004 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57006         * iconv/loop.c (single loop): Fix assertion in storing of
57007         remaining bytes.
57009         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57011 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57013         * posix/getconf.c: Update copyright year.
57014         * nss/getent.c: Likewise.
57015         * nss/makedb.c: Likewise.
57016         * iconv/iconvconfig.c: Likewise.
57017         * iconv/iconv_prog.c: Likewise.
57018         * elf/ldconfig.c: Likewise.
57019         * elf/pldd.c: Likewise.
57020         * elf/sotruss.ksh: Likewise.
57021         * catgets/gencat.c: Likewise.
57022         * csu/version.c: Likewise.
57023         * elf/ldd.bash.in: Likewise.
57024         * elf/sprof.c (print_version): Likewise.
57025         * locale/programs/locale.c: Likewise.
57026         * locale/programs/localedef.c: Likewise.
57027         * login/programs/pt_chown.c: Likewise.
57028         * nscd/nscd.c (print_version): Likewise.
57029         * debug/xtrace.sh: Likewise.
57030         * malloc/memusage.sh: Likewise.
57031         * malloc/mtrace.pl: Likewise.
57032         * debug/catchsegv.sh: Likewise.
57034 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57036         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57037         pure attribute.
57039 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57041         [BZ #13533]
57042         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57043         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57044         transformations.
57045         * iconv/gconv_int.h: Likewise.
57046         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57047         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57048         from libc for GLIBC_2.16.
57049         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57050         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57051         * wcsmbs/uchar.h: Really define mbstate_t.
57052         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57053         * wcsmbs/c16rtomb.c: New file.
57054         * wcsmbs/mbrtoc16.c: New file.
57055         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57056         for C/POSIX locale.
57057         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57058         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57060         * wcsmbs/wchar.h: Add missing __restrict.
57062 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57064         [BZ #13532]
57065         * time/Makefile (routines): Add timespec_get.
57066         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57067         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57068         timespec for ISO C11.
57069         * time/timespec_get.c: New file.
57070         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57071         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57073         [BZ #13531]
57074         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57075         * stdlib/stdlib.h: Declare aligned_alloc.
57076         * Versions.def: Add GLIBC_2.16 for libc.
57077         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57079         [BZ 13527]
57080         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57081         ISO C11.
57083         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57084         code.
57086         [BZ #13528]
57087         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57089         [BZ #13529]
57090         * assert/assert.h (static_assert): Define.
57092         * version.h: Update for 2.16 development version.
57094         [BZ #13526]
57095         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57096         _ISOC11_SOURCE.
57098         * version.h (RELEASE): Bump for 2.15 release.
57099         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57101         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57102         Patch by Marek Polacek <mpolacek@redhat.com>.
57104         * bits/byteswap.h: Protect long long constants with __extension__.
57105         * sysdeps/i386/bits/byteswap.h: Likewise.
57106         * sysdeps/ia64/bits/byteswap.h: Likewise.
57107         * sysdeps/s390/bits/byteswap.h: Likewise.
57108         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57110 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57112         [BZ #13540]
57113         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57114         destination buffer.
57115         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57117 2011-12-23  Marek Polacek  <polacek@redhat.com>
57119         * elf/dl-addr.c (determine_info): Add inline keyword.
57120         * elf/tst-auditmod4b.c (check_avx): Likewise.
57121         * elf/tst-auditmod6b.c (check_avx): Likewise.
57122         * elf/tst-auditmod6c.c (check_avx): Likewise.
57123         * elf/tst-auditmod7b.c (check_avx): Likewise.
57125 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57127         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57128         !__SSE_MATH__.
57130 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57132         [BZ #13540]
57133         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57134         processing for last bytes.
57136 2011-08-06  Bruno Haible  <bruno@clisp.org>
57138         [BZ #13061]
57139         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57140         U+0385, not to U+1FEE.
57142         [BZ #13062]
57143         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57144         entry for U+00A5 U+0301.
57146 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57148         [BZ #13166]
57149         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57150         buffer for the output is too small.
57152         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57153         optimization.
57155         [BZ #13185]
57156         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57157         SSE flags if possible.
57159 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57161         [BZ #13540]
57162         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57163         processing for last bytes.
57165 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57167         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57168         (syscall-list-default-options, syscall-list-default-condition)
57169         (syscall-list-includes): Define.
57170         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57171         list of ABIs and options and #if conditions for each ABI.  Do not
57172         handle common syscalls between ABIs specially.
57173         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57174         Remove.
57175         (syscall-list-variants, syscall-list-32bit-options)
57176         (syscall-list-32bit-condition, syscall-list-64bit-options)
57177         (syscall-list-64bit-condition): Define.
57178         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/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.
57187         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57188         Remove.
57189         (syscall-list-variants, syscall-list-32bit-options)
57190         (syscall-list-32bit-condition, syscall-list-64bit-options)
57191         (syscall-list-64bit-condition): Define.
57193 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57195         * locale/iso-639.def: Add brx entry.
57197         [BZ #13328]
57198         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57199         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57201         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57202         __feraiseexcept_renamed.
57204 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57206         [BZ #13538]
57207         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57208         EPOLLET with unsigned values.
57209         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57210         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57212         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57213         to large cancellation.
57214         * math/s_cacoshf.c: Likewise.
57215         * math/s_cacoshl.c: Likewise.
57217 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57219         [BZ #13305]
57220         [BZ #12786]
57221         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57222         * math/s_cacoshf.c: Likewise.
57223         * math/s_cacoshl.c: Likewise.
57225 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57227         [BZ #13439]
57228         * iconv/gconv.h: Define __GCONV_SWAP.
57229         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57230         * iconvdata/utf-16.c: Likewise.
57231         * iconvdata/utf-32.c: Likewise.
57233 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57235         [BZ #13524]
57236         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57237         numerator after shifting it by one limb.
57239 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57241         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57242         under [__USE_EXTERN_INLINES].
57244 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57246         [BZ #13446]
57247         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57249 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57251         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57252         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57253         optimized code.
57254         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57255         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57256         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57257         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57258         for strncasecmp/strncasecmp_l compilation.
57259         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57260         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57262 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57264         [BZ #13484]
57265         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57266         of __asm__.
57268 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57270         [BZ #13506]
57271         * time/tzfile.c (__tzfile_read): Check values from file header.
57273 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57275         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57276         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57277         * powerpc/powerpc32/dl-start.S: Likewise.
57278         * powerpc/powerpc32/elf/start.S: Likewise.
57279         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57280         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57281         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57282         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57283         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57284         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57285         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57286         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57287         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57288         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57289         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57290         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57291         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57292         * powerpc/powerpc32/memset.S: Likewise.
57293         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57294         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57295         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57296         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57297         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57298         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57299         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57300         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57301         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57302         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57303         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57304         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57305         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57307 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57309         * math/libm-test.inc: Added more nearbyint tests.
57310         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57311         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57312         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57313         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57315 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57317         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57318         FD_CLOEXEC.
57320 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57322         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57323         Add wcscpy-ssse3 wcscpy-c.
57324         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57325         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57326         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57327         * sysdeps/x86_64/wcschr.S: New file.
57328         * sysdeps/x86_64/wcsrchr.S: New file.
57329         * string/test-strcmp.c: Remove checking of wcscmp function for
57330         wrong alignments.
57331         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57332         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57333         wcsrchr-sse2 wcsrchr-c.
57334         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57335         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57336         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57337         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57338         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57339         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57340         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57341         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57342         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57343         * wcsmbc/wcschr.c (WCSCHR): New macro.
57345 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57347         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57348         * wcsmbs/test-wcsrchr.c: New file.
57349         * string/test-strrchr.c: Add wcsrchr support.
57350         (WIDE): New macro.
57351         * wcsmbs/test-wcscpy.c: New file.
57352         * string/test-strcpy.c: Add wcscpy support.
57353         (WIDE): New macro.
57355 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57357         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57358         the inner loop.
57360 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57362         [BZ #13472]
57363         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57365 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57367         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57368         Minor optimizations.
57370         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57371         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57372         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57374 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57376         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57377         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57378         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57379         for gcc to avoid warnings.
57380         * inet/Makefile (tests): Add tst-checks.
57381         * inet/tst-checks.c: New file.
57383         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57384         warning.
57386         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57387         __wmemcmp_sse2.
57389         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57390         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57392         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57394 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57396         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57397         problem.
57399         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57401 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57403         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57404         conditional on GCC version.
57405         (__arch_compare_and_exchange_val_8_acq)
57406         (__arch_compare_and_exchange_val_16_acq)
57407         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57408         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57409         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57411 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57413         * sysdeps/sh/backtrace.c: New file.
57415 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57417         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57418         parenthesis.
57420 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57422         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57423         falling back to utime.
57425 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57427         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57428         expectations for float.
57430 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57432         * locale/weight.h (findidx): Add parameter len.
57433         * locale/weightwc.h (findidx): Likewise.
57434         * posix/fnmatch_loop.c (FCT): Adjust caller.
57435         * posix/regcomp.c (build_equiv_class): Likewise.
57436         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57437         * posix/regexec.c (check_node_accept_bytes): Likewise.
57438         * string/strcoll_l.c (STRCOLL): Likewise.
57439         * string/strxfrm_l.c (STRXFRM): Likewise.
57441 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57443         * Makefile.in: Remove CVSOPT handling.
57444         * configure.in: Remove use of AC_REVISION.
57445         * iconvdata/Makefile (distribute): No need to filter out CVS.
57446         * scripts/list-sources.sh: Remove CVS, subversion and monotone
57447         handling.
57449 2011-11-16  Andreas Schwab  <schwab@redhat.com>
57451         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57452         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57453         [USE_AS_STRNCASECMP_L]: Likewise.
57454         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57455         NO_TLS_DIRECT_SEG_REFS.
57456         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57457         Fix argument offsets for non-PIC.
57458         [USE_AS_STRNCASECMP_L]: Likewise.
57459         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57460         NO_TLS_DIRECT_SEG_REFS.
57462 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57464         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57465         O_CLOEXEC.
57466         * locale/loadlocale.c (_nl_load_locale): Likewise.
57468 2011-11-15  Andreas Schwab  <schwab@redhat.com>
57470         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57471         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57472         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57473         (SYSCALL_GETTIME): Set errno on error.
57475         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57476         count references to noai6ai_cached.
57478 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57480         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57482         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57483         FD_CLOEXEC for /proc/self/maps.
57485         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57486         FD_CLOEXEC for /proc/meminfo.
57488         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57489         gai.conf.
57491         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
57492         FD_CLOEXEC for given file.
57494         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57496         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57497         FD_CLOEXEC for /etc/hosts.
57498         (_gethtent): Likewise.
57500         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57502         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57503         cancellation and set FD_CLOEXEC for /etc/netgroup.
57505         * nss/nss_files/files-key.c (search): Don't allow cancellation when
57506         reading /etc/publickey.
57508         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57509         allow cancellation when reading /etc/group.
57511         * nss/nss_files/files-alias.c (internal_setent): Don't allow
57512         cancellation.
57513         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
57515         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57516         when using data file.
57518         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57520         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57521         (write_nis_obj): Use "c" and "e" in fopen.
57523         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57525         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57527         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57529         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57531         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57532         locale.alias.
57534         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57536         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57538         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57540         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57541         file parsing and set FD_CLOEXEC.
57543 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57545         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57547 2011-11-14  Andreas Schwab  <schwab@redhat.com>
57549         * malloc/arena.c (arena_get2): Don't call reused_arena when
57550         _int_new_arena failed.
57552 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57554         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57555         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57556         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57557         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57558         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57559         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57560         to compile strcasecmp and strncasecmp.
57561         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57562         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57564         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57566 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
57568         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57569         locale-defines.sym to gen-as-const-headers.
57570         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57571         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57572         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57573         to compile strcasecmp and strncasecmp.
57574         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57575         strcasecmp_l and strncasecmp_l.
57576         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57577         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57578         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57579         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57580         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57581         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57582         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57583         * sysdeps/i386/i686/multiarch/strncase.S: New file.
57584         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57585         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57586         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57588 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
57590         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57591         result of SYSDEP_GETTIME_CPU to retval.
57592         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57593         parameter list to macro.  Remove trailing semicolon.  Adjust users.
57595         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57596         variable.
57598         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57599         mantissa words.
57600         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57602         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57603         from unused variable.
57605         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57606         DWARF definitions.
57607         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
57608         for assembling.
57610         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
57611         over namespaces.
57613         * sunrpc/rpc_prot.c (rejected): Fix case value.
57615         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
57616         unsigned long long int to avoid warnings in shift.
57618         * posix/regex_internal.c (re_string_reconstruct): Actually use result
57619         of use of trans.
57620         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
57621         variable tmp.
57623         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
57624         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
57625         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
57627         * nis/nis_table.c (nis_list): Use variable of correct type for
57628         result of __follow_path call.
57630 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57632         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
57633         of math functions ceil, trunc, floor, round, and sqrt, when
57634         avaliable on the platform.
57635         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
57636         name clash.
57637         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57638         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57639         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57641 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
57643         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
57644         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57646 2011-11-11  Roland McGrath  <roland@hack.frob.com>
57648         * include/unistd.h: Fix __readlink return type.
57649         Reported by Chris Metcalf <cmetcalf@tilera.com>.
57651 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
57653         * stdlib/ucontext.h: Undo last change for makecontext.
57655 2011-11-11  Andreas Schwab  <schwab@redhat.com>
57657         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
57659         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
57660         * setjmp/setjmp.h: Mark functions as non-leaf.
57661         * setjmp/bits/setjmp2.h: Likewise.
57662         * stdlib/ucontext.h: Likewise.
57664 2011-11-10  Andreas Schwab  <schwab@redhat.com>
57666         * malloc/arena.c (_int_new_arena): Don't increment narenas.
57667         (reused_arena): Don't check arena limit.
57668         (arena_get2): Atomically check arena limit.
57670 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
57672         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57673         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57675         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57676         instructions.
57678 2011-11-07  Andreas Schwab  <schwab@redhat.com>
57680         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57681         handler when locking.
57683         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57684         Fix size of allocated buffer.
57686 2011-11-04  Andreas Schwab  <schwab@redhat.com>
57688         [BZ #10103]
57689         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57690         declarations for long double functions.
57691         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57693         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57695 2011-11-03  Andreas Schwab  <schwab@redhat.com>
57697         * nscd/nscd.c (main): Don't start AVC thread until credentials are
57698         installed.
57700         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57701         is disabled.
57703 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57705         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57707 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57709         * include/alloca.h (stackinfo_alloca_round): Define.
57710         (extend_alloca): Use it.
57711         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57712         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57713         here.
57715         * scripts/check-local-headers.sh: Ignore libaudit.h.
57717         * nscd/Makefile (extra-objs): Make recursively expanded.
57719 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
57721         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57722         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57724         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57725         * posix/tst-rfc3484-2.c: Likewise.
57726         * posix/tst-rfc3484-3.c: Likewise.
57728         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57729         process_vm_writev.
57730         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57731         process_vm_writev.
57732         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57733         process_vm_writev from libc using GLIBC_2.15 version.
57735         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57737 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
57739         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57740         stack usage.
57742 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
57744         [BZ #13367]
57745         * nss/getent.c (initgroups_keys): Show error message in case no group
57746         names are given.
57748         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57749         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57750         __bump_nl_timestamp.
57751         * nscd/connections (nscd_init): When host database is served open
57752         netlink socket and request notification about configuration changes.
57753         (main_loop_poll): Track netlink file descriptor and bump timestamp
57754         in case data becomes available.
57755         (main_loop_epoll): Likewise.
57756         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57757         (database_pers_head): Add extra_data fileds.
57758         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57759         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57760         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57761         Adjust caller.
57762         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57763         in6ai data, call __free_in6ai.
57764         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57765         Add -DHAVE_NETLINK.
57766         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
57767         interface information.  Reuse previous data if netlink timestamp
57768         is not changed.
57769         (__bump_nl_timestamp): New function.
57770         (__free_in6ai): New function.
57772 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
57774         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57775         close_not_cancel_no_status here.
57776         (__check_pf): Reorganize code a bit to not call close twice if OOM.
57778 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57780         [BZ #13276]
57781         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57782         return value.
57784         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57785         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57786         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57788 2011-07-03  Andreas Jaeger  <aj@suse.de>
57790         [BZ #10709]
57791         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57792         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57793         * math/libm-test.inc (sin_test): Add test case.
57795 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57797         [BZ #13337]
57798         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57799         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57801         * elf/chroot_canon.c (chroot_canon): Cleanups.
57803         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57805         [BZ #13335]
57806         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57807         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57809         * string/test-strchr.c: Make usable for strchrnul testing.
57810         * string/test-strchrnul.c: New file.
57811         * string/Makefile (strop-tests): Add strchrnul.
57813         * po/it.po: Update from translation team.
57814         * po/es.po: Likewise.
57816 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
57818         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57819         the three constants needed as parameters.  Drop the others.
57820         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57821         __m128i_strloadu_tolower.
57822         Create and initialize variable zero and use it in all the places
57823         where _mm_setzero_si128 was used.
57825         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57826         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57827         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57828         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57829         anymore.
57830         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57831         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57832         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57833         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57834         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57835         __mpranred, __mptan.
57836         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57837         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57838         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57839         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57840         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57841         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57842         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57843         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57844         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57846 2011-10-28  Andreas Schwab  <schwab@redhat.com>
57848         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57849         redefine if SHARED.
57850         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57852         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57853         wide char related routines to wcsmbs subdir.
57855 2011-10-27  Andreas Schwab  <schwab@redhat.com>
57857         [BZ #13344]
57858         * misc/sys/cdefs.h (__THROWNL): Define.
57859         * posix/unistd.h: Use __THREADNL instead of __THREAD
57860         for memory synchronization functions.
57862 2011-10-26  Roland McGrath  <roland@hack.frob.com>
57864         [BZ #13349]
57865         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57866         doesn't exist.
57867         * manual/stdio.texi (Obstack Streams): Node removed.
57869 2011-10-26  Andreas Schwab  <schwab@redhat.com>
57871         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57872         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57873         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57875         * math/math_private.h (math_force_eval): Allow non-addressable
57876         arguments.
57877         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57879 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57881         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57882         file is not needed.
57884         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57885         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57886         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57887         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57888         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57889         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57890         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57891         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57892         Add AVX variants.
57893         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57894         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57895         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57896         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57897         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57898         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57899         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57900         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57901         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57902         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57903         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57904         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57905         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57906         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57907         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57908         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57909         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57910         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57911         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57913         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57914         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
57916         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57917         place.  Use VEX encoding when compiling for AVX.
57919 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57921         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57922         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57924         * string/test-strchr.c (do_test): Don't generate NUL bytes.
57926 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57928         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57929         useless if() expression.
57930         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57931         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57932         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57933         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57934         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57935         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57936         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57937         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57938         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57939         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57940         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57941         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57942         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57943         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57944         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57945         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57946         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57947         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57948         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57950         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57952 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57954         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57955         condition.
57956         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57958 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57960         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57961         .text section.  Avoid duplicate constants.
57962         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57963         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57964         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57965         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57966         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57967         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57968         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57969         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57970         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57971         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57972         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57973         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57974         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57975         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57976         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57977         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57978         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57979         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57980         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57981         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57982         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57983         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57984         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57985         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
57986         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
57987         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
57988         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
57989         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
57990         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
57991         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
57992         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
57993         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
57994         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57995         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
57996         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
57997         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
57998         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
57999         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58000         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58001         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58002         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58003         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58004         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58005         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58006         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58008 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58010         * sysdeps/x86_64/dla.h: Move to ...
58011         * sysdeps/x86_64/fpu/dla.h: ...here.
58012         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58013         situations.  Use __builtin_fma only for gcc 4.6 and up.
58015         * config.make.in: Add have-mfma4 entry.
58016         * configure.in: Substitute libc_cv_cc_fma4.
58017         * math/Makefile (dbl-only-routines): Add sincostab.
58018         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58019         Use __sincostab not sincos.
58020         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58021         name is a macro.
58022         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58023         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58024         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58025         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58026         using __copysign.
58027         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58028         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58029         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58030         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58031         and __inv.
58032         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58033         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58034         __copysign.
58035         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58036         define aliases when function name is a macro.
58037         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58038         sysdeps/ieee754/dbl-64/sincos.tbl.
58039         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58040         fma4-enabled routines.
58041         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58042         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58043         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58044         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58045         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58046         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58047         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58048         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58049         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58050         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58051         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58052         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58053         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58054         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58055         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58056         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58057         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58058         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58059         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58060         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58061         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58062         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58063         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58064         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58065         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58066         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58067         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58068         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58069         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58070         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58072         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58073         rename.
58074         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58075         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58076         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58077         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58078         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58079         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58080         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58081         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58083 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58085         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58087 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58089         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58091         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58092         prediction.
58093         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58095         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58096         Remove unused variable magic_bits.
58097         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58099         * string/strnlen.c: Define and use STRNLEN macro.
58100         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58101         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58102         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58103         * wcsmbs/wcslen.c: Define and use WCSLEN.
58104         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58105         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58106         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58107         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58108         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58109         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58110         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58112 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58114         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58115         strnlen-sse2-no-bsf.
58116         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58117         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58118         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58119         Add strnlen support.
58120         (USE_AS_STRNLEN): New macro.
58121         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58122         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58123         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58124         * sysdeps/x86_64/wcslen.S: New file.
58126 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58128         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58129         XMM-moves are used for copying on small sizes.
58131 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58133         * wcsmbs/Makefile (strop-tests): Add wcschr.
58134         * wcsmbs/test-wcschr.c: New file.
58135         * string/test-strchr.c: Update.
58136         Add wcschr support.
58137         (WIDE): New macro.
58139 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58141         * wcsmbs/Makefile (strop-tests): Add wcslen.
58142         * wcsmbs/test-wcslen.c: New file.
58143         * string/test-strlen.c: Update.
58144         Add wcslen support.
58145         (WIDE): New macro.
58147 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58149         * po/it.po: Update from translation team.
58151 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58153         * sysdeps/x86_64/wcscmp.S: Update.
58154         Fix wrong comparison semantics.
58155         wcscmp shall use signed comparison not unsigned.
58156         Don't use substraction to avoid overflow bug.
58157         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58158         * wcsmbc/wcscmp.c: Likewise.
58159         * string/test-strcmp.c: Likewise.
58160         Add new tests to check cases with negative values.
58162 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58164         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58165         * sysdeps/x86_64/dla.h: ...here.  New file.
58166         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58167         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58168         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58169         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58170         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58171         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58172         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58173         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58174         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58176 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58178         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58179         __ynl_finite aliases.
58181 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58183         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58185         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58186         define DLA_FMA.
58187         [DLA_FMA] (EMULV): Use DLA_FMA.
58188         [DLA_FMA] (MUL12): Use EMULV.
58189         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58190         that are not needed.
58191         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58192         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58193         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58194         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58195         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58196         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58197         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58199 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58201         * math/s_nan.c: Undef __nan.
58202         * math/s_nanf.c: Undef __nanf.
58203         * math/s_nanl.c: Undef __nanl.
58204         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58205         "math_private.h".
58207 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58209         * math/s_catan.c: Add branch predictions.
58210         * math/s_catanf.c: Likewise.
58211         * math/s_catanh.c: Likewise.
58212         * math/s_catanhf.c: Likewise.
58213         * math/s_catanhl.c: Likewise.
58214         * math/s_catanl.c: Likewise.
58215         * math/s_cexp.c: Likewise.
58216         * math/s_cexpf.c: Likewise.
58217         * math/s_cexpl.c: Likewise.
58218         * math/s_clog.c: Likewise.
58219         * math/s_clog10.c: Likewise.
58220         * math/s_clog10f.c: Likewise.
58221         * math/s_clog10l.c: Likewise.
58222         * math/s_clogf.c: Likewise.
58223         * math/s_clogl.c: Likewise.
58224         * math/s_csqrt.c: Likewise.
58225         * math/s_csqrtf.c: Likewise.
58226         * math/s_csqrtl.c: Likewise.
58227         * math/s_ctanf.c: Likewise.
58228         * math/s_ctanh.c: Likewise.
58229         * math/s_ctanhf.c: Likewise.
58230         * math/s_ctanhl.c: Likewise.
58231         * math/s_ctanl.c: Likewise.
58233         * math/math_private.h: Define __nan, __nanf, __nanl.
58234         * math/s_cacosh.c: Include <math_private.h>.
58235         * math/s_cacoshl.c: Likewise.
58236         * math/s_casinh.c: Likewise.
58237         * math/s_casinhf.c: Likewise.
58238         * math/s_casinhl.c: Likewise.
58239         * math/s_ccos.c: Rely entire on ccosh.
58240         * math/s_ccosf.c: Rely entire on ccoshf.
58241         * math/s_ccosl.c: Rely entirely on ccoshl.
58242         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58243         Remove tests for FE_INVALID.
58244         * math/s_ccoshf.c: Likewise.
58245         * math/s_ccoshl.c: Likewise.
58246         * math/s_csin.c: Likewise.
58247         * math/s_csinf.c: Likewise.
58248         * math/s_csinh.c Likewise.
58249         * math/s_csinhf.c: Likewise.
58250         * math/s_csinhl.c: Likewise.
58251         * math/s_csinl.c: Likewise.
58252         * math/s_ctan.c: Likewise.
58253         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58254         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58255         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58257 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58259         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58260         compilation problems.
58262         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58263         __builtin_expect.
58265 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58267         * sysdeps/i386/configure.in: Test for -mfma4 option.
58268         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58269         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58270         COMMON_CPUID_INDEX_80000001.
58271         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58272         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58273         use it if FMA3 is not supported.
58274         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58276         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58277         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58279 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58281         [BZ #12892]
58282         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58283         it would create a cycle with a link time dependency.
58285 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58287         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58288         instruction.
58289         * string/Makefile (strop-tests): Add rawmemchr.
58290         * string/test-rawmemchr.c: New file.
58292         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58293         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58294         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58295         when compiling str{,n}casecmp and when AVX is available.  Hook up
58296         new optimized code in initializers.
58298 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58300         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58301         __feraiseexcept instead of feraiseexcept.
58303 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58305         * math/math_private.h: Define defaults for libc_fetestexcept and
58306         libc_feupdateenv.
58307         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58308         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58309         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58310         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58311         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58312         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58313         libc_fetestexcept and libc_feupdateenv.
58315         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58316         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58317         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58318         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58319         libc_feholdexcept_setround.
58321         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58322         Add s_nearbyint-c and s_nearbyintf-c.
58323         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58324         nearbyintf inlines.
58325         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58326         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58327         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58328         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58330         * math/math_private.h: Define defaults for libc_fegetround,
58331         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58332         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58333         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58334         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58335         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58336         standard functions.
58337         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58338         Remove comments and hacks for old compiler versions.
58339         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58340         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58341         libc_feholdexceptl.
58343 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58345         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58346         (__feraiseexcept_renamed): Add __NTH.
58347         (feraiseexcept): Add __NTH.  Rename local variables to fix
58348         namespace violations.
58350 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58352         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58354         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58356         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58357         recently added interfaces.
58358         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58360         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58361         about macro parameter expansion.
58363         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58364         __NO_MATH_INLINES is defined.  Cleanups.
58366         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58367         and __floorf is target has SSE4.1.
58368         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58369         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58370         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58371         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58373         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58374         name.
58375         (floorf): Likewise.
58377         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58379 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58381         * misc/sys/cdefs.h: Fix last change.
58383         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58384         database lookup.
58386 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58388         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58390         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58391         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58392         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58393         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58394         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58395         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58396         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58397         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58398         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58399         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58400         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58401         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58402         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58403         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58404         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58405         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58406         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58407         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58408         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58409         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58410         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58411         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58413         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58414         ceil, ceilf, floor, floorf.
58416         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58417         Perform IRELATIVE relocations last.
58419         * elf/do-rel.h: Add another parameter nrelative, replacing the
58420         local variable with the same name.  Change name of the function
58421         to end in Rel or Rela (uppercase).
58422         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58423         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58424         elf_dynamic_do_##reloc function.
58426 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58428         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58429         is sufficient, at least on modern CPUs.
58431         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58433         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58434         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58436         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58437         __expl_finite.
58438         * math/bits/math-finite.h: Add entries for exp.
58439         * math/e_expl.c: Add __*_finite alias.
58440         * sysdeps/i386/fpu/e_exp.S: Likewise.
58441         * sysdeps/i386/fpu/e_expf.S: Likewise.
58442         * sysdeps/i386/fpu/e_expl.c: Likewise.
58443         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58444         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58445         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58446         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58447         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58448         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58449         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58451         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58452         is sufficient, at least on modern CPUs.
58454         * ctype/ctype-info.c (__ctype_init): Define.
58455         * include/ctype.h (__ctype_init): Declare.
58456         (__ctype_b_loc): The variable is always initialized.
58457         (__ctype_toupper_loc): Likewise.
58458         (__ctype_tolower_loc): Likewise.
58459         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58460         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58462 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
58464         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58466         * configure.in: Also look in $cxxmachine/include for C++ system
58467         headers.
58469 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58471         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58472         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58473         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58474         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
58475         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58476         (USE_AS_WMEMCMP): New macro.
58477         Fixing indents.
58478         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58479         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58480         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58481         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58482         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58483         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58484         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58485         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58486         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58487         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58488         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58489         (USE_AS_WMEMCMP): New macro.
58490         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58491         * sysdeps/string/test-memcmp.c: Update.
58492         Fix simple_wmemcmp.
58493         Add new tests.
58494         * wcsmbs/wmemcmp.c: Update.
58495         (WMEMCMP): New macro.
58496         Fix overflow bug.
58498 2011-10-12  Andreas Jaeger  <aj@suse.de>
58500         [BZ #13268]
58501         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58503 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58505         * libio/iofwide.c (do_length): Avoid warning.
58507         * ctype/ctype.h (__isctype_f): Add missing __THROW.
58509 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
58511         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58513         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58514         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58515         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58516         * sysdeps/i386/i686/fpu/e_log.S: New file.
58517         * sysdeps/i386/i686/fpu/e_logf.S: New file.
58518         * sysdeps/i386/i686/fpu/e_logl.S: New file.
58520         * ctype/ctype.h: Add support for inlined isXXX functions when
58521         compiling C++ code.
58523 2011-10-14  Andreas Schwab  <schwab@redhat.com>
58525         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58527         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58529 2011-10-13  Roland McGrath  <roland@hack.frob.com>
58531         [BZ #13291]
58532         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58534 2011-10-13  Andreas Schwab  <schwab@redhat.com>
58536         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58537         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58538         feraiseexcept.
58540         * sysdeps/x86_64/memrchr.S: Check for zero size.
58542         * string/stratcliff.c: Add memrchr tests.
58544 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58546         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58547         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58548         rawmemchr-sse2 rawmemchr-sse2-bsf.
58549         * sysdeps/i386/i686/multiarch/memchr.S: New file.
58550         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58551         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58552         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58553         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58554         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58555         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58556         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58557         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58558         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58559         * string/memrchr.c (MEMRCHR): New macro.
58561 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
58563         Add integration with gcc's -ffinite-math-only and optimize wrapper
58564         functions in libm.
58565         * Versions.def: Define GLIBC_2.15 version for libm.
58566         * math/Makefile (headers): Add bits/math-finite.h.
58567         * math/bits/math-finite.h: New file.
58568         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58569         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58570         * math/e_acoshl.c: Add __*_finite alias.
58571         * math/e_acosl.c: Likewise.
58572         * math/e_asinl.c: Likewise.
58573         * math/e_atan2l.c: Likewise.
58574         * math/e_atanhl.c: Likewise.
58575         * math/e_coshl.c: Likewise.
58576         * math/e_exp10.c: Likewise.
58577         * math/e_exp10f.c: Likewise.
58578         * math/e_exp10l.c: Likewise.
58579         * math/e_exp2l.c: Likewise.
58580         * math/e_fmodl.c: Likewise.
58581         * math/e_gammal_r.c: Likewise.
58582         * math/e_hypotl.c: Likewise.
58583         * math/e_j0l.c: Likewise.
58584         * math/e_j1l.c: Likewise.
58585         * math/e_jnl.c: Likewise.
58586         * math/e_lgammal_r.c: Likewise.
58587         * math/e_log10l.c: Likewise.
58588         * math/e_log2l.c: Likewise.
58589         * math/e_logl.c: Likewise.
58590         * math/e_powl.c: Likewise.
58591         * math/e_sinhl.c: Likewise.
58592         * math/e_sqrtl.c: Likewise.
58593         * math/e_scalb.c: Completely rewritten and optimized.
58594         * math/e_scalbf.c: Likewise.
58595         * math/e_scalbl.c: Likewise.
58596         * math/w_acos.c: Likewise.
58597         * math/w_acosf.c: Likewise.
58598         * math/w_acosl.c: Likewise.
58599         * math/w_acosh.c: Likewise.
58600         * math/w_acoshf.c: Likewise.
58601         * math/w_acoshl.c: Likewise.
58602         * math/w_asin.c: Likewise.
58603         * math/w_asinf.c: Likewise.
58604         * math/w_asinl.c: Likewise.
58605         * math/w_atan2.c: Likewise.
58606         * math/w_atan2f.c: Likewise.
58607         * math/w_atan2l.c: Likewise.
58608         * math/w_atanh.c: Likewise.
58609         * math/w_atanhf.c: Likewise.
58610         * math/w_atanhl.c: Likewise.
58611         * math/w_exp10.c: Likewise.
58612         * math/w_exp10f.c: Likewise.
58613         * math/w_exp10l.c: Likewise.
58614         * math/w_fmod.c: Likewise.
58615         * math/w_fmodf.c: Likewise.
58616         * math/w_fmodl.c: Likewise.
58617         * math/w_j0.c: Likewise.
58618         * math/w_j0f.c: Likewise.
58619         * math/w_j0l.c: Likewise.
58620         * math/w_j1.c: Likewise.
58621         * math/w_j1f.c: Likewise.
58622         * math/w_j1l.c: Likewise.
58623         * math/w_jn.c: Likewise.
58624         * math/w_jnf.c: Likewise.
58625         * math/w_log.c: Likewise.
58626         * math/w_logf.c: Likewise.
58627         * math/w_logl.c: Likewise.
58628         * math/w_log10.c: Likewise.
58629         * math/w_log10f.c: Likewise.
58630         * math/w_log10l.c: Likewise.
58631         * math/w_log2.c: Likewise.
58632         * math/w_log2f.c: Likewise.
58633         * math/w_log2l.c: Likewise.
58634         * math/w_pow.c: Likewise.
58635         * math/w_powf.c: Likewise.
58636         * math/w_powl.c: Likewise.
58637         * math/w_remainder.c: Likewise.
58638         * math/w_remainderf.c: Likewise.
58639         * math/w_remainderl.c: Likewise.
58640         * math/w_scalb.c: Likewise.
58641         * math/w_scalbf.c: Likewise.
58642         * math/w_scalbl.c: Likewise.
58643         * math/w_sqrt.c: Likewise.
58644         * math/w_sqrtf.c: Likewise.
58645         * math/w_sqrtl.c: Likewise.
58646         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
58647         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
58648         used.
58649         * math/math_private.h: Declare __kernel_standard_f.
58650         * math/w_cosh.c: Remove cruft and optimize a bit.
58651         * math/w_coshf.c: Likewise.
58652         * math/w_coshl.c: Likewise.
58653         * math/w_exp2.c: Likewise.
58654         * math/w_exp2f.c: Likewise.
58655         * math/w_exp2l.c: Likewise.
58656         * math/w_hypot.c: Likewise.
58657         * math/w_hypotf.c: Likewise.
58658         * math/w_hypotl.c: Likewise.
58659         * math/w_lgamma.c: Likewise.
58660         * math/w_lgamma_r.c: Likewise.
58661         * math/w_lgammaf.c: Likewise.
58662         * math/w_lgammaf_r.c: Likewise.
58663         * math/w_lgammal.c: Likewise.
58664         * math/w_lgammal_r.c: Likewise.
58665         * math/w_sinh.c: Likewise.
58666         * math/w_sinhf.c: Likewise.
58667         * math/w_sinhl.c: Likewise.
58668         * math/w_tgamma.c: Likewise.
58669         * math/w_tgammaf.c: Likewise.
58670         * math/w_tgammal.c: Likewise.
58671         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58672         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58673         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58674         Minor optimizations.  Pretty printing.  Remove cruft.
58675         * sysdeps/i386/fpu/e_acosf.S: Likewise.
58676         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58677         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58678         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58679         * sysdeps/i386/fpu/e_acosl.c: Likewise.
58680         * sysdeps/i386/fpu/e_asin.S: Likewise.
58681         * sysdeps/i386/fpu/e_asinf.S: Likewise.
58682         * sysdeps/i386/fpu/e_atan2.S: Likewise.
58683         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58684         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58685         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58686         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58687         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58688         * sysdeps/i386/fpu/e_exp10.S: Likewise.
58689         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58690         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58691         * sysdeps/i386/fpu/e_exp2.S: Likewise.
58692         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58693         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58694         * sysdeps/i386/fpu/e_fmod.S: Likewise.
58695         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58696         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58697         * sysdeps/i386/fpu/e_hypot.S: Likewise.
58698         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58699         * sysdeps/i386/fpu/e_log.S: Likewise.
58700         * sysdeps/i386/fpu/e_log10.S: Likewise.
58701         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58702         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58703         * sysdeps/i386/fpu/e_log2.S: Likewise.
58704         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58705         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58706         * sysdeps/i386/fpu/e_logf.S: Likewise.
58707         * sysdeps/i386/fpu/e_logl.S: Likewise.
58708         * sysdeps/i386/fpu/e_pow.S: Likewise.
58709         * sysdeps/i386/fpu/e_powf.S: Likewise.
58710         * sysdeps/i386/fpu/e_powl.S: Likewise.
58711         * sysdeps/i386/fpu/e_remainder.S: Likewise.
58712         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58713         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58714         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58715         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58716         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58717         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58718         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58719         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58720         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58721         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58722         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58723         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58724         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58725         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58726         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58727         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58728         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58729         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58730         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58731         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58732         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58733         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58734         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58735         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58736         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58737         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58738         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58739         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58740         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58741         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58742         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58743         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58744         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58745         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58746         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58747         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58748         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58749         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58750         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58751         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58752         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58753         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58754         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58755         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58756         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58757         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58758         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58759         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58760         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58761         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58762         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58763         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58764         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58765         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58766         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58767         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58768         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58769         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58770         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58771         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58772         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58773         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58774         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58775         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58776         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58777         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58778         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58779         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58780         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58781         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58782         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58783         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58784         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58785         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58786         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58787         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58788         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58789         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58790         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58791         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58792         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58793         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58794         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58795         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58796         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58797         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58798         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58799         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58800         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58801         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58802         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58803         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58804         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58805         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58806         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58807         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58808         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58809         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58810         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58811         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58812         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58813         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58814         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58815         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58816         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58817         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58818         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58819         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58820         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58821         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58822         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58823         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58824         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58825         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58826         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58827         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58828         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58829         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58830         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
58831         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58832         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58833         (__isnanf): Likewise.
58834         (__isinf_ns): Likewise.
58835         (__isinf_nsf): Likewise.
58836         (__finite): Likewise.
58837         (__finitef): Likewise.
58838         (__ieee754_sqrt): Define as macro.
58839         (__ieee754_sqrtf): Define as macro.
58840         (__ieee754_sqrtl): Define as macro.
58841         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58842         inlined copy.
58843         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58844         __FINITE_MATH_ONLY__ consistent.
58845         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58847 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
58849         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58850         of rawmemchr.
58852         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58854 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
58856         * po/ja.po: Update from translation team.
58858 2011-10-08  Roland McGrath  <roland@hack.frob.com>
58860         * locale/programs/locarchive.c (prepare_address_space): New function.
58861         (create_archive, enlarge_archive, open_archive): Use it.
58863         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58864         inside [SHARED], where it is used.
58866         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58868         * nss/getent.c (netgroup_keys): Remove unused variable.
58869         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58871 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
58873         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58874         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58875         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58876         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58877         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58878         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58879         * math/Makefile (libm-calls): Add s_isinf_ns.
58880         * math/divtc3.c: Use __isinf_nsl instead of isinf.
58881         * math/multc3.c: Likewise.
58882         * math/s_casin.c: Likewise.
58883         * math/s_casinf.c: Likewise.
58884         * math/s_casinl.c: Likewise.
58885         * math/s_ccos.c: Likewise.
58886         * math/s_ccosf.c: Likewise.
58887         * math/s_ccosl.c: Likewise.
58888         * math/s_ctan.c: Likewise.
58889         * math/s_ctanf.c: Likewise.
58890         * math/s_ctanh.c: Likewise.
58891         * math/s_ctanhf.c: Likewise.
58892         * math/s_ctanhl.c: Likewise.
58893         * math/s_ctanl.c: Likewise.
58894         * math/w_fmod.c: Likewise.
58895         * math/w_fmodf.c: Likewise.
58896         * math/w_fmodl.c: Likewise.
58897         * math/w_remainder.c: Likewise.
58898         * math/w_remainderf.c: Likewise.
58899         * math/w_remainderl.c: Likewise.
58900         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58901         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58902         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58903         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58904         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58905         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58906         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58907         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58909         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58910         of the number.
58911         * stdio-common/printf_fphex.c: Likewise.
58912         * stdio-common/printf_size.c: Likewise.
58914         * math/e_exp10.c: Include math_private.h using <...> not "...".
58915         * math/e_exp10f.c: Likewise.
58916         * math/e_exp10l.c: Likewise.
58917         * math/e_exp2l.c: Likewise.
58918         * math/e_j0l.c: Likewise.
58919         * math/e_j1l.c: Likewise.
58920         * math/e_jnl.c: Likewise.
58921         * math/e_lgammal_r.c: Likewise.
58922         * math/e_rem_pio2l.c: Likewise.
58923         * math/e_scalb.c: Likewise.
58924         * math/e_scalbf.c: Likewise.
58925         * math/e_scalbl.c: Likewise.
58926         * math/k_cosl.c: Likewise.
58927         * math/k_sinl.c: Likewise.
58928         * math/k_tanl.c: Likewise.
58929         * math/s_cacoshf.c: Likewise.
58930         * math/s_catan.c: Likewise.
58931         * math/s_catanf.c: Likewise.
58932         * math/s_catanh.c: Likewise.
58933         * math/s_catanhf.c: Likewise.
58934         * math/s_catanhl.c: Likewise.
58935         * math/s_catanl.c: Likewise.
58936         * math/s_ccosh.c: Likewise.
58937         * math/s_ccoshf.c: Likewise.
58938         * math/s_ccoshl.c: Likewise.
58939         * math/s_cexp.c: Likewise.
58940         * math/s_cexpf.c: Likewise.
58941         * math/s_cexpl.c: Likewise.
58942         * math/s_clog.c: Likewise.
58943         * math/s_clog10.c: Likewise.
58944         * math/s_clog10f.c: Likewise.
58945         * math/s_clog10l.c: Likewise.
58946         * math/s_clogf.c: Likewise.
58947         * math/s_clogl.c: Likewise.
58948         * math/s_csin.c: Likewise.
58949         * math/s_csinf.c: Likewise.
58950         * math/s_csinh.c: Likewise.
58951         * math/s_csinhf.c: Likewise.
58952         * math/s_csinhl.c: Likewise.
58953         * math/s_csinl.c: Likewise.
58954         * math/s_csqrt.c: Likewise.
58955         * math/s_csqrtf.c: Likewise.
58956         * math/s_csqrtl.c: Likewise.
58957         * math/s_ctan.c: Likewise.
58958         * math/s_ctanf.c: Likewise.
58959         * math/s_ctanh.c: Likewise.
58960         * math/s_ctanhf.c: Likewise.
58961         * math/s_ctanhl.c: Likewise.
58962         * math/s_ctanl.c: Likewise.
58963         * math/s_ldexp.c: Likewise.
58964         * math/s_ldexpf.c: Likewise.
58965         * math/s_ldexpl.c: Likewise.
58966         * math/s_significand.c: Likewise.
58967         * math/s_significandf.c: Likewise.
58968         * math/s_significandl.c: Likewise.
58969         * math/w_acos.c: Likewise.
58970         * math/w_acosf.c: Likewise.
58971         * math/w_acosh.c: Likewise.
58972         * math/w_acoshf.c: Likewise.
58973         * math/w_acoshl.c: Likewise.
58974         * math/w_acosl.c: Likewise.
58975         * math/w_asin.c: Likewise.
58976         * math/w_asinf.c: Likewise.
58977         * math/w_asinl.c: Likewise.
58978         * math/w_atan2.c: Likewise.
58979         * math/w_atan2f.c: Likewise.
58980         * math/w_atan2l.c: Likewise.
58981         * math/w_atanh.c: Likewise.
58982         * math/w_atanhf.c: Likewise.
58983         * math/w_atanhl.c: Likewise.
58984         * math/w_cosh.c: Likewise.
58985         * math/w_coshf.c: Likewise.
58986         * math/w_coshl.c: Likewise.
58987         * math/w_dremf.c: Likewise.
58988         * math/w_exp10.c: Likewise.
58989         * math/w_exp10f.c: Likewise.
58990         * math/w_exp10l.c: Likewise.
58991         * math/w_exp2.c: Likewise.
58992         * math/w_exp2f.c: Likewise.
58993         * math/w_fmod.c: Likewise.
58994         * math/w_fmodf.c: Likewise.
58995         * math/w_fmodl.c: Likewise.
58996         * math/w_hypot.c: Likewise.
58997         * math/w_hypotf.c: Likewise.
58998         * math/w_hypotl.c: Likewise.
58999         * math/w_j0.c: Likewise.
59000         * math/w_j0f.c: Likewise.
59001         * math/w_j0l.c: Likewise.
59002         * math/w_j1.c: Likewise.
59003         * math/w_j1f.c: Likewise.
59004         * math/w_j1l.c: Likewise.
59005         * math/w_jn.c: Likewise.
59006         * math/w_jnf.c: Likewise.
59007         * math/w_jnl.c: Likewise.
59008         * math/w_lgamma.c: Likewise.
59009         * math/w_lgamma_r.c: Likewise.
59010         * math/w_lgammaf.c: Likewise.
59011         * math/w_lgammaf_r.c: Likewise.
59012         * math/w_lgammal.c: Likewise.
59013         * math/w_lgammal_r.c: Likewise.
59014         * math/w_log.c: Likewise.
59015         * math/w_log10.c: Likewise.
59016         * math/w_log10f.c: Likewise.
59017         * math/w_log10l.c: Likewise.
59018         * math/w_log2.c: Likewise.
59019         * math/w_log2f.c: Likewise.
59020         * math/w_log2l.c: Likewise.
59021         * math/w_logf.c: Likewise.
59022         * math/w_logl.c: Likewise.
59023         * math/w_pow.c: Likewise.
59024         * math/w_powf.c: Likewise.
59025         * math/w_powl.c: Likewise.
59026         * math/w_remainder.c: Likewise.
59027         * math/w_remainderf.c: Likewise.
59028         * math/w_remainderl.c: Likewise.
59029         * math/w_scalb.c: Likewise.
59030         * math/w_scalbf.c: Likewise.
59031         * math/w_scalbl.c: Likewise.
59032         * math/w_sinh.c: Likewise.
59033         * math/w_sinhf.c: Likewise.
59034         * math/w_sinhl.c: Likewise.
59035         * math/w_sqrt.c: Likewise.
59036         * math/w_sqrtf.c: Likewise.
59037         * math/w_sqrtl.c: Likewise.
59038         * math/w_tgamma.c: Likewise.
59039         * math/w_tgammaf.c: Likewise.
59040         * math/w_tgammal.c: Likewise.
59042         * po/ja.po: Update from translation team.
59044 2011-09-29  Andreas Jaeger  <aj@suse.de>
59046         [BZ #13179]
59047         * sunrpc/netname.c (netname2host): Fix logic.
59049         [BZ #6779]
59050         [BZ #6783]
59051         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59052         correctly.
59053         * math/w_remainder.c (__remainder): Likewise.
59054         * math/w_remainderf.c (__remainderf): Likewise.
59055         * math/libm-test.inc (remainder_test): Add test cases.
59057 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59059         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59060         sdiv_qrnnd.
59062 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59064         * string/test-memcmp.c: Avoid unncessary #defines.
59065         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59067 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59069         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59070         Use new sse2 version for core i3 - i7 as it's faster
59071         than sse42 version.
59072         (bit_Prefer_PMINUB_for_stringop): New.
59073         * sysdeps/x86_64/rawmemchr.S: Update.
59074         Replace with faster SSE2 version.
59075         * sysdeps/x86_64/memrchr.S: New file.
59076         * sysdeps/x86_64/memchr.S: Update.
59077         Replace with faster SSE2 version.
59079 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59081         * elf/dl-load.c (lose): Add cast to avoid warning.
59083 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59085         * po/ca.po: Update from translation team.
59087         * inet/getnetgrent_r.c: Hook up nscd.
59088         * nscd/Makefile (routines): Add nscd_netgroup.
59089         (nscd-modules): Add netgroupcache.
59090         (CFLAGS-netgroupcache.c): Define.
59091         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59092         (cache_search): Add const to second parameter.
59093         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59094         INNETGR.
59095         (dbs): Add netgrdb entry.
59096         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59097         (verify_persistent_db): Handle netgrdb.
59098         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59099         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59100         GETFDNETGR.
59101         (netgroup_response_header): Define.
59102         (innetgroup_response_header): Define.
59103         (datahead): Add netgroup_response_header and innetgroup_response_header
59104         elements.
59105         * nscd/nscd.conf: Add entries for netgroup cache.
59106         * nscd/nscd.h (dbtype): Add netgrdb.
59107         (_PATH_NSCD_NETGROUP_DB): Define.
59108         (netgroup_iov_disabled): Declare.
59109         (xmalloc, xcalloc, xrealloc): Move declarations here.
59110         (cache_search): Adjust prototype.
59111         Add netgroup-related prototypes.
59112         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59113         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59114         (__nscd_innetgr): Declare.
59115         * nscd/selinux.c (perms): Use access_vector_t as element type and
59116         add netgroup-related initializers.
59117         * nscd/netgroupcache.c: New file.
59118         * nscd/nscd_netgroup.c: New file.
59119         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59120         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59121         For four parameters use innetgr.
59122         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59123         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59124         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59125         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59127         * nscd/connections.c (register_traced_file): Don't register file
59128         for disabled databases.
59130 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59132         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59134         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59135         from tree and freeing node.
59137 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59139         * nss/nsswitch.c (__nss_database_lookup): Handle
59140         nss_parse_service_list out of memory case.
59142 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59144         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59145         out of memory case.
59147 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59149         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59150         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59151         pass it down.
59152         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59153         elf_machine_rela, elf_machine_lazy_rel.
59154         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59155         (ELF_DYNAMIC_DO_REL): Likewise.
59156         (ELF_DYNAMIC_DO_RELA): Likewise.
59157         (ELF_DYNAMIC_RELOCATE): Likewise.
59158         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59159         to ELF_DYNAMIC_DO_REL.
59160         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59161         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59162         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59163         elf_machine_rela.
59164         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59165         skip_ifunc, don't call ifunc function if non-zero.
59166         (elf_machine_rela): Likewise.
59167         (elf_machine_lazy_rel): Likewise.
59168         (elf_machine_lazy_rela): Likewise.
59169         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59170         (elf_machine_lazy_rel): Likewise.
59171         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59172         Likewise.
59173         (elf_machine_lazy_rel): Likewise.
59174         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59175         Likewise.
59176         (elf_machine_lazy_rel): Likewise.
59177         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59178         (elf_machine_lazy_rel): Likewise.
59179         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59180         (elf_machine_lazy_rel): Likewise.
59181         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59182         (elf_machine_lazy_rel): Likewise.
59183         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59184         (elf_machine_lazy_rel): Likewise.
59185         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59186         (elf_machine_lazy_rel): Likewise.
59187         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59188         (elf_machine_lazy_rel): Likewise.
59190 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59192         * nss/nss_files/files-init.c (_nss_files_init): Use static
59193         initialization for all the *_traced_file variables.
59195 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59197         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59199 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59201         [BZ #13226]
59202         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59204 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59206         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59207         Reread the line before reparsing it.
59209 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59211         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59213 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59214             Maxim Kuvyrkov  <maxim@codesourcery.com>
59215             Joseph Myers  <joseph@codesourcery.com>
59217         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59218         if needed for __stack_chk_guard.
59220 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59222         * sysdeps/posix/spawni.c (script_execute): Always define it.
59223         It will be optimized away if unused.
59224         (maybe_script_execute): New function.
59225         (__spawni): Call it.
59227         * Makerules: Don't include tls.make.
59228         (config-tls): Always set to thread.
59229         * tls.make.c: File removed.
59231 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59233         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59234         * config.make.in (CPPFLAGS-config): New substituted variable.
59236 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59238         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59240         [BZ #13192]
59241         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59242         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59244 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59246         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59247         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59248         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59249         (CALL_FAIL): Likewise.
59250         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59251         (CALL_FAIL): Macro removed.
59252         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59254 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59256         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59257         for __FINITE_MATH_ONLY__ == 1.
59259 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59261         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59262         __ieee754_sqrt instead of sqrt.
59263         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59264         __ieee754_sqrtf instead of sqrtf.
59265         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59266         __floorf instead of floorf.
59267         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59268         __floorf, __truncf instead of floorf, truncf.
59270 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59272         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59274         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59275         __extern_always_inline.
59276         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59277         32-bit.
59279 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59281         * elf/rtld.c (dl_main): Also relocate in dependency order when
59282         doing symbol dependency testing.
59284 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59286         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59287         Always define `refsym'.
59289 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59291         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59292         (__FD_ELT): Renamed from __FDELT.
59293         * misc/bits/select2.h (__FD_ELT): Likewise.
59294         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59295         __FD_MASK instead of __FDELT, __FDMASK.
59296         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59297         Likewise.
59298         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59299         Likewise.
59301         * elf/Makefile (gen-ldd): Fix pattern.
59303         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59304         (init_tls): Likewise.
59306 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59308         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59310 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59312         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59313         `struct cmsghdr *' instead of `void *'.
59314         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59315         Likewise.
59317 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59319         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59320         if non-absolute.
59321         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59322         ldd_rewrite_script.
59324 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59326         * configure.in: Remove --with-tls option.
59327         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59328         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59329         out in case it is missing.
59330         * sysdeps/ia64/elf/configure.in: Likewise.
59331         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59332         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59333         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59334         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59335         * sysdeps/sh/elf/configure.in: Likewise.
59336         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59337         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59338         * sysdeps/x86_64/elf/configure.in: Likewise.
59339         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59340         * sysdeps/mach/hurd/tls.h: Likewise.
59342         [BZ #13067]
59343         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59345         [BZ #13090]
59346         * configure.in: Fix use of AC_INIT.
59348         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59350 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59352         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59353         __set_errno.
59354         * malloc/hooks.c: Likewise.
59356         [BZ #11929]
59357         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59358         variables statically.
59359         (narenas): Initialize.
59360         (list_lock): Initialize.
59361         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59362         initializtion of main_arena and list_lock.  Small cleanups.
59363         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59364         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59365         Add initializers to main_arena and mp_.
59366         (malloc_state): Remove pagesize member.  Change all users to use
59367         GLRO(dl_pagesize).
59369         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59370         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59371         is always initialized.
59373         * malloc/malloc.c: Removed unused configurations and dead code.
59374         * malloc/arena.c: Likewise.
59375         * malloc/hooks.c: Likewise.
59376         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59378         * include/tls.h: Removed.  USE___THREAD must always be defined.
59379         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59380         * elf/dl-libc.c: Likewise.
59381         * elf/dl-tsd.c: Likewise.
59382         * include/errno.h: Likewise.
59383         * include/netdb.h: Likewise.
59384         * include/resolv.h: Likewise.
59385         * inet/herrno-loc.c: Likewise.
59386         * inet/herrno.c: Likewise.
59387         * malloc/arena.c: Likewise.
59388         * malloc/hooks.c: Likewise.
59389         * malloc/malloc.c: Likewise.
59390         * resolv/res-state.c: Likewise.
59391         * resolv/res_libc.c: Likewise.
59392         * sysdeps/i386/dl-machine.h: Likewise.
59393         * sysdeps/ia64/dl-machine.h: Likewise.
59394         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59395         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59396         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59397         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59398         * sysdeps/sh/dl-machine.h: Likewise.
59399         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59400         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59401         * sysdeps/unix/i386/sysdep.S: Likewise.
59402         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59403         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59404         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59405         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59406         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59407         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59408         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59409         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59410         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59411         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59412         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59413         * sysdeps/x86_64/dl-machine.h: Likewise.
59414         * tls.make.c: Likewise.
59416         * configure.in: Remove --with-__thread option.  Make tests for
59417         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59418         tls_model attribute fail if no support is available.  Remove
59419         USE_IN_LIBIO.
59420         * Makeconfig: Adjust for dropped configure option.  All features are
59421         now mandatory.
59422         * Makerules: Likewise.
59423         * Versions.def: Likewise.
59424         * argp/argp-fmtstream.c: Likewise.
59425         * argp/argp-fmtstream.h: Likewise.
59426         * argp/argp-help.c: Likewise.
59427         * assert/assert.c: Likewise.
59428         * config.h.in: Likewise.
59429         * config.make.in: Likewise.
59430         * configure: Likewise.
59431         * configure.in: Likewise.
59432         * csu/Versions: Likewise.
59433         * csu/init.c: Likewise.
59434         * elf/tst-audit2.c: Likewise.
59435         * elf/tst-tls10.c: Likewise.
59436         * elf/tst-tls10.h: Likewise.
59437         * elf/tst-tls11.c: Likewise.
59438         * elf/tst-tls12.c: Likewise.
59439         * elf/tst-tls14.c: Likewise.
59440         * elf/tst-tlsmod11.c: Likewise.
59441         * elf/tst-tlsmod12.c: Likewise.
59442         * elf/tst-tlsmod13.c: Likewise.
59443         * elf/tst-tlsmod13a.c: Likewise.
59444         * elf/tst-tlsmod14a.c: Likewise.
59445         * elf/tst-tlsmod15b.c: Likewise.
59446         * elf/tst-tlsmod16a.c: Likewise.
59447         * elf/tst-tlsmod16b.c: Likewise.
59448         * elf/tst-tlsmod7.c: Likewise.
59449         * elf/tst-tlsmod8.c: Likewise.
59450         * elf/tst-tlsmod9.c: Likewise.
59451         * gmon/gmon.c: Likewise.
59452         * grp/fgetgrent_r.c: Likewise.
59453         * grp/putgrent.c: Likewise.
59454         * hurd/fopenport.c: Likewise.
59455         * include/libc-symbols.h: Likewise.
59456         * include/tls.h: Likewise.
59457         * intl/gettextP.h: Likewise.
59458         * intl/loadinfo.h: Likewise.
59459         * locale/global-locale.c: Likewise.
59460         * locale/localeinfo.h: Likewise.
59461         * mach/devstream.c: Likewise.
59462         * malloc/arena.c: Likewise.
59463         * malloc/set-freeres.c: Likewise.
59464         * misc/err.c: Likewise.
59465         * misc/getttyent.c: Likewise.
59466         * misc/mntent_r.c: Likewise.
59467         * posix/getopt.c: Likewise.
59468         * posix/wordexp.c: Likewise.
59469         * pwd/fgetpwent_r.c: Likewise.
59470         * resolv/Versions: Likewise.
59471         * resolv/res_hconf.c: Likewise.
59472         * shadow/fgetspent_r.c: Likewise.
59473         * shadow/putspent.c: Likewise.
59474         * stdio-common/printf_fphex.c: Likewise.
59475         * stdio-common/tmpfile.c: Likewise.
59476         * stdlib/abort.c: Likewise.
59477         * stdlib/fmtmsg.c: Likewise.
59478         * sunrpc/auth_unix.c: Likewise.
59479         * sunrpc/clnt_perr.c: Likewise.
59480         * sunrpc/clnt_tcp.c: Likewise.
59481         * sunrpc/clnt_udp.c: Likewise.
59482         * sunrpc/clnt_unix.c: Likewise.
59483         * sunrpc/openchild.c: Likewise.
59484         * sunrpc/svc_simple.c: Likewise.
59485         * sunrpc/svc_tcp.c: Likewise.
59486         * sunrpc/svc_udp.c: Likewise.
59487         * sunrpc/svc_unix.c: Likewise.
59488         * sunrpc/xdr.c: Likewise.
59489         * sunrpc/xdr_array.c: Likewise.
59490         * sunrpc/xdr_rec.c: Likewise.
59491         * sunrpc/xdr_ref.c: Likewise.
59492         * sunrpc/xdr_stdio.c: Likewise.
59494 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59496         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59498 2011-07-03  Andreas Jaeger  <aj@suse.de>
59500         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59501         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59502         regenerate with gen-libm-tests.pl.
59504 2010-05-12  Petr Baudis  <pasky@suse.cz>
59506         [BZ #11589]
59507         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59508         around j0() zero points by switching to j1().
59509         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59510         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59511         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59512         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59514 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59516         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59517         instead of 0.
59518         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59519         instead of 0.
59520         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59521         Patch in part by Pavel Roskin <proski@gnu.org>.
59523         [BZ #13138]
59524         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59525         realloc.
59526         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
59527         Free memory block if necessary.
59529         [BZ #12847]
59530         * libio/genops.c (INTDEF): For string streams the _lock pointer can
59531         be NULL.  Don't lock in this case.
59533 2011-09-09  Roland McGrath  <roland@hack.frob.com>
59535         * elf/elf.h (ELFOSABI_GNU): New macro.
59536         (ELFOSABI_LINUX): Define to that.
59538 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
59540         * string/strncat.c (strncat): Undef the symbol in case it has been
59541         defined in bits/string.h.
59543 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59545         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59547         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59548         link map.
59550 2011-08-17  Andreas Jaeger  <aj@suse.de>
59552         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59554 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59555             Ian Lance Taylor  <iant@google.com>
59557         * math/libm-test.inc (lround_test): New testcase.
59558         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59560 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
59562         * Makefile: Remove support for automatic cvs check-ins.
59563         * Makerules: Likewise.
59564         * config.make.in: Likewise.
59565         * configure.in: Likewise.
59566         * intl/Makefile: Likewise.
59567         * locale/Makefile: Likewise.
59568         * po/Makefile: Likewise.
59569         * posix/Makefile: Likewise.
59570         * sysdeps/gnu/Makefile: Likewise.
59571         * sysdeps/mach/hurd/Makefile: Likewise.
59572         * sysdeps/sparc/sparc32/Makefile: Likewise.
59574         [BZ #13118]
59575         * posix/Makefile (bug-regex32-ENV): Define.
59576         Patch by John Stanley <jpsinthemix@verizon.net>.
59578         * misc/Makefile (headers): Add bits/select2.h.
59579         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59580         * misc/bits/select2.h: New file.
59581         * include/bits/select2.h: New file.
59582         * debug/Makefile (routines): Add fdelt_chk.
59583         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59584         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59585         FD_ISSET.
59586         * debug/fdelt_chk.c: New file.
59588         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
59589         * wcsmbs/test-wmemcmp.c: Likewise.
59590         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
59591         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
59593 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59595         * string/Makefile (strop-tests): Add memcmp.
59596         * string/test-wmemcmp.c: New file.
59597         * string/test-memcmp.c: Add wmemcmp support.
59599 2011-09-08  Roland McGrath  <roland@hack.frob.com>
59601         [BZ #13153]
59602         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59603         2011-07-19 change.
59605         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59606         garbage value in a __mach_port_mod_refs call in the cases of the
59607         task-self and thread-self ports.
59609 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59611         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
59613 2011-09-08  Andreas Schwab  <schwab@redhat.com>
59615         * elf/dl-load.c (lose): Check for non-null L.
59617 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59619         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
59621         * elf/dl-libc.c (dlerror_run): Pass back error code from
59622         dl_catch_error.
59624         [BZ #13123]
59625         * elf/dl-load.c (lose): Free l_origin if it is valid.
59627         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
59628         names.
59629         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
59630         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59631         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59632         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59633         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
59634         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
59636 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59638         * sysdeps/powerpc/fpu/e_hypot.c: New file.
59639         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
59640         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
59641         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
59642         * sysdeps/powerpc/fpu/k_cosf.c: New file.
59643         * sysdeps/powerpc/fpu/k_sinf.c: New file.
59644         * sysdeps/powerpc/fpu/s_cosf.c: New file.
59645         * sysdeps/powerpc/fpu/s_sinf.c: New file.
59646         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
59647         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
59649 2011-08-15  Alan Modra  <amodra@gmail.com>
59651         [BZ #13092]
59652         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
59653         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
59654         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
59655         ppc_mcount to static-only-routines.
59656         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
59657         __mcount_internal.
59658         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
59659         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
59661 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
59663         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
59664         for finite and infinity parameters.
59666 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59668         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
59669         and add nop instructions for throughput optimization.
59670         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59672 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
59674         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59675         aligned copy for power7 with vector-scalar instructions.
59676         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59678 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
59680         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59681         AVX check.
59683 2011-09-07  Andreas Schwab  <schwab@redhat.com>
59685         [BZ #13144]
59686         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59687         last change.
59689 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59691         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59692         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59693         syscall wrapper around clock_gettime in __vdso_clock_gettime.
59694         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59695         clock_gettime.
59697 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59699         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59700         Forgot to demangle the pointer.
59702         * sysdeps/i386/sysdep.h: Define atom_text_section.
59703         * sysdeps/x86_64/sysdep.h: Likewise.
59704         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59705         section with atom_text_section.
59706         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59707         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59708         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59709         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59710         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59712         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59713         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59714         already be defined.  Change to take two parameters and don't assign
59715         result to variable.  Adjust all users.
59716         Define INTERNAL_GETTIME if not already defined.
59717         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59718         call.
59719         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59720         HAVE_CLOCK_GETTIME_VSYSCALL.
59721         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59723         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59724         gettimeofday vsyscall, just use time.
59726 2011-09-06  Andreas Schwab  <schwab@redhat.com>
59728         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59729         <errno.h>.
59731 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59733         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59734         syscall on x86-64.
59735         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59736         syscall.
59737         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59738         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59739         syscall if possible.
59741 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59743         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59744         e_ident.  Don't pass to find_mapsXX.
59745         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59747 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59749         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59750         strchr-sse2-no-bsf strrchr-sse2-no-bsf
59751         * sysdeps/x86_64/multiarch/strchr.S: Update.
59752         Check bit_slow_BSF bit.
59753         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59754         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59755         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59757 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59759         [BZ #13134]
59760         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59761         before glibc 2.15.
59762         (tryshell): Define.
59763         (__spawni): Change last parameter to be flag.  Test
59764         SPAWN_XFLAGS_USE_PATH flag to use path or not.
59765         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59766         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59767         * posix/spawni.c: Likewise.
59768         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59769         * posix/spawnp.c: Likewise.  Change normal version to use
59770         SPAWN_XFLAGS_USE_PATH.
59771         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59772         SPAWN_XFLAGS_TRY_SHELL.
59774         [BZ #13150]
59775         * posix/glob.h: Remove gcc 1.x support.
59777         [BZ #13068]
59778         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59780 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59782         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59783         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59784         strrchr-sse2-bsf
59785         * sysdeps/i386/i686/multiarch/strchr.S: New file.
59786         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59787         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59788         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59789         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59790         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59792 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59794         * sysdeps/x86_64/wcscmp.S: New file.
59796         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59797         wcscmp-c wcscmp-sse2
59798         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59799         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59800         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59801         * wcsmbs/wcscmp.c: Allow renaming.
59803 2011-09-05  David S. Miller  <davem@davemloft.net>
59805         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59806         stack slot, rather than the struct return pointer slot.
59807         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59808         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59810         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59812 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59814         * po/ja.po: Update from translation team.
59816         [BZ #13144]
59817         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59818         kernel in 64-bit binaries.
59820 2011-09-01  David S. Miller  <davem@davemloft.net>
59822         * elf/elf.h (HWCAP_SPARC_*): Move to..
59823         * sysdeps/sparc/sysdep.h: this new file and add new values.
59824         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59825         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59826         _DL_HWCAP_COUNT to 24.
59827         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59828         entries.
59829         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59830         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59831         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59832         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59833         instead of magic constants.
59834         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59836 2011-08-31  David S. Miller  <davem@davemloft.net>
59838         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59839         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59840         Reimplement to do errno handling inline.
59841         (SYSCALL_ERROR_HANDLER): New macro.
59842         (__SYSCALL_STRING): Do not do errno handling in asm.
59843         (__CLONE_SYSCALL_STRING): Delete.
59844         (__INTERNAL_SYSCALL_STRING): Delete.
59845         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59846         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59847         (PSEUDO): Reimplement to do errno handling inline.
59848         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59849         (SYSCALL_ERROR_HANDLER): New macro.
59850         (__SYSCALL_STRING): Do not do errno handling in asm.
59851         (__CLONE_SYSCALL_STRING): Delete.
59852         (__INTERNAL_SYSCALL_STRING): Delete.
59853         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59854         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59855         i386.
59856         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59857         (inline_syscall*): Add 'err' argument.
59858         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59859         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59860         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59861         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59863         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59864         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59866 2011-08-30  Andreas Schwab  <schwab@redhat.com>
59868         * elf/rtld.c (dl_main): Relocate objects in dependency order.
59870 2011-08-29  Jiri Olsa <jolsa@redhat.com>
59872         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59873         directive.
59875 2011-08-24  David S. Miller  <davem@davemloft.net>
59877         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59879 2011-08-24  Andreas Schwab  <schwab@redhat.com>
59881         * elf/Makefile: Add rules to build and run unload8 test.
59882         * elf/unload8.c: New file.
59883         * elf/unload8mod1.c: New file.
59884         * elf/unload8mod1x.c: New file.
59885         * elf/unload8mod2.c: New file.
59886         * elf/unload8mod3.c: New file.
59888         * elf/dl-close.c (_dl_close_worker): Reset private search list if
59889         it wasn't used.
59891 2011-08-23  David S. Miller  <davem@davemloft.net>
59893         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59894         subtract stack bias.
59895         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59896         %sp not %fp in calculations.
59897         (_JMPBUF_UNWINDS_ADJ): Likewise.
59899         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59900         (aio_suspend): Call it to force an exception region around the
59901         AIO_MISC_WAIT() invocation.
59903 2011-08-23  Andreas Schwab  <schwab@redhat.com>
59905         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59906         backslash.
59908 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
59910         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59911         protection macro.
59912         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59913         and <dl-machine.h>.
59914         (Elf64_FuncDesc): Remove.
59916 2011-08-22  David S. Miller  <davem@davemloft.net>
59918         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59919         sigaltstack check, add missing cfi directives.
59920         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59921         missing cfi directives, and sigaltstack handling.
59923 2011-08-16  Andreas Schwab  <schwab@redhat.com>
59925         [BZ #11724]
59926         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59927         object is seen twice.
59928         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59930         * elf/Makefile (distribute): Add tst-initorder2.c.
59931         (tests): Add tst-initorder2.
59932         (modules-names): Add tst-initorder2a tst-initorder2b
59933         tst-initorder2c tst-initorder2d.  Add rules to build them.
59934         ($(objpfx)tst-initorder2.out): New rule.
59935         * elf/tst-initorder2.c: New file.
59936         * elf/tst-initorder2.exp: New file.
59938 2011-08-22  Andreas Schwab  <schwab@redhat.com>
59940         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59942         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59943         dependencies back to end of function.
59945         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59946         $(elfobjdir)/ld.so.
59948 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
59950         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59951         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59952         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59953         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59954         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59955         of __vdso_gettimeofday.
59956         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59957         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
59958         attribute_hidden.
59959         (_libc_vdso_platform_setup): Remove initialization of
59960         __vdso_gettimeofday and __vdso_time.
59962 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59964         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59965         and fgetc_unlocked.
59966         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59967         getc_unlocked.
59969         * elf/dl-open.c (add_to_global): Report additions to the global scope
59970         for LD_DEBUG=scopes.
59971         (dl_open_worker): Also print scope of newly loaded dependencies.
59972         (_dl_show_scope): Indicate if there is no scope.
59974         [BZ #13114]
59975         * stdio-common/Makefile (tests): Add bug24.
59976         * stdio-common/bug24.c: New file.
59978 2011-08-19  Andreas Jaeger  <aj@suse.de>
59980         [BZ #13114]
59981         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59982         non-existant file when using close-on-exec mode.
59984 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59986         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
59987         the very first instruction.
59989         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
59990         the CFI state in the end.
59991         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
59992         inclusion of dl-trampoline.h.
59993         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
59995 2011-08-19  Andreas Schwab  <schwab@redhat.com>
59997         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
59998         expectations for long double.
60000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60001         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60003 2011-08-14  David S. Miller  <davem@davemloft.net>
60005         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60006         artificual limit depends upon the system page size.
60008 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60010         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60011         * resolv/Makefile: Define CFLAGS-libresolv.
60013 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60015         * nss/makedb.c (compute_tables): Make variables used in nested
60016         function static.
60018 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60020         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60021         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60022         if buffer was too small.
60024         * elf/pldd.c (main): Attach to all threads in the process.
60025         Rewrite /proc handling to use *at functions.
60027 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60029         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60030         specifies first scope to show.
60031         (dl_open_worker): Update callers.  Move printing scope of new
60032         object to before the relocation.
60033         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60034         * sysdeps/generic/ldsodefs.h: Update declaration.
60036         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60037         string for the scope number.
60039 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60041         * nscd/servicescache.c (cache_addserv): Make sure written is always
60042         initialized.
60044 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60046         * sysdeps/i386/i486/bits/atomic.h
60047         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60048         statement expression, so as to suppress "set but not used" warning.
60049         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60051         * string/strncat.c (STRNCAT): Use prototype definition.
60053         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60054         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60055         -Iprograms here.
60056         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60057         (localedef-modules): Add localedef.
60058         (locale-modules): Add locale.
60060         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60061         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60062         to avoid a warning.
60064 2011-08-14  David S. Miller  <davem@davemloft.net>
60066         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60067         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60069 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60071         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60072         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60073         * elf/rtld.c (dl_main): Set l_name of vDSO.
60074         Call _dl_show_scope when DL_DEBUG_SCOPES.
60075         (process_dl_debug): Recognize scopes flag and also set it for all.
60076         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60077         Declare _dl_show_scope.
60079         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60080         (do_dlopen): Pass caller_dlopen to dl_open.
60081         (__libc_dlopen_mode): Initialize caller_dlopen.
60083         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60084         of libc.  Make tolower call locale-independent.  Optimize a bit by
60085         using isdigit instead of isalnum.
60086         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60088 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60090         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60091         was a dependency or dynamically loaded.
60093 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60095         * intl/l10nflist.c: Allow architecture-specific pop function.
60096         * sysdeps/x86_64/l10nflist.c: New file.
60098         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60099         classification.
60101 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60103         * include/dirent.h: Add libc_hidden_proto for scandirat and
60104         scandirat64.  Don't declare __scandirat64.
60105         * dirent/scandirat.c: Add libc_hidden_def.
60106         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60107         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60109 2011-08-10  David S. Miller  <davem@davemloft.net>
60111         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60112         enum.
60113         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60114         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60115         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60117 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60119         * Versions.def [libc]: Add GLIBC_2.15.
60120         * dirent/Makefile (routines): Add scandirat and scandirat64.
60121         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60122         GLIBC_2.15.
60123         * dirent/dirent.h: Declare scandirat and scandirat64.
60124         * dirent/scandirat.c: New file.
60125         * dirent/scandirat64.c: New file.
60126         * sysdeps/wordsize-64/scandirat.c: New file.
60127         * sysdeps/wordsize-64/scandirat64.c: New file.
60128         * dirent/opendir.c: Define opendirat.
60129         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60130         using scandirat.
60131         * dirent/scandir64.c: Adjust for scandir.c change.
60132         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60133         __scandirat64, and __scandir_cancel_handler.
60134         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60135         additional parameter and use openat instead of open (outside of ld.so).
60136         Add new __opendir as wrapper around __opendirat.
60137         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60138         here without requiring old scandirat implementation.
60140 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60142         * dirent/scandir.c (cancel_handler): Renamed to
60143         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60144         defined.  Adjust users.
60145         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60146         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60148 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60150         * string/test-string.h (IMPL): Use __STRING to expand name and then
60151         stringify it.
60153         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60154         of cleanups.
60156 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60158         * string/Makefile: Update.
60159         (strop-tests): Append strncat.
60160         * string/test-wcscmp.c: New file.
60161         New comprehensive test for wcscmp.
60162         * string/test-strcmp.c: Update.
60163         (WIDE): New define.
60165 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60167         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60168         line.
60170 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60172         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60173         encoding to ACE if AI_IDN.
60175 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60177         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60178         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60180 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60182         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60183         Fix overflow bug in strncat.
60184         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60186         * string/test-strncat.c: Update.
60187         Add new tests for checking overflow bugs.
60189 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60191         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60192         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60193         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60194         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60195         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60196         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60197         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60198         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60199         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60201         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60202         (USE_AS_STRCAT): Define.
60203         Add strcat and strncat support.
60204         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60206 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60208         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60209         __n bigger than INT_MAX+1.
60210         (__strncmp_g): Likewise.
60212 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60214         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60215         * libio/stido.h: Likewise.
60217         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60218         (AF_NFC): Define.
60219         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60220         (AF_NFC): Define.
60222         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60223         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60224         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60225         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60226         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60228         [BZ #13021]
60229         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60230         installed.
60232         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60233         typo.
60234         (_dl_x86_64_save_sse): Likewise.
60236 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60238         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60239         OSXSAVE.
60240         (_dl_x86_64_save_sse): Likewise.
60242         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60244         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60246 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60248         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60249         change.
60250         (_dl_x86_64_save_sse): Use correct AVX check.
60252 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60254         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60255         bug in strncpy/strncat.
60256         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60258 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60260         * string/tester.c (test_strcat): Add tests for different alignments
60261         of source and destination.
60262         (test_strncat): Likewise.
60264 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60266         [BZ #12852]
60267         * posix/glob.c (glob): Check passed in values before using them in
60268         expressions to avoid some overflows.
60269         (glob_in_dir): Likewise.
60271         [BZ #13007]
60272         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60273         check for AVX enablement so that we don't crash with old kernels and
60274         new hardware.
60275         * elf/tst-audit4.c: Add same checks here.
60276         * elf/tst-audit6.c: Likewise.
60278         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60280 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60282         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60284 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60286         * po/cs.po: Update from translation team.
60287         * po/bg.po: Likewise.
60289 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60291         * misc/sys/cdefs.h: Add support for const attribute.
60292         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60293         to gnu_dev_{major,minor,makedev} functions.
60295 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60297         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60299 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60301         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60302         strlen results.
60304 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60306         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60307         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60308         register in order to avoid conflicts with the soft frame pointer
60309         being held in r11 when necessary.
60310         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60311         (INTERNAL_VSYSCALL_NCS): Likewise.
60313 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60315         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60316         * elf/dl-fini.c (_dl_fini): Adjust caller.
60317         * elf/dl-close.c (_dl_close_worker): Likewise.
60318         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60320 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60322         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60323         "aux_cache->nlibs < 0".
60325         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60326         in the reload-count case.
60328 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60330         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60331         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60332         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60333         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60334         * sysdeps/x86_64/multiarch/strcat.S: New file.
60335         * sysdeps/x86_64/multiarch/strncat.S: New file.
60336         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60337         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60338         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60339         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60340         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60341         (USE_AS_STRCAT): Define.
60342         Add strcat and strncat support.
60343         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60344         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60345         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60346         * string/strncat.c: Update.
60347         (USE_AS_STRNCAT): Define.
60348         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60349         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60350         and i7.
60351         * sysdeps/x86_64/multiarch/init-arch.h
60352         (bit_Prefer_PMINUB_for_stringop): New.
60353         (index_Prefer_PMINUB_for_stringop): Likewise.
60354         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60355         bit_Prefer_PMINUB_for_stringop.
60357 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60359         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60360         buffer64.
60361         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60362         of casting of buffer.
60363         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60364         buffer32 and buffer64.
60365         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60366         writes instead of casting of buffer.
60367         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60368         buffer32.
60369         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60370         casting of buffer.
60372 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60374         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60376 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60378         * nscd/nscd.c (termination_handler): Don't do anything for a database
60379         if it has not yet been initialized.
60381 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60383         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60385 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60387         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60389 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60391         * po/nl.po: Update from translation team.
60392         * po/sv.po: Likewise.
60394 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60396         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60397         now disallowed by GCC.
60399         * configure.in (use-default-link): Default to yes if a test -shared
60400         link meets our qualifications.
60401         * configure: Regenerated.
60403         * config.make.in (output-format): New variable.
60404         * configure.in: Check for ld --print-output-format support.
60405         * configure: Regenerated.
60406         * Makerules ($(common-objpfx)format.lds)
60407         [$(output-format) != unknown]: Just use $(output-format),
60408         instead of the linker-script munging.
60410 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60412         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60413         of $(common-objpfx)shlib.lds.
60414         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60416         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60417         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60419         * configure.in (-z relro check): Adjust test code to add a large
60420         writable data section after it.
60421         * configure: Regenerated.
60423 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60425         * configure.in (-z relro check): Fix test code to make the variable
60426         truly const.
60427         * configure: Regenerated.
60429 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60431         * nscd/nscd.h (struct traced_file): Define.
60432         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60433         elements.  Add traced_files.
60434         (inotify_fd): Declare.
60435         (register_traced_file): Declare.
60436         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60437         (inotify_fd): Export.
60438         (resolv_conf_descr): Remove.
60439         (nscd_init): Move inotify descriptor creation to main.
60440         Don't register files for notification here.
60441         (register_traced_file): New function.
60442         (invalidate_cache): Don't use reset_res to determine whether to call
60443         res_init, go through the list of registered files.
60444         (main_loop_poll): The inotify descriptors are now stored in the
60445         structures for the traced files.
60446         (main_loop_epoll): Likewise
60447         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
60448         to __nss_disable_nscd.
60449         * nscd/cache.c (prune_cache): There is no single inotify descriptor
60450         for a database anymore.  Check the records for all the registered
60451         files instead.
60452         * nss/Makefile (libnss_files-routines): Add files-init.
60453         (libnss_db-routines): Add db-init.
60454         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60455         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60456         * nss/nss_db/db-init.c: New file.
60457         * nss/nss_files/files-init.c: New file.
60458         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
60459         __nss_lookup_function.
60460         (__nss_lookup_function): Call nss_load_library.
60461         (nss_load_all_libraries): New function.
60462         (__nss_disable_nscd): Take parameter with callback function for files
60463         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
60464         used for the cached services.
60465         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60466         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60467         options for features to all the files in nscd.
60469         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60471 2011-07-10  Roland McGrath  <roland@hack.frob.com>
60473         * csu/elf-init.c (__libc_csu_init): Comment typo.
60475 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
60477         * po/pl.po: Update from translation team.
60478         * po/ja.po: Likewise.
60479         * po/ru.po: Likewise.
60480         * po/ko.po: Likewise.
60481         * po/fr.po: Likewise.
60483 2011-07-09  Roland McGrath  <roland@hack.frob.com>
60485         * configure.in (.ctors/.dtors header and trailer check):
60486         Use an empirical test on a built program.
60487         * configure: Regenerated.
60489         * configure.in (-z relro check): Use an empirical test on a built DSO.
60490         Detect, but do not require, on ia64.
60491         * configure: Regenerated.
60493         * configure.in (READELF): Find it with AC_CHECK_TOOL.
60494         Update tests that use readelf to use $READELF instead.
60495         * configure: Regenerated.
60497 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
60499         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60500         if the result is not used.
60502 2011-07-05  Andreas Jaeger  <aj@suse.de>
60504         [BZ#9696]
60505         * stdlib/tst-strtod.c: Add testcase.
60507 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
60509         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60510         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60511         The latter has a higher limit.  Take additional parameter to pass to
60512         the new function.
60513         (__pathconf): Pass file to __statfs_link_max.
60514         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60515         __statfs_link_max.
60516         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60517         __statfs_link_max.
60519         [BZ #12868]
60520         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60521         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60522         Handle Lustre.
60523         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60524         (__statfs_filesize_max): Likewise.
60525         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60527 2011-07-05  Andreas Jaeger  <aj@suse.de>
60529         * resolv/res_comp.c (dn_skipname): Remove unused variable.
60531 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
60533         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60534         `status' variable.
60535         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60536         Likewise.
60538 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
60540         * Makefile (strop-tests): Add strncat.
60541         * string/test-strncat.c: New file.
60543 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
60545         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60547 2011-06-21  Andreas Jaeger  <aj@suse.de>
60549         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60550         Copy rule from iconvdata/Makefile.
60552 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60554         [BZ #12922]
60555         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60556         but no long options are defined, just return 'W'.
60558 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
60560         [BZ #9696]
60561         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60563 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60565         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60566         netgroups to read.
60567         (innetgr): Likewise.
60569 2011-07-05  Roland McGrath  <roland@hack.frob.com>
60571         * config.make.in (install_root): Default to $(DESTDIR).
60573 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
60575         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60577 2011-07-02  Roland McGrath  <roland@hack.frob.com>
60579         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60581         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60582         containing directory rather than embedding absolute directory names.
60584         * scripts/check-local-headers.sh: Rewritten using awk.
60585         Match by word, not by line.  Print error messages for matches.
60586         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60588         * Makerules [shlib-lds-flags empty]:
60589         ($(common-objpfx)libc_pic.opts): New target.
60590         ($(common-objpfx)libc_pic.os.clean): New target.
60591         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60593         * config.make.in (OBJCOPY): New variable.
60594         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60595         * configure: Regenerated.
60597         * config.make.in (use-default-link): New variable.
60598         * configure.in (use_default_link): Grok --with-default-link to set it.
60599         * configure: Regenerated.
60600         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60601         (shlib-lds, shlib-lds-flags): Define to empty.
60603         * Makerules (shlib-lds): New variable.
60604         (shlib-lds-flags): New variable.
60605         (build-shlib, build-moduile, build-module-asneeded): Use it.
60606         ($(common-objpfx)libc.so): Use $(shlib-lds).
60607         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
60608         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
60610         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
60611         DT_FLAGS/DT_FLAGS_1 with zero flags.
60613         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
60614         linker script munging.
60616 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
60618         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
60619         as 128-bit value.
60620         * crypt/sha512.c (sha512_process_block): Perform total addition using
60621         128-bit if possible.
60622         (__sha512_finish_ctx): Likewise.
60623         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
60624         as 64-bit value.
60625         * crypt/sha256.c (SWAP64): Define.
60626         (sha256_process_block): Perform total addition using 64-bit if
60627         possible.
60628         (__sha256_finish_ctx): Likewise.
60630 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
60632         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
60633         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60634         * nscd/hstcache.c (cache_addhst): Likewise.
60635         * nscd/grpcache.c (cache_addgr): Likewise.
60636         * nscd/aicache.c (addhstaiX): Likewise
60637         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
60639 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
60641         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
60642         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60643         * nscd/hstcache.c (cache_addhst): Likewise.
60644         * nscd/grpcache.c (cache_addgr): Likewise.
60645         * nscd/aicache.c (addhstaiX): Likewise
60647 2011-07-01  Andreas Schwab  <schwab@redhat.com>
60649         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
60650         domain only when needed.
60652 2011-06-30  Andreas Schwab  <schwab@redhat.com>
60654         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
60655         is always restored.
60657 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
60659         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
60660         are re-adding the entry.
60661         * nscd/servicescache.c (cache_addserv): Likewise.
60663 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
60665         * sysdeps/generic/dl-irel.h: fix protection against multiple
60666         inclusions.
60667         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
60669 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
60671         [BZ #12935]
60672         * malloc/memusage.sh: Fix quoting in message.
60673         * debug/xtrace.sh: Likewise.
60675         * configure.in: Remove support for --experimental-malloc option, make
60676         it the default.
60677         * config.make.in: Likewise.
60678         * malloc/Makefile: Likewise.
60680 2011-06-27  Andreas Schwab  <schwab@redhat.com>
60682         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60683         two-byte characters.
60685 2011-06-27  Roland McGrath  <roland@hack.frob.com>
60687         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60688         AC_CACHE_CHECK invocation.
60689         * configure: Regenerated.
60691         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60693 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
60695         [BZ #12350]
60696         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
60697         bit from old_res_options.
60699         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60701         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60702         value type for setfct.
60704 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
60706         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60707         __gettimeofday instead of gettimeofday.
60709 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
60711         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60713 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
60715         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60717         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60718         info.
60720 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60722         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60723         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60724         strcpy-sse2-unaligned strncpy-sse2-unaligned
60725         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60726         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60727         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60728         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60729         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60730         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60731         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60732         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60733         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60734         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60735         (STRCPY): Support SSE2 and SSSE3 versions.
60737 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
60739         [BZ #12874]
60740         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60741         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60742         kernels which artificially limit size of requests.
60744 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60746         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60747         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60748         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60749         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60750         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60751         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60752         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60753         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60754         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60755         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60756         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60757         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60758         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60759         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60760         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60761         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60762         Enable unaligned load optimization for Intel Core i3, i5 and i7
60763         processors.
60764         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60765         Define.
60766         (index_Fast_Unaligned_Load): Define.
60767         (HAS_FAST_UNALIGNED_LOAD): Define.
60769 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
60771         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60773 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60775         [BZ #12907]
60776         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60777         until it is clear that the information is realy needed.
60778         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60780 2011-06-22  Andreas Schwab  <schwab@redhat.com>
60782         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60784 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60786         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60787         /sys/devices/system/cpu/online if it is usable.
60789         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60790         reading the information from the /proc filesystem to once a second.
60792 2011-06-21  Andreas Jaeger  <aj@suse.de>
60794         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60795         NULL after inclusion of kernel headers.
60797 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
60799         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60800         calls to internal_setent.
60802         [BZ #12885]
60803         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60804         addresses using gethostbyname4_r ignore IPv4 addresses.
60806         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60807         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
60809         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60811 2011-06-20  David S. Miller  <davem@davemloft.net>
60813         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60814         inclusions.
60815         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60817         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60818         (elf_irel): Use it.
60819         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60820         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60821         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60822         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60823         * sysdeps/x86_64/dl-irel.h: Likewise.
60825         * elf/dl-runtime.c: Use elf_ifunc_invoke.
60826         * elf/dl-sym.c: Likewise.
60828 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60830         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
60831         need to dereference resplen2.
60833 2011-06-14  Andreas Schwab  <schwab@redhat.com>
60835         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60837 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60839         * Makeconfig: Define vardbdir and inst_vardbdir.
60840         * nss/Makefile: Add rules to install db-Makefile.
60842         * nss/nss_db/db-XXX.c: Cleanup.
60844         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60845         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60846         GLIBC_PRIVATE.
60847         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60848         * nss/makedb.c: Implement -g option to specify that value strings
60849         are generated and should not be added to table iterated over for
60850         get*ent calls.
60851         * nss/nss_db/db-initgroups.c: New file.
60853         * nss/getent.c: Add support for initgroups lookups through getgrouplist
60854         interface.
60856         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60857         (internal_getgrouplist): Adjust to name change.
60858         Update use_initgroups_entry if this is not the first call.
60859         * nss/databases.def: Add initgroups entry.
60861         * nss/makedb.c (compute_tables): Check result of multiple hash table
60862         sizes to minimize maximum chain length.
60864 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
60866         * Versions.def: Add entry for libnss_db.
60867         * shlib-versions: Likewise.
60868         * nss/Makefile: Add rules to build libnss_db.
60869         * nss/Versions: Add libnss_db information.  Organize libnss_files
60870         entries better.
60871         * nss/db-Makefile: Add gshadow support.  Change rules for the new
60872         makedb progra.  Some minor improvements to generate smaller files.
60873         * nss/nss_db/nss_db.h: Move NSS database header data structures to
60874         here from...
60875         * nss/makedb.c: ...here.
60876         Improve database format to be smaller and require less memory at
60877         runtime.
60878         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
60879         db anymore.
60880         * nss/nss_db/db-netgrp.c: Likewise.
60881         * nss/nss_db/db-open.c: Likewise.
60882         * nss/nss_files/flies-XXX.x: Adjust comments.
60883         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60884         * nss/nss_files/files-grp.c: Likewise.
60885         * nss/nss_files/files-hosts.c: Likewise.
60886         * nss/nss_files/files-network.c: Likewise.
60887         * nss/nss_files/files-proto.c: Likewise.
60888         * nss/nss_files/files-pwd.c: Likewise.
60889         * nss/nss_files/files-rpc.c: Likewise.
60890         * nss/nss_files/files-service.c: Likewise.
60891         * nss/nss_files/files-sgrp.c: Likewise.
60892         * nss/nss_files/files-spwd.c: Likewise.
60893         * nss/nss_db/db-alias.c: Removed.
60894         * nss/nss_db/dummy-db.h: Removed.
60896 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
60898         * nss/makedb.c: Rewritten to not use database library.
60899         * nss/Makefile: Update to build new makedb program.
60901 2011-06-14  Andreas Jaeger  <aj@suse.de>
60903         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60904         memset declaration.
60906 2011-06-10  Andreas Schwab  <schwab@redhat.com>
60908         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60909         tmpbuf.
60911 2011-06-10  Roland McGrath  <roland@hack.frob.com>
60913         * Makerules (shlib.lds): Fail if the linker script comes out empty.
60914         * elf/Makefile ($(objpfx)ld.so): Likewise.
60916         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60917         Don't list ld.so twice in dependencies.
60919         * posix/bug-regex31.c: Include <stdlib.h>.
60921         * nscd/hstcache.c (cache_addhst): Remove unused variable.
60923         * nis/nss_compat/compat-spwd.c
60924         (getspent_next_nss_netgr): Remove unused variable.
60925         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60927         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60928         nonmembers" output to use the right array.
60930         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60932         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60934         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60935         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60936         * catgets/gencat.c (read_input_file): Likewise.
60937         * locale/programs/locarchive.c (enlarge_archive): Likewise.
60939         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60940         variable definition inside #if's controlling its use.
60942         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60944         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60946         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60948         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60949         unreachable code.
60951         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60953         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60954         * configure: Regenerated.
60956         * Makerules: Revert last change.
60957         * elf/Makefile: Likewise.
60959 2011-06-09  Roland McGrath  <roland@hack.frob.com>
60961         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60962         * elf/Makefile ($(objpfx)librtld.os): Likewise.
60963         (reloc-link): Likewise.
60965 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
60967         * elf/Makefile: Add rules to build pldd.
60968         * elf/pldd.c: New file.
60969         * elf/pldd-xx.c: New file.
60971 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
60973         * version.h: Update for 2.15 development version.
60975 2011-06-07  David S. Miller  <davem@davemloft.net>
60977         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60978         ifuncs.
60979         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60980         elf_machine_lazy_rel): Likewise.
60981         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60982         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60983         elf_machine_lazy_rel): Likewise.
60984         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
60985         dl_hwcap via passed in argument.
60986         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
60987         Likewise.
60989 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60991         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
60993 2011-06-06  Roland McGrath  <roland@hack.frob.com>
60995         [BZ #12849]
60996         * manual/fdl-1.1.texi: New file, verbatim from:
60997         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
60998         * manual/lgpl-2.1.texi: New file, verbatim from:
60999         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61000         * manual/Makefile (licenses): New variable, list those new file names.
61001         (texis): Use it.
61002         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61004         * manual/fdl.texi: File removed.
61005         * manual/lesser.texi: File removed.
61006         * manual/libc.texinfo (Copying, Documentation License):
61007         Use new @include file names, put @appendix directive before @include.
61009 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61011         [BZ #12841]
61012         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61013         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61014         (mq_open): Add __NTH.
61016 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61018         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61019         Assume Intel Core i3/i5/i7 processor if AVX is available.
61021 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61023         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61024         typo.
61026 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61028         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61029         memory.  Use alloca_account.  Fix memory leak when retrying.
61031 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61033         * version.h (RELEASE): Bump for 2.14 release.
61034         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61036         * config.make.in (RANLIB): Remove entry.
61038 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61040         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61041         (libc.pot): Work around missing support for .ksh extension in xgettext.
61043         [BZ #12684]
61044         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61045         if both request failed.
61046         (send_dg): In case of server errors clear resplen or *resplen2.
61048         [BZ #12454]
61049         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61050         when there are multiple maps.
61051         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61052         (_dl_fini): Remove test here.
61054         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61056 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61058         [BZ #12350]
61059         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61060         bit from old_res_options.
61061         (gaih_inet): Likewise.
61063         [BZ #11099]
61064         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61065         as signed.
61067         * resolv/res_init.c (res_setoptions): Make the code more compact.
61069         [BZ #11558]
61070         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61071         set RES_USEVC.
61073         [BZ #11634]
61074         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61076         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61078         [BZ #11781]
61079         * malloc/malloc.h: Declare malloc hook variables as volatile.
61081         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61082         in last patch.
61084         [BZ #11799]
61085         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61086         raise in the comment.
61087         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61088         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61089         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61091 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61093         [BZ #12811]
61094         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61095         grow the buffers more if it already has to be sufficient.
61096         (build_wcs_upper_buffer): Likewise.
61097         * posix/regexec.c (check_matching): Likewise.
61098         (clean_state_log_if_needed): Likewise.
61099         (extend_buffers): Don't enlarge buffers beyond size of the input
61100         buffer.
61101         Patches mostly by Emil Wojak <emil@wojak.eu>.
61102         * posix/bug-regex32.c: New file.
61103         * posix/Makefile (tests): Add bug-regex32.
61105         * locale/findlocale.c (_nl_find_locale): Return right away if
61106         _nl_explode_name failed.
61107         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61109         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61111         * debug/xtrace.sh: Unify messages.
61112         * malloc/memusage.sh: Likewise.
61114         [BZ #12813]
61115         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61116         time symbol from vDSO.  Substitute with vsyscall if not available.
61117         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61118         __vdso_time.
61120         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61121         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61122         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61123         Add sendmmsg and internal_sendmmsg.
61124         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61125         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61126         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61128         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61129         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61130         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61132 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61134         [BZ #12813]
61135         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61136         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61137         available.
61138         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61139         __vdso_getcpu.
61141         [BZ #12814]
61142         * iconvdata/Makefile (tests): Add bug-iconv9.
61143         * iconvdata/bug-iconv9.c: New file.
61145 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61147         [BZ #12814]
61148         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61150 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61152         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61153         (struct user_regs_struct): Change intcs field back to cs.
61155 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61157         * po/ja.po: Update from translation team.
61159 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61161         [BZ #12795]
61162         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61163         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61165 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61167         * stdlib/longlong.h: Update from GCC.
61169 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61171         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61172         parameter name.
61173         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61174         Add parameter name.
61175         (__sysconf): Pass it down.
61177 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61179         [BZ #12671]
61180         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61181         some situations.
61182         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61183         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61184         add in in __libc_use_alloca calls.  Adjust callers.
61185         (glob): Use malloc in some situations.
61187         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61188         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61189         pltexit.
61191 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61193         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61194         and CLOCK_BOOTTIME_ALARM.
61196         [BZ #12782]
61197         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61198         is returned.
61200         * string/_strerror.c (__strerror_r): Print negative errors as signed
61201         numbers.
61203         [BZ #12777]
61204         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61205         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61206         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61208         * configure.in: Fix typo in redirection and correct removal of test
61209         files in two cases.
61211         [BZ #12788]
61212         * locale/setlocale.c (new_composite_name): Fix test to check for
61213         identical name of all categories.
61215         [BZ #12792]
61216         * libio/filedoalloc.c (local_isatty): New function.
61217         (_IO_file_doallocate): Use local_isatty.
61218         * stdio-common/perror.c (perror): In case a new stream is used
61219         forward the stream error.
61220         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61221         error flag.
61223 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61225         [BZ #11869]
61226         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61227         alloca.
61228         * include/alloca.h (extend_alloca_account): Define.
61230         [BZ #11857]
61231         * posix/regex.h: Fix comments with documentation of user-accessible
61232         fields after compilation and describe correct free'ing of pattern
61233         after re_compile_pattern.
61234         Patch by Reuben Thomas <rrt@sc3d.org>.
61236 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61238         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61239         and -mno-altivec to prevent the compiler from using Altivec and/or
61240         VSX instructions when the corresponding registers are not available.
61242 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61244         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61246 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61248         * libio/freopen.c (freopen): Use __dup2, not dup2.
61249         * libio/freopen64.c (freopen64): Likewise.
61251 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61253         [BZ #12775]
61254         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61255         * math/Makefile (tests): Add test-powl.
61256         (CFLAGS-test-powl.c): Define.
61257         * math/test-powl.c: New file.
61259 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61261         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61263 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61265         [BZ #11837]
61266         * iconvdata/gb18030.c: Update to GB18020-2005.
61268 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61270         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61271         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61272         Patch by Aharon Robbins <arnold@skeeve.com>.
61274         [BZ #11892]
61275         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61276         on the stack.
61278         [BZ #11895]
61279         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61280         through underflows.
61282         [BZ #12766]
61283         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61284         point to strings before performing equality test for error_one_per_line
61285         mode.
61287         [BZ #11697]
61288         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61290         [BZ #11820]
61291         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61292         (struct user_fpregs_struct): Avoid __uint*_t types.
61294         [BZ #6420]
61295         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61296         symbol info.  Use it instead of calling _dl_addr locally.
61297         (lock_and_info): New function.
61298         (tr_freehook): Call lock_and_info and pass symbol info as additional
61299         parameter to tr_where.
61300         (tr_mallochook): Likewise.
61301         (tr_reallochook): Likewise.
61302         (tr_memalignhook): Likewise.
61304         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61305         used and couldn't be at all thread-safe.
61307 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61309         * libio/freopen.c (freopen): Don't close old file descriptor
61310         before the new one is opened.  Instead dup the new file descriptor
61311         to the old one after the new stream is created.
61312         * libio/freopen64.c (freopen64): Likewise.
61313         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61314         * libio/fileops.c (_IO_new_file_close_it): Handle new
61315         _IO_FLAGS2_NOCLOSE flag.
61316         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61317         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61318         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61319         _IO_FLAGS2_NOCLOSE flag.
61320         * include/unistd.h: Add hidden_proto for dup3.
61321         Define __have_dup3.
61322         * io/dup3.c: Define hidden symbol.
61323         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61325         [BZ #7101]
61326         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61327         when an incomplete long option is used.
61328         * posix/tst-getopt_long1.c: New file.
61329         * posix/Makefile (tests): Add tst-getopt_long1.
61331         [BZ #10138]
61332         * scripts/config.guess: Update from autoconf-2.68.
61333         * scripts/config.sub: Likewise.
61335         [BZ #10157]
61336         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61337         tests into ...
61338         (has_cpuclock): ...this.  New function.
61339         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61340         macro here based on has_cpuclock code.
61342         [BZ #10149]
61343         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61344         First byte (not low byte) is now always NUL.
61345         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61347         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61348         Use non-cancelable interfaces.
61350         [BZ #9809]
61351         * locale/iso-639.def: Add entry for Sorani.
61353         [BZ #11901]
61354         * include/stdlib.h: Move include protection to the right place.
61355         Define abort_msg_s.  Declare __abort_msg with it.
61356         * stdlib/abort.c (__abort_msg): Adjust type.
61357         * assert/assert.c (__assert_fail_base): New function.  Majority
61358         of code from __assert_fail.  Allocate memory for __abort_msg with
61359         mmap.
61360         (__assert_fail): Now call __assert_fail_base.
61361         * assert/assert-perr.c: Remove bulk of implementation.  Use
61362         __assert_fail_base.
61363         * include/assert.hL Declare __assert_fail_base.
61364         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61365         mmap.
61366         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61368 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61370         [BZ #11952]
61371         [BZ #12453]
61372         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61373         until all modules are registered in the DTV.
61374         * elf/Makefile: Add rules to build and run tst-tls19.
61375         * elf/tst-tls19.c: New file.
61376         * elf/tst-tls19mod1.c: New file.
61377         * elf/tst-tls19mod2.c: New file.
61378         * elf/tst-tls19mod3.c: New file.
61379         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61381         [BZ #12083]
61382         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61383         correctly.
61385         [BZ #12601]
61386         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61387         two-byte sequence errors.
61388         * iconvdata/Makefile (tests): Add bug-iconv8.
61389         * iconvdata/bug-iconv8.c: New file.
61391         [BZ #12626]
61392         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61393         buf2 definition.
61395         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61397         [BZ #12432]
61398         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61399         (dummy_getcfa): New function.
61400         (init): Get _Unwind_GetCFA address, use dummy if not found.
61401         (backtrace_helper): In recursion check, also check whether CFA changes.
61402         (__backtrace): Completely initialize arg.
61404         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61405         storing incomplete byte sequence in state object.  Avoid testing for
61406         guaranteed too small input if we know there is enough data available.
61408 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61410         * Makeconfig (+link-pie): Indent.
61411         * Rules (binaries-pie): Define if $(have-fpie) and
61412         $(build-shared).
61413         (binaries-shared): Also filter out $(binaries-pie).
61414         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61415         * nscd/Makefile (others-pie): Add nscd.
61416         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61417         ($(objpfx)nscd): Remove command override.
61418         * login/Makefile (others-pie): Add pt_chown.
61419         ($(objpfx)pt_chown): Remove command override.
61420         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61421         remove command overrides.
61423 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61425         * libio/tst_putwc.c: Fix error messages.
61427         [BZ #12724]
61428         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61429         currently writing and seek to current position when not.
61430         * libio/Makefile (tests): Add bug-fclose1.
61431         * libio/bug-fclose1.c: New file.
61433 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61435         [BZ #12511]
61436         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61437         don't set DF_1_NODELETE here.
61438         (do_lookup_x): When entering new entry test for copy relocation
61439         and if necessary set DF_1_NODELETE flag.
61440         * elf/tst-unique4.cc: New file.
61441         * elf/tst-unique4.h: New file.
61442         * elf/tst-unique4lib.cc: New file.
61443         * elf/Makefile: Add rules to build and run tst-unique4.
61444         Patch by Piotr Bury <pbury@goahead.com>.
61446 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
61448         [BZ #12052]
61449         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61451         [BZ #12625]
61452         * misc/mntent_r.c (addmntent): Flush the stream after the output
61454         [BZ #12393]
61455         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61456         (is_trusted_path_normalize): Skip initial colon.  Append slash
61457         to empty buffer.  Duplicate is_trusted_path code but allow
61458         constructed patch to be prefix.
61459         (is_dst): Allow $ORIGIN followed by /.
61460         (_dl_dst_substitute): Correct clearing of check_for_trusted.
61461         Correct testing of result of is_trusted_path_normalize
61462         (decompose_rpath): Fix warning.
61464 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
61466         [BZ #11257]
61467         * grp/initgroups.c (internal_getgrouplist): When we found the service
61468         list through the initgroups entry in nsswitch.conf do not always
61469         continue on a successful lookup.  Don't always use the
61470         __nss_group_database value if it is set.
61471         * nss/nsswitch.conf (initgroups): Change action for successful db
61472         lookup to continue for compatibility.
61474 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
61476         [BZ #11532]
61477         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61478         and CP774 modules.
61479         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61480         and CP774 modules.
61481         * iconvdata/tst-tables.sh: Likewise.
61482         * iconvdata/cp770.c: New file.
61483         * iconvdata/cp771.c: New file.
61484         * iconvdata/cp772.c: New file.
61485         * iconvdata/cp773.c: New file.
61486         * iconvdata/cp774.c: New file.
61487         * iconvdata/testdata/CP770: New file.
61488         * iconvdata/testdata/CP770..UTF8: New file.
61489         * iconvdata/testdata/CP771: New file.
61490         * iconvdata/testdata/CP771..UTF8: New file.
61491         * iconvdata/testdata/CP772: New file.
61492         * iconvdata/testdata/CP772..UTF8: New file.
61493         * iconvdata/testdata/CP773: New file.
61494         * iconvdata/testdata/CP773..UTF8: New file.
61495         * iconvdata/testdata/CP774: New file.
61496         * iconvdata/testdata/CP774..UTF8: New file.
61498         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61499         END CHARMAP line.
61500         * iconvdata/gen-8bit-gap.sh: Likewise.
61501         * iconvdata/gen-8bit.sh: Likewise.
61503         * locale/iso-639.def: Add ary entry.
61505         [BZ #11258]
61506         * locale/C-translit.h.in: Add U20A1 transliteration.
61508         [BZ #12178]
61509         * locale/iso-639.def: Add wae entry.
61510         Patch by Kevin Bortis <bortis@translate-wae.ch>.
61512         [BZ #12545]
61513         * locale/programs/localedef.c (construct_output_path): Use ssize_t
61514         for n.
61516         [BZ #12711]
61517         * locale/C-translit.h.in: Add entry for U20B9.
61518         Patch by pravin.d.s@gmail.com.
61520 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
61522         [BZ #12713]
61523         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61524         ENAMETOOLONG use generic getcwd.
61525         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
61526         in rtld.  Use *stat64.
61527         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61528         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61529         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61530         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61531         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61532         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61533         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61534         __fstatat64 macros.
61535         * include/dirent.h: Add libc_hidden_proto for rewinddir.
61536         * dirent/rewinddir.c: Add libc_hidden_def.
61537         * sysdeps/mach/hurd/rewinddir.c: Likewise.
61538         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
61540         * include/dirent.h (__alloc_dir): Add flags parameter.
61541         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61542         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61543         __alloc_dir.
61544         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
61545         from fdopendir if O_CLOEXEC is already set.
61547 2011-03-15  Alan Modra  <amodra@gmail.com>
61549         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61550         l_tls_firstbyte_offset non-zero.  Save padding offset in
61551         l_tls_firstbyte_offset for later use.
61552         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61553         freeing static tls block.
61555 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
61557         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61558         where #ifdef was intended.  The intent is to prevent ARG_MAX from
61559         being defined by the kernel headers.
61561 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
61563         [BZ #12734]
61564         * resolv/resolv.h: Define RES_NOTLDQUERY.
61565         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61566         no-tld-query and set RES_NOTLDQUERY.
61567         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61568         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61569         modern BIND to search name as TLD unless forbidden.
61571 2011-05-07  Petr Baudis  <pasky@suse.cz>
61572             Ulrich Drepper  <drepper@gmail.com>
61574         [BZ #12393]
61575         * elf/dl-load.c (fillin_rpath): Move trusted path check...
61576         (is_trusted_path): ...to here.
61577         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61578         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61579         using is_trusted_path_normalize() in setuid scripts.
61581 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61583         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61584         __BEGIN/__END_DECLS.
61586 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
61588         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61589         NSS_STATUS_NOTFOUND if no record was found.
61591 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61593         * sunrpc/Makefile (headers): Add rpc/netdb.h.
61594         (headers-not-in-tirpc): Remove rpc/netdb.h
61595         * resolv/netdb.h: Revert last change.
61597 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61599         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61600         circular dependency between libgcc.a and libc.a.
61602 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61604         * resolv/netdb.h: Don't include <rpc/netdb.h>.
61605         * nis/Makefile: Don't install rpcsvc/*.
61606         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
61607         instead of <rpc/types.h>.
61608         (MAXHOSTNAMELEN): Define.
61610 2011-05-03  Andreas Schwab  <schwab@redhat.com>
61612         * elf/ldconfig.c (add_dir): Don't crash on empty path.
61614 2011-04-28  Maciej Babinski  <mbabinski@google.com>
61616         [BZ #12714]
61617         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
61618         gethostbyname4_r when IPv6 results are possible.
61620 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
61622         [BZ #12723]
61623         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
61624         _PC_PIPE_BUF handling.
61626 2011-04-30  Bruno Haible  <bruno@clisp.org>
61628         [BZ #12717]
61629         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
61630         * resolv/netdb.h (getnameinfo): Change type of flags parameter
61631         to 'int'.
61632         * inet/getnameinfo.c (getnameinfo): Likewise.
61634 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
61636         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
61637         to groups setting in database lookup.
61638         * nss/nsswitch.conf: Add initgroups entry.
61640 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
61642         [BZ #12685]
61643         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
61644         mode string.
61645         Patch by Eric Blake <eblake@redhat.com>.
61647 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
61649         * sunrpc/Makefile (need-export-routines): Add svc_run.
61650         (routines): Remove svc_run.
61651         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
61652         * sunrpc/clnt_perr.c (clnt_perrno): Export.
61653         * sunrpc/svc_run.c (svc_run): Likewise.
61654         * sunrpc/svc_udp.c (svcudp_create): Likewise.
61656 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
61658         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
61659         problem in reallocation in last patch.
61661 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
61663         * sunrpc/Makefile: Move inclusion of Rules.
61665 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61667         * nss/nss_files/files-initgroups.c: New file.
61668         * nss/Makefile (libnss_files-routines): Add files-initgroups.
61669         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61670         _nss_files_initgroups_dyn.
61672 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
61674         * elf/elf.h (R_ARM_IRELATIVE): Define.
61676 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61678         * po/ru.po: Update from translation team.
61680 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61682         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61683         dependencies.
61685 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
61687         [BZ #12653]
61688         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61689         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61690         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61691         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61692         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61694 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
61696         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61697         differing bytes.
61698         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61699         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61700         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61702 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61704         [BZ #12420]
61705         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61706         storing it.
61707         * stdlib/bug-getcontext.c: New file.
61708         * stdlib/Makefile: Add rules to build and run bug-getcontext.
61710 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61712         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61713         instructions into .machine "z9-109".
61714         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61715         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61717 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61719         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61720         between environment variables and auxiliary vector.
61722 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
61724         * Makefile: Add rules to build linkobj/libc.so.
61725         * include/libc-symbols.h: Define libc_hidden_nolink.
61726         * include/rpc/auth.h: Mark functions which are to be hidden.
61727         * include/rpc/auth_des.h: Likewise.
61728         * include/rpc/auth_unix.h: Likewise.
61729         * include/rpc/clnt.h: Likewise.
61730         * include/rpc/des_crypt.h: Likewise.
61731         * include/rpc/key_prot.h: Likewise.
61732         * include/rpc/pmap_clnt.h: Likewise.
61733         * include/rpc/pmap_prot.h: Likewise.
61734         * include/rpc/pmap_rmt.h: Likewise.
61735         * include/rpc/rpc_msg.h: Likewise.
61736         * include/rpc/svc.h: Likewise.
61737         * include/rpc/svc_auth.h: Likewise.
61738         * include/rpc/xdr.h: Likewise.
61739         * nis/Makefile: Link all DSOs against linkobj/libc.so.
61740         * nss/Makefile: Likewise.
61741         * sunrpc/Makefile: Don't install headers.  Build library with normal
61742         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
61743         * sunrpc/auth_des.c: Hide exported symbols by default, export some
61744         for the compat linking library.  Remove use of INTDEF/INTUSE.
61745         * sunrpc/auth_none.c: Likewise.
61746         * sunrpc/auth_unix.c: Likewise.
61747         * sunrpc/authdes_prot.c: Likewise.
61748         * sunrpc/authuxprot.c: Likewise.
61749         * sunrpc/clnt_gen.c: Likewise.
61750         * sunrpc/clnt_perr.c: Likewise.
61751         * sunrpc/clnt_raw.c: Likewise.
61752         * sunrpc/clnt_simp.c: Likewise.
61753         * sunrpc/clnt_tcp.c: Likewise.
61754         * sunrpc/clnt_udp.c: Likewise.
61755         * sunrpc/clnt_unix.c: Likewise.
61756         * sunrpc/des_crypt.c: Likewise.
61757         * sunrpc/des_soft.c: Likewise.
61758         * sunrpc/get_myaddr.c: Likewise.
61759         * sunrpc/key_call.c: Likewise.
61760         * sunrpc/key_prot.c: Likewise.
61761         * sunrpc/netname.c: Likewise.
61762         * sunrpc/pm_getmaps.c: Likewise.
61763         * sunrpc/pm_getport.c: Likewise.
61764         * sunrpc/pmap_clnt.c: Likewise.
61765         * sunrpc/pmap_prot.c: Likewise.
61766         * sunrpc/pmap_prot2.c: Likewise.
61767         * sunrpc/pmap_rmt.c: Likewise.
61768         * sunrpc/publickey.c: Likewise.
61769         * sunrpc/rpc_cmsg.c: Likewise.
61770         * sunrpc/rpc_common.c: Likewise.
61771         * sunrpc/rpc_dtable.c: Likewise.
61772         * sunrpc/rpc_prot.c: Likewise.
61773         * sunrpc/rpc_thread.c: Likewise.
61774         * sunrpc/rtime.c: Likewise.
61775         * sunrpc/svc.c: Likewise.
61776         * sunrpc/svc_auth.c: Likewise.
61777         * sunrpc/svc_authux.c: Likewise.
61778         * sunrpc/svc_raw.c: Likewise.
61779         * sunrpc/svc_run.c: Likewise.
61780         * sunrpc/svc_simple.c: Likewise.
61781         * sunrpc/svc_tcp.c: Likewise.
61782         * sunrpc/svc_udp.c: Likewise.
61783         * sunrpc/svc_unix.c: Likewise.
61784         * sunrpc/svcauth_des.c: Likewise.
61785         * sunrpc/xcrypt.c: Likewise.
61786         * sunrpc/xdr.c: Likewise.
61787         * sunrpc/xdr_array.c: Likewise.
61788         * sunrpc/xdr_float.c: Likewise.
61789         * sunrpc/xdr_intXX_t.c: Likewise.
61790         * sunrpc/xdr_mem.c: Likewise.
61791         * sunrpc/xdr_rec.c: Likewise.
61792         * sunrpc/xdr_ref.c: Likewise.
61793         * sunrpc/xdr_sizeof.c: Likewise.
61794         * sunrpc/xdr_stdio.c: Likewise.
61796 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
61798         [BZ #12650]
61799         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61800         * sysdeps/ia64/dl-tls.h: Likewise.
61801         * sysdeps/powerpc/dl-tls.h: Likewise.
61802         * sysdeps/s390/dl-tls.h: Likewise.
61803         * sysdeps/sh/dl-tls.h: Likewise.
61804         * sysdeps/sparc/dl-tls.h: Likewise.
61805         * sysdeps/x86_64/dl-tls.h: Likewise.
61806         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61808 2011-03-14  Andreas Schwab  <schwab@redhat.com>
61810         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61811         rpath element also skip the following colon.
61812         (expand_dynamic_string_token): Add is_path parameter and pass
61813         down to DL_DST_REQUIRED and _dl_dst_substitute.
61814         (decompose_rpath): Call expand_dynamic_string_token with
61815         non-zero is_path.  Ignore empty rpaths.
61816         (_dl_map_object_from_fd): Call expand_dynamic_string_token
61817         with zero is_path.
61819 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
61821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61822         Make cancelable.
61824 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
61826         [BZ #12655]
61827         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61828         Patch by Filipe David Manana <fdmanana@apache.org>.
61830 2011-04-07  Andreas Schwab  <schwab@redhat.com>
61832         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61833         Maintain aligned stack.
61834         (CHECK_RSP): Remove unused macro.
61836 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
61838         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61839         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61841 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
61843         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61845         * include/features.h: Mention __USE_XOPEN2K8 in comment.
61847 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
61849         [BZ #12518]
61850         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61851         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61852         * sysdeps/x86_64/memmove.c: New file.
61853         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61854         (memcpy): Renamed to ...
61855         (__new_memcpy): This.
61856         (memcpy): Provide GLIBC_2_14 memcpy.
61857         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61858         (memcpy): Provide GLIBC_2_2_5 memcpy.
61860 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61862         [BZ #12631]
61863         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61865 2011-03-30  Andreas Schwab  <schwab@redhat.com>
61867         * misc/syncfs.c: New file.
61868         * misc/Makefile (routines): Add syncfs.
61869         * posix/unistd.h: Declare syncfs.
61870         * sysdeps/unix/syscalls.list: Add syncfs.
61872 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61874         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61875         open_by_handle_at.
61876         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61877         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61878         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61879         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61880         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61881         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61882         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61884 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61886         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61887         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61888         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61889         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61890         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61891         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61892         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61894         * io/Makefile: Compile fallocate.c, fallocate64.c, and
61895         sync_file_range.c with -fexceptions.
61896         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61897         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61898         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61899         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61900         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61901         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61902         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61903         sync_file_range as cancellation point
61904         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
61905         now a wrapper around __call_sync_file_range with cancellation handling.
61906         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61907         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
61908         function name to __call_sync_file_range.
61909         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61910         Add call_sync_file_range.
61912 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61914         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61915         bits/timex.h.
61917 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61919         * iconv/iconv.h: Fix typo in comment.
61920         * io/fcntl.h: Likewise.
61921         * libio/stdio.h: Likewise.
61922         * posix/spawn.h: Likewise.
61923         * posix/unistd.h: Likewise.
61924         * stdlib/stdlib.h: Likewise.
61925         * time/time.h: Likewise.
61926         * wcsmbs/wchar.h: Likewise.
61928         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61929         open_by_handle): Add.
61930         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61931         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
61932         Augment a few comments.
61933         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61934         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61935         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61936         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61937         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61938         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61939         open_by_handle.
61941         * io/fcntl.h (AT_EMPTY_PATH): Define.
61943 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
61945         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61946         * sysdeps/unix/sysv/linux/bits/time.h: New file.
61947         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61948         to...
61949         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
61950         * Versions.def: Add GLIBC_2.14.
61951         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61952         Export.
61954 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
61956         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61957         round counter.
61958         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61960 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61962         [BZ #12597]
61963         * string/test-strncmp.c (do_page_test): New function.
61964         (check2): Likewise.
61965         (test_main): Call check2.
61966         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61968 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
61970         [BZ #12587]
61971         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61972         Handle cache information in CPU leaf 4.
61973         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61975 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
61977         [BZ #12583]
61978         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61979         character representation.
61980         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61982 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
61984         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
61985         END(__isnan) to END(__isnanf) to match function entry point/label
61986         EALIGN(__isnanf,...).
61988 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
61990         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
61992 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
61994         [BZ #12510]
61995         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
61996         copy from the symbol referenced in the relocation to initialize the
61997         used variable.
61998         Patch by Piotr Bury <pbury@goahead.com>.
61999         * elf/Makefile: Add rules to build and tst-unique3.
62000         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62001         * elf/tst-unique3.cc: New file.
62002         * elf/tst-unique3.h: New file.
62003         * elf/tst-unique3lib.cc: New file.
62004         * elf/tst-unique3lib2.cc: New file.
62006         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62008 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62010         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62011         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62012         to _start.
62014 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62016         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62017         to-be-loaded object along a path to loader is ld.so.
62019 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62020             Ulrich Drepper  <drepper@gmail.com>
62022         * sysdeps/x86_64/memset.S: After aligning destination, code
62023         branches to different locations depending on the value of
62024         misalignment, when multiarch is enabled. Fix this.
62026 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62028         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62029         Set _x86_64_preferred_memory_instruction for AMD processsors.
62030         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62031         Set bit_Prefer_SSE_for_memop for AMD processors.
62033 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62035         * libio/fmemopen.c (fmemopen): Optimize a bit.
62037 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62039         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62041 2011-03-03  Roland McGrath  <roland@redhat.com>
62043         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62045 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62047         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62048         __bzero_ultra1 instead of __memset_ultra1.
62050 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62051             Ulrich Drepper  <drepper@gmail.com>
62053         [BZ #12509]
62054         * include/link.h (struct link_map): Add l_orig_initfini.
62055         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62056         returning unsuccessfully.
62057         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62058         close of a file loaded at startup, restore the original l_initfini
62059         list.
62060         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62061         list, store the pointer.
62062         * elf/Makefile ($(objpfx)noload-mem): New rule.
62063         (noload-ENV): Define.
62064         (tests): Add $(objpfx)noload-mem.
62065         * elf/noload.c: Include <memcheck.h>.
62066         (main): Call mtrace.  Close all opened handles.
62068 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62070         [BZ #12454]
62071         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62072         dependencies are missing.
62074 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62076         Fix __if_freereq crash: Unlike the generic version which uses free,
62077         Hurd needs munmap.
62078         * sysdeps/mach/hurd/ifreq.h: New file.
62080 2011-01-27  Petr Baudis  <pasky@suse.cz>
62081             Ulrich Drepper  <drepper@gmail.com>
62083         [BZ 12445]#
62084         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62085         to extend_alloca().
62086         * stdio-common/bug23.c: New file.
62087         * stdio-common/Makefile (tests): Add bug23.
62089 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62090             Ulrich Drepper  <drepper@gmail.com>
62092         [BZ #12489]
62093         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62094         before performing relro protection.  At old place add assertion
62095         to make sure nothing changed.
62097 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62098             Glauber de Oliveira Costa  <glommer@gmail.com>
62100         * elf/elf.h: Add new ARM TLS relocs.
62102 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62105         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62106         cast from r3.
62107         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62108         'tests' variable.
62109         * sysdeps/wordsize-64/tst-writev.c: New file.
62111 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62113         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62114         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62115         insns in _dl_start to prevent a TOC reference before relocs are
62116         resolved.
62118 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62120         [BZ #12469]
62121         * Makeconfig: Remove RANLIB definition.
62122         * Makerules: Don't use RANLIB.
62123         * aclocal.m4: Remove ranlib test.
62124         * configure.in: No need to check for ranlib.
62125         * elf/rtld-Rules: Don't use RANLIB.
62127 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62129         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62130         protection macro.
62131         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62132         inclusion protection macro.
62134         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62135         SIGRTMIN and SIGRTMAX and print information in that case only when
62136         SIGRTMIN is defined.
62138 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62140         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62141         arginfo fn returning -1.
62143         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62144         and thousands string is zero terminated.
62146 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62148         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62149         sysdeps/unix/sysv/linux/bits/socket.h.
62151 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62153         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62154         (__CPU_COUNT): Remove old macros.
62155         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62156         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62157         (__CPU_ALLOC, __CPU_FREE): Add macros.
62158         (__sched_cpualloc, __sched_cpufree): Add declarations.
62160 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62162         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62163         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62164         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62165         (readdhstai): Return value of addhstaiX call.
62166         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62167         (addgrbyX): Return value returned by cache_addgr.
62168         (readdgrbyname): Return value returned by addgrbyX.
62169         (readdgrbygid): Likewise.
62170         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62171         (addpwbyX): Return value returned by cache_addpw.
62172         (readdpwbyname): Return value returned by addhstbyX.
62173         (readdpwbyuid): Likewise.
62174         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62175         (addservbyX): Return value returned by cache_addserv.
62176         (readdservbyname): Return value returned by addservbyX:
62177         (readdservbyport): Likewise.
62178         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62179         (addhstbyX): Return value returned by cache_addhst.
62180         (readdhstbyname): Return value returned by addhstbyX.
62181         (readdhstbyaddr): Likewise.
62182         (readdhstbynamev6): Likewise.
62183         (readdhstbyaddrv6): Likewise.
62184         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62185         (readdinitgroups): Return value returned by addinitgroupsX.
62186         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62187         (prune_cache): Keep track of timeout value of re-added entries.
62188         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62189         * nscd/nscd.h: Adjust prototypes of readd* functions.
62191 2011-02-04  Roland McGrath  <roland@redhat.com>
62193         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62194         (nis_stats): Likewise.
62195         * nis/nis_modify.c (nis_modify): Likewise.
62196         * nis/nis_remove.c (nis_remove): Likewise.
62197         * nis/nis_add.c (nis_add): Likewise.
62199         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62201         * posix/fnmatch_loop.c: Add some consts.
62203         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62205 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62207         [BZ #12460]
62208         * config.make.in (config-cflags-novzeroupper): Define.
62209         * configure.in: Substitute libc_cv_cc_novzeroupper.
62210         * elf/Makefile (AVX-CFLAGS): Define.
62211         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62212         (CFLAGS-tst-auditmod4a.c): Likewise.
62213         (CFLAGS-tst-auditmod4b.c): Likewise.
62214         (CFLAGS-tst-auditmod6b.c): Likewise.
62215         (CFLAGS-tst-auditmod6c.c): Likewise.
62216         (CFLAGS-tst-auditmod7b.c): Likewise.
62217         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62219 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62221         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62222         function to the callback.
62223         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62225 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62227         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62228         of errno.
62230 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62232         [BZ #11724]
62233         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62234         of constructors.
62235         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62236         of destructors.
62237         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62239         [BZ #11724]
62240         * elf/Makefile: Add rules to build and run new test.
62241         * elf/tst-initorder.c: New file.
62242         * elf/tst-initorder.exp: New file.
62243         * elf/tst-initordera1.c: New file.
62244         * elf/tst-initordera2.c: New file.
62245         * elf/tst-initordera3.c: New file.
62246         * elf/tst-initordera4.c: New file.
62247         * elf/tst-initorderb1.c: New file.
62248         * elf/tst-initorderb2.c: New file.
62249         * elf/tst-order-a1.c: New file.
62250         * elf/tst-order-a2.c: New file.
62251         * elf/tst-order-a3.c: New file.
62252         * elf/tst-order-a4.c: New file.
62253         * elf/tst-order-b1.c: New file.
62254         * elf/tst-order-b2.c: New file.
62255         * elf/tst-order-main.c: New file.
62256         New test case by George Gensure <werkt0@gmail.com>.
62258 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62260         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62261         decoding ACE if AI_CANONIDN.
62263 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62265         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62267 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62269         * version.h (RELEASE): Bump for 2.13 release.
62270         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62272         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62274         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62275         MADV_NOHUGEPAGE.
62276         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62277         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62278         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62279         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62280         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62281         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62283         * posix/getconf.c: Update copyright year.
62284         * catgets/gencat.c: Likewise.
62285         * csu/version.c: Likewise.
62286         * debug/catchsegv.sh: Likewise.
62287         * debug/xtrace.sh: Likewise.
62288         * elf/ldconfig.c: Likewise.
62289         * elf/ldd.bash.in: Likewise.
62290         * elf/sprof.c (print_version): Likewise.
62291         * iconv/iconv_prog.c: Likewise.
62292         * iconv/iconvconfig.c: Likewise.
62293         * locale/programs/locale.c: Likewise.
62294         * locale/programs/localedef.c: Likewise.
62295         * malloc/memusage.sh: Likewise.
62296         * malloc/mtrace.pl: Likewise.
62297         * nscd/nscd.c (print_version): Likewise.
62298         * nss/getent.c: Likewise.
62300         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62301         PF_CAIF, and PF_ALG.
62302         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62304 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62306         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62307         (modules-names): Use them.
62308         (ifunc-test-modules, ifunc-pie-tests): Define.
62309         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62310         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62311         (test-extras): Likewise.
62312         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62313         $(compile-command.c).
62314         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62315         (all-built-dso): Define.
62316         (check-textrel.out, check-execstack.out): Depend on it.
62318         * configure.in: Don't override --enable-multi-arch.
62320 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62322         [BZ #6812]
62323         * nscd/hstcache.c (tryagain): Define.
62324         (cache_addhst): Return tryagain not notfound for temporary errors.
62325         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62326         failed.
62328 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62330         [BZ #10563]
62331         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62332         to make the syscall.
62333         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62335         [BZ #12378]
62336         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62337         and fall back to matching as normal character if the string ends before
62338         the matching ']' is found.  This is what POSIX requires.
62339         * posix/testfnm.c: Adjust test result.
62340         * posix/globtest.sh: Adjust test result.  Add new test.
62341         * posix/tst-fnmatch.input: Likewise.
62342         * posix/tst-fnmatch2.c: Add new test.
62344 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62346         * elf/Makefile (check-execstack): Revert last change.  Depend on
62347         check-execstack.h.
62348         (check-execstack.h): New target.
62349         (generated): Add check-execstack.h.
62350         * elf/check-execstack.c: Include "check-execstack.h".
62351         (main): Revert last change.
62352         (handle_file): Return zero if GNU_STACK is absent and
62353         DEFAULT_STACK_PERMS doesn't include PF_X.
62355 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62357         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62358         in child fails because the descriptor is already closed.
62359         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62360         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62361         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62363         [BZ #12397]
62364         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62365         syscall.
62367         [BZ #10484]
62368         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62369         temporary buffer used to handle multi lookups locally.
62370         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62372 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62374         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62375         loader is ld.so.
62377 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62379         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62380         alignment for SSE2.
62382 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62384         [BZ #12394]
62385         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62386         characters.  When rounding increased number of integer digits recompute
62387         number of groups.
62388         * stdio-common/tst-grouping.c: New file.
62389         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62391 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62393         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62394         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62396         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62397         void.
62398         * bits/select.h: Likewise.
62400 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62402         * po/ja.po: Update from translation team.
62404 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62406         [BZ #11155]
62407         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62408         implementation just like for lxstat, fxstatat, et al.
62410 2010-12-27  Jim Meyering  <meyering@redhat.com>
62412         [BZ #12348]
62413         * posix/regexec.c (build_trtable): Return failure indication upon
62414         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62416 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62418         [BZ #12201]
62419         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62420         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62421         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62422         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62424         [BZ #12207]
62425         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62427         [BZ #12204]
62428         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62429         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62431 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62433         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62434         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62435         script has SORT_BY_INIT_PRIORITY.
62436         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62437         NO_CTORS_DTORS_SECTIONS is defined.
62438         * elf/soinit.c: Likewise.
62439         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62440         NO_CTORS_DTORS_SECTIONS is defined.
62441         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62442         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62443         * sysdeps/sh/init-first.c: Likewise.
62444         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62446 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
62448         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62449         always use the slow path.
62451 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
62453         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62454         similar rule which adds the sysdep directories to the header search in
62455         order to pick up the correct platform stackinfo.h.
62456         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62457         perform test if it is, otherwise return successfully without testing.
62458         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62459         DEFAULT_STACK_PERMS define in stackinfo.h.
62460         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62461         defined in stackinfo.h.
62462         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62463         DEFAULT_STACK_PERMS defined in stackinfo.h.
62464         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62465         * sysdeps/ia64/stackinfo.h: Likewise.
62466         * sysdeps/s390/stackinfo.h: Likewise.
62467         * sysdeps/sh/stackinfo.h: Likewise.
62468         * sysdeps/sparc/stackinfo.h: Likewise.
62469         * sysdeps/x86_64/stackinfo.h: Likewise.
62470         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62471         PF_X for powerpc64.  Retain PF_X for powerpc32.
62473 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
62475         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62476         accurately.
62477         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62478         GETDENTS_64BIT_ALIGNED.
62480 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
62482         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62484 2010-12-10  Andreas Schwab  <schwab@redhat.com>
62486         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62487         _GNU_SOURCE.
62489         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62490         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62491         Remove __restrict.
62492         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62493         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62495 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
62497         [BZ #11655]
62498         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62499         are initialized.
62501 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
62503         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62505 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
62507         * po/it.po: Update from translation team.
62509 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
62511         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62512         unused codes.
62514 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
62516         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62518 2010-11-24  Andreas Schwab  <schwab@redhat.com>
62520         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62521         specially.
62522         (gaih_getanswer_slice): Likewise.
62524 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
62526         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62528 2010-05-31  Petr Baudis  <pasky@suse.cz>
62530         [BZ #11149]
62531         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62532         silently even in the chroot mode.
62534 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
62536         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62537         last patch a bit.  Pretty printing
62539 2010-05-31  Petr Baudis <pasky@suse.cz>
62541         [BZ #10085]
62542         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62543         initialization of skip_initgroups_dyn.
62545 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
62547         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62548         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62550 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
62552         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62554 2010-11-11  Andreas Schwab  <schwab@redhat.com>
62556         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62557         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62558         (tst-fnmatch-ENV): Set MALLOC_TRACE.
62559         ($(objpfx)tst-fnmatch-mem): New rule.
62560         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62561         * posix/tst-fnmatch.c (main): Call mtrace.
62563 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
62565         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62566         Support Intel processor model 6 and model 0x2c.
62568 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
62570         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62571           signed comparison.
62573 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
62575         [BZ #12205]
62576         * string/test-strncasecmp.c (check_result): New function.
62577         (do_one_test): Use it.
62578         (check1): New function.
62579         (test_main): Use it.
62580         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62581         Support strcasecmp and strncasecmp.
62583 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
62585         [BZ #12194]
62586         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62587         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62589 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62591         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62592         IFUNC support.
62593         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62594         memset-x86-64.
62595         * sysdeps/x86_64/multiarch/bzero.S: New file.
62596         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62597         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62598         * sysdeps/x86_64/multiarch/memset.S: New file.
62599         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62600         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62601         Set bit_Prefer_SSE_for_memop for Intel processors.
62602         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62603         Define.
62604         (index_Prefer_SSE_for_memop): Define.
62605         (HAS_PREFER_SSE_FOR_MEMOP): Define.
62607 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
62609         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
62610         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
62612 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
62614         [BZ #12191]
62615         * sysdeps/i386/i686/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.
62620         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62621         (__x86_64_raw_data_cache_size_half): Likewise.
62622         (__x86_64_raw_shared_cache_size): Likewise.
62623         (__x86_64_raw_shared_cache_size_half): Likewise.
62624         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
62625         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
62626         and __x86_64_raw_shared_cache_size_half.  Round
62627         __x86_64_data_cache_size_half, __x86_64_data_cache_size
62628         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
62629         to multiple of 256 bytes.
62631 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
62633         [BZ #12167]
62634         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
62635         of inacessible symlinks.  Verify result of symlink before returning it.
62636         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
62637         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
62639 2010-10-28  Erich Ritz  <erichritz@gmail.com>
62641         * math/math.h (isinf): Fix typo in comment.
62643 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
62645         * po/da.po: Update from translation team.
62647 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
62649         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
62650         is added to the list.
62652 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62653             Ulrich Drepper  <drepper@gmail.com>
62655         * elf/dl-object.c (_dl_new_object): Don't append the new object to
62656         the global list here.  Move code to...
62657         (_dl_add_to_namespace_list): ...here.  New function.
62658         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
62659         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
62660         * elf/dl-load.c (lose): Don't remove the element from the list.
62661         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
62662         (_dl_map_object): Likewise.
62664 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
62666         [BZ #12159]
62667         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
62668         into all bytes of SSE register.
62669         Patch by Richard Li <richardpku@gmail.com>.
62671 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
62673         [BZ #12140]
62674         * malloc/malloc.c (_int_free): Fill correct number of bytes when
62675         perturbing.
62677 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
62679         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62680         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62681         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62682         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62684         submachine.
62685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62687 2010-10-22  Andreas Schwab  <schwab@redhat.com>
62689         * include/dlfcn.h (__RTLD_SECURE): Define.
62690         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
62691         mode & __RTLD_SECURE instead.
62692         (open_path): Rename preloaded parameter to secure.
62693         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62694         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62695         * elf/dl-deps.c (openaux): Likewise.
62696         * elf/rtld.c (struct map_args): Remove is_preloaded.
62697         (map_doit): Don't use it.
62698         (dl_main): Likewise.
62699         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62700         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62702 2010-09-09  Andreas Schwab  <schwab@redhat.com>
62704         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62705         (sysd-rules-targets): Remove duplicates.
62706         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62707         rtld-%.$o dependency.
62709 2010-10-18  Andreas Schwab  <schwab@redhat.com>
62711         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62712         _dl_map_object do it.
62714 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
62716         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62717         fast fma builtins, define the macros in the C99 standard.
62718         (FP_FAST_FMAF): Likewise.
62719         (FP_FAST_FMAL): Likewise.
62720         * sysdeps/x86_64/bits/mathdef.h: Likewise.
62722         * bits/mathdef.h: Update copyright year.
62723         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62725 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
62727         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62728         builtins, define the macros in the C99 standard.
62729         (FP_FAST_FMAF): Likewise.
62730         (FP_FAST_FMAL): Likewise.
62731         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62732         multiply/add.
62733         (FP_FAST_FMAF): Likewise.
62735 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
62737         [BZ #3268]
62738         * math/libm-test.inc (fma_test): Some new testcases.
62739         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62740         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62741         y and infinite z.  Do multiplication by C already in long double.
62742         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62743         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62744         y and infinite z.  Do bitwise or of inexact bit into u.d.
62745         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62746         * sysdeps/i386/fpu/s_fmaf.S: Removed.
62747         * sysdeps/i386/fpu/s_fma.S: Removed.
62748         * sysdeps/i386/fpu/s_fmal.S: Removed.
62750 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
62752         [BZ #3268]
62753         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62754         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62755         computation is not scheduled after fetestexcept.  Fix value
62756         of minimum denormal long double.
62758 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
62760         [BZ #3268]
62761         * math/libm-test.inc (fma_test): Add some more tests.
62762         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62763         correctly.
62765 2010-10-15  Andreas Schwab  <schwab@redhat.com>
62767         * scripts/data/localplt-s390-linux-gnu.data: New file.
62768         * scripts/data/localplt-s390x-linux-gnu.data: New file.
62770 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
62772         [BZ #3268]
62773         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62774         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62775         instead of dbl-64.
62776         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62777         inlines.
62778         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62779         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62780         if one of x and y is very large and the other is subnormal.
62781         * sysdeps/s390/fpu/s_fmaf.c: New file.
62782         * sysdeps/s390/fpu/s_fma.c: New file.
62783         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62784         * sysdeps/powerpc/fpu/s_fma.S: New file.
62785         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62786         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62787         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62789 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
62791         [BZ #3268]
62792         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62793         fma tests.
62794         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62795         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62796         * sysdeps/i386/i686/multiarch/s_fma.c: Include
62797         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62798         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62799         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62800         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62802 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
62804         [BZ #12078]
62805         * posix/regcomp.c (parse_branch): One more memory leak plugged.
62806         * posix/bug-regex31.input: Add test case.
62808 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62810         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62811         * posix/bug-regex31.input: New file.
62813         [BZ #12078]
62814         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62815         (parse_sub_exp): Fix last change, use postorder.
62817         * posix/bug-regex31.c: New file.
62818         * posix/Makefile: Add rules to build and run bug-regex31.
62820         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62822         [BZ #12078]
62823         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62825         [BZ #12108]
62826         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62827         to have entries in sys_siglist.
62829         [BZ #12093]
62830         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62831         be NULL.
62833 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
62835         [BZ #3268]
62836         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62837         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62838         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62839         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62840         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62841         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62842         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62843         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62844         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62845         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62846         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62847         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62848         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62849         * math/ftestexcept.c (fetestexcept): Likewise.
62850         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62851         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62852         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62853         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62854         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62855         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62856         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62858 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62860         [BZ #12107]
62861         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62862         newline.
62864 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
62866         * string/bug-strstr1.c: New file.
62867         * string/Makefile: Add rules to build and run bug-strstr1.
62869 2010-10-05  Eric Blake  <eblake@redhat.com>
62871         [BZ #12092]
62872         * string/str-two-way.h (two_way_long_needle): Always clear memory
62873         when skipping input due to the shift table.
62875 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
62877         [BZ #12005]
62878         * malloc/mcheck.c: Handle large requests.
62880         [BZ #12077]
62881         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62882         for strncmp and strncasecmp.
62883         * string/stratcliff.c: Add tests for strcmp and strncmp.
62884         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62886 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62888         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62889         __set_fpscr.
62891 2010-09-30  Andreas Jaeger  <aj@suse.de>
62893         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62894         (CGROUP_SUPER_MAGIC): Define.
62895         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62896         Handle btrfs and cgroup file systems.
62897         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62898         Likewise.
62900 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
62902         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62903         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62905 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62907         [BZ #12067]
62908         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62909         trying to locate the ELF header.
62911 2010-09-27  Andreas Schwab  <schwab@redhat.com>
62913         [BZ #11611]
62914         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62915         Mask out sign-bit copies when constructing f_fsid.
62917 2010-09-24  Petr Baudis <pasky@suse.cz>
62919         * debug/stack_chk_fail_local.c: Add missing licence exception.
62920         * debug/warning-nop.c: Likewise.
62922 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
62924         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62925         implementing getdents64 using getdents syscall, set d_type if
62926         __ASSUME_GETDENTS32_D_TYPE.
62928 2010-09-16  Andreas Schwab  <schwab@redhat.com>
62930         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62931         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62933 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
62935         [BZ #12037]
62936         * posix/unistd.h: Undo change of feature selection for ftruncate from
62937         2010-01-11.
62939 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
62941         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62942         detection.
62944 2010-09-20  Andreas Schwab  <schwab@redhat.com>
62946         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62947         fanotify_mark.
62948         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62950 2010-09-14  Andreas Schwab  <schwab@redhat.com>
62952         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62953         variables after CHECK_SP call.
62954         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62956 2010-09-13  Andreas Schwab  <schwab@redhat.com>
62957             Ulrich Drepper  <drepper@redhat.com>
62959         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62960         re-relocationg ld.so.
62961         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62962         _dl_init_paths call.
62963         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
62964         here anymore.
62966 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
62968         * resolv/res_init.c (__res_vinit): Count the default server we added.
62970 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
62971             Ulrich Drepper  <drepper@redhat.com>
62973         [BZ #11968]
62974         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62975         (____longjmp_chk): Use %ebx for saving value across system call.
62976         Add unwind info.
62978 2010-09-06  Andreas Schwab  <schwab@redhat.com>
62980         * manual/Makefile: Don't mix pattern rules with normal rules.
62982 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62984         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
62985         operation.
62986         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
62987         * libio/iofopncook.c (_IO_cookie_init): Likewise.
62988         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
62989         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
62990         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62991         Likewise.
62993 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
62995         [BZ #11979]
62996         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
62997         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
62999 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63001         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63002         * sysdeps/x86_64/addmul_1.S: Likewise.
63003         * sysdeps/x86_64/lshift.S: Likewise.
63004         * sysdeps/x86_64/mul_1.S: Likewise.
63005         * sysdeps/x86_64/rshift.S: Likewise.
63006         * sysdeps/x86_64/sub_n.S: Likewise.
63007         * sysdeps/x86_64/submul_1.S: Likewise.
63009 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63011         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63012         Define __sched_param instead of SCHED_* and sched_param when
63013         <bits/sched.h> is included with __need_schedparam defined.
63014         * bits/sched.h [__need_schedparam]
63015         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63016         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63017         (__defined_schedparam): Define to 1.
63018         (__sched_param): New structure, identical to sched_param.
63019         (__need_schedparam): Undefine.
63021 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63023         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63024         (epoll_create1): Declare.
63026         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63028 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63030         [BZ #7066]
63031         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63032         shifting retval into place.
63034 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63036         * nis/rpcsvc/nis.h: Update copyright notice.
63037         * nis/rpcsvc/nis.x: Likewise.
63038         * nis/rpcsvc/nis_callback.h: Likewise.
63039         * nis/rpcsvc/nis_callback.x: Likewise.
63040         * nis/rpcsvc/nis_object.x: Likewise.
63041         * nis/rpcsvc/nis_tags.h: Likewise.
63042         * nis/rpcsvc/yp.h: Likewise.
63043         * nis/rpcsvc/yp.x: Likewise.
63044         * nis/rpcsvc/ypupd.h: Likewise.
63045         * nis/yp_xdr.c: Likewise.
63046         * nis/ypupdate_xdr.c: Likewise.
63048         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63049         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63050         (pmap_getport): Use __libc_rpc_getport.
63051         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63052         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63053         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63055 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63058         fanotify_mark.
63060 2010-08-27  Roland McGrath  <roland@redhat.com>
63062         * sysdeps/i386/i686/multiarch/Makefile
63063         (CFLAGS-varshift.c): New variable.
63065 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63067         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63068         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63070         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63072         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63074 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63076         * sysdeps/x86_64/strlen.S: Unroll the loop.
63077         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63078         strlen-sse2 strlen-sse2-bsf.
63079         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63080         __strlen_no_bsf if bit_Slow_BSF is set.
63081         (__strlen_sse42): Removed.
63082         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63083         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63085 2010-08-25  Roland McGrath  <roland@redhat.com>
63087         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63088         * sysdeps/x86_64/multiarch/varshift.c: New file.
63089         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63090         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63091         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63092         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63094 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63096         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63097         strlen-sse2 strlen-sse2-bsf.
63098         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63099         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63100         (__strlen_sse2): Removed.
63101         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63102         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63103         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63104         bit_Slow_BSF for Atom.
63105         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63106         (index_Slow_BSF): Define.
63107         (HAS_SLOW_BSF): Define.
63109 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63111         [BZ #10851]
63112         * resolv/res_init.c (__res_vinit): When no server address at all
63113         is given default to loopback.
63115 2010-08-24  Roland McGrath  <roland@redhat.com>
63117         * configure.in: Remove config-name.h generation.
63118         * configure: Regenerated.
63119         * config-name.in: File removed.
63120         * scripts/config-uname.sh: New file.
63121         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63122         ($(objdir)config-name.h): New target.
63124         * sunrpc/rpc_parse.h: Avoid nested comment.
63126 2010-08-24  Richard Henderson  <rth@redhat.com>
63127             Ulrich Drepper  <drepper@redhat.com>
63128             H.J. Lu  <hongjiu.lu@intel.com>
63130         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63131         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63132         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63133         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63134         _mm_alignr_epi8 with _mm_loadu_si128.
63135         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63136         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63137         (__m128i_shift_right): Removed.
63138         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63139         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63140         * sysdeps/x86_64/multiarch/varshift.h: New file.
63141         * sysdeps/x86_64/multiarch/varshift.S: New file.
63143 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63145         * configure.in: Move assembler checks to before sysdep dir checking.
63147 2010-08-20  Petr Baudis  <pasky@suse.cz>
63149         * LICENSES: Sync the sunrpc license.
63151 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63153         * sunrpc/auth_des.c: Update copyright notice once again.
63154         * sunrpc/auth_none.c: Likewise.
63155         * sunrpc/auth_unix.c: Likewise.
63156         * sunrpc/authdes_prot.c: Likewise.
63157         * sunrpc/authuxprot.c: Likewise.
63158         * sunrpc/bindrsvprt.c: Likewise.
63159         * sunrpc/clnt_gen.c: Likewise.
63160         * sunrpc/clnt_perr.c: Likewise.
63161         * sunrpc/clnt_raw.c: Likewise.
63162         * sunrpc/clnt_simp.c: Likewise.
63163         * sunrpc/clnt_tcp.c: Likewise.
63164         * sunrpc/clnt_udp.c: Likewise.
63165         * sunrpc/clnt_unix.c: Likewise.
63166         * sunrpc/des_crypt.c: Likewise.
63167         * sunrpc/des_soft.c: Likewise.
63168         * sunrpc/get_myaddr.c: Likewise.
63169         * sunrpc/getrpcport.c: Likewise.
63170         * sunrpc/key_call.c: Likewise.
63171         * sunrpc/key_prot.c: Likewise.
63172         * sunrpc/openchild.c: Likewise.
63173         * sunrpc/pm_getmaps.c: Likewise.
63174         * sunrpc/pm_getport.c: Likewise.
63175         * sunrpc/pmap_clnt.c: Likewise.
63176         * sunrpc/pmap_prot.c: Likewise.
63177         * sunrpc/pmap_prot2.c: Likewise.
63178         * sunrpc/pmap_rmt.c: Likewise.
63179         * sunrpc/rpc/auth.h: Likewise.
63180         * sunrpc/rpc/auth_unix.h: Likewise.
63181         * sunrpc/rpc/clnt.h: Likewise.
63182         * sunrpc/rpc/des_crypt.h: Likewise.
63183         * sunrpc/rpc/key_prot.h: Likewise.
63184         * sunrpc/rpc/netdb.h: Likewise.
63185         * sunrpc/rpc/pmap_clnt.h: Likewise.
63186         * sunrpc/rpc/pmap_prot.h: Likewise.
63187         * sunrpc/rpc/pmap_rmt.h: Likewise.
63188         * sunrpc/rpc/rpc.h: Likewise.
63189         * sunrpc/rpc/rpc_des.h: Likewise.
63190         * sunrpc/rpc/rpc_msg.h: Likewise.
63191         * sunrpc/rpc/svc.h: Likewise.
63192         * sunrpc/rpc/svc_auth.h: Likewise.
63193         * sunrpc/rpc/types.h: Likewise.
63194         * sunrpc/rpc/xdr.h: Likewise.
63195         * sunrpc/rpc_clntout.c: Likewise.
63196         * sunrpc/rpc_cmsg.c: Likewise.
63197         * sunrpc/rpc_common.c: Likewise.
63198         * sunrpc/rpc_cout.c: Likewise.
63199         * sunrpc/rpc_dtable.c: Likewise.
63200         * sunrpc/rpc_hout.c: Likewise.
63201         * sunrpc/rpc_main.c: Likewise.
63202         * sunrpc/rpc_parse.c: Likewise.
63203         * sunrpc/rpc_parse.h: Likewise.
63204         * sunrpc/rpc_prot.c: Likewise.
63205         * sunrpc/rpc_sample.c: Likewise.
63206         * sunrpc/rpc_scan.c: Likewise.
63207         * sunrpc/rpc_scan.h: Likewise.
63208         * sunrpc/rpc_svcout.c: Likewise.
63209         * sunrpc/rpc_tblout.c: Likewise.
63210         * sunrpc/rpc_util.c: Likewise.
63211         * sunrpc/rpc_util.h: Likewise.
63212         * sunrpc/rpcinfo.c: Likewise.
63213         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63214         * sunrpc/rpcsvc/key_prot.x: Likewise.
63215         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63216         * sunrpc/rpcsvc/mount.x: Likewise.
63217         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63218         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63219         * sunrpc/rpcsvc/rex.x: Likewise.
63220         * sunrpc/rpcsvc/rstat.x: Likewise.
63221         * sunrpc/rpcsvc/rusers.x: Likewise.
63222         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63223         * sunrpc/rpcsvc/spray.x: Likewise.
63224         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63225         * sunrpc/rtime.c: Likewise.
63226         * sunrpc/svc.c: Likewise.
63227         * sunrpc/svc_auth.c: Likewise.
63228         * sunrpc/svc_authux.c: Likewise.
63229         * sunrpc/svc_raw.c: Likewise.
63230         * sunrpc/svc_run.c: Likewise.
63231         * sunrpc/svc_simple.c: Likewise.
63232         * sunrpc/svc_tcp.c: Likewise.
63233         * sunrpc/svc_udp.c: Likewise.
63234         * sunrpc/svc_unix.c: Likewise.
63235         * sunrpc/svcauth_des.c: Likewise.
63236         * sunrpc/xcrypt.c: Likewise.
63237         * sunrpc/xdr.c: Likewise.
63238         * sunrpc/xdr_array.c: Likewise.
63239         * sunrpc/xdr_float.c: Likewise.
63240         * sunrpc/xdr_mem.c: Likewise.
63241         * sunrpc/xdr_rec.c: Likewise.
63242         * sunrpc/xdr_ref.c: Likewise.
63243         * sunrpc/xdr_sizeof.c: Likewise.
63244         * sunrpc/xdr_stdio.c: Likewise.
63246         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63247         handling.
63249 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63251         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63253 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63255         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63256         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63257         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63258         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63259         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63260         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63261         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63262         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63263         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63264         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63265         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63266         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63267         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63268         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63270 2010-07-26  Anton Blanchard  <anton@samba.org>
63272         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63273         * malloc/arena.c (heap_trim): Likewise.
63275 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63277         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63278         here.  Not...
63279         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63280         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63282 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63284         * sysdeps/i386/elf/Makefile: New file.
63286 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63288         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63289         from fanotify_init.
63290         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63291         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63293 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63295         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63296         of strncasecmp_l.
63297         * sysdeps/multiarch/strcmp.S: Likewise.
63299 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63301         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63302         strncase_l-nonascii.
63303         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63304         Add strncase_l-ssse3.
63305         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63306         * sysdeps/x86_64/strcmp.S: Likewise.
63307         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63308         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63309         * sysdeps/x86_64/strncase.S: New file.
63310         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63311         * sysdeps/x86_64/strncase_l.S: New file.
63312         * string/Makefile (strop-tests): Add strncasecmp.
63313         * string/test-strncasecmp.c: New file.
63315         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63316         warning.
63318         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63319         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63321 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63323         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63325 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63327         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63328         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63329         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63331 2010-05-01  Alan Modra  <amodra@gmail.com>
63333         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63334         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63335         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63336         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63337         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63338         tidying.  Don't tail-call __sigjmp_save for static lib.
63339         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63340         save location.
63341         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63342         (CALL_MCOUNT): Add eh info, and nop after bl.
63343         (TAIL_CALL_SYSCALL_ERROR): New macro.
63344         (PSEUDO_RET): Use it.
63345         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63346         Correct save location of integer regs and cr.
63347         (_dl_profile_resolve): Correct cr save location.  Delete nops
63348         after bl when SHARED.  Reduce cfi size a little by better
63349         placement of cfi directives.
63350         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63351         make a stack frame.  Instead use parm save area as a temp.
63352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63353         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63355         Don't make a stack frame for parent, use parm save area.
63356         Increase child stack frame to 112 bytes.  Don't save unused reg,
63357         and adjust reg usage.  Set up cfi on error recovery and
63358         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63360         (__makecontext): Add dummy nop after jump to exit.
63361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63362         Use correct parm save area and cr save, reduce stack frame.
63363         Correct cfi for possible PSEUDO_RET frame setup.
63364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63365         Branch to local label emitted by PSEUDO_RET rather than
63366         __syscall_error.
63368 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63370         [BZ #11904]
63371         * locale/programs/locale.c (print_assignment): New function.
63372         (show_locale_vars): Use it.
63374 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63376         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63377         field.
63378         (struct statfs64): Likewise.
63379         (_STATFS_F_FLAGS): Define.
63380         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63381         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63382         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63383         (ST_VALID): Define locally.
63384         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63385         __statvfs_getflags, use the provided value.
63386         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63387         __ASSUME_STATFS_F_FLAGS.
63389         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63391         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63392         Add sys/fanotify.h.
63393         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63394         fanotify_mask for GLIBC_2.13.
63395         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63396         fanotify_init and fanotify_mark.
63397         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63398         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63400         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63401         Add prlimit.
63402         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63403         prlimit64 for GLIBC_2.13.
63404         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63405         prlimit64.
63406         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63407         syscall.
63408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63409         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63410         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63411         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63412         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63413         add prlimit alias.
63414         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63416         [BZ #11903]
63417         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63418         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63420         * nss/Makefile: Add rules to build and run tst-nss-test1.
63421         * shlib-versions: Add entry for libnss_test1.
63422         * nss/nss_test1.c: New file.
63423         * nss/tst-nss-test1.c: New file.
63425         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63426         (__nss_configure_lookup): Set appropriate entry in
63427         __nss_configure_lookup to true.
63428         * nss/nsswitch.h: Define enum with indeces of databases in
63429         databases and __nss_database_custom arrays.  Declare
63430         __nss_database_custom.
63431         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63432         to avoid using nscd when custom rules are installed.
63433         * nss/getXXbyYY_r.c: Likewise.
63434         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63436         * nss/nss_files/files-parse.c: Whitespace fixes.
63438 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63440         [BZ #11883]
63441         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63442         * posix/fnmatch_loop.c: Likewise.
63444 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63446         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63447         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63448         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63449         * Versions.def [GLIBC_2.13]: Add.
63451 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
63453         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63454         Also fail if tpwd after pwuid call is NULL.
63456 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63458         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63459         when converting to ms.
63461 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63463         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63464         EOPNOTSUPP errors with ENOTTY.
63465         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63466         EOPNOTSUPP errors with ENOTTY.
63468 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
63470         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63471         Add strcasecmp_l-ssse3.
63472         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63473         strcasecmp.
63474         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63475         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63476         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63478 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
63480         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63482         * string/Makefile (strop-tests): Add strcasecmp.
63483         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63484         strcasecmp_l-nonascii.
63485         (gen-as-const-headers): Add locale-defines.sym.
63486         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63487         * sysdeps/x86_64/strcasecmp.S: New file.
63488         * sysdeps/x86_64/strcasecmp_l.S: New file.
63489         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63490         * sysdeps/x86_64/locale-defines.sym: New file.
63491         * string/test-strcasecmp.c: New file.
63493         * string/test-strcasestr.c: Test both ends of the range of characters.
63494         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63496 2010-07-29  Roland McGrath  <roland@redhat.com>
63498         [BZ #11856]
63499         * manual/locale.texi (Yes-or-No Questions): Fix example code.
63501 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
63503         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63504         for ld.so.
63506 2010-07-27  Andreas Schwab  <schwab@redhat.com>
63508         * manual/memory.texi (Malloc Tunable Parameters): Document
63509         M_PERTURB.
63511 2010-07-26  Roland McGrath  <roland@redhat.com>
63513         [BZ #11840]
63514         * configure.in (-fgnu89-inline check): Set and substitute
63515         gnu89_inline, not libc_cv_gnu89_inline.
63516         * configure: Regenerated.
63517         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63519 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
63521         * string/test-strnlen.c: New file.
63522         * string/Makefile (strop-tests): Add strnlen.
63523         * string/tester.c (test_strnlen): Add a few more test cases.
63524         * string/tst-strlen.c: Better error reporting.
63526         * sysdeps/x86_64/strnlen.S: New file.
63528 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
63530         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63531         lower-latency instructions.
63533 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
63535         * string/test-strcasestr.c: New file.
63536         * string/test-strstr.c: New file.
63537         * string/Makefile (strop-tests): Add strstr and strcasestr.
63538         * string/str-two-way.h: Don't undefine MAX.
63539         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63541 2010-07-21  Andreas Schwab  <schwab@redhat.com>
63543         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63544         strcasestr-nonascii.
63545         (CFLAGS-strcasestr-nonascii.c): Define.
63546         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63547         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63548         Remove unused attribute.
63550 2010-07-20  Roland McGrath  <roland@redhat.com>
63552         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63553         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
63554         ld.so.cache was broken.  With it, there is no way to disable dsocaps
63555         like LD_HWCAP_MASK can disable hwcaps.
63557 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63559         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63561 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63563         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63564         call in strcasestr.
63565         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63566         __strcasestr_sse42_nonascii.
63567         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63568         strcasestr-nonascii.c.
63569         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63571 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
63573         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63574         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63575         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63576         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63578 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
63580         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63581         fcntl.
63583 2010-07-06  Andreas Schwab  <schwab@redhat.com>
63585         [BZ #11577]
63586         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63587         dl_signal_cerror.
63589 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
63591         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63592         _PC_PIPE_BUF using F_GETPIPE_SZ.
63594 2010-07-05  Roland McGrath  <roland@redhat.com>
63596         * manual/arith.texi (Rounding Functions): Fix rint description
63597         implicit in round description.
63599 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
63601         * elf/Makefile: Fix linking for a few tests to make recent linker
63602         happy.
63604 2010-06-30  Andreas Schwab  <schwab@redhat.com>
63606         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63607         $(common-objpfx)libc_nonshared.a.
63609 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
63611         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
63612         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
63613         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63614         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63615         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
63616         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
63617         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63618         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
63620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
63621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
63622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
63624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
63626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
63627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
63628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
63629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
63631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
63633         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
63634         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
63635         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
63636         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
63637         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
63638         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
63639         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
63640         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
63641         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
63642         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
63643         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
63644         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
63645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
63646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
63647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
63648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
63649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
63650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
63651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
63652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
63653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
63654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
63655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
63656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
63657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
63658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
63660 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
63662         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
63663         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
63664         * string/memmove.c (memmove): Renamed to ...
63665         (MEMMOVE): ...this.  Default to memmove.
63666         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
63667         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
63668         (END_CHK): Define.
63669         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63670         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63671         mempcpy-ssse3-back memmove-ssse3-back.
63672         * sysdeps/x86_64/multiarch/bcopy.S: New file .
63673         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63674         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63675         * sysdeps/x86_64/multiarch/memcpy.S: New file.
63676         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63677         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63678         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63679         * sysdeps/x86_64/multiarch/memmove.c: New file.
63680         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63681         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63682         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63683         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63684         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63685         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63686         Define.
63687         (index_Fast_Copy_Backward): Define.
63688         (HAS_ARCH_FEATURE): Define.
63689         (HAS_FAST_REP_STRING): Define.
63690         (HAS_FAST_COPY_BACKWARD): Define.
63692 2010-06-21  Andreas Schwab  <schwab@redhat.com>
63694         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63695         Restore proper fallback handling.
63697 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
63699         [BZ #11701]
63700         * posix/group_member.c (__group_member): Correct checking loop.
63702         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63703         OOM in getpwuid_r correctly.  Return error number when the caller
63704         should return, otherwise -1.
63705         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63706         call returning > 0 value.
63707         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63709 2010-06-07  Andreas Schwab  <schwab@redhat.com>
63711         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63712         libc_nonshared.a from targets in modules-names.
63714 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
63716         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63717         requires it.
63719 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
63721         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63722         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63723         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63724         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63726 2010-06-02  Andreas Schwab  <schwab@redhat.com>
63728         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63730 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
63732         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63733         and F_GETPIPE_SZ.
63734         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63735         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63736         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63737         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63738         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63739         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63741 2010-06-14  Roland McGrath  <roland@redhat.com>
63743         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63745 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
63747         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63748         __REDIRECT followed by __THROW.
63749         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63750         * posix/getopt.h (getopt): Likewise.
63752 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63754         * hurd/lookup-at.c (__file_name_lookup_at): Accept
63755         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
63756         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63757         in AT_FLAGS.
63758         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63759         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63761 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
63763         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63765 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
63767         [BZ #11640]
63768         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63769         Properly check family and model.
63771 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
63773         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63775 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
63777         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63779 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
63781         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63782         symbol reference.
63784 2010-05-19  Andreas Schwab  <schwab@redhat.com>
63786         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63787         symbol reference.
63789 2010-05-21  Andreas Schwab  <schwab@redhat.com>
63791         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63792         and internal_recvmmsg.
63793         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63794         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63795         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63796         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63798         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63799         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63800         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63802 2010-05-20  Andreas Schwab  <schwab@redhat.com>
63804         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63806 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
63808         POWER7 optimizations.
63809         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63810         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63812 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
63814         * version.h: Update for 2.13 development version.
63816 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
63818         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63819         exceptions.  Return 0.
63821 2010-05-07  Roland McGrath  <roland@redhat.com>
63823         * elf/ldconfig.c (main): Add a const.
63825 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
63827         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63828         (args_options): Add no-idn option.
63829         (ahosts_keys_int): Add idn_flags to ai_flags.
63830         (parse_option): Handle 'i' option to clear idn_flags.
63832         * malloc/malloc.c (_int_free): Possible race in the most recently
63833         added check.  Only act on the data if no current modification
63834         happened.
63836 See ChangeLog.17 for earlier changes.